Two things today...first, a simple way to determine how much work you are causing your laptop harddrive:
sudo smartctl -a /dev/sda | grep Load_Cycle_Count
Apparently anything above 600000 means your drive is about to kick the bucket :(
I've always wanted an easy way to pop up a reminder message at some point in the future from the command line on a Linux system. I wonder why it took me so long to find the answer?
echo "DISPLAY=$DISPLAY zenity --info --text='go home'" | at "5pm"
Monday, October 29, 2007
Thursday, October 25, 2007
another vim trick
Just found this amazing tip which allows VIM to automatically open a GPG encrypted text file, edit it, and save it back to disk in encrypted form without writing the unencrypted data to a buffer. Thank you Wouter Hanegraaff!
Subscribe to:
Posts (Atom)