I’ve been exploring zc.buildout (another link) lately. In the past, I’ve typically gone the simpler route of using virtualenv and pip, but I knew that buildout could do some powerful things and I’ve long wanted to kick the tires.
I’m using buildout for a Django project at work and it’s working out pretty well, though I sense that I might just be scratching the surface. Tonight, I wanted to play with some of the other buildout recipes.
The result is this educational buildout gist that demonstrates a recipe for building and deploying Varnish and a recipe for installing Supervisor.
The supervisor manages two processes — a simple one-line Python “origin server” on port 8080 and a Varnish reverse proxy on port 8000.
These are some AppleScripts that I developed to make it easier to dial into a daily conference call. For this conference call, I dial into an 888 number and then I dial an 8 digit conference code and hit the ‘#’ key to enter a particular conference. Surprisingly, Skype doesn’t let you do this in a simple way by adding something like “,,12345678#” to the phone number, so I had to resort to scripting.
SkypeDialer.applescript provides core services that can be used by other AppleScripts, including SkypeDialerGUI. You should open SkypeDialer.applescript with AppleScript Editor and then save it as a stay-open application (File | Save As… and then for the File Format, select “Application” and in Options, make sure that “Stay Open” is checked). I saved mine in /Applications so I have /Applications/Skype Dialer.app.
SkypeDialerGUI can be used as a regular script or an application.
GitHub repository: skype-applescripts
As promised and after a nudge from Bruce, here’s how I was able to get the Dropbox Linux CLI software running on a DreamHost VPS server. This isn’t super hard but it wasn’t a trivial install, because the Dropbox software is closed-source and it contains binaries compiled against glibc 2.4, whereas my VPS server is using glibc 2.3.
I stumbled upon Pyramid (from the Pylons Project) tonight and wondered why the world needed another Python web framework. However, upon closer inspection, I noticed that Pyramid is essentially a rebranding of repoze.bfg. So it’s not completely new.
You have to be a little careful using the
du command to compare output across systems. For example, a few weeks ago I backed up a bunch of files from our MacBook Pro to our NAS and then was running
du commands to verify that directories on the systems had the same amount of data. There is a pitfall here, though…
I’m just curious what message queues people like.
Here are three popular ones (feel free to mention others) that are a snap to install on OS X:
$ brew search mq
activemq rabbitmq zeromq