This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
var arr = "123456789012341".match(/.{3,4}/g); | |
console.log(arr); // ["1234", "5678", "9012", "341"] |
$('#securityCode').bind('paste', function() { | |
var el = this; | |
setTimeout(function() { | |
el.value = el.value.replace(/\D/g, ''); | |
}, 0); | |
}); |
http://www.microsoft.com/en-us/download/details.aspx?id=11575 |
[ | |
{ | |
"id": 1, | |
"body": "First Item", | |
"severity": 1, | |
"status": 0 | |
}, | |
{ | |
"id": 2, | |
"body": "Second Item", |
var k = '3dsaAdas2dAAASdasdasDŞ321ĞİÜEQWEWQ098"**?_Ü;SDA!22'; | |
k.replace(/\D/g, ''); |
class FlipCounterView extends KDView | |
constructor : (options = {}, data = {}) -> | |
options.style ?= "dark" | |
options.from ?= 5000 | |
options.to ?= 10000 | |
options.interval ?= 1000 | |
options.step ?= 1 | |
options.autoStart ?= yes | |
options.direction = if options.from < options.to then "up" else "down" | |
options.digits ?= if options.direction is "up" then options.to.toString().length else options.from.toString().length |
{ | |
"color_scheme": "Packages/Colorsublime-Themes/deep_blue_see.tmTheme", | |
"enable_tab_scrolling": false, | |
"env": { | |
"PATH": "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/share/npm/bin/" | |
}, | |
"folder_exclude_patterns": [ | |
".svn", | |
".git", | |
".hg", |
console.clear() | |
diff = (a, b) -> | |
deleted = [] | |
added = [] | |
# deleted.push item for item in a when b.indexOf(item) is -1 | |
# added.push item for item in b when a.indexOf(item) is -1 | |
clone = b.slice 0 |
class CoffeetojsMainView extends KDView | |
constructor: (options = {}, data) -> | |
super options, data | |
@loading = new KDLoaderView | |
size : | |
width : 48 | |
showLoader : yes |