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 this as a quick template for future modules | |
define([ | |
'jquery', | |
'underscore', | |
'backbone' | |
], function($, _, Backbone){ | |
return {}; | |
}); |
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
function isFloat(n){ | |
return n === +n && n !== (n|0); | |
} | |
function isInteger(n){ | |
return n === +n && n === (n|0); | |
} |
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 { | |
width:200px; | |
height:225px; | |
background:#DFDFDF; | |
border-style:solid; | |
border-width:10px; | |
-webkit-border-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 10%,rgba(41,184,229,1) 100%) 1 100% 1 1 stretch stretch; | |
} |
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
// jQuery Plugin Boilerplate | |
// A boilerplate for jumpstarting jQuery plugins development | |
;(function($) { | |
$.pluginName = function(el, options) { | |
var defaults = { | |
propertyName: 'value', | |
onSomeEvent: function() {} |
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
@ECHO OFF | |
CLS | |
IF [%1]==[] ( | |
C:\Python27\python.exe -m SimpleHTTPServer | |
) else ( | |
C:\Python27\python.exe -m SimpleHTTPServer %1 | |
) |
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
data:text/html,<input name="name"> |
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 x = '' + 0/0, y = typeof true; (y[0] + x[1] + x + x[1]).toLowerCase() |
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
/* | |
Compliant with Twitter's Developer Display Requirements: | |
https://dev.twitter.com/terms/display-requirements | |
*/ | |
var linkify_result = function (tweet /* tweet object from the results array */) { | |
var subs = [], | |
last_offset = 0, | |
new_tweet = '', | |
entity, | |
replace = { |
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
(function($){ | |
$.yourPluginName = function(el, radius, options){ | |
// To avoid scope issues, use 'base' instead of 'this' | |
// to reference this class from internal events and functions. | |
var base = this; | |
// Access to jQuery and DOM versions of element | |
base.$el = $(el); | |
base.el = el; | |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme", | |
"font_size": 10.0, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"jlegewie-SublimePeek-aaaaee6", | |
"Phoenix-Theme", | |
"zencoding", | |
"BracketHighlighter" |
OlderNewer