Undo-ing ‘git reset hard’
Chances are, you’re here because like me, you ran git --reset hard HEAD on your last hour or two’s worth of work. If you’re lucky then hopefully you ran git add . or added your files to the staging...
View ArticleSublime Text 2 Packages we love
Here at Freshleaf Towers, we’ve grown to love Sublime Text 2. No, love may not be strong enough – we adore it. One of the main reasons we covet it is down to its extendability with plugins. First off,...
View ArticleCASE Expressions, for complex Order Bys in SQL
So here’s the problem I was having: I wanted to order a set of data by Date End, with ‘date_end’ a datetime column in our database. However, the data could also be 00-00-0000 00:00:00 – which...
View ArticleUbuntu server 12 stuck at the grub boot menu waiting for key press
Our local headless VirtualBox server (Ubuntu 12.04.2 LTS) fails to boot some mornings, waiting for a key-press. It appears that grub is configured, out of the box, to halt, if there are prior boot...
View ArticleGit Workflow, Deployment and Hooks
Git Deployment We use a simple post-receive git hook to make a production ready repository that we can push to from our local machines. We’ve also setup SSH keys on the servers we deploy to so we don’t...
View Article
More Pages to Explore .....