Skip to content

Instantly share code, notes, and snippets.

Jon Kinney jondkinney

Block or report user

Report or block jondkinney

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
BaseCase /
Last active Jan 10, 2018
List of resources recommended or mentioned by the speakers at Deconstruct 2017

Deconstruct 2017 Bibliography

Here are all of the resources mentioned by Deconstruct 2017 speakers, along with who recommended what. Please post a comment if I missed something or have an error!

DC 2017 Speakers' Choice Gold Medalist

  • Seeing Like a State by James Scott


  • Public Opinion by Walter Lippmann (Evan Czaplicki)
  • A Pattern Language by Christopher Alexander (Brian Marick)
  • Domain Driven Design by Eric Evans (Brian Marick)
juanmiret / init.lua
Last active Jul 23, 2018
Simple Vi mode with Karabiner-elements and Hammerspoon
View init.lua
local module = {}
module.debugging = false -- whether to print status updates
local eventtap = require "hs.eventtap"
local event = eventtap.event
local inspect = require "hs.inspect"
local keyHandler = function(e)
local watchFor = {
cfiorini / gist:9791020
Created Mar 26, 2014
OSX Mavericks + Brew + PostgreSQL 9.3 + V8 3.14.5 + PLV8JS 1.4.1
View gist:9791020
I spent hours to get plv8js works on my macbookpro with mavericks osx and this simple gist explain how i did!!
First of all i have already brew and postgresql installed
To install V8 we can use brew but we need to switch version to 3.14.5
and i did in a very raw way!!
cd /usr/local/Library/Formula
vi v8.rb
on my laptop i have this
datagrok /
Last active Jan 14, 2019
Reflections on my ErgoDox keyboard
burke /
Last active Jan 9, 2020
This sets up keybindings in tmux that allow you to copy/paste to/from your OS X clipboard from tmux running inside an SSH connection to a remote host. Partially borrowed from

Local (OS X) Side


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
View rack-pdf_preflight.rb
require 'base64'
require 'nokogiri'
module Rack
# Rack middleware to inline css and images from underlying application so it
# can be proccessed by PDFKit without additional network requests.
# For example, this middleware will transform this response:
# <html>
mislav /
Last active Dec 23, 2019
tmux-vim integration to transparently switch between tmux panes and vim split windows

I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).

In Vim I have key bindings C-h/j/k/l set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W.) I'd like to use the same keystrokes for switching tmux panes.

An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\.

Here's how it should work:

tarruda /
Last active Nov 20, 2019
Tmux/Vim integration

Some scripts/configurations that greatly improve tmux/vim workflows. The shell scripts target zsh but should be adaptable without much effort for other unix shells.


  • Transparently move between tmux panes and vim windows
  • Using the shell, open files in one vim instance per project or directory
  • Fully integrated copy/paste between tmux, vim and x11 using simple keybinds(need to install the xclip program)
  • Easily send text to any tmux pane without breaking your edit workflow(needs slimux

'vim-tmux-move.zsh', '.vimrc' and '.tmux.conf' cooperate so you can move transparently between tmux panes and vim windows using ALT + (arrow keys or jkhl). It was based on this gist

napcs / server.js
Created Feb 20, 2013
Simple web server with MIME type support and directory listing support for use in HTML5 and CSS3 Second Edition.
View server.js
// Simple static server with MIME based on
// Definitely not for production use.
var path = require('path');
var http = require("http");
var fs = require('fs');
var url = require("url");
var mime = require('mime');
} catch(error) {
funny-falcon /
Last active Jan 18, 2018
Performace patch for ruby-1.9.3-p327


  • this version includes backport of Greg Price's patch for speedup startup .

    ruby-core prefers his way to do thing, so that I abandon cached-lp and sorted-lf patches of mine.

  • this version integrates 'array as queue' patch, which improves performance when push/shift pattern is heavily used on Array.

    This patch is accepted into trunk for Ruby 2.0 and last possible bug is found by Yui Naruse. It is used in production* for a couple of months without issues even with this bug.

You can’t perform that action at this time.