Skip to content

Instantly share code, notes, and snippets.

<!-- start Mixpanel -->
<script type="text/javascript">(function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="//cdn.mxpnl.com/libs/mixpanel-2.2.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore
https://gist.github.com/62c81d8e2e86bad068ec
<!-- start Mixpanel -->
<script type="text/javascript">(function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="//cdn.mxpnl.com/libs/mixpanel-2.2.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore
#Ansible managed: /usr/local/etc/ansible/roles/info.haproxy/templates/backend.cfg modified on 2014-11-03 12:59:02 by cory on o2.local
backend be-flirtmoji
description super sexting
mode tcp
balance roundrobin
# server be-app01 104.236.185.24:443
# server be-app02 104.236.185.37:443
# server be-app03 104.236.184.87:443
server be-app04 104.236.183.101:443
server be-app05 104.236.178.223:443
node_modules
dist
.tmp
.sass-cache
bower_components
.DS_Store
custom_plan.rb
zeus.json
.jshintrc
.direnv
function pihist
{
$(history | cut -c8- | sort -u | pick)
}
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCZZ6Mui4YYNxq8o0D6uBLYlP+asQSMMGMYo4UiOd9s/gKWXSh55sCSjsuyxo21/1Hpirpz106vmzR04P9W8UHKDLdcOtXYI6blpnAShQB+ESDJRZsNe4lq90VayIihhZiDraG+FWvW+VfnVUxMMB5JgLqYrCgOgGFD68g9M4UytaLY1KjfZU4FsQsRgZu7xOSYadMpliYtLWChwFjxxeYdfthhS44+RU/aKBDzA2Tp+Wrv97tshQT06jlbA/js8sdOSbOLSJHxPB61dIYcQ2lS47sKVbkWKXhxKuH7ht8zNAewzYVvK7HMuLHh0LVUcZzjOyOQyKWCjmDb5WAWy9v cory@o2.local
@counterbeing
counterbeing / habitat-quickstart.md
Last active July 14, 2016 01:04
Habitat Quickstart Guide

Keybase proof

I hereby claim:

  • I am counterbeing on github.
  • I am corylogan (https://keybase.io/corylogan) on keybase.
  • I have a public key ASAtzJPIyFWmz5Tcu_w8gyR771f9FHYFkQ1ej8BRN92cfgo

To claim this, I am signing this object:

@counterbeing
counterbeing / chainable.rb
Created December 1, 2016 03:52
Trying to make these methods chain! I'd expect these to work... kinda. It gets confusing fast. The expectation should stay mostly intact, but needs to accept an initial argument. The `run_chain` method is where most changes should be made.
require 'rspec'
action = Struct.new(:action, :args)
def run_chain(action_chain, anchor)
action_chain.inject(anchor) do |chain, link|
lambda do
link.action.call(chain.action.call)
end
end.call