Great webpage, inspired by painting and technology http://classicprogrammerpaintings.com/
This made my day, while loop in one line -one liner- under csh printf “while ( 1 ) \n df -m \n echo ‘remaining space’ \n sleep 60 \n end” | csh -f Of course, you could […]
If you have dealt with regular expression then you know that it takes a while to get a good grasp on it. If you are just learning it here is an amazing tutorial: http://regexone.com. Enjoy 😉
Sharing recipe is like open source software, or open source software is like sharing recipe?
An easy way to compare “n” number of variables in bash, precisely to find if all of them are equal or not, can be easily done in the following way: while [ $i -lt 10 […]
Recently I found myself calculating interest and interest duration, I heaven’t found any decent tool for this so I did one by myself in C++. It does nothing else but prints the numbers you were […]
In case you are wondering how to rename multiple files in bash here is an idea: for file in ?????*; do mv $file `echo $file | cut -c4-`; done Whit this you can cut 4 […]
If you are like me, you enjoy watching car reviews, but get annoyed hearing gas consumption you can’t understand; MPG or L/100km. Here is a simple program I wrote in C++ solving this issue. Feel […]