Feeds:
Posts
Comments

Archive for March, 2009

I wanted to use this excellent command line from commandlinefu.com on the mac to create a podcasts playlist on my G1 each time I chucked some new podcast files on it. Unfortunately OSX (or BSD) aren’t exact matches to linux, so here’s my hack. It’s not elegant, too many pipes, but it works!
cd /Volumes/NIALLSG1/Music/Podcasts && [...]

Read Full Post »

Installing Laconica

Using:

OS: $ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid

php 5.2.6
mysql server 5.0.67-0ubuntu6

Added pre-requisities php libraries:

sudo apt-get install php5-cli
sudo apt-get install php5-curl
sudo apt-get install php5-mysql
sudo apt-get install php5-gd
sudo apt-get install php-gettext
Check mbstring is installed: php -i | grep -i [...]

Read Full Post »

Whilst learning how to use git with svn I am documenting the way I’ve done it. I’m using bash and am starting from the directory above my working directory. The project is checked out already from an svn repo. The working directory is “efot”.

Commit anything outstanding in your working directory to svn
Move your working directory [...]

Read Full Post »

I can never get this syntax to stick in my head.
ALTER TABLE someTable
ADD CONSTRAINT DF_someTable_someColumn DEFAULT getdate() FOR someColumn

Read Full Post »

Git locally, Subversion Repos

Whilst learning how to use git with svn starting from a new item in the trunk, I’ve hit a couple of snags and am documenting the way I should have done it.

Create your new working directory and add it to svn first: mkdir efot && svn add efot && svn commit efot -m “starting the [...]

Read Full Post »

If you’re a developer moving to a Mac may I recommend, from my own experience, you do these three things before you try and do anything at all other than using iLife or M$ Office:

Install XCode Tools. You’ll need your OSX install DVD, select Optional Installs/Xcode Tools, and run the XcodeTools.mpkg. Budget an hour for [...]

Read Full Post »