| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
This file contains hidden or 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
| // It is important to declare your variables. | |
| (function() { | |
| var foo = 'Hello, world!'; | |
| print(foo); //=> Hello, world! | |
| })(); | |
| // Because if you don't, the become global variables. | |
| (function() { |
This file contains hidden or 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
| /*! | |
| * jQuery Crash for IE6, IE7 and IE8 | |
| * @description This is an expansion of the jQuery Crash plugin for IE6 by Chad Smith. | |
| * @author Mathias Bynens <http://mathiasbynens.be/> | |
| * Use $.crashIE6(); and/or $.crashIE7(); and/or $.crashIE8(); | |
| */ | |
| ; | |
| $.crashIE6 = function(x) { | |
| if ($.browser.msie && $.browser.version < 7) { | |
| for (x in document.open); |
This file contains hidden or 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
| // Example: | |
| JavaScript.load("/javascripts/something.js"); | |
| // With callback (that’s the good thing): | |
| JavaScript.load("http://www.someawesomedomain.com/api.js", function() { | |
| API.use(); // or whatever api.js provides ... | |
| }); |
This file contains hidden or 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
| current_dir=`pwd`; | |
| cd ~/Library/Application\ Support/Espresso/Sugars/; | |
| echo "Installing Sugars:"; | |
| if [ ! -d ./CSS3.sugar ]; then | |
| echo "Installing CSS3.sugar..."; | |
| git clone -q git://github.com/minimalweb/CSS3.sugar.git ./CSS3.sugar; | |
| else | |
| echo "CSS3.sugar already installed, attempting update..."; |
This file contains hidden or 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
| [user] | |
| name = Alexander Rinass | |
| email = [email protected] | |
| [core] | |
| editor = mate -w | |
| [github] | |
| user = alexrinass | |
| [color] | |
| branch = auto | |
| diff = auto |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <style> | |
| .tooltip { | |
| font: normal 11px/17px sans-serif; | |
| color: red; |
This file contains hidden or 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
| .fb_like #fb | |
| width: 48px | |
| .fb_edge_widget_with_comment iframe | |
| width: 48px !important | |
| .fb_edge_comment_widget | |
| &.fb_iframe_widget iframe | |
| width: 401px !important |
OlderNewer