Archive of articles classified as' "debian"

Back home

Simple Graphical Python Profiling with RunSnakeRun


sudo aptitude install python-wxtools

sudo easy_install runsnakerun

sudo aptitude install python-profiler

(If you are using Debian check this out :

run with:

python -m cProfile -o barbazzr.profile

Check out the output with:
runsnake name.profilepython -m cProfile -o barbazzr.profile

No Comments

Set the default GRUB entry to boot from GRUB menu


You easily set the default GRUB entry to boot to in in Debian or Ubuntu by editing


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

No Comments