Intro
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
################### | |
# Custom Functions | |
################### | |
function newdir { mkdir $1 && cd $1; } #Usage: newdir $new_dir_name | |
function parsecsv { cat $1 | cut -d $2 -f $3 | grep -v -e "^$" > ~/Desktop/$4.csv; } #Usage: parsecsv $original_csv $delimiter $column_num $new_csv_filename | |
# More to come |
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
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
git clone git://github.com/gregory-m/ejs-tmbundle.git EJS
⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> |
//In your Main class : | |
public function Main() { | |
levelManager = new LevelManager(ALevel); | |
levelManager.applicationDomain = ApplicationDomain.currentDomain; // to be able to load your SWF level on iOS | |
levelManager.onLevelChanged.add(_onLevelChanged); | |
levelManager.levels = [[Level1, "levels/A1/LevelA1.swf"], [Level2, "levels/A2/LevelA2.swf"]]; | |
levelManager.gotoLevel(); //load the first level, you can change the index. You can also call it later. | |
} |
⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |