file under misc.

stuff which doesn't fit anywhere else 

Reddit Programming FAQ

A pretty handy programming FAQ distilled from posts on programming.reddit.com.

http://www.reddit.com/help/faqs/programming

Filed under  //   code  

Comments [0]

Streetview Vuvuzela

Google adds a vuvuzela to the Streetview guy when you look at South Africa. Great stuff.

Comments [0]

Ubuntu Networking Sleep Issue

I just docked my laptop after a meeting upstairs. Unfortunately, it refused to come out of sleep mode so I was forced to reboot it.

On rebooting, KDE's network manager showed by network as "unmanaged" and I was left without any network connectivity - wired or wireless. After some more rebooting and swearing, I figured out the problem:

At hibernate time, Ubuntu tells the network manager that networking is disabled. If the system doesn't wake up or gets rebooted, that setting is not reversed.

I had to manually fix the problem by:

1. Opening /var/lib/NetworkManager/NetworkManager.state in vim
2. Changing "NetworkingEnabled=false" to "NetworkingEnabled=true"
3. Save the file

Voila! On reboot, everything is back to normal.

Filed under  //   linux  

Comments [0]