Tmux for keyboard driven development

Keyboard driven development means using your keyboard as much as possible while programming, avoiding the use of mouse or touchpad. The advantages include being much faster and showing off your unix foo, and being more ergonomic, since repeatedly moving your hand from keyboard to mouse is a waste of time that will eventually give you a repetitive strain injury. This post serves as a cheatsheet for myself, in case to need to review one of the less used keyboard shortcuts....

Backing up to the cloud for cheap

Motivation In 2013 I was setting up an Ubuntu dualboot environment, accidentally selected the wrong partition, and saw it immediatly be deleted from the partition table, instantly erasing 300GB worth of data. While I could have recovered most of it with a tool like Recuva, I instead swallowed my pride and accepted this as a lesson: you need a backup. Having had external drives fail on me before, I since longed for a more disaster proof solution that would give me the flexibility I needed....

Recommended Mac Apps

Communication and webapp central Franz Franz is my go to app for web apps. It’s well integrated to many services, from Trello, to WhatsApp, to Gmail. Rather than keeping tabs open in your browser, or installing a handful of individually tailored Electron memory hogs for each service you use, Franz keeps all your RAM them all in one place. brew cask install franz Productivity Effortless Effortless is my favourite app for managing my current tasks, allowing me to effectively timebox my activities....

Thoughts and summaries of Thinking, Fast and Slow

Thinking, Fast and Slow is a popular book I recently finished reading. Written by Nobel prize holder Daniel Kahneman, it summarizes decades of his work on researching cognitive biases, prospect theory, and happiness. It includes a lot of interesting insights from academia and the IDF (Israel Defense Forces). While there is a lot to take away from the 499 pages, I still find myself sharing relevant chapters with friends and family as they provide great insight in common phenomena....

Fixing commandline tool problems

The solution to node-gyp & Ruby FFI problems After almost every update of MacOS, my Nodejs and Ruby set up seem to break. This has to do with the xcode command line utilities, as these are required when compiling a native extension like fsevents using Apple’s clang compiler. The errors look something like this: xcode-select: error: tool 'xcodebuild' requires Xcode, butactive developer directory '/Library/Developer/CommandLineTools'is a command line tools instance xcode-select: error: tool 'xcodebuild' requires Xcode, butactive developer directory '/Library/Developer/CommandLineTools'is a command line tools instance No receipt for 'com....