API keys, DB authentication, passwords, system paths and other things of that nature dont belong in a Git repo. They belong in a lovely config file created by an install script run after cloning a repo. That’s how I try and do things these days anyway. I use a lot of bash scripting for big … More npm bash-conf, for sharing configs between bash and node
Before I get started, I need to say a couple of things. First of all, I’m not really sure I want to write this post – I had a bit of a rant a while back and was encouraged to post the transcript. I can’t remember it all so I’m just going to start fresh … More Mac vs PC
This keeps tripping me up, it’s caused me problems when upgrading production servers… you need to export the installation directory when installing Coldfusion on a Redhat or Ubuntu server. Otherwise the installer completes but fails silently on loads of stuff and Coldfusion don’t work proper! Here’s an Adobe Forum post about the last time I … More Installing Coldfusion 10 on Ubuntu!
I’ve just switched from MAMP to VirtualBox for local development. I found Railo was clashing with Apache too much, so I’m going to run 2 different VMs for Coldfusion and PHP development separately. Installing VirtualBox is easy enough, and creating a Ubuntu VDI (Virtual Disk Image) is easy enough following the wizard. I downloaded the … More Mac OSX Ubuntu 12 lts VirtualBox with DropBox DocumentRoot
VI is an excellent text editor, I use it all the time when I’m logged into a server via Putty. I’m more used to doing it in windows though, and recently I’ve been spending more time using a mac. The keyboard shortcuts are a bit different, or there are just less keys on this mac … More vi commands
It took me many attempts to work out password-less ssh, mainly because a lot of internet guides are not written that well and following them step by step didn’t work. Then I found one that did work! Woohoo! So I’ve copied and pasted it here… and regrettably forgotten the link I found it from. If … More Simple passwordless SSH tutorial
I’ve recently started using screens when inside command line linux. I got shown it by some Rackspace tech guys as I wanted to leave a process running after I’d left me shell. Screens is brilliant, it lets you run multiple shells and allows you to switch between them with keyboard shortcuts, and you can close … More Screens on Linux