All articles by Graham King

Image for tmux: Stay focused

tmux: Stay focused

On the surface tmux manages your terminal windows, but really it helps you stay focused. The challenge with learning tmux is that the benefits are not immediately apparent. At first it's just screen with vertical splits. In this post I …
Image for The Joy of Upstart

The Joy of Upstart

Upstart is a ridiculously easy way to turn your scripts into daemons. Take this python script: /home/myuser/ez_daemon.py: import time while 1: print("I'm a daemon!") time.sleep(1) We’re going to turn it into a daemon with <strong>a single line</strong>: /etc/init/ez_daemon.conf: exec python …
Image for What is WebRTC?

What is WebRTC?

WebRTC, short for Web Real Time Communications, is a specification and project adding JavaScript APIs in the browser to: 1. Access a user’s webcam and microphone: getUserMedia. 2. Connect directly to another browser: PeerConnection and DataChannel. The main use case …
Image for What is SPDY?

What is SPDY?

This is HTTP A big friendly unsecured clear-text, line-oriented bear. This is SPDY A multi-plexed binary TLS-wrapped protocol from the future. SPDY (pronounced speedy) is a replacement for HTTP, and feels like a wrapper for it. SPDY is a packet …
Image for Optimize for Motivation

Optimize for Motivation

When your client is hundreds of miles away, but your bed only three feet, it helps to understand motivation. The first thing to understand about motivation is that it’s not something you do to someone. That’s called coercion. With enough …