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:
| Some Jenkinsfile examples |
| /** | |
| * This code is licensed under the terms of the MIT license | |
| * | |
| * Deep diff between two object, using lodash | |
| * @param {Object} object Object compared | |
| * @param {Object} base Object to compare with | |
| * @return {Object} Return a new object who represent the diff | |
| */ | |
| function difference(object, base) { | |
| function changes(object, base) { |
| // XPath CheatSheet | |
| // To test XPath in your Chrome Debugger: $x('/html/body') | |
| // http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
| // 0. XPath Examples. | |
| // More: http://xpath.alephzarro.com/content/cheatsheet.html | |
| '//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
| var kue = require('kue'), | |
| jobs = kue.createQueue(); | |
| var Q = require('q'); | |
| var db = {}; | |
| function parentJob(id, done) { | |
| var job = jobs.create('parent', { | |
| type: 'PARENT', | |
| id: id |
| # A simple Makefile alternative to using Grunt for your static asset compilation | |
| # | |
| ## Usage | |
| # | |
| # $ npm install | |
| # | |
| # And then you can run various commands: | |
| # | |
| # $ make # compile files that need compiling | |
| # $ make clean all # remove target files and recompile from scratch |
| from string import Template | |
| import oauth2 as oauth | |
| import urlparse | |
| import urllib | |
| import time | |
| import xml.dom.minidom | |
| import sys, getopt | |
| # If you get 'Title Messed Up By Unicode Error' messages try | |
| # export PYTHONIOENCODING=utf-8 |