Skip to content

Instantly share code, notes, and snippets.

Micah Elliott MicahElliott

Block or report user

Report or block MicahElliott

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
subfuzion /
Last active Jan 21, 2020
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

MicahElliott /
Created Jul 10, 2013
Set up local dictionary search on ArchLinux

Install the dictionary.

% pacman -S words

Make it convenient.

% alias g='grep --color=always --perl-regexp'
% export dict=/usr/share/dict/american-english

Use it.

jkresner / Procfile
Created Apr 13, 2013
Deploy brunch to heroku
View Procfile
web: ./node_modules/.bin/coffee
jrmoran /
Created Nov 28, 2012
AngularJS Testing Controllers with Testacular & Testem
# = require '../components/jquery/jquery'
# = require '../components/angular-complete/angular'
Controllers = angular.module 'controllers', []
Controllers.controller 'PhoneListCtrl', ['$scope', ($scope)->
$scope.phones = [
{name: "Nexus S", snippet: "Fast just got faster with Nexus S."},
MicahElliott /
Created Jul 4, 2012
Configure vim in arch linux for python runtime support

Steps to upgrade vim in arch linux for python runtime support

Python support is needed by vim in order to run things like Conque and Slimv. Arch keeps vim slim by only providing Python support in gvim. But you may prefer vim to gvim, so here's what's needed.

More ABS info.

# Install and run abs (sync)
sudo pacman -S abs
srpouyet / nginx.conf
Last active Aug 5, 2018
Nginx Upstart script (Ubuntu 12.04)
View nginx.conf
### Nginx upstart script
### source:
### /etc/init/nginx.conf
description "nginx http daemon"
start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]
env DAEMON=/usr/local/sbin/nginx
MicahElliott /
Created Apr 17, 2012
Setting up and installing rbenv, ruby-build, rubies, rbenv-gemset, and bundler

Setting up and installing rbenv, ruby-build, rubies, rbenv-gemset, and bundler

This guide enables you to install (ruby-build) and use (rbenv) multiple versions of ruby, isolate project gems (gemsets and/or bundler), and automatically use appropriate combinations of rubies and gems.

TL;DR Demo

# Ensure system is in ship-shape.
aptitude install git zsh libssl-dev zlib1g-dev libreadline-dev libyaml-dev
biovisualize / index.html
Created Oct 6, 2011
Inkscape d3 tutorial
View index.html
<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<title>D3-Inkscscape tutorial</title>
<div id="viz"></div>
<a href="#" id="download">Download</a>
<script type="text/javascript">
MicahElliott / vimpress.mkd
Created Dec 21, 2010
Plain Presentations in Plain Text (PPPT)
View vimpress.mkd

Presentations in Plain Text (PPT++)

With some help from Markdown and Vim.

“Hope this makes you chuckle.” —Micah Elliott

MicahElliott / .gitignore
Created Nov 29, 2010
Python Autotest - Automatically run tests upon detecting writes to source(s).
You can’t perform that action at this time.