Chrome Dev tools snippets

Set a breakpoint in code. debugger Debug a page redirect or reload window.addEventListener("beforeunload", function() { debugger; }, false)

Setup Xdebug with PHP7.2, PHPStorm and Laravel Valet

This walkthru assumes that you have Laravel Valet, PHP7.2 installed. If not, follow these instructions: https://laravel.com/docs/5.8/valet#installation Xdebug is no longer available from Homebrew as shown in tutorials for PHP7.1,...

A clone saved my day

When moving to a new computer the last thing I do, after moving all the necessary files, is to make a disk image of the entire computer. I will keep...

Quicklook and syntax highlighting

You can add syntax highlighting to macOS QuickLook and get nice previews of JSON and PHP-files. To install the Quicklook plugin for for code highlighting. Make sure you have...

9 useful macOS and iOS apps

Some apps are from the indie-developer Bitfield that I share my office space with. Jörgen has some helpful tools and utilities I can highly recommend, especially if you are...