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:
{ | |
"defaultResponse": { | |
"totalAccepted": 1, | |
"totalRejected": 0, | |
"accepted": [ | |
{ "address": "[email protected]" } | |
], | |
"rejected": [] | |
}, | |
"exchanges": [ |
(function() { | |
top !== window && (alert("For security reasons, framing is not allowed."), | |
top.location.replace(document.location)) | |
} | |
).call(this), | |
function() { | |
var t, e, n; | |
n = function(t) { | |
var e, n, r; | |
return e = $("meta[name=hostname]").attr("content"), |
git filter-branch --prune-empty --tree-filter ' | |
git lfs track "*.ai" | |
git lfs track "*.psd" | |
git lfs track "*.eps" | |
git lfs track "*.jpg" | |
git lfs track "*.png" | |
git lfs track "*.svg" | |
git add .gitattributes | |
git ls-files -z | xargs -0 git check-attr filter | grep "filter: lfs" | sed -E "s/(.*): filter: lfs/\1/" | tr "\n" "\0" | while read -r -d $'"'\0'"' file; do |
#!/bin/bash | |
COUNT=1 | |
for link in $(cat $1) | |
do | |
wget -O - -o /dev/null $link | iconv -f iso8859-1 -t utf-8 > $COUNT.html | |
COUNT=$(echo $COUNT + 1 |bc) | |
done |
{ | |
"title": "root", | |
"type": "object", | |
"definitions": { | |
"emailShareSubject": { | |
"type": "string", | |
"description": "Email share subject", | |
"minLength": 4 | |
}, | |
"emailShareSubjectCREDIT": { |
var express = require('express'), | |
busboy = require('connect-busboy'), | |
app = express(), | |
fs = require('fs'), | |
router = express.Router(); | |
router.get('/', function(req, res) { | |
res.send('<form action="" method="post" enctype="multipart/form-data"><input type="file" name="displayImage"><input type="submit" name="Upload"></form>'); | |
}); |
class AutocompleteController { | |
constructor () { | |
'ngInject'; | |
} | |
querySearch (query) { | |
return this.service.search(query); | |
} | |
selectedItemChange(item) { |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Monokai</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>name</key> |
23 MAR 2012
Archived from http://thejohnfreeman.com/blog/2012/03/23/template-inheritance-for-handlebars.html
Handlebars is a member of the family of "logic-less" template systems born from Mustache. I will not describe the merits of logic-less templates in this post. (If you are unfamiliar with them, then please visit either of the two links at the beginning of this paragraph.) Rather, I want to describe a simple technique for extending Handlebars with template inheritance.