Skip to content

Instantly share code, notes, and snippets.

Avatar

Liam Don liamdon

View GitHub Profile
@liamdon
liamdon / gist:4137128
Created Nov 23, 2012 — forked from lambdabaa/gist:4004776
ClassDojo Coding Challenge: Finding the Minimum Weight Path Through a Matrix
View gist:4137128

Finding the Minimum Weight Path Through a Matrix

Consider a matrix of integers (ie [[3, 1, 4], [1, 5, 9], [2, 6, 5]]). For a better visual, we can draw this matrix like so:

| 3 1 4 |
| 1 5 9 |
| 2 6 5 |

@liamdon
liamdon / gist:2467603
Created Apr 22, 2012
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2
View gist:2467603

Step 1: Clone the bundles into your Sublime Text packages directory

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript
git clone https://github.com/miksago/jade-tmbundle.git Jade
git clone https://github.com/LearnBoost/stylus.git Stylus

Step 2: Restart Sublime Text 2

You can’t perform that action at this time.