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
Gravity Kata | |
Create a system that shows how stacked ice blocks behave with gravity. | |
Here are some examples of how the ice blocks behave in this system: | |
Adding blocks | |
Before After | |
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
# adapted from http://notes.jimlindley.com/2008/3/25/git-svn-that-works-for-me | |
# initial slow setup (this will scan all of the base svn repo's history, and could take hours) | |
# - Change <svn_repo> to the base url of your svn repo, WITHOUT trunk at the end | |
# this will point master to /trunk and allow you to point git branches to svn branches | |
git svn clone <svn_repo> --stdlayout | |
# initial quick clone setup | |
# - Change $REV to the first revision of your repo, i.e. 24903 | |
# - Change <svn_repo> to the base url of your svn repo, WITHOUT trunk at the end |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |