Skip to content

Instantly share code, notes, and snippets.

@awb99
awb99 / clocks.cljg
Last active April 21, 2021 04:59
gorilla repl clocks
;; gorilla-repl.fileformat = 1
;; **
;;; # Gorilla REPL
;;;
;;; Welcome to gorilla :-) Shift + enter evaluates code. Poke the question mark (top right) to learn more ...
;; **
;; @@
(use '[gorilla-repl table latex html])
@awb99
awb99 / crepl_tic-tac-toe.clj
Created October 4, 2019 23:20 — forked from thegeez/crepl_tic-tac-toe.clj
crepl Tic Tac Toe example with atom sync
(ns crepl.tic-tac-toe
(:require [reagent.core :as r]
crepl.atom-sync))
;; use this instead of reagent.core/atom to keep the state in sync
(def data (crepl.atom-sync/atom-sync {:turn :X}))
(def win-lines (-> #{}
(into (for [i (range 3)]
(for [j (range 3)]

Keybase proof

I hereby claim:

  • I am awb99 on github.
  • I am awb99 (https://keybase.io/awb99) on keybase.
  • I have a public key ASAGh07DyAIflryZMrIYEq9C-oopOebAbj5Emku8e0pzIgo

To claim this, I am signing this object: