May2012
Simple example of a gtk Image in a TreeView
Here is a super simple example of a pixbuf in a treeview. The pixbuf is loaded from a file then set in a treeviewcolumn with a cellrenderer.
Launch remote apps from inside a python thread with Paramiko SSH
How to use Paramiko SSH in Python to launch remote applications. A simple thread class example with implementation.
Galaxy Wars Tower Defense Strategy
There’s a couple of things that Galaxy Wars does right. Using structures that feed off of each other is one of them. The animation and wide range of enemies is nice too. But let’s not get too excited by the flashy shiny. The Lets take a look at the different towers and note their respective strengths and weaknesses.
Install iso to usb in Linux
How to install iso to usb in linux. The Ubuntu site gives you instructions for creating bootable USB media from Windows or from Ubuntu. But what about other distributions? Let’s start by taking a 50k foot view of the process to get a general idea of whats going on; then we’ll go through it step-by-step.
Make RPM spec files handle buildarch for multiple architectures
Then I noticed you can use if/else conditional branching, even outside of regular sections such as prep, build, or install. So I tried it in the beginning of the spec where I put my %define statements and it worked like a charm.
Toggle hidden files in the nautilus browser
Just two files right? CTRL-H and now you can see the hidden files too. No need to go into settings or change the view. It works with list view, icon view, or any view.
Decorator functions are static methods for python classes
I don’t know what a Useless decorator might do, but ignore that for a second. Did you know that you call stack decorators and call multiples? Lets try to give this silly example at least a fraction of usefulness. I’ll add a decorator called logstuff.