This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| alias gn='cd `ls -lht | head -2 | tail -1 | cut -d" " -f9`' |
| // Building off the first chapter in Nature of Code by Daniel Shiffman | |
| // Solution to exercise 1.3, adding key presses and different behavior | |
| class Walker { | |
| int x; | |
| int y; | |
| Walker() { | |
| x = width/ 2; | |
| y = height/ 2; |
| from random import randint, shuffle | |
| from collections import defaultdict | |
| def gen_rand(): | |
| start = 97 | |
| end = 122 | |
| ends = ['us', 'ly', 'li', 'io'] | |
| vowels = ['a', 'e', 'i', 'o', 'u'] | |
| forbidden = ['j', 'h'] | |
| consonents = [] |
| """ | |
| Sleep sort using Python multiprocessing module | |
| Idea: | |
| - read a number n from a list | |
| - spawn a new process | |
| - within the process | |
| - sleep n seconds | |
| - print that number |
| http://www.decodified.com/scala/2010/10/12/an-integrated-sbt-and-idea-scala-dev-setup.html | |
| http://www.itdevspace.com/2011/04/setup-scala-with-sbt-in-intellij-idea.html | |
| https://github.com/mpeltonen/sbt-idea/tree/sbt-0.12#requirements | |
| http://www.scala-sbt.org/release/docs/Getting-Started/Running.html |
| UNIX/ OS X | |
| ========== | |
| Zsh - Custom theme starting from Oh-My-Zsh's Soliah theme | |
| Tmux - with a config built from Brian Hogan's book, and custom colors | |
| iTerm2 - a better terminal, with the right Option key as +Esc, so that all 'Alt' shortcuts for bash/zsh work as well | |
| Fonts: Source Code Pro, Inconsolata, Monaco, Droid Sans Mono, DejaVu Sans Mono, Monofur, Consolas, Monoid, Hack, Fantasque | |
| GitHub DotFiles repo has all config files for vim, zsh, bash, tmux, etc | |
| Code Editing | |
| ============ |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer