Python
cx_Freeze and PySide on Mac
I'd had success using py2app for building Mac binaries for distribution but wanted to give cx_Freeze a
Web Hosting
Pelicans on Webfaction
As mentioned in the previous post, I recently migrated this site over to the very clever Pelican. Setting it up
Tutorials
Speed up MATLAB on MacOS X
On MacOS X 10.5 there is considerable slow-down in the MATLAB editor and other GUI elements. The issue
Tutorials
Customize directory colors
You can use the command ls --color (or an alias) to show directories with colours for folders, files, links, etc.
Tutorials
Control memcached from the command line
memcached is a general-purpose distributed memory caching system originally developed by Danga Interactive for LiveJournal but now used by
Tutorials
Installing Haiku under Mac OS X with Virtualbox
Haiku is an open source operating system currently in development that specifically targets personal computing. Inspired by the Be Operating
Bash
Find all files containing a given string
A quick one-liner to recursively search files for a given text string.
Open up a terminal session and enter
Django
Django AJAX threaded-comments using jQuery
Upgrade threaded comments using mptt to allow AJAX submission of comments and update the template - without any backend hacking of
Tutorials
Display external RSS feeds on your WordPress blog
Show another of your blogs or any other RSS news feed on your WordPress blog with this simple template code.
Tutorials
Highlight author's comments on WordPress blog
In this short tutorial we'll take a look at a simple trick to make comments from the original
Linux
Kill unresponsive applications on Linux
Sometimes things go a bit wrong. Sometimes they go very wrong. XKill is a simple little application that allows you
Tutorials
Change the Desktop directory on Linux
On desktop setups where icons are shown on the desktop these are normally taken from the specific folder ~/Desktop. If
Linux
Collaborate in the shell with screen (multiuser)
Screen is a neat little program that allows you to use multiple virtual terminals in a single session on Unix/
Tutorials
Installing Google Earth on Ubuntu
Install the latest version of Google Earth for Ubuntu Linux direct from Google sources.
Open a terminal window to perform
Tutorials
Syntax highlighting with Django and Markdown
Syntax highlighting is more than just eye candy. It can turn a block of impenetrable code into something more readable.
Tutorials
Django Threaded Comments
Django ships with it's own comments contrib app that provides commenting on arbitrary models. However this is a
Tutorials
Bash Command Substitution
Bash command substitution performs a given command replacing the marker with the resulting standard output. It is particularly useful when
Tutorials
Remove duplicate lines from text files (with sort)
A quick method to remove duplicates from text files - including for example CSV files - where multiple records have been added