Post thumbnail of Build Chromium OS from behind a Proxy
7 May 2010
Continue reading Build Chromium OS from behind a Proxy

Build Chromium OS from behind a Proxy

The problem is staring you right in the face! If you’re trying to build Chromium OS from behind an Internet proxy, you’re going to struggle with make_chroot.sh. You need to set them up within the chroot, and that means setting them in the user’s profile script that gets sourced.

Post thumbnail of Google bought BumpTop 3D Desktop
4 May 2010
Continue reading Google bought BumpTop 3D Desktop

Google bought BumpTop 3D Desktop

Is the recent acquisition of Bumptop going to make its way to Android in some shape or form anytime soon? This week is your last chance to pick up a copy of BumpTop, the 3-D Desktop for Mac and Windows.

Post thumbnail of subprocess.popen and static define in Python
13 January 2010
Continue reading subprocess.popen and static define in Python

subprocess.popen and static define in Python

I like os’s subprocess.Popen() to run shell commands from within my Python code. I also like to define TRUE and FALSE to use as return values. Now I know what you’re thinking: there’s no such thing as ‘C’s #define in python because there’s no compiler to swap out of all your substitutions at compile time. However, it’s just as easy to achieve the same results.

Post thumbnail of What’s the best way to find the hostname in python?
7 October 2009
Continue reading What’s the best way to find the hostname in python?

What’s the best way to find the hostname in python?

Fifty million ways to get the hostname, choose one. But I couldn’t find a way to get the shortname without a system call to ‘hostname -s’. This is the best I could come up with, which would work with any of the above methods.

Powered by Wordpress   |   Lunated designed by ZenVerse