Skip to content

Instantly share code, notes, and snippets.

View nahiluhmot's full-sized avatar

Tom Hulihan nahiluhmot

  • Salsify
  • Providence, RI
View GitHub Profile
@nahiluhmot
nahiluhmot / gist:e3418368cd2e692ab1de
Created February 2, 2015 14:46
Fix Ruby 2.0.0-p353
--- orig/ext/readline/readline.c 2014-03-18 13:53:31.866359527 +0100
+++ fixed/ext/readline/readline.c 2014-03-18 13:56:26.390247250 +0100
@@ -1883,7 +1883,7 @@
rl_attempted_completion_function = readline_attempted_completion_function;
#if defined(HAVE_RL_PRE_INPUT_HOOK)
- rl_pre_input_hook = (Function *)readline_pre_input_hook;
+ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
#endif
#ifdef HAVE_RL_CATCH_SIGNALS
```json
{
"body": {
"client": {
"name": "keybase.io node.js client",
"version": "0.5.1"
},
"key": {
"fingerprint": "edc2c8fd05586982ee20f0778cc515c879bd325a",
"host": "keybase.io",
@nahiluhmot
nahiluhmot / build
Created April 9, 2014 17:16
Docker build help
$ docker build -h
Usage: docker build [OPTIONS] PATH | URL | -
Build a new container image from the source code at PATH
--no-cache=false: Do not use cache when building the image
-q, --quiet=false: Suppress the verbose output generated by the containers
--rm=true: Remove intermediate containers after a successful build
-t, --tag="": Repository name (and optionally a tag) to be applied to the resulting image in case of success
@nahiluhmot
nahiluhmot / vimrc
Last active December 19, 2015 21:58
" Basic things (that's programmer for "I don't quite remember what all of these do")
let mapleader=','
set nocompatible
filetype off
syntax on
set number
set ruler
set showcmd
set showmode
set hidden