Archive for the ‘Tips and Tricks’ Category

Packaging An Entire Gentoo System

Friday, July 31st, 2009

Just a tip as I needed to build binary packages for all the installed packages on a gentoo box:

equery list | cut -d’ ‘ -f3 | while read f; do quickpkg “=${f}”; done

It’s a giant hack, but it gets the job done.

How ssh-agent Works on OS X 10.5

Tuesday, May 13th, 2008

This post discusses how ssh-agent works on OS X Leopard. Very informative.

http://www.dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard/

Rdiff-backup on OS X

Tuesday, May 13th, 2008

Short and sweet

Download my script to automate rdiff-backup installation on OS X.

Longer version with background

I use rdiff-backup to keep all my systems backed up. Rdiff-backup keeps incremental changes and permission information, and only transmits changes over the network. It’s great for automated remote backups. All my Linux systems backup at least once a night, some several times daily to offsite locations via consumer-class internet connections. The first backup is painful if you have a lot of data, but after that only differences have to go so things are pretty smooth. (more…)

The Six Dumbest Ideas in Computer Security

Monday, May 12th, 2008

A bit dated, but still a good read with thought-provoking ideas about things not to do in the name of security.

  1. Default Permit
  2. Enumerating Badness
  3. Penetrate and Patch
  4. Hacking is Cool
  5. Educating Users
  6. Action is Better Than Inaction

    http://www.ranum.com/security/computer_security/editorials/dumb/

    Fixing Sleep Mode on Portable Macs

    Saturday, April 26th, 2008

    As discussed in the Macworld article Set newer portable Macs’ sleep mode, it is possible to disable the copying of RAM onto disk when you put a MacBook or MacBook Pro to sleep. I’ve found the recovery from sleep to be more reliable with this feature disabled. Going to sleep also takes much less time.

    I’ve included the relevant portions of the article below for the curious. For the impatient, running the following commands in Terminal will change sleep mode to RAM-only, and remove the memory image file:

    sudo pmset -a hibernatemode 0
    sudo rm /var/vm/sleepimage

    (more…)

    Saying “No To All” In Windows XP

    Sunday, April 13th, 2008

    Apparently it’s possible to get that missing “No to all” action in Windows XP. Just hold shift and click No on the overwrite confirmation dialog.

    http://www.online-tech-tips.com/cool-websites/windows-no-to-all/