Posted on Updated on


Ubuntu is easily installed via the Internet by downloading the http://archive.ubuntu.com/ubuntu/dists/feisty/main/installer-i386/current/images/netboot/netboot.iso.

Recover a lost password

Taken from Lost password for Ubutnu

  • Boot with Ubuntu live CD.
  • Choose to install the system
  • Choose the keyboard
  • Switch to tty2
  • Mount / partition.
  • Edit /etc/shadow directly to clear password:
    • The line:root:$1$44094597$2vND6EtSqpJy0I5nL1q2L/:13234:0:99999:7::: needs to become: root::13234:0:99999:7:::and now root has no password. Just passwd to create one.

Update APT sources.list

Taken from https://help.ubuntu.com/community/Repositories/CommandLine Ubuntu Repositories/CommandLine

  1. Log in as root
  2. Edit /etc/apt/sources.list
  3. editor /etc/apt/sources.list
  4. Modify the file so it resembles the following
    #deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415)]/ feisty main r$
    deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
  5. Save the file by typing Ctrl-O
  6. Exit the editor by typing Ctrl-X
  7. Update the sources by running apt-get update

Install SSH server

  1. Log in as root
  2. Issue the command apt-get install ssh


Securely Administring Remote Machines Using Freenx in Ubuntu

Installing VNC

VNC is not necessary as the default installation provides a VNC server on the main desktop window.

MacOS Theme

Activate the theme

Change the button order

GConf editor: Being a Mac OS X fan, I like my Window buttons to “look like” the Mac OS config. This is an easy change with Metacity. Start the Configuration Editor from the System Tools Menu, from the command-line run gconf-editor. Locate the following setting in the navigation tree: apps -> metacity -> general -> button_layout To make Metacity place the window buttons in the same location as on MacOS set the value to: “close,minimize,maximize:menu”


Taken from Wine for Ubuntu, Debian, and Debian-based distributions

Add the PGP key to apt and then the Wine source: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add – sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

External Links

Anti-virus Rankings: October 2009

Posted on

A new report from AV-Comparatives tested 16 current anti-virus/anti-malware (AV/AM) products against a battery of current malware to see how well each product performed.

The results? None of the AV/AM products received a rating of “very good” (the highest rating), but several performed well. These received their Advanced+ rating (the highest rating) (listed in no particular order): eScan, Symantec, Microsoft, F-Secure, Kaspersky, and Bitdefender.

My favorite? Microsoft Security Essentials, which is free for non-commercial use.


Summary of report: Battle of the anti-virus: What is the best software?.

Report: (PDF WARNING) Antivirus Comparitive: Malware Removal Test (September/October 2009)

Find absolute position of an element

Posted on

While working on a project, I discovered that I needed to find the absolute coordinates of an element in a page in order to dynamically position another element before showing it.

A quick Google search yielded this gem from quirksmode.org: JavaScript – Find position.

Here’s the condensed code:

 * Determines the absolute position of an element
 * @author Peter-Paul Koch
 * @see http://www.quirksmode.org/js/findpos.html
 * @param object obj The element whose absolute position is to be found.
 * @return array An array with two elements: 0 is the left position, 1 is the top position.
function findPos(obj) {
	var curleft = curtop = 0;

	if (obj.offsetParent) {
		do {
			curleft += obj.offsetLeft;
			curtop  += obj.offsetTop;
		} while (obj = obj.offsetParent);

		return [curleft,curtop];


Posted on Updated on

IPSec VPN tunnel via Linux

Linux VPN Masquerade HOW-TO

Texting while driving > drunk driving

Posted on

Seth Godin: “The data shows, for example, that texting while driving is more dangerous than driving drunk. It doesn’t feel that way, of course, but will you respect the data and stop, cold turkey?”

e.g. v. i.e.

Posted on Updated on

When giving an example, it can be confusing which abbreviation (e.g or i.e.) to use. The following should make things clear:

The abbreviation e.g., meaning “for or as an example,” comes from the Latin expression exempli gratia (“for example”). Use it when you want to list a few typical examples of the thing mentioned: I have the laboratory equipment, e.g., [not i.e.] beakers, thermometers, and test tubes, that we need. Do not end a list that starts with e.g. with etc. The abbreviation i.e., meaning “that is, that is to say,” comes from the Latin expression id est (“that is”). Use it when you want to give a more precise description of the thing mentioned: The hearing, i.e., [not e.g.] the preliminary hearing, is set for noon Friday. Two periods punctuate e.g. and i.e. in U.S. English, whereas they may be unpunctuated in British English. Surround these abbreviations with commas.

Courtesy David Brown

Windows Installation Recommendations

Posted on Updated on

These are the software recommendations I recommend and the order I suggest.

  1. Windows 7
    1. Alternate: Windows XP with SP3
  2. Windows XP: TightVNC
    1. Mirage Driver
  3. Enable Remote Access
  4. Windows XP: Internet Explorer 8
  5. Microsoft Security Essentials
  6. Firefox 3.5+
  7. Microsoft Office
    1. SR1
    2. SP3
    3. All other patches
    4. office 2007 compatibility
    5. office 2010 compatibility
  8. Paint Shop Pro
  9. Notepad++
  10. WinAmp 5
  11. IZarc
  12. Real Alternative
  13. Audacity
  14. Windows XP: Microsoft ClearType Tuning Control Panel Applet
  15. Windows XP: Microsoft TaskSwitch Powertoy
  16. OpenOffice
  17. PDFCreator
  18. UnxUtils