This will take about 30 minutes.
First, we need to install Homebrew. Homebrew allows us to install and compile software packages easily from source.
| #!/usr/bin/env bash | |
| pattern=$1 | |
| PORTS="" | |
| if [ -z "$pattern" ]; then | |
| PORTS=$(lsof -iTCP -sTCP:LISTEN) | |
| else | |
| PORTS=$(lsof -iTCP -sTCP:LISTEN | grep -i "$pattern") | |
| fi |
| { | |
| "binary_file_patterns": | |
| [ | |
| "*.scssc", | |
| "*.jpg", | |
| "*.jpeg", | |
| "*.png", | |
| "*.gif", | |
| "*.ttf", | |
| "*.tga", |
| # ZSH: Git Directory switch with tab completion | |
| # $ wd [tab] | |
| GIT_DIR=$HOME/git | |
| wd() { cd $GIT_DIR/$1 } | |
| compctl -W $GIT_DIR/ -/ wd |
| # Description: | |
| # john is the most important thing in your life | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # Configuration: | |
| # None | |
| # |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| # Description: | |
| # Aww, Yiss | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # Configuration: | |
| # None | |
| # | |
| # Commands: |
| Foo = require("./foo.coffee") | |
| describe 'Foo', -> | |
| testOpts = | |
| initialNumber: 255 | |
| initialArray: [255,255,255] | |
| expectedBinary: 10010010101110101000 | |
| it 'should return a correct binary string', -> | |
| foo = new Foo() |
| packetId = 7 # uint8 | |
| payloadLength = 24 # sVLQ | |
| assetDigest = "d41d8cd98f00b204e9800998ecf8427e" # uint8[] this is a sha1 of the mods folder, containing only the "mods_go_here" file | |
| claim = 1 # variant | |
| uuidFlag = 0 # uint8[] | |
| playerName = "zombie" # string | |
| species = "glitch" # string | |
| account = "bambam" # string | |
| // for a dark theme use: | |
| "theme": "itg.flat.dark.sublime-theme" | |
| // for a light theme use: | |
| "theme": "itg.flat.light.sublime-theme" | |
| // additional (dark) color options | |
| "theme": "itg.flat.dark.aqua.sublime-theme" | |
| "theme": "itg.flat.dark.blue.sublime-theme" | |
| "theme": "itg.flat.dark.green.sublime-theme" |