Skip to content

Instantly share code, notes, and snippets.

View slabko's full-sized avatar

Andrew Slabko slabko

  • ClickHouse
  • Amsterdam, The Netherlands
View GitHub Profile
@slabko
slabko / 0_reuse_code.js
Created October 16, 2016 20:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
(ns edge.transform)
(def test-matrix (repeat 9 [1 2 3 4 5 6 7 8 9]))
(defn- average-color [colors]
(let [s (sum colors)
])
(color 2))
(defn avg