Skip to content

Instantly share code, notes, and snippets.

View jmdugan's full-sized avatar

Jonathan Dugan jmdugan

View GitHub Profile
CF
https://twitter.com/MikeTaylor/status/867669210050310144
for thread.
unedited, quick thoughts.
#!/usr/bin/perl
##################################################################
# CONSOLE CALC
#
# simple console calcualtor supporting line references
# and simple, one-character variables.
#
# Copyright (c) 2001, 2002 all rights reserved.
# Jonathan Dugan
{
    "body": {
        "key": {
            "eldest_kid": "010124d121a059034b59f51bc8c408437222d9cfec57f12f33035d86e774c2e43c7f0a",
            "fingerprint": "e3a091f223617b3613da61e1dc6dfc240b180120",
            "host": "keybase.io",
            "key_id": "dc6dfc240b180120",
            "kid": "010124d121a059034b59f51bc8c408437222d9cfec57f12f33035d86e774c2e43c7f0a",
            "uid": "7575eb17bd9839738bb94dddfe813e19",
My open username is +jmdugan
@jmdugan
jmdugan / gist:7305550
Last active December 27, 2015 09:39
Command line "calc" supporting line references, simple variables, and PERL functions
#!/usr/bin/perl
##################################################################
# CONSOLE CALC
#
# simple console calcualtor supporting line references
# and simple, one-character variables.
#
# Copyright (c) 2001, 2002 all rights reserved.
# Jonathan Dugan
@jmdugan
jmdugan / gist:5939116
Last active December 19, 2015 10:19
ugly command line bitcoin latest
# to print High/Low/Last price from mtgox
# to get json_pp:
# described: http://manpages.ubuntu.com/manpages/raring/man1/json_pp.1p.html
# or cpan: http://search.cpan.org/~makamaka/JSON-PP-2.27103/bin/json_pp
# sudo apt-get install libjson-perl
# or use cpan
alias mtgox='curl -s -o - http://data.mtgox.com/api/2/BTCUSD/money/ticker'
@jmdugan
jmdugan / awesome yet under-appreciated education- and science- related video channels
Last active December 17, 2015 18:09
Collection of awesome yet under-appreciated, education- and science- related video channels
@jmdugan
jmdugan / gist:2485826
Created April 25, 2012 02:54
unison install breaking
brew install -v unison
+++++++++++++++++++++++
==> Downloading http://www.seas.upenn.edu/~bcpierce/unison/download/releases/unison-2.40.63/unison-2.40.63.tar.gz
Already downloaded: /Users/dugan/Library/Caches/Homebrew/unison-2.40.63.tar.gz
/usr/bin/tar xf /Users/dugan/Library/Caches/Homebrew/unison-2.40.63.tar.gz
==> make ./mkProjectInfo
make ./mkProjectInfo
Makefile.OCaml:428: warning: overriding commands for target `Default'
Makefile.OCaml:422: warning: ignoring old commands for target `Default'