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

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

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

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


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 / disable-repaint-with-ctrl-l.patch
Created Jul 6, 2019
disable mosh repaint (CTRL-L) nixpkgs overlay
View disable-repaint-with-ctrl-l.patch
diff --git a/src/frontend/ b/src/frontend/
index 8523f9c..8cfbdae 100644
--- a/src/frontend/
+++ b/src/frontend/
@@ -373,9 +373,6 @@ bool STMClient::process_user_input( int fd )
lf_entered = ( (the_byte == 0x0A) || (the_byte == 0x0D) ); /* LineFeed, Ctrl-J, '\n' or CarriageReturn, Ctrl-M, '\r' */
- if ( the_byte == 0x0C ) { /* Ctrl-L */
- repaint_requested = true;