Archive for the ‘Miscellany’ Category

Command Line Email on Ubuntu (nail version)

For a simpler, updated version of this guide, see this page: http://klenwell.com/is/UbuntuCommandLineGmailNail This will be the first of two posts showing you how to configure the more recent versions of Ubuntu to send email from the command line as simply as humanly possible using your Gmail account for delivery. These instructions were originally posted on [...]

PHP4, PHP5, One Server

I posted last month on running PHP4 and PHP5 independently on separate local domains on a single Apache server under Ubuntu. This post updates my original post. The goal here is to create two domains: http://php5/ — running PHP5 via an Apache module http://php4/ — running PHP4 through CGI The steps below are adapted from [...]

Rotating Syslogs in Ubuntu

I have a server running Ubuntu. Log rotation never worked on it for some reason. The log files were getting pretty hairy so I wanted to delete or rotate them. Specifically, to be safe, I wanted to rotate then delete them. You’d think this is one of those things Google (by way of the ubuntuforums) [...]

VB Random: A Different Kind of Random

A weaker man might be moved to re-examine his faith, if in nothing else, at least in the law of probability. — Rosencrantz from Tom Stoppard’s Rosencrantz and Guildenstern Are Dead A colleague at work emailed this to me today: Check out how well VB.Net’s Random Number Generator works: I am relieved to say that [...]

The Limitations of svn:ignore

I recently discovered the limitations of svn:ignore. Having been spoiled by the ignore file in mercurial, I wasn’t expecting the hardships subversion had in store for me. And as I quickly learned from google, I’m not the first to lament its shortcomings. See, for instance, svn:ignore propset. The most frustrating thing is the lack of [...]