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

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
MicahElliott / dict-search-arch.md
Created Jul 10, 2013
Set up local dictionary search on ArchLinux
View dict-search-arch.md

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
jkresner / Procfile
Created Apr 13, 2013
Deploy brunch to heroku
View Procfile
web: ./node_modules/.bin/coffee app.coffee
@jrmoran
jrmoran / controllers.coffee
Created Nov 28, 2012
AngularJS Testing Controllers with Testacular & Testem
View controllers.coffee
# = 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
MicahElliott / arch-augment-vim-for-python.md
Created Jul 4, 2012
Configure vim in arch linux for python runtime support
View arch-augment-vim-for-python.md

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
srpouyet / nginx.conf
Last active Aug 5, 2018
Nginx Upstart script (Ubuntu 12.04)
View nginx.conf
### Nginx upstart script
### source: http://serverfault.com/a/391737/70451
### /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
MicahElliott / rbenv-howto.md
Created Apr 17, 2012
Setting up and installing rbenv, ruby-build, rubies, rbenv-gemset, and bundler
View rbenv-howto.md

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
biovisualize / index.html
Created Oct 6, 2011
Inkscape d3 tutorial
View index.html
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<title>D3-Inkscscape tutorial</title>
</head>
<body>
<div id="viz"></div>
<a href="#" id="download">Download</a>
<script type="text/javascript">
@MicahElliott
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
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.