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
URL: http://skeeto.s3.amazonaws.com/share/JEOPARDY_QUESTIONS1.json.gz | |
The json file is an unordered list of questions where each question has | |
'category' : the question category, e.g. "HISTORY" | |
'value' : $ value of the question as string, e.g. "$200" | |
Note: This is "None" for Final Jeopardy! and Tiebreaker questions |
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
# add submodule to track master branch | |
git submodule add -b master [URL to Git repo]; | |
# update your submodule | |
git submodule update --remote |
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
Cloning from a local repo will not work with git clone & git fetch: a lot of branches/tags will remain unfetched. | |
To get a clone with all branches and tags. | |
git clone --mirror git://example.com/myproject myproject-local-bare-repo.git | |
To get a clone with all branches and tags but also with a working copy: | |
git clone --mirror git://example.com/myproject myproject/.git | |
cd myproject | |
git config --unset core.bare |
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
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer |
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
#!/bin/sh | |
DIR=$(dirname "$0") | |
cd $DIR/.. | |
if [[ $(git status -s) ]] | |
then | |
echo "The working directory is dirty. Please commit any pending changes." | |
exit 1; |