Skip to content

Instantly share code, notes, and snippets.

View MrNice's full-sized avatar

Nicholas van de Walle MrNice

View GitHub Profile
@MrNice
MrNice / api-peek.sh
Created December 2, 2015 18:48
API Peek
# get these into your shell somehow
# apI PeeK: Look at an API response and temp save it
function ipk {
echo "Don't use the output flag from curl as it redirects"
curl "$@" | python -m json.tool | tee "apipeek.json" | less
}
# I PicK UP: rename the peeked api response (just partially applied mv)
function ipkup {
@MrNice
MrNice / taxes.md
Last active January 22, 2016 17:41
Increase Transparency, Increase Trust

I live in the United States and work a salaried job.

A full third of my income goes to taxes.

Federal Taxes account for one fourth of that.

Put another way, if all taxes were eliminated, I would make one and a half times more.

However, I don't think paying taxes is a bad thing.

@MrNice
MrNice / core.cljs
Created February 2, 2016 03:39
Clojure(Script) calculator
(ns calc.core)
(comment
The art of programming is very difficult to explain.
Without concrete examples, explaining programming is
similar to explaining "what does the ocean taste like"
to an alien who cannot taste salt.
The simplest definition of programming is to say it is
simply telling a computer what to do in a very precise way.
@MrNice
MrNice / Default
Created May 23, 2017 04:02
Default clanlord macros
// This macro file is included for every character by default.
// Use it for general macros that you want available to all characters.
//
"??" "/help " @text "\r"
"aa" "/action " @text "\r"
"gg" "/give " @text "\r"
"ii" "/info " @text "\r"
"kk" "/karma " @text "\r"
"mm" "/money\r"