Skip to content

Instantly share code, notes, and snippets.

View Protonk's full-sized avatar
🗯️
Before the hinge

Adam Hyland Protonk

🗯️
Before the hinge
View GitHub Profile
https://youtu.be/-C-JoyNuQJs?t=39m45s
When I put the reference implementation onto the website I needed to
put a software license on it.
And I looked at all the licenses that were available, and there were a lot
of them. And I decided that the one I liked the best was the MIT License,
which was a notice that you would put on your source and it would say,
"you're allowed to use this for any purpose you want, just leave the
notice in the source and don't sue me."
By hylang core devs:
Defining Function Arguments in Hy
http://agentultra.com/2013/04/22/defining-function-arguments-in-hy/
Hy a Lisp on Python
http://agentultra.com/2013/04/19/hy-a-lisp-on-python/
Programming Can Be Fun with Hy
http://www.opensourceforu.com/2014/02/programming-can-fun-hy/
#!/bin/bash
for remote in gnarf jugglinmike oconnore protonk rwaldron
do
git remote add $remote git@github.com:$remote/gaia
done
@Protonk
Protonk / agh
Created March 1, 2013 14:05 — forked from Ironholds/agh
entropy.df <- subset(
tickets.df[
1:nrow(
tickets.df
)
%in% which(
outer(
subset(
tickets.df,
period == "hadean"
@Protonk
Protonk / timefill.R
Last active December 11, 2015 14:49 — forked from iros/timefill.R
slight update to padded time series post http://weblog.bocoup.com/padding-time-series-with-r/
# if we have the data in a csv, we can make it more reproducible
# with dput(), specifically
# dput(read.csv("~/Desktop/ts.csv", as.is = TRUE), control = NULL)
# there are some peculiarities with list type objects and dput
unpadded.ts <- data.frame(list(time = c("2011/11/01", "2012/01/01", "2011/12/01", "2012/06/01"), observations = c(12, 320, 100, 7)))
# specifying the format will save you
unpadded.ts$time <- as.Date(unpadded.ts$time, format = "%Y/%m/%d")
@Protonk
Protonk / hack.sh
Created April 1, 2012 02:16 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#