Beyond Ad Blocking

    Ad blockers are one way to make the internet a slightly nicer place. However,  more can be done, especially when it comes to helping yourself from making bad decisions, like reading the comments. First, you need a browser extension which allows you to run your own CSS. The most popular is probably Stylish which has […]

    Unix is my IDE

    An integrated development environment (IDE) such as PHPStorm, Eclipse or Netbeans provides a set of tools and integrations available together to make development easier. Common features are: Text Editor Project search and replace Automatic building, testing, linting Source control integration The command-line meets all of these features. Editor First, my text editor is vim. I […]

    Dell XPS 13 Developer Edition

    My review of the Dell XPS 13 Developer Edition laptop. My two previous laptops were the Macbook Pro 15″ (Late 2013), and Thinkpad X1 Carbon (2012, 1st gen). So much of the comparisons will be to those two. My main debate was between the XPS 13 and Thinkpad X1 Carbon, a few reasons I ended […]

    Git Snippets

    Undo If you made a commit and did not push and want to change, use reset it will unstage the commit and your repo will be at the state prior to the commit. You can use reset with a hash or ~ back from head. git reset HEAD~1 If you want to completely undo the […]

    Create Screenshot in Chrome

    In the latest version of Chrome Canary, a beta channel for the browser, a new featured was added to the DevTools responsive layout allowing you to easily create a screenshot, including a mobile frame. As shown in the animation, the steps are: Open DevTools Select Device Type In Settings, select “Show device frame” In Settings, […]

    IP Address

    It is possible to represent an IPv4 address in different formats than the common x.x.x.x notation. An IPv4 address is simply a 32-bit number, or a 4-byte number with each section representing a byte. For example using my IP address: Converting each part to binary: Decimal Binary Hex 45 00101101 2D 79 01001111 […]

    Code Signing a Windows application

    Today, we released our Desktop app on Windows, the app takes advantage of all the work put in creating the Calypso app which is the Javascript client code that powers, which is all open source. To build the desktop apps, we use Electron which bundles Javascript, Node and the Chromium browser together into […]

    Set the Featured Image in WordPress

    I started my photo blog in 2005 and over the past 10 years run it on several different platforms, hosts and software. I started with a bunch of scripts I created myself, bounced around from self-hosted WordPress to Tumblr, back to self-hosted WordPress, back to custom scripts to and now once again back to […]

    Testing Clients to an HTTP API in Go

    An example on how to test a client which calls out to an external API, without requiring the API server to be up and running. From Testing Techniques video by Andrew Gerrand at Google I/O 2014. Go has a standard library net/http/httptest which you can use to create a test HTTP server, similar to Go’s […]

    Lanyon, a markdown web server

    I’ve just released a new bit of software I’ve been developing. Lanyon is a simple web server, which reads directories of markdown files and converts them to HTML and serves. An intuitive and easy way to create a website. It is open source and available on Github at Lanyon was derived from my static […]