1. Microconf Europe 2015 – thoughts and takeaways

    I've just arrived home from MicroConf Europe, which was the best conference I've ever been to. The things I learned and ideas I had will definitely have an impact on my working life, as will the new relationships forged with the people I met.

    Continue reading

    Published on

  2. Update your entire project to Ruby 1.9 hash syntax

    In version 1.9 Ruby introduced new syntax for hash literals whose keys are symbols. If you no longer need to support Ruby 1.8 it's worth updating your code, as the new syntax is more succinct. Doing it by hand would be painful, but with the Unix command line and a quick regular expression we can make the computer do the hard work.

    Continue reading

  3. Silky Markdown editing on Mac

    If you write in Markdown on a Mac you'll no doubt have dabbled with TextMate at some point. If you did, perhaps you discovered some of TextMate's marvellous Markdown mode commands, such as "Google for the highlighted text, and convert it to a link to the first search result" (if memory serves, it was Cmd-Alt-Ctrl-L)?

    Editor support like that makes writing in Markdown very productive, but these days I tend to pen my blog posts in simpler editors. Luckily, with Markdown Service Tools you can now setup similar keybindings that work in any app built on top of Cocoa (which is pretty much all of them).

    Continue reading

    Published on in Mac OS X

  4. Stay curious

    When I was 10 my Dad told me something very disturbing: "Kids learn faster than adults because adults lose their childhood curiosity." The idea that I'd slowly become less interested in life didn't go down well and I resolved there and then never to stay curious. This week Brian Cox made it abundantly clear that I haven't been doing too well.

    Continue reading

  5. Finding perpetual inspiration

    I've been reading Execute this week, a book about how we can act on inspiration to create great things, fast. It tells the story of how Drew Wilson conceived, built and shipped a competitor to PayPal in five days (as if to make the point, Josh Long and Drew Wilson wrote the book itself in a week). One of the ideas that has resonated most strongly with me is the "inspiration battery".

    Continue reading

  6. Finding bugs with git bisect

    When a bug has crept in to your code that you're having trouble fixing, it helps to know when it was introduced. If you can prove which code caused the bug you can normally work out why. The git bisect command is here to help you track it down...

    Continue reading

    Published on in Git

Looking for something else? All my posts can be found in the archives