Pages
Categories
Archives
Tags
Algorithm Bash Bell BlackBerry Blogging C# C/C++ China08Earthquake Christmas Concurrency Debian Demonoid DistroWatch DIY Environment Firefox Fun Furniture Gear Gmail Gnome Google Hot-pot Party iPhone Java Joost LFS Linux MagicDraw Math MC2037 Metal-J New Year Picture Python Street Fighter Ubuntu User_Experience Vehicle Video VIM Web Wordpress YouTube ZooomrBookmarks
Elsewhere
Meta
Category Archives: Programming
Disable Bell in VIM
" Disable both beep and visual flash set visualbell t_vb= via
Nothing Could Fail in C
Best comment of the C programming language ever! via:reddit Here is the whole story: Going back to C by buddhabrot When I was 12 someone gave me a Metrowerks IDE to learn programming on my mac. I learned a lot … Continue reading
“–” (Double-hyphen) in Bash
$cat out if [ $# -eq 0 ] then echo "Usage: out [-v] filenames…" 1>&2 exit 1 fi if [ "$1" = "-v" ] then shift less — "$@" else cat — "$@" fi In out the — arguments to … Continue reading
Handle Filenames with Spaces Properly in Bash Loops
find ~ -name ‘* *’ | while read FILE do echo "$FILE rocks." done via Handling Filenames with Spaces in Bash
Simple Weather Script for Conky
Wanna Conky to show your local weather? You might had found tons of solutions already on the web, but here comes a simpler one: SimpleWeather. Requirement: Python >= 2.5 How to use it: Download weather.py. Edit the file, fill in … Continue reading