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:
window.IDE.appControllers.helloworld = function() { | |
time = new Date().toString().match(/(\d\d:\d\d:\d\d)/)[0]; | |
view = new KDCustomHTMLView({ | |
tagName: 'h2', | |
partial: 'HELLO WORLD APP LOADED at ' + time + ' !!!' | |
}); | |
return view; | |
} |
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 |
@font-face { | |
font-family: 'fontello'; | |
src: url('../font/fontello.eot?14391850'); | |
src: url('../font/fontello.woff?14391850') format('woff'), | |
url('../font/fontello.ttf?14391850') format('truetype'), | |
url('../font/fontello.svg?14391850#fontello') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
new Vue({ | |
el: '#app', | |
methods: { | |
validate() { | |
VueValidator(this, () => { | |
console.log('single input is valid'); | |
}); | |
} | |
} | |
}) |
$white_foo_bar: #FFF; | |
$map: ( | |
foo: 'foo', | |
bar: 'bar', | |
baz: 'white', | |
foowhite: 'foowhitecolor' | |
); | |
@mixin foo($type) { |
//import the selenium web driver | |
var webdriver = require('selenium-webdriver'); | |
var chromeCapabilities = webdriver.Capabilities.chrome(); | |
//setting chrome options to start the browser fully maximized | |
var chromeOptions = { | |
'args': ['--test-type', '--start-maximized'] | |
}; | |
chromeCapabilities.set('chromeOptions', chromeOptions); | |
var driver = new webdriver.Builder().withCapabilities(chromeCapabilities).build(); |
var pubsub = {}; | |
(function(q) { | |
var topics = {}, subUid = -1; | |
q.subscribe = function(topic, func) { | |
if (!topics[topic]) { | |
topics[topic] = []; | |
} | |
var token = (++subUid).toString(); | |
topics[topic].push({ | |
token: token, |
$.ajaxQueue = []; | |
var que = $.ajaxQueue; | |
$.ajaxSetup({ | |
beforeSend: function(){ | |
if (this.queue) { | |
que.push(this); | |
} | |
else { | |
return true; |