Canadian Blogs
cd -
I learned of a cool feature in the cd command, which to my knowledge works under zsh, bash, ksh and possibly other shells.
cd - takes you to your previous directory, letting you easily switch back and forth between two directories. Take /home/ryan and /etc for example:
ryan@lambda:~$ cd /etc ryan@lambda:/etc$ cd - /home/ryan ryan@lambda:~$ cd - /etc ryan@lambda:/etc$Please share any other cool shell tricks you may know
How to speed up Firefox with a little bit of vacuum
As seen here, the command in Linux to vacuum the SQlite databases to speed up Firefox:
for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; doneAs well, from the comments of that link, the command in OSX is:
for f in ~/Library/Application\ Support/Firefox/Profiles/*/*.sqlite; do sqlite3 "$f" 'VACUUM;'; doneSpamAssassin 2010 bug/feature
If you are using SpamAssassin in 2010, here is something to change in your configuration file to make sure to don’t filter out too many incoming emails.
Charlie Brown Christmas Show
LugRadio: The Documentary
I finally watched last night Don’t Listen Alone, the LugRadio documentary (found via Jono’s blog). I really miss the regular shows…
Chinese Rare Earths Elements
From the New York Times:
“Some of the greenest technologies of the age, from electric cars to efficient light bulbs to very large wind turbines, are made possible by an unusual group of elements called rare earths. The world’s dependence on these substances is rising fast. Just one problem: These elements come almost entirely from China, from some of the most environmentally damaging mines in the country, in an industry dominated by criminal gangs.”