This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Try it in the REPL or eval in Light Table | |
(require '[clojure.string :as string]) | |
(def vowels [:a :e :i :o :u]) | |
(defn char-is-consonant? | |
[char] | |
(not-any? #{(keyword char)} vowels)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .gitignore for unity | |
# =============== # | |
# Unity generated # | |
# =============== # | |
[Tt]emp/ | |
[Ll]ibrary/ | |
#Unity3D Generated File On Crash Reports | |
sysinfo.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name HN Black | |
// @version 0.1 | |
// @description blacks out HN title bar | |
// @author @ultimapanzer | |
// @match https://news.ycombinator.com/* | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo = { a: 1, b: 2 }; | |
var bar = foo; | |
bar.c = 3; | |
console.log(bar); //=> { a:1, b:2, c:3 } | |
console.log(foo); //=> { a:1, b:2, c:3 } foo was mutated | |
//however | |
foo = { a: 1, b: 2}; |