Skip to content

Instantly share code, notes, and snippets.

View danielstockton's full-sized avatar

Daniel Stockton danielstockton

View GitHub Profile
(ns clojure-problems.core
(:use clojure.set))
(def populations [18897109 12828837 9461105 6371773 5965343 5946800 5582170
5564635 5268860 4552402 4335391 4296250 4224851 4192887
3439809 3279833 3095313 2812896 2783243 2710489 2543482
2356285 2226009 2149127 2142508 2134411])
(defn summing-to [coll n]
(cond (zero? n) '(())
@danielstockton
danielstockton / config
Last active October 11, 2015 04:58
i3 config
set $mod Mod4
# Font
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# font xft:DejaVu Sans Mono 10
# Volume controls
bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute
bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute
bindsym XF86AudioMute exec amixer -q set Master toggle