RSS icon Articles 41 to 50

Install GMVault on a Synology NAS - Follow-up

By Jimmy Bonney | November 17, 2012

Following the installation of a new version of the firmware on the Synology, I had to re-configure the gmail backup that I previously discussed in this article.

I took this opportunity to do two things:

  1. try out the alternative method that I suggest in order to install python easy_install tool
  2. install GMVault through the Python Package Index method

This article will be less verbose than the previous one and will mainly focus on the commands that are necessary during the installation.

Read more...


Configuration and Packages for Sublime Text 2

By Jimmy Bonney | November 10, 2012

It seems that within a year, Sublime Text has become one of the most loved text / code editor around here. I cannot count the number of articles that have been written about it, and it’s probably a good thing: it means that people like it… a lot.

I have been using it for some time now and I completely understand why people are so optimistic about it. Among others strong points, we can simply cite:

  • Cross platform (Windows, OSX, Linux) software
  • Configuration options for pretty much everything
  • Many, many packages to add even more functionalities

Read more...


Recursively Search File and Delete Them

By Jimmy Bonney | October 15, 2012

When conflicts occur when merging files with GIT, some temporary files with the .orig extension are created.

One can easily add the *.orig extension to the .gitignore file so that these files are not commited to the remote repository. However, once the conflicts are solved, the files remain in the project directory. This is obviously not a big deal but it might result in unwanted matches when doing a global search on the project for instance.

In order to delete those unwanted files, one can simply run the following command from the project root folder:

1
find . -name '*.orig' | xargs rm

Read more...


Twitter Bootstrap Documentation

By Jimmy Bonney | October 14, 2012

Twitter Bootstrap is a great front-end framework. It makes it not only easy but also rather fast to deploy a new website / web application with a consistent and well-tested style.

Even though the creators of the framework have left Twitter recently, one thing is for sure: the framework will continue to live on. With new releases going live on a regular basis, it might sometimes be confusing to find the appropriate documentation.

One could obviously update his / her website / application as soon as a new release shows up, but unfortunately, some changes might need some refactoring and therefore be time consuming. It is therefore important to be able to access documentation from previous version of the framework.

Well, that’s where BootstrapDocs comes in. All documentation from past versions of Twitter Bootstrap are accessible from there, in one place.

Read more...


Email SMTP for Development / QA Environment

By Jimmy Bonney | September 4, 2012

Developing web applications often requires emails to be sent out, whether it is during the registration process, for newsletters or for some events notifications.

When the application is live, there are plenty of options to send the email:

  • simple sendmail application
  • connection to a SMTP server
  • connection to a SMTP application (web application allowing to track emails that have been sent)

However, when one uses any of this option in a development environment, the inbox might become quickly spammed with test emails. Even worse if using a QA environment that has production data, there is a risk that some emails are actually sent to the original user by mistake. Not the best move towards your customers…

Read more...


Shred Folder From Command Line

By Jimmy Bonney | August 28, 2012

Before getting rid of a server, I needed a quick and efficient way to wipe some of the data that we had on the disk. Fortunately, this functionality is built in into Linux1 so a quick search on Google provides the necessary command:

1
shred -v -n 1 -z -u /path/to/your/file

It is possible to increase the number of passes (i.e. the number of time data is written over your original data) simply by specifying it after the -n options.

Read more...


Flowcharts and Mockup Applications

By Jimmy Bonney | August 26, 2012

While writing a report recently, I needed to be able to illustrate some concepts in order to make them more understandable for the reader. In order to do that, I decided to look for a flowchart software that could help me achieve this. At the time of writing, the main functionalities that I was looking for were the availability to use network cliparts, the price (free was better in this case since it was for a punctual use) and finally the design of the application. The following review is just the tip of the iceberg of what is available out there. It is by no mean an exhaustive review and probably only focuses on what my needs were at the time of writing.

Read more...


4 Useful SSH Commands / Configuration Options

By Jimmy Bonney | August 18, 2012

Since I have been using SSH extensively lately, I have discovered a few commands / options that have allowed me to be more efficient while using it. This is nothing really new for command lines gurus, but since I might eventually forget them, I write it down here so that I can get back to it later if needed.

Read more...


SSH Tunnel for Local Applications

By Jimmy Bonney | August 9, 2012

Consider this simple scenario:

  • You have a computer / server / NAS / … at the office behind a firewall
  • The firewall is configured so that you are allowed to access the machine using SSH
  • The machine has services available on different other ports (but they are not accessible from the outside since only the SSH port is open)

Now, how can one access those different services that are accessible on ports blocked by the firewall?

A quite easy way (once you know the command), is to use SSH tunneling. To put it simply, it will allow to map the ports from the remote server that are not accessible to a local port of your computer.

Read more...


Setup New ICS Calendar from WebDAV in Thunderbird

By Jimmy Bonney | July 26, 2012

In order to have a work calendar that can be used in different devices (laptop, phone, …), I have set up an ICS calendar on a WebDAV host. This allows the calendar to be accessible from an online location (both readable and writable) and can therefore be used, in my case, both on my phone (Android) and on my laptop (Thunderbird).

The ICS calendar is hosted on a shared host (in this case Hostgator), and for the next step, I assume that your hosting is using CPanel.

Read more...