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:
#Backup: | |
adb remount | |
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db mmssms.db | |
#Restore: | |
adb remount | |
adb push mmssms.db /data/data/com.android.providers.telephony/databases/mmssms.db |
var myApp = angular.module("myApp", []); | |
myApp.directive("rangeChange", function ($rootScope) { | |
var linker = function (scope, element, attrs) { | |
var updateScope = function () { | |
scope[attrs.rangeControl](element.val()); | |
//may need to scope.$apply here | |
}; | |
element.bind("change", updateScope); | |
updateScope(); //get the default value | |
}; |
Date time=[2013/03/15-10:43:16];date time setting,format yyyy/mm/dd hh:mm:ss, | |
Movie resolution=[0];Movie resolution setting,0:720p 30fps,1:wvga 30fps,2:vga 30fps, | |
Movie cycle time=[1];movie cycle time,0:5 minutes,1:20 minutes,2:40 minutes,3: 70 minutes, | |
movie Loop Recording=[0];set loop recording on or off,0:off,1:on, | |
Movie stamp=[0];set date / time stamp on or off,0:off,1:on, | |
Movie sound=[2];set movie sound,0:mute,1:level 1,2:level 2,3:level 3, | |
LED=[0];set LED flicker when recording,0:off,1:on, | |
Movie quality=[1];set movie quality,set movie data rate,0:10 Mbps,1:7 Mbps, | |
Power off=[1];set system auto power off time when system pending,0:off,1:30 seconds,2:1 minutes,3:2 minutes, | |
Movie Flip=[0];set movie rotate,0:off,1:on, |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
function ignore(paths, fn) { | |
return function(req, res, next) { | |
if (~paths.indexOf(req.url)) { | |
next(); | |
} else { | |
fn(req, res, next); | |
} | |
} | |
} |
#!/bin/bash | |
# A simple script to backup an organization's GitHub repositories. | |
#------------------------------------------------------------------------------- | |
# NOTES: | |
#------------------------------------------------------------------------------- | |
# * User @jimklimov (and probably some others called out in the long comment | |
# thread below) have modified this script to make it more robust and keep | |
# up with various changes in the GitHub API and response format at: | |
# https://github.com/jimklimov/github-scripts |