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
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
<codeColors> | |
<colorGroup> | |
<syntaxColor id="CodeColor_HTMLEntity" text="#AECD9D" bold="true" /> | |
<syntaxColor id="CodeColor_JavascriptNative" text="#FCFFE7" /> | |
<syntaxColor id="CodeColor_JavascriptNumber" text="#FBAA21" /> | |
<syntaxColor id="CodeColor_JavascriptClient" text="#FCF296" /> | |
<syntaxColor id="CodeColor_JavascriptSpryKeywords" text="#FF6208" /> | |
<syntaxColor id="CodeColor_JavascriptSpryClasses" text="#FF6208" /> | |
<syntaxColor id="CodeColor_TemplateText" text="#999999" /> | |
<syntaxColor id="CodeColor_TemplateCommentText" text="#82806F" /> |
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
/** | |
* Checkerboard pattern | |
* (a bit buggy in Webkit, see bug #54615) | |
*/ | |
background-color: white; | |
background-image: linear-gradient(45deg, transparent 25%, transparent 25%, transparent 87.5%, black 87.5%, black), | |
linear-gradient(-135deg, transparent 25%, transparent 25%, transparent 87.5%, red 87.5%, red), | |
linear-gradient(45deg, transparent 25%, transparent 25%, transparent 87.5%, black 87.5%, black), | |
linear-gradient(-135deg, transparent 25%, transparent 25%, transparent 87.5%, red 87.5%, red), |
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
## .gitconfig | |
[alias] | |
dt = difftool | |
mt = mergetool | |
[diff] | |
tool = bc3 | |
[difftool] | |
prompt = false | |
[difftool "bc3"] |
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
## .gitconfig | |
[alias] | |
dt = difftool | |
mt = mergetool | |
[diff] | |
tool = bc3 | |
[difftool] | |
prompt = false | |
[difftool "bc3"] |
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
//Paste the code below into chrome's console and press enter! | |
//Thanks to @alextang https://github.com/ikitty | |
var css = "@import url('file1.css');\r\n"+ | |
"@import url('file2.css');\r\n"+ | |
".test3{\r\n"+ | |
" height: 1px;\r\n"+ | |
"}"; |
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
<div class="loader"> | |
<span></span> | |
<span></span> | |
<span></span> | |
</div> | |
<style> | |
.loader { | |
text-align: center; | |
} | |
.loader span { |
Setup GitHub Pages "gh-pages" branch as a subfolder within the "master" project on your local checkout.
If you plan on switching between different branches (e.g. git checkout master-experiment
then revert back with git checkout master
) you will loose your child
folder from this tutorial (because it's in your
.gitignore and is not part of your master
branch).
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
/***** Selector Hacks ******/ | |
/* IE6 and below */ | |
* html #uno { color: red } | |
/* IE7 */ | |
*:first-child+html #dos { color: red } | |
/* IE7, FF, Saf, Opera */ | |
html>body #tres { color: red } |
OlderNewer