Used to provide structural templates.
Pattern
t-template-name
t-template-name--modifier-name
t-template-name__subcomponent-name--subcomponent-modifier-name
| #!/bin/bash | |
| # Fullscreen (Lion) | |
| bash <(curl -s -L http://gr3g.me/tm-full) | |
| # Missing Drawer | |
| bash <(curl -s -L http://goo.gl/4RUoP) | |
| mkdir -p ~/Library/Application\ Support/TextMate/Bundles | |
| cd ~/Library/Application\ Support/TextMate/Bundles |
| $ git branch -D gh-pages | |
| $ git branch gh-pages | |
| $ git filter-branch --subdirectory-filter test/ gh-pages | |
| $ git push -f origin gh-pages:gh-pages |
The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.
Note: Make sure you install the XCode Command Line Tools after XCode is done installing. To do this go to Xcodes -> Preferences -> Downloads -> Command Line Tools -> Install. If you don't you might not be able to install brew packages (i.e. brew install wget will fail).*
| var page = new WebPage(), | |
| address, output, size; | |
| //capture and captureSelector functions adapted from CasperJS - https://github.com/n1k0/casperjs | |
| capture = function(targetFile, clipRect) { | |
| var previousClipRect; | |
| var clipRect = {top: 0, left:0, width: 40, height: 40}; | |
| if (clipRect) { | |
| if (!isType(clipRect, "object")) { | |
| throw new Error("clipRect must be an Object instance."); |
#Mac OS X
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
Grid layout demo.