Skip to content

Instantly share code, notes, and snippets.

View haywoood's full-sized avatar
🏠
Working from home

Ryan Haywood haywoood

🏠
Working from home
View GitHub Profile
in paris, japanese-american
shirts are tied-together by
the sounds of congratulations
in paris, tunics is currency
the tunics are held together by volunteers
one volunteer is laughing with a child
while gender-identity-omitted buys a bike
with a pile of folded tunics.
the child is excited.
newMode = ([mode, type] = pair) ->
newProps = ramda.mixin { term: mode.term, eventCount: mode.count }, type
Em.Object.create newProps
@haywoood
haywoood / fever_in_the_hurrican.md
Last active August 29, 2015 14:01
Fever in the hurricane

Fever in the hurricane

The last time I was in Kansas, my brother was competing for the top spot in his high school's prestigious group. It wasn't until the gunman funneled his way through the air ducts that I realized we weren't going home that night.

“Alright Julie, that's my queue, wish me luck!”

Greg darted through the curtains to take the last seat on stage with the other finalists. A natural showman, Greg stood in front of his chair, arms raised like a gymnast who stuck the landing of a lifetime. He squatted down, hovered over the seat but still not officially seated -- the crowd went nuts. 'Sit! Sit! Sit!' they chanted.

The gymnasium was ablaze with excitement as Greg held his pose, he didn't give in to their outcries, he knew he was in control. Teasing them, he bobbed his bottom up and down, mere centimeters from seat. The crowd reached a tepid frenzy as he finally sat down. His weight shifted fully to the seat, his legs kind of rocked off the ground as he settled into the chair. BOOM. Greg exp

$(document).ajaxSuccess(function(a,b,c,d) {
if (d.IsCaptcha) {
alert('captcha')
} else if (d.AutosRemaining === 0) {
setTimeout(function(){
$('#BattleContinue').click()
setTimeout(function(){
$('#AutoBattleSubmit').click()
}, 500)
}, (12*1000))
### Keybase proof
I hereby claim:
* I am lsdafjklsd on github.
* I am haywood (https://keybase.io/haywood) on keybase.
* I have a public key whose fingerprint is 6E56 DA77 3F4F 28A2 8104 7178 7983 8032 15C6 26AF
To claim this, I am signing this object:
(ns test.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :refer [<! chan put!]]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(def app-state (atom {:projects
[{:id 1 :title "proj 1"}
{:id 2 :title "proj 2"}
{:id 3 :title "proj 3"}
(ns test.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :refer [<! chan put!]]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(def app-state (atom {:projects
[{:id 1 :title "proj 1"}
{:id 2 :title "proj 2"}
{:id 3 :title "proj 3"}
(ns test.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :refer [<! chan put! sliding-buffer]]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(def app-state (atom {:default-project-id 5
:projects
[{:id 1 :title "proj 1"}
{:id 2 :title "proj 2"}
(ns test.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(def app-state (atom {:default-project-id 5
:projects
[{:id 1 :title "proj 1"}
{:id 2 :title "proj 2"}
{:id 3 :title "proj 3"}
{:id 4 :title "proj 4"}
@haywoood
haywoood / gist:8211908
Created January 1, 2014 21:56
Routing problems
(ns puree.core
(:require-macros [cljs.core.async.macros :refer [go]]
[secretary.macros :refer [defroute]])
(:require [cljs.core.async :as async :refer [>! <! put! chan]]
[goog.events :as events]
[clojure.browser.repl]
[secretary.core :as secretary]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[puree.state :as state]