Tech
Reload Non-Python Files with Paster
a quickie to get templates reloaded when edited and running under paster --reload
Create Plone 3 Archetype Product with ZopeSkel and Buildout
ZopeSkel can create Archetype-based products for Plone 3. Wire it up in Buildout.
Using Aqamacs to Edit Plone Content
A quick description to setting up a Mac to use Aquamacs to edit Plone documents. Good for Content-type: text/x-rst
Stop spam with spamd and pf
Turned out to be remarkably easy and effective. Wish I'd done it sooner.
Testing SVN pre-commit hook permissions
A quick way to test pre-commit hooks w ihtout making test checkins.
Plone UnifiedInstaller vs. Old zc.buildout eggs
Repeated use of evolving versions of the UnifiedInstaller have different zc.buildout egg version requirements.
Install Plone with ZopeSkel, Buildout; needs PIL
Martin Aspeli's instructions work fine, but I had to add PIL to the buildout.cfg.
Create a Code Swarm Animation
Code Swarm could use a bit o' luvin' in the docs but this was pretty easy on OS X.
readline-5.2 won't compile on OS X 10.5 Leopard
Readline hasn't been updated as of this writing to include OS X 10.5 Leopard (Darwin 9) in its shared object configuration. This is a patched version so it builds on Leopard.
FreeBSD virtualization with ezjail
Creating isolated instances in jails, on ZFS filesystem
Set Up a Postfix Submission Service on FreeBSD
Instructions to set up a Postfix submission service on FreeBSD
Subscribe to Google Groups with Non-Google Address
Inconsistent behavior is confusing, but it's easy.
Install FreeRADIUS on OS X
Tweak a couple switches to avoid link failure against Perl
Building Python with --enable-shared in non-standard location
We want to use mod_wsgi but getting python to link at runtime isn't obvious.
VPN to Cisco on OS X with 'vpnc'
vpnc builds fine and can auth, but then complains about ESP error, unless you use the right switch.
Django forms with ManyToManyFields
Saving the form data with the many-to-many relations is subtle if you're not using save() in the normal way: your relations aren't committed to the DB.
Sieve server-side mail filtering with Postfix, Dovecot
Turned out to be easier than I expected, but took a bit of poking around.
Buildout for Django with PostgreSQL on OS X
Need to install PostgreSQL from source so buildout of psycopg2 can find libraries, includes and commands.
Compile Subversion on OS X with Neon, SSL
Problems abound: system's old neon, makefile ignoring location of new neon, ssl, and lions and tigers and bears, oh my.
Create Plone Initial Content with Generic Setup
It seems like it's almost easy but there's too many missing pieces of info. Perhaps this will contribute to the discussion. This is on Plone-3.3rc4.
Set PATH on OS X
standard .bash_profile and .login didn't work for me
Git SVN notes
Newbie notes on using Git with a remote SVN repo.
Use DJBDNS to slave a zone from a master
It's not like BIND but it's not hard either. Master-IP-based directories hold domain-name files that tell the "puller" where and what to get.
Sync Apple iCal with Google Calendar
Snow Leopard makes syncing Google calendars easy but you'll need to push existing iCal calendars.
System Monitoring with Zenoss
Zenoss is a sophisticated open source / commercial network monitoring system.
Time Tracking, Invoicing, Accounting Software
Desktop, Online, iPhone, Software as Service. So many to choose from. Not all of them good.
Setup FreeTDS, ODBC and pyodbc to Connect to MS-SQL on FreeBSD
Instructions for connecting FreeBSD 8.0 to MSSQL server (2005) for use with pyodbc and SQLAlchemy. it should also work fine on OSX 10.6.
Apache with RADIUS authentication for Trac (with RSA server)
We wanted to have a Trac instance authenticate to our corporate RSA server which exposes a RADIUS protocol; the mod_auth_radius module did the trick.
Postgres, psycopg2, virtualenv install hints
Had problems with Darwin ports, homebrew install, etc etc. Put Postgres's binary directory in your PATH before trying to install psycopg2.
Postgres startup on OS X 10.6
Use launchd and launchctl to start our hand-built Postgres server on OS X 10.6 Snow Leopard.
Compiling Python 3 on OS X Snow Leopard
Default configure and build dumped curious errors, a simple environment setting fixed it.
Compiling Erlang (R13x) on Snow Leopard
A total piece of cake now. Big steps forward from R12x
IPython in ZODB debug session
notes to myself to remember how to do this, again
Finding all Trac instances users
It's an easy UNIXy one-liner... once you know to look in the permissions table.
Google Tasks: OSX App, Android
Fluid creates a desktop app, accessible by Android too
Xen and the art of CentOS maintenance
My initial foray into running Xen: much easier on Centos 5.5 than Ubuntu 10.05 so far
Add VirtualBox Guest Additions to Centos, RHEL
To add the additions it needs the ability to compile kernel modules. On RHEL, if you don't have RHN license, you can install from a repo on the DVD. Once the Guest Additions are in, you get access to the Virtual Shared directory which is very useful to exchange files without network acces.
HTC Evo + PdaNet + BlueTooth on Mac OS X
Setting up networking over BlueTooth to the HTC Evo phone to use PdaNet to access the WAN seems tricker than it should be. But that seems mostly the fault of BlueTooth's byzantine setup.
Building Python-2.7 on FreeBSD
Building Plone failed because it couldn't find libraries, tweak build_ext.py to fix.
Trac: simple HTML and CSS modifications
Enabling and locating files isn't obvious: HTML and CSS/Image files live in different directories.
Perform Containment test on arrays in Javascript
A prototype for performing containment tests in Javascript; the moral equivalent of __contains__ for sequences.
Plone on Slicehost
How to setup plone on slicehost
TAL Order of Execution
A TAL memory aid for something I can never remember or find when I want to.
Emacs hangs on Flymake under OS X
Popup dialogs considered harmful.
Compile Python-2.7 on FreeBSD
Need to patch in order to fix problem with ${LDFLAGS}. Don't use --enable-shared.
Restore disk from Crashplan (on OS X)
Crashplan saved our bacon but took a while to find the files -- ownership and location important.
Android TimeTracker data extraction
How to generate a report from the database managed by TimeTracker for Android by ABS
Flymake Mode for Emacs/JavaScript V8 edition
V8 powered jslint or jshint with Flymake in Aquamacs Emacs
Build MongoDB on FreeBSD -- for Jenkins use
We use Jenkins to automate build and test; many of our projects use MongoDB, so we need a download tarball for it as 10gen doesn't offer a pre-built image.
CrashPlan on Headless Server
Use client on MacOS over ssh tunnel to headless server.
Ubuntu-11.04 on Dell T-105 with RAID: video and grub problems
At install time, the video blanked. After RAID setup, Grub didn't install.
Host Plone site a level down with Apache and VirtualHostMonster
We had to use some _vh_* magic to get rewrites to work properly.
Use openconnect VPN on OS X instead of Cisco AnyConnect
AnyConnect requires registration and a support contract, but we can use open source software instead.
