Skip to content

Instantly share code, notes, and snippets.


Dev Cheat Sheets

Personal collection of commands and snippets that just won't stay in my head.

View gelf.json
"short_message":"GET /ok?username=yoshi",
timstott / com.timstott.hamachi.plist
Created Aug 15, 2015
LogMeIn Hamachi Login Job
View com.timstott.hamachi.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
timstott / basicNodeServer.js
Created Sep 19, 2015
Basic node.js server
View basicNodeServer.js
#!/usr/bin/env node
var http = require('http');
// Port to listen on
const PORT=8085;
// Function handling request and response
function handleRequest(request, response){
timstott /
Created Nov 5, 2015
debug=true = 30000

Move current windows to x position move-window -t 0

Access tmux clipboard tmux show-buffer | jq . -S


Keybase proof

I hereby claim:

  • I am timstott on github.
  • I am timstott ( on keybase.
  • I have a public key whose fingerprint is 9B24 48CD EA77 B493 2F42 24B5 0CDE 05FC 2683 594F

To claim this, I am signing this object:

timstott /
Created Aug 15, 2017
Run Ethereum Parity with Docker


docker-compose up -d
docker-compose exec parity /parity/parity signer new-token | grep http
# browse to url

Argument list

Add to the argument list

command outcome
:args ag -l spec_helper add command result to args list

Operate on the argument list

timstott / configuration.nix
Last active Jan 21, 2020
Convert a machine provisioned by NixOps to standalone NixOS (reddit
View configuration.nix
{ config, lib, pkgs, ... }: {
config = {
boot.kernelModules = [];
networking = {
extraHosts = '' bob-remote bob-remote-unencrypted bob-remote-encrypted
firewall.trustedInterfaces = [];
publicIPv4 = "";