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:
| // Usage: $(element).scrollToTop([position]) | |
| ;(function($){ | |
| // only allow one scroll to top operation to be in progress at a time, | |
| // which is probably what you want | |
| var scrollToTopInProgress = false | |
| $.fn.scrollToTop = function(position){ | |
| var $this = this, | |
| targetY = position || 0, |
| // gulpやプラグインをインポート | |
| var gulp = require('gulp') | |
| , compass = require('gulp-compass') | |
| , concat = require('gulp-concat') | |
| , uglify = require('gulp-uglify') | |
| , minifyCSS = require('gulp-minify-css') | |
| , path = require('path') | |
| ; | |
| //JSファイルをjsフォルダにコピー |
| // Usage: $(element).scrollToTop([position]) | |
| ;(function($){ | |
| // only allow one scroll to top operation to be in progress at a time, | |
| // which is probably what you want | |
| var scrollToTopInProgress = false | |
| $.fn.scrollToTop = function(position){ | |
| var $this = this, | |
| targetY = position || 0, |
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| <?php | |
| /** | |
| * Check if content is JSON | |
| * | |
| * @param string $content | |
| * @return boolean | |
| */ | |
| function w3_is_json($content) { | |
| return json_decode($content) !== NULL; | |
| } |
| /** | |
| * impress.js | |
| * | |
| * impress.js is a presentation tool based on the power of CSS3 transforms and transitions | |
| * in modern browsers and inspired by the idea behind prezi.com. | |
| * | |
| * | |
| * Copyright 2011-2012 Bartek Szopka (@bartaz) | |
| * | |
| * Released under the MIT and GPL Licenses. |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.lextang.shadowsocks</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/bin/node</string> | |
| <string>/Users/Lex/Dropbox/shadowsocks-nodejs/local.js</string> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.minwe.mongod</string> | |
| <key>Program</key> | |
| <string>/usr/local/mongodb/bin/mongod</string> | |
| <key>ProgramArguments</key> | |
| <array> |
| <!doctype html> | |
| <html> | |
| <head> | |
| <!-- Run in full-screen mode. --> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <!-- Make the status bar black with white text. --> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> |