The first thing I do on a new Mac is configuring the terminal and shell. I always install Fish and bobthefish with patched nerd fonts. If you follow the steps in this blogpost, you will have a nice looking shell like mine: Install Homebrew If you haven’t installed Homebrew yet, head over to brew.sh to […]
Tag Archives: programming
Running `go fmt`, `goimports` and `golangci-lint` on save with GoLand
Recently I started using GoLand for Go development. This means that I’m constantly adapting to this new editor and looking up how to do certain things. One of the things I really liked in Visual Studio Code was the formatting/linting/goimports on save. It appears that it is super simple to enable this in GoLand. Go […]
How to convert all your old AppleWorks and ClarisWorks documents to PDF?
Recently someone asked me if I could help him open old documents on his Mac. Those documents were made in 1997 with ClarisWorks (ClarisWorks is de predecessor of AppleWorks) and can’t be opened with any version of Pages (not even the oldest iWork version that runs on Intel Macs). Luckily, there is still a way […]
HTTP Test Recording with Go and go-vcr
When testing code that interacts with HTTP APIs, it is often cumbersome to test them, and especially to automatically test them with real data as part of a continuous deployment process. To tackle this, it is useful to record your API requests and responses. This can be done in Go by using go-vcr, which gives […]
Getting a Mac ready for development
Apple computers are awesome: they are fancy machines which make your daily life easier. But every developer knows that there are a lot of things to install and configure before you can actually start programming. This guide is an overview of how I configure my Mac for development. I’m sure everyone has his own habits […]
An introduction to PHP 7 type declarations
PHP 7 introduced a feature everyone was waiting for: typing. This solves a lot of bugs/problems caused by wrong types passed to function or returned by functions. Strict typing vs type coercion Before I introduce the actual typing of arguments or return values, I must explain PHP’s behaviour when types don’t match. By default PHP tries […]