An example on how to use sed

25 Mar 2010 at 00:00:00 - 0 comment(s)
This post is a very short one but might be really useful. You have multiple files they all contains the same string like a parameter for config files and you would like to change it in all the files. That would take you a while if you have 100 files so here is exactly what you need in 1 simple command line using sed on Linux.

Best android apps

17 Mar 2010 at 00:00:00 - 1 comment(s)
I have the Nexus One since the 6th of January. I discovered few apps which I find really good so I've decided to make a list of them. If you found better ones or you believe some other apps diserve to be here, leave a comment. That will be useful for everyone.

Tips about vim

09 Mar 2010 at 00:00:00 - 0 comment(s)
I am a vim user and I thought it would be interesting if I was sharing some of the stuff I like the most about vim as well as having this post as a reminder for myself. So here are few things about vim.

lighttpd: tips, url.redirect, url.rewrite, mod_proxy, etc...

05 Mar 2010 at 00:00:00 - 5 comment(s)
If you are using lighttpd or you intend to use it then you should check this post. You'll find quite a few interesting things about url-redirect and url-rewrite using respectively mod_redirect and mod_rewrite. I have added some other tips as well such as enabling compression, getting drupal to work with lighttpd or how to use mod_proxy (useful if you run a java webapp for example).

Resume a scp transfer

04 Mar 2010 at 00:00:00 - 5 comment(s)
You are copying big files using scp and unfortunately the transfer fails. You get "stalled". You have already copied 80% of the file and you don't want to start from the beginning especially because it could fail again. Here is the solution to your problem. How to resume a scp transfer? Using rsync.

Clear memory caches on Linux

04 Mar 2010 at 00:00:00 - 9 comment(s)
You have a machine with a lot of RAM. After sometimes you notice that you have hardly any RAM left and that it starts to swap. Though if you look at your process using top for example you notice that none of your application are using all your memory. This is because Linux is caching stuff into memory and unfortunately when you need to use more memory rather than freeing some cache it will start to swap. So let's see how to clear the memory cache.

How to: postfix, dovecot with imap, smtp sasl authentication, encryption

06 Feb 2010 at 00:00:00 - 3 comment(s)
This is a great how-to if you want to install and configure an email server. If you are struggling to do so, this post will put an end to it. I myself was struggling getting everything to work as I wanted especially for the smtp to do authentication and solve the relay access denied error message I was getting even with the authentication working. On top of having a working email server with encryption and authentication we will configure spamassassin in order to get rid of the SPAM. Configuration files are available for download and it is guarantee to work not like the thousand of tutorials I read.

Install linux on a eeepc 1000he

10 Jan 2010 at 00:00:00 - 6 comment(s)

I came across a eeepc 1000he over christmas where I had to install Linux (more precisely Archlinux). It was for my brother who wanted to try Linux and use it for his work. That gave me the idea for my previous post "Discover, install and try a new Linux distribution: archlinux". Indeed I didn't know any real good tutorial for archlinux when someone never used Linux before. As he managed to install Archlinux few problems remained: the touchpad was not working perfectly and the hardware acceleration for compiz was not working out of the box. So I decided, as I wanted him to have a good experience with Linux, to create a good kernel config and compile the kernel myself as well as make a good xorg.conf (I am not a big fan of the AutoAddDevices as things don't work really perfectly for a specific machine).

udev is slow to start at boot time

09 Jan 2010 at 00:00:00 - 0 comment(s)
You are compiling your kernel yourself or after a kernel update from your distribution, udev takes forever to start but you don't know why. I will give you the solution to this problem in this post.

Create a VPN on Linux with Poptop

06 Jan 2010 at 00:00:00 - 0 comment(s)
You are using Linux and you need to create a VPN where both Windows and Linux users will be able to connect to really easily. This post is done for you. In few lines we will see how to install and configure Poptop, an open source PPTP server for Linux. On top of that we'll see the options you need in the kernel as well as how to configure iptables properly if ever you use it. Then how to connect to it using pptpclient on Linux which is the client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. Finally we'll see how to connect to your VPN on Windows.