26/07/2010
sudo aptitude install python-wxtools
sudo easy_install runsnakerun
sudo aptitude install python-profiler
(If you are using Debian check this out : http://www.cherrypy.org/wiki/ProfilingOnDebian
)
run with:
python -m cProfile -o barbazzr.profile barbazzr.py
Check out the output with:
runsnake name.profilepython -m cProfile -o barbazzr.profile barbazzr.py
19/06/2009
You easily set the default GRUB entry to boot to in in Debian or Ubuntu by editing
/boot/grub/menu.lst
and changing ‘default’ to the number of the record you want to boot from by default. (Note: It is 0 indexed.)
# You can specify ‘saved’ instead of a number. In this case, the default entry
# is the entry saved with the command ‘savedefault’.
# WARNING: If you are using dmraid do not change this entry to ‘saved’ or your
# array will desync and will not let you boot your system.
default 2