Skip to content

Instantly share code, notes, and snippets.


Jason Rudolph jasonrudolph

View GitHub Profile
View init.lua
keywords = {
["date"] = function() return"%B %d, %Y") end,
["name"] = "my name is MISTER",
expander = hs.hotkey.bind({"alt"}, "d", nil, function() -- don't start watching until the keyUp -- don't want to capture an "extra" key at the begining
local what = ""
local keyMap = require"hs.keycodes".map -- shorthand... in a formal implementation, I'd do the same for all `hs.XXX` references, but that's me
local keyWatcher
keyWatcher ={ hs.eventtap.event.types.keyUp, hs.eventtap.event.types.keyDown }, function(ev)
toolbear /
Last active Sep 4, 2021
GitHub as an authority for SSH public keys


SSH pubkey distribution is adhoc and less (secure|correct|convenient) than it could be. GitHub is an ad hoc authority on mapping identities to SSH public keys, but the interaction could be better.


  1. [github-auth][github-auth]
  2. bespoke curl commands or scripts used by the #pairwithme crowd
  3. feature request to support [SSH public keys][keybase-issue]

Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following:

acolyer /
Last active Nov 18, 2022
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
pengwynn /
Created Jul 24, 2013
Git contributors example
$ git clone
$ cd bootstrap
$ git --no-pager shortlog -s -n
2153 Mark Otto
781 Jacob Thornton
65 fat
30 Pete Hopkins
tavisrudd / kinesis.txt
Created Mar 2, 2013
A partial list of the Kinesis Advantage / Controllermate / Emacs keybinding tweaks I've done.
View kinesis.txt
Remapped on kinesis itself
caps lock -> backspace (freq use)
backspace -> right gui/windows (freq use)
left alt -> return/enter (very infreq use)
right ctrl -> return/enter (freq use)
right gui/windows -> left gui
enter -> right gui (infreq use)
dergachev /
Last active Jan 27, 2023
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF


To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

jasonrudolph /
Created Sep 21, 2012
Rough Notes from Strange Loop 2012
piscisaureus /
Created Aug 13, 2012
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

burke /
Created Jan 27, 2012 — forked from funny-falcon/cumulative_performance.patch
ruby-1.9.3-p327 cumulative performance patch for rbenv

ruby-1.9.3-p327 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.


You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.