Flash Player 10 on Ubuntu 64-bit
Jun/090
There’s a wad of tutorials out there on how to to install this plugin, but I’ve found they either don’t work, or over complicate things.
If you haven’t already found it, download the Flash Player 10 64-bit plugin for linux. Then,
sudo cp libflashplayer.so /usr/lib/firefox-3.0.10/plugins
You might be running a different version of Firefox by the time you read this tutorial, so bust a “locate firefox | grep plugins” to find the appropriate folder.
Extract (almost) any archive type
Mar/091
After getting tired of trying to remember “tar xvzf”, I wrote a little script for extracting almost any file type via the linux command-line. You can copy and paste this script into a text editor like gedit and save it to “/usr/local/bin” for convenience. I called mine “untar” since it doesn’t seem to be taken. Remember to `chmod +x
me=`basename $0`
if [ $# -eq 0 ]; then
echo "usage: $me <files...>"
fi
for file in $@; do
bn=`basename $file`
case $file in
*.tar)
tar xvf $file;;
*.tar.gz|*.tgz|*.tar.Z|*.tar.z)
tar xvzf $file;;
*.tar.bz2)
tar xvjf $file;;
*.zip)
unzip $file;;
*.rar)
unrar x $file;;
*)
echo "$me: $bn: unkown filetype";;
esac
done