Tech Stuff

21 to 30 of 136

Munin Virtual Host Configuration on Ubuntu 14.04 and Apache 2.4

Submitted on Jul 09, 2014, 1:26 p.m.
Having switched to Nginx a while ago, I was recently asked to use Apache for a client installation. There have been some significant changes in 2.4 from 2.2, include the 'Requires' option.  I also...

How to Upload a File using PHP cURL

Submitted on Jun 13, 2014, 8:14 p.m.
Here's how to upload/transfer a file server-to-server using PHP cURL (this is not a 'client' web form upload). The receiving server requires the top level key in the post data array to be 'file'....

Apptivate - My New Favorite Mac OS X Launcher

Submitted on May 30, 2014, 11:12 p.m.
It's taken a while, but someone has finally cracked it. I've been a Mac OS X launcher geek for a while now, having spent years with Quicksilver (at one point ranking it as my no. 1 Mac OS utility)....

SSH and SFTP Chroot Jail

Submitted on Jan 09, 2014, 4:54 p.m.
For a little while now I've wanted to be able to chroot both SFTP and SHH accounts on one of my multi-user VPSs. SFTP on its own is not so difficult. OpenSSH 4.9p1 and above includes the...

How to Encrypt an External Drive with FileVault and Backup with SuperDuper

Submitted on Sep 28, 2013, 8:32 a.m.
Here's a recipe for encrypting an external drive with Mac OS X FileVault, and then creating an emergency bootable backup using SuperDuper. You'll need an external drive - ideally USB 3 or...

The Mouse That Called Home

Submitted on Aug 11, 2013, 12:27 p.m.
In the photo included in this post you can see my new Razor Orochi mouse. It's a pretty cool mouse, but I confess I'm not entirely sure if it actually belongs to me - or at least which parts of the...

Deploying Drupal With Git and Capistrano

Submitted on Mar 23, 2013, 4:10 p.m.
I've been hacking on Drupal recently and so far, I like it a lot. I've also been reading a little about Drupal's deployment story, and decided that it might be fun to use Capistrano to deploy the...

How to Add Captions to Images in Drupal

Submitted on Mar 06, 2013, 4:01 a.m.
Here's a recipe for adding (and formatting) captions to images in Drupal using Entity View Modes, File Entity, and Media 2.0 Design Goals The objective is to allow a user to upload or select an...

WordPress Bash Upgrade Script

Submitted on Jan 18, 2013, 6:08 a.m.
Bash is fun. It's a little weird, but it's fun. I've been reading the Linux Command Line and Shell Scripting Bible which I highly recommend. I also wanted a script I could use to update the...

A UDP Flood Story

Submitted on Dec 11, 2012, 6:02 a.m.
I recently suffered a UDP flood attack on my little virtual private server (VPS) and thought I'd describe the steps I went through to discover and fix the problem. Symptoms Periodically, my...