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:
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 |
goog.provide 'spark.components.Modal' | |
goog.require 'spark.core.View' | |
goog.require 'spark.components.Overlay' | |
class spark.components.Modal extends spark.core.View | |
###* |
@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; | |
} | |
acetz:fe-ci facet$ npm init | |
This utility will walk you through creating a package.json file. | |
It only covers the most common items, and tries to guess sane defaults. | |
See `npm help json` for definitive documentation on these fields | |
and exactly what they do. | |
Use `npm install <pkg> --save` afterwards to install a package and | |
save it as a dependency in the package.json file. |
module.exports = (grunt) -> | |
grunt.initConfig | |
grunt.loadNpmTasks 'grunt-npm' | |
grunt.registerTask 'default', 'Default task',-> | |
grunt.task.run [] |
module.exports = (grunt) -> | |
grunt.initConfig | |
coffee : | |
options : | |
bare : yes | |
src : | |
files : [ | |
expand : yes |