I had to use Git on Windows to work with my own sharpOauth library on a Microsoft environment while working on my Office Addin. I used the following tutorial by nathanj as a reference. Here are the steps I followed download and install putty in c:\program files\putty download and install msysgit. I picked the package [...]

A little help with Grep

January 14, 2011 | 1 Comment

I was triggered by this post on ReadWriteWeb to write a small bash script to make it easy for me to use grep to look for a pattern in my source code. The post on ReadWriteWeb points to the -i -r -E -n -C –colors options to make grep recursively and case insensitively search for [...]

If you install Debian on a Dedibox dedicated server, by default, you can not send emails from a PHP script (or by any call to sendmail). In order to enable that, you need to reconfigure exim (which is the MTA installed by default). Run dpkg-reconfigure exim4-config. Select the Internet mode and answer the few following [...]

I finally decided to use a single dedicated server instead of several distinct web hosting services for the different blogs I run. I picked a Dedibox server and added a backup option to have access to an extra storage space on another computer. There are two things I want to backup : my website files [...]

World Gone Web hacked

January 8, 2011 | 3 Comments

On Monday morning, I received an email from Google Webmaster Tools letting me know that my WordPress blog had been hacked and was temporarily blacklisted. Users accessing my blog using Google Chrome or Firefox were advised to stay away for safety. I appreciate Google’s notification of this problem as well as their concern (and Mozilla’s) [...]

There are a few things I always do when setting up a new system running Debian: I install the bash-completion, I set up my terminal colors, enable coloration in vi/vim and other little improvements. In order to make my next setup much easier and save some time, I gather the necessary steps in this post. [...]

This was my first assignment for 2011 and I used this blog post as a precious reference. I assume that, at this point, SSH server and Apache are already installed and running. Let’s start : Install the SVN packages aptitude install subversion aptitude install libapache2-svn Create a repository for your project(s) mkdir /var/subversion svnadmin create [...]

Working with Windwos users on my SVN repository, I needed to upgrade SVN to match with their Tortoise version. Here are the steps to do so: add the line below to /etc/apt/sources.list 1deb http://www.backports.org/debian lenny-backports main contrib non-free get the public key from lenny-backports running the following command 1wget -O – http://backports.org/debian/archive.key | apt-key add [...]

I use three different small backup drives as three backup volumes. I turn them on on sunday, the backup scripts runs overnight, and I turn them off on monday morning. I’ve shared the backup script in a previous post. The problem is that the backup script  starts by mounting the backup drives. It expects them [...]

Two days ago, I ran into a strange problem with my email server which refused to send any more emails. It turned out my hard drive was full… I started by emptying the tmp directory and running aptitude clean and aptitude autoclean but that wasn’t enough to free enough space to allow me to breathe [...]

« go backkeep looking »