30 Mar, 2010
Possibly you will need to either do a diff between files where they don't use the same new line character.
Because the new line character is OS-dependant, there are issues when doing a diff on these files when you are not using that same OS.
And there are also times where you just want diff to ignore all spaces and new lines...
The --ignore-all-space option for diff is really useful in these two cases. It will check for differences between the given files ignoring spaces or new lines whether there is none, one or more
Read the rest of this entry »
――
21 Jan, 2010
You certainly know that manpages tend to be very long and boring to read , especially without any colors at all.
You can easily get colored manpages with just one copy&paste into your .bashrc!
Follow this link to Linuxtidbits' post about "Less Colors For Manpages" and you'll know how to make it happen!

――
8 Jan, 2010
Introduction
I wanted to take screenshots of about 15 Websites, but didn't want to install any plugins as I wouldn't use them often. I saw a lot of how-to's using import from Imagemagick but they capture the whole screen, not clearly what I was looking for.
Using chromium, xwininfo (from X) and import, I made this bash script which captures only the webpage. See below for the Source code.
Read the rest of this entry »
――
31 Dec, 2009
Piwik is an open source, licensed under GPL, web analytics tool that uses PHP and MySQL. Piwik aims to be an open source alternative to Google Analytics.

The installation process is very easy to follow. To collect information, you just need to add your site to your Piwik installation then add the given Javascript code before the </body> of the site and you're all set!
It gives interesting reports on your website visitors, your popular pages, the search engines keywords they used, the language they speak… and so much more.
Because Piwik has been built on the top of APIs, all the data is available through simple to use APIs. All features in Piwik are built inside plugins: you can download new plugins, and easily build your own. The user interface is fully customizable and light speed.

You can try out the Piwik online demo which will show you all the features and see if you like it or not.
I think this is far better than Google Analytics in the sense that:
- You keep your data on your own server.
- You can use the API to show stats on your websites.
- It's FREE both as in free speech and as in free beer.
- If you know PHP, you can tweak it as you wish
- You can host as many websites as you like! You can offer web stats to your friends and families!
- It's been elected SourceForge project of the month!
- ...
――