Skip to content

Instantly share code, notes, and snippets.

View rmoehn's full-sized avatar

Richard Möhn rmoehn

View GitHub Profile
@rmoehn
rmoehn / dump-1489371711841.cljs
Created March 13, 2017 02:21
ClojureScript REPL dump
cljs.user=> (.text (js/jQuery "#title") "bla")
ERROR - jQuery is not defined
cljs.user=> (rand)
0.4304687375015359
cljs.user=> '(meeow)
(meeow)
cljs.user=> (m3-C1 1)
ERROR - cljs.core.m3_C1.call is not a function
cljs.user=> m3-C1
-862048943
@rmoehn
rmoehn / none_bug_driver.py
Last active May 26, 2018 05:13
Naive driver for debugging oughtinc/patchwork#4
import sys
from patchwork.actions import Reply, Unlock
from patchwork.datastore import Datastore
from patchwork.scheduling import RootQuestionSession, Scheduler
from patchwork.text_manipulation import make_link_texts
def main():
db = Datastore()
sched = Scheduler(db)