Skip to content

Instantly share code, notes, and snippets.


Shaun Hannah hooptie45

Block or report user

Report or block hooptie45

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
hooptie45 /
Created Jun 28, 2014
bgov transactions_search (3)

README is empty

View -
View counts.rb
def rows(hash, counts, stack, depth)
r = Array(hash[:rows])
counts[stack[depth]] = r.length
counts[stack[depth + 1]] = r.reduce(0) {|m,r| m += rows(r, counts, stack, depth + 1) }
View .zshrc
git config --global --add core.editor 'edit'
View setup-misc.el
;; Enable paredit for a couple for non lisp modes; tweak
;; paredit-space-for-delimiter-predicates to avoid inserting spaces
;; before open parens.
(dolist (mode '(ruby espresso))
(add-hook (intern (format "%s-mode-hook" mode))
'(lambda ()
(add-to-list (make-local-variable 'paredit-space-for-delimiter-predicates)
(lambda (_ _) nil))
hooptie45 / csv_topology.rb
Last active Dec 22, 2015
Demo CSV Generation Storm Topology with Storm, Tire and Redis
View csv_topology.rb
require 'red_storm'
require 'tire'
require 'json'
# rvm use jruby@csv-topology --create
# bundle install
# redstorm bundle topology
# redstorm local csv_topology.rb
class PersistentArticle
include Tire::Model::Persistence
View laurahipsteressay.txt
Lomo PBR yr, freegan VHS butcher you probably haven't heard of them thundercats cardigan terry richardson. Aesthetic craft beer marfa chambray Austin, biodiesel freegan wolf jean shorts single-origin coffee cred viral gentrify williamsburg. Sartorial VHS iphone, before they sold out gluten-free +1 farm-to-table raw denim. Etsy tofu craft beer, organic hoodie aesthetic lomo 8-bit photo booth viral you probably haven't heard of them chambray carles. Twee american apparel marfa terry richardson, wes anderson lomo messenger bag VHS. Messenger bag 8-bit twee, biodiesel etsy readymade trust fund mustache wayfarers organic artisan. Terry richardson etsy wes anderson, vinyl fanny pack pitchfork viral mcsweeney's.
+1 put a bird on it photo booth, mixtape vinyl letterpress scenester. Carles quinoa beard banh mi, squid locavore trust fund shoreditch before they sold out PBR salvia raw denim stumptown biodiesel photo booth. Wolf vegan Austin sartorial. Next level banh mi banksy terry richardson, seitan lo-fi mustache. T
View index.html
<!doctype html>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<script src=""></script>
<script src=""></script>
<script src=""></script>
<script src=""></script>
You can’t perform that action at this time.