Skip to content

Instantly share code, notes, and snippets.

View nick-orton's full-sized avatar

Person nick-orton

View GitHub Profile
@nick-orton
nick-orton / lazy.java
Created June 8, 2011 01:06
Lazy Evaluation
Operation
Result apply(Object element)
void stack(Operation operation)
Result
void apply(Collection c)
Chain.evaluate()
Collection c = Create.newCollection()
@nick-orton
nick-orton / sequencer.clj
Created July 30, 2011 03:23
dirty sequencer
(def metro (metronome 128))
(def sequencer {0 [kick]
0.5 [c-hat]
1 [kick snare]
1.5 [c-hat]
2 [kick]
2.5 [c-hat]
3 [kick snare]
3.5 [c-hat]})
@nick-orton
nick-orton / arch-config.md
Created July 5, 2012 01:57
arch installation 7/4/12

My Arch Configuration

These are the instructions for setting up an Arch Linux box the way I like it. This setup includes X windows using xmonad, mpd, zsh, vim, screen, and cups.

Install from CD

  • Choose core-local packages and vi as editor.
  • Set the time and zone.
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/clojure");</script>

Keybase proof

I hereby claim:

  • I am nick-orton on github.
  • I am no (https://keybase.io/no) on keybase.
  • I have a public key whose fingerprint is A779 E43A 980A F130 FC00 911D FA9A B11D 2A48 AB24

To claim this, I am signing this object:

@nick-orton
nick-orton / Python-setup-notes.md
Last active June 25, 2017 16:54
Setting up Atom editor for Python stuff