View fa-icons.json
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
{ | |
"fa-500px": "500px", | |
"fa-adjust": "Adjust", | |
"fa-adn": "Adn", | |
"fa-align-center": "Align Center", | |
"fa-align-justify": "Align Justify", | |
"fa-align-left": "Align Left", | |
"fa-align-right": "Align Right", | |
"fa-amazon": "Amazon", | |
"fa-ambulance": "Ambulance", |
View shawn_snippets.sublime-snippet
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="clearfix"> | |
<label for="$1">$2</label> | |
<div class="input"> | |
<?=form_input('$1', set_value('$1'))?> | |
</div> | |
</div> | |
]]></content> | |
<tabTrigger>formtext</tabTrigger> |
View Super Simple Ajax File Upload (XHR2).js
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
// Ajax File upload with jQuery and XHR2 | |
// Sean Clark http://square-bracket.com | |
// xhr2 file upload | |
// data is optional | |
$.fn.upload = function(remote,data,successFn,progressFn) { | |
// if we dont have post data, move it along | |
if(typeof data != "object") { | |
progressFn = successFn; | |
successFn = data; |
View JavaScript: detect_ie.js
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
var ie = (function(v,undef){ | |
var div = document.createElement('div'), | |
all = div.getElementsByTagName('i'); | |
while ( | |
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->', | |
all[0] | |
); | |