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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<link rel="stylesheet" type="text/css" href=""> | |
</head> | |
<body> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> |
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
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 5) then: | |
// ie === undefined | |
// If you're in IE (>=5) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |
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
Here is a list of scopes to use in Sublime Text 2 snippets - | |
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CoffeeScript: source.coffee |
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
<snippet> | |
<content><![CDATA[ | |
<div class="$1"> | |
<p class="${2:para}"> | |
${3:text} | |
</p> | |
</div><!-- /${1/\*//} --> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>placid</tabTrigger> |
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
Show hidden characters
{ | |
"font_face": "Consolas", | |
"font_size": 11, | |
"ignored_packages": | |
[ | |
"Vintage" | |
] | |
} |
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="chewy_pb_contact"> | |
<p class="clearfix"> | |
<strong><label class="et_pb_contact_form_label">Your Name</label></strong> | |
[text* your-name id:your-name class:input class:et_pb_contact_name class:chewy_input placeholder "Name"] | |
</p> | |
<p class="clearfix"> | |
<strong><label class="et_pb_contact_form_label">Your Email</label></strong> | |
[text* your-email id:your-email class:input class:et_pb_contact_email class:chewy_input placeholder "Email"] | |
</p> | |
<p class="clearfix"> |
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="chewy_pb_contact"> | |
<p class="clearfix"> | |
<!-- <label class="et_pb_contact_form_label">Name</label> --> | |
[text* your-name id:your-name class:input class:et_pb_contact_name class:chewy_input placeholder "Name"] | |
</p> | |
<p class="clearfix"> | |
<!-- <label class="et_pb_contact_form_label">Email</label> --> | |
[text* your-email id:your-email class:input class:et_pb_contact_email class:chewy_input placeholder "Email"] | |
</p> | |
<p class="clearfix"> |
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
.chewy-no-display { | |
display: none; | |
} | |
.chewy-header { | |
background-color: #e55621; | |
} | |
.chewy-history { | |
font-size: 16px; | |
} | |
.chewy-contact p { |
OlderNewer