Post thumbnail of Install VirtualBox Guest Additions on Linux Mint
1 November 2011
Continue reading Install VirtualBox Guest Additions on Linux Mint

Install VirtualBox Guest Additions on Linux Mint

The only problem i’ve had with LXDE and Mint is that running as a guest in VirtualBox, the guest additions will not install properly. I tried mounting the additions from the host and installing them, no dice. I tried installing from the software repositories using the aptitude update manager, no dice. So it didn’t work out of the box for me, but a quick recompile did the trick. No moving around files or manipulating configurations are necessary, just recompile for the running kernel and you’re in business.

Post thumbnail of Old School Coin Bulldozer Arcade Game
21 October 2011
Continue reading Old School Coin Bulldozer Arcade Game

Old School Coin Bulldozer Arcade Game

You put a quarter in at the top, and it falls onto a tray that pushes a pile of coins toward you. Any coins that fall off the front of the machine are yours to keep. Sometimes you’ll find other prizes interspersed among the coins.

Post thumbnail of How to make a dictionary of dictionaries with Python
18 October 2011
Continue reading How to make a dictionary of dictionaries with Python

How to make a dictionary of dictionaries with Python

Create a simple class of dictionaries to make a dictionary of dictionaries. No need for generators, iterators or lambdas. Use a deck of cards for example.

Post thumbnail of Why Battlefield 3 won’t run on Windows XP
10 October 2011
Continue reading Why Battlefield 3 won’t run on Windows XP

Why Battlefield 3 won’t run on Windows XP

The structure for graphics drivers changed completely from Windows XP To Vista. So forget your video card. You might have the latest and greatest money pit of a video card, but it still won’t run Battlefield 3.

Post thumbnail of Get the hostname of a system in python
7 October 2011
Continue reading Get the hostname of a system in python

Get the hostname of a system in python

There are multiple ways to do it. Some are platform dependent.The best way is probably through socket, but you can use platform and os too.

Post thumbnail of Klayplex Lights and dubstep guns
3 October 2011
Continue reading Klayplex Lights and dubstep guns

Klayplex Lights and dubstep guns

Check out Klayplex Lights and Rain if the more power oriented side of electronic music appeals to you. Mike Diva captures the essence in dubstep guns perfectly.

Post thumbnail of Avoid looping through treeview iterators with row references
27 September 2011
Continue reading Avoid looping through treeview iterators with row references

Avoid looping through treeview iterators with row references

Keeping a dictionary of treerowreferences is the way to go. It makes keeping track of rows a breeze. You don’t have to worry about row locations changing over time as the treerowref keeps track of that automatically.
When you add a parent row to a treestore you get an iterator returned. …

Post thumbnail of Make stock gtk icons from your own images and pixbufs
19 September 2011
Continue reading Make stock gtk icons from your own images and pixbufs

Make stock gtk icons from your own images and pixbufs

If you want to set a cell to a pixmap, ok no problem, but what about setting individual liststore values to a pixmap? You can’t do it directly unless you’re using a gtk.STOCK_ image. Here’s a way around that little problem.

Post thumbnail of Python: two-way thread communication made simple
13 September 2011
Continue reading Python: two-way thread communication made simple

Python: two-way thread communication made simple

You don’t need heavyweight communication layers for very simple message passing between threads in python. It’s pretty simple to use pipes and implement your own thread class.

Post thumbnail of Hide a dialog without destroying - pygtk one-liner
2 September 2011
Continue reading Hide a dialog without destroying - pygtk one-liner

Hide a dialog without destroying - pygtk one-liner

If you like the standard window decorations and dont need/want to create your own buttons to handle custom events, closing a dialog without destroying it is a simple one-liner in pygtk. This is helpful when you have logic that replaces individual widgets inside a dialog and you don’t want to recreate the whole dialog.

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