This is just a plain simple way to have Compiz installed on your system ( i use Debian Etch ). Install Compiz: $ sudo apt-get install compiz Now edit the xorg.conf file: /etc/X11/xorg.conf, add the following lines at the bottom Section "Extensions" Option "Composite" "Enable" EndSection Create a .xinitrc in your home directoy i.e. ~/.xinitrc with following lines: #!/bin/sh gnome-terminal & exec compiz Now, kill your current X server session by pressing Ctrl-Alt-BackSpace .
I ( and many others ) have a lot media files ( mp3, jpg, avi, etc. ) lying around in the system. I wondered that how shall I get the list of all the duplicate files lying in my computer. Writing a script in Ruby which identifies the duplicate files using the MD5 hash values of the files contents, was no difficult a task. Here is the script. #!/usr/bin/ruby ## This file finds all the duplicate files form a directory given ## at the command line.
Ruby - The Programming Language Here a few links that are good as a first look while learning Ruby. General: http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml http://www.ruby-lang.org/ http://www.37signals.com/ http://www.ruby-doc.org http://api.rubyonrails.com/ http://www.ruby-forum.com/ http://www.rubyforums.com/forumdisplay.php?f=1 http://www.sitepoint.com/forums/forumdisplay.php?f=227 http://railsforum.com/ http://www.rubyinside.com/ http://redhanded.hobix.com/ http://www.rubyist.net/~matz/ http://www.planetrubyonrails.com/ :symbols in Ruby http://glu.ttono.us/articles/2005/08/19/understanding-ruby-symbols http://onestepback.org/index.cgi/Tech/Ruby/SymbolsAreNotImmutableStrings.red Writing daemons http://daemons.rubyforge.org/classes/Daemonize.html more to come…
I have been using Vim editor for past ( almost ) four years, but now I have switched over to Emacs. I find it more intuitive ( just a personal opinion ). While I was learning Emacs I had few queries. So, I have prepared a small HOWTO which might help a new emacs user. HowTo Colorize the syntax? M-x font-lock-mode Here M is the Meta key, which may be Alt or Esc (top-left corner of the keyboard).
The virtual machines are floating around for the popular languages of the present times. For instance look at the Parrot, YARVM, etc. Parrot is the intperpretter for the Perl 6. YARVM is probably going to be the virtual machine for Ruby2. The topic of Virtual Machines is becoming hot day by day for the system and software engineers.