Post thumbnail of Galaxy Wars Tower Defense Strategy
date14 May 2012
Continue reading Galaxy Wars Tower Defense Strategy

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.

Post thumbnail of Install iso to usb in Linux
date3 May 2012
Continue reading Install iso to usb in Linux

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.

Post thumbnail of Make RPM spec files handle buildarch for multiple architectures
date2 May 2012
Continue reading Make RPM spec files handle buildarch for multiple architectures

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.

Post thumbnail of Toggle hidden files in the nautilus browser
date2 May 2012
Continue reading Toggle hidden files in the nautilus browser

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.

Post thumbnail of Decorator functions are static methods for python classes
date1 May 2012
Continue reading Decorator functions are static methods for python classes

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.

Post thumbnail of Update gtk progressbar with a thread and gobject idle_add
date26 April 2012
Continue reading Update gtk progressbar with a thread and gobject idle_add

Update gtk progressbar with a thread and gobject idle_add

Creating a thread that makes a gobject idle_add function to do the gui update is the only method I could find to get gtk progress bars to update reliably! This is just a simple example I made to demonstrate a gobject updating a progress bar that’s called from a thread started in the gui.

Post thumbnail of Convert html hexidecimal color to pango rgb color
date24 April 2012
Continue reading Convert html hexidecimal color to pango rgb color

Convert html hexidecimal color to pango rgb color

This is a simple function to convert html colors like #AA00FF or #17f5ac to RGB colors for use with Pango or other libraries.

Post thumbnail of How to Install Eric python IDE without rpm or yum
date19 April 2012
Continue reading How to Install Eric python IDE without rpm or yum

How to Install Eric python IDE without rpm or yum

Download eric ide tarball from sourceforge, unpack and install using python. Everything should go smoothly, but if not, create shell scripts in your path somewhere to launch eric with any command line options.

Post thumbnail of Dropbox in Linux behind a firewall or proxy
date17 April 2012
Continue reading Dropbox in Linux behind a firewall or proxy

Dropbox in Linux behind a firewall or proxy

But instead, you find it needs an additional piece, the dropboxd daemon that isn’t included in the package. You see this popup and you click ok, but for whatever reason it just hangs there. Nothing is happening. Now what…?

Post thumbnail of How to get the My Documents path in all versions of Windows
date12 April 2012
Continue reading How to get the My Documents path in all versions of Windows

How to get the My Documents path in all versions of Windows

If you’re looking for a generic way to find the user’s “My Documents” folder in windows, os.environ variables won’t work because they’ change in Windows from one version to another. This method works on Windows XP and Windows 7 which is what I need:

 Page 1 of 60  1  2  3  4  5 » ...  Last » 
Powered by Wordpress   |   Lunated designed by ZenVerse

Valid XHTML 1.0 Transitional