This page will include different HOW-TOs, mainly aimed at giving me a convenient place to store the different tidbits of information I find around the net. Some of the information will be in the form of links to external sites and some will be short, step-by-step write ups.

Simple Linux
  • Create a bzip2 archive
  • Create a tar.gz archive
  • Lockout access to your linux home directory (especially good for uni computers)
  • Shell global variables (for example, $? to check the last program's return value)
  • Extract all files from an rpm
  • Manually mount a samba share -
    mount -t cifs -o username=username,password=password //ComputerIdentifier/ShareName /mount_point
Firefox
  • Change the Dictionary Language in Firefox 2 - Right click on a misspelled word, select Language and the Language that you want.
PHP
  • PHP Info Page - phpinfo()
Apache
  • Block access to certain file types:
    For example, to block access to *.inc, add the following to your .htaccess file:
    <Files ~ "\.inc$">
    Order allow,deny
    Deny from all
    </Files>
    
The GIMP
  • Create polished text
Miscellaneous Software Enhancements
  • Patch rftp to recursively delete a directory
  • Patch geshi to include anchors (# links) to code line numbers
Windows
  • Clear Printer Spool - run "net stop spool", delete files from %System32%SpoolPrinters, run "net start spool"