Here are my notes about getting the Android SDK up and running using only the command line tools that come in the SDK. The following worked for me on Ubuntu 10.04 LTS as of September 2011. I find Eclipse to be an excruciating form of torture, so I’m not following the Eclipse-based instructions. Everything below [...]
Read the rest of this entry »
A python-based project I’m working on has a win32 user that I need to support. Until yesterday I’ve been moving to a win32 laptop in order to run python setup.py bdist_wininst so I can produce a self-installing executable. Then I discovered how trivial it is to use wine to do the job: Install wine. (sudo [...]
Read the rest of this entry »
Let’s say you have a half-dozen machines at work you want to log into. Instead of setting up a remote forwarding connection from each of those machines, you can have the connection from your main machine perform multiple forwardings instead of just one. This even works if some of the machines don’t support ssh.
Read the rest of this entry »
As I mentioned in a previous post on ssh configuration, your config file can specify a variety settings for each server. In fact, the Hosts you use don’t even have to exist! Consider the following snippet in your ~/.ssh/config.
Read the rest of this entry »
Local port forwarding is the same as remote port forwarding but works in the opposite direction. An example is the clearest way to explain…
Read the rest of this entry »
Ssh tunneling can be a bit mind bending at first, but it’s simple when you get used to it.
Read the rest of this entry »
Do you log in to several servers with different usernames via ssh? Save typing by telling ssh which username to use on each server.
Read the rest of this entry »
The ctypes module makes loading and calling into a dynamic library incredibly easy.
Read the rest of this entry »
I’ve had this code around for a while and had an opportunity to drag it out the other day and dust it off. The problem: Every now and again there’s a situation where you don’t really want to catch an exception, but you do want to perform some cleanup and let the exception propagate up [...]
Read the rest of this entry »
Thanks for your patience, and for coming back for a discussion of deploying our Django web app. In case you missed any of the previous posts in this series, here they are: Day One, Get Ready (Concept and prep) Day Two, Mockups (Creating a design) Day Three, Coding (Coding tests, views, templates, and models) Pre-Deployment [...]
Read the rest of this entry »
From The Peanut Gallery