Viewing Category : Uncategorized

Post thumbnail of Printing variables in python with placeholders
6 May 2011
Continue reading Printing variables in python with placeholders

Printing variables in python with placeholders

Even if you’ve only dabbled with python for a minute or two, you’ve probably already figured out that you can print variables using placeholders. You might have tried concatenation too. However, did you know you can print using %s but with the variable names directly?

Post thumbnail of Pure Hatred: dhcpd logging unknown subnet for client address
5 May 2011
Continue reading Pure Hatred: dhcpd logging unknown subnet for client address

Pure Hatred: dhcpd logging unknown subnet for client address

the dhcpd configuration option ignore unknown clients doesn’t do what you think it might. Syslog fills up with DHCPINFORM messages with unknown subnet for client address. Must I hack the code for a workaround?

Post thumbnail of lightbulb man page - How many programmers does it take to change a lightbulb?
5 January 2011
Continue reading lightbulb man page - How many programmers does it take to change a lightbulb?

lightbulb man page - How many programmers does it take to change a lightbulb?

How many programmers does it take to change a light bulb? Oh dear. I wish people would RTFM…

Post thumbnail of Use gconftool-2 to customize Gnome
4 January 2011
Continue reading Use gconftool-2 to customize Gnome

Use gconftool-2 to customize Gnome

You can fetch the values of any given key, but it’s rather hard to see the whole picture looking at it pixel-by-pixel or line-by-line. Start up gconf-editor and you can browse like a windows registry. Check out the things under apps and desktop. Perhaps you have a multitude of changes to make or you want to create an RPM that installs some applets, or changes the look and feel? All you need is to define the type and provide the path to the key you want to set in the gconf registry. Command-line gconftool-2 to the rescue!

Post thumbnail of Install Adobe flash 64-bit plugin codename square in Linux
16 September 2010
Continue reading Install Adobe flash 64-bit plugin codename square in Linux

Install Adobe flash 64-bit plugin codename square in Linux

Finally, a 64-bit flash player plugin from Adobe. And it’s simple to install too… Go to your browser’s plugin directory, delete the libflashplayer.so or the link to it, then copy in the libflashplayer.so from the tarball you just downloaded.

Post thumbnail of How many frames per second can the human eye see?
2 September 2010
Continue reading How many frames per second can the human eye see?

How many frames per second can the human eye see?

his question is not the same as asking how many frames-per-second are necessary to avoid seeing choppy images or flickering in video. There is an extreme difference between the point at which motion becomes fluid and the highest limits of fps perception. The reaction time of the rods and cones in your eyes depends on the frequency change from one color to the next and the brightness. Because of these variables there’s no one correct answer.

Post thumbnail of MaidSafe Perpetual Data peer-to-peer cloud storage app vs Google Docs
25 January 2010
Continue reading MaidSafe Perpetual Data peer-to-peer cloud storage app vs Google Docs

MaidSafe Perpetual Data peer-to-peer cloud storage app vs Google Docs

Perpetual Data is a peer-to-peer application that allows you to use an arbitrary computer as your own, with access to your personal and public data for the duration of your login. When you log out of the application, access to you data disappears from that PC.

Post thumbnail of Redirect URLs in Lighttpd
18 November 2009
Continue reading Redirect URLs in Lighttpd

Redirect URLs in Lighttpd

I’m going to redirect http://blog.rootninja.com to the main site. I don’t know why I didn’t just do this in the first place. I’ve always left it over here on its own. But it’s all on the same Virtual private server. Anyway, this is really easy to do in lighttpd. First, redirect all “www.rootninja.com” traffic to “rootninja.com”, because that other page is useless.

Post thumbnail of Assembly Basics, hello world!
25 August 2009
Continue reading Assembly Basics, hello world!

Assembly Basics, hello world!

There’s only two handfuls of assembly instructions you really need to know. The others aren’t used as often. Many of the instructions are made up of three characters with an operand, a comma, then another operand. Some others have four chars instead. To call a BIOS function that does some pre determined stuff such as printing something, you use INT. Most functions have multiple methods you can call so you’ll need to figure out which routine you want and put that number into the ah register first:

Post thumbnail of Fedora bloat begone!
17 April 2009
Continue reading Fedora bloat begone!

Fedora bloat begone!

Can anyone think of any other audio related packages I can get rid of? I don’t need audio, cd burning, flashy 3d graphics, printing, image or video playback/record capabilities on this machine at all.

 Page 1 of 4  1  2  3  4 »
Powered by Wordpress   |   Lunated designed by ZenVerse