Before you do anything, perform a factory reset.
##Exposure
Shutter: Auto
Brightness: 55
// uses jquery, but could be rewritten without | |
$(data).find('track').each(function (i, e) { | |
// console.log(e); | |
var tmp; | |
var loc = (tmp = e.getElementsByTagName('location')[0]) ? tmp.innerHTML : ""; | |
var img = (tmp = e.getElementsByTagName('image')[0]) ? tmp.innerHTML : ""; | |
var inf = (tmp = e.getElementsByTagName('info')[0]) ? tmp.innerHTML : ""; | |
var buy = (tmp = e.getElementsByTagName('buy')[0]) ? tmp.innerHTML : ""; | |
var fav = (tmp = e.getElementsByTagName('favorite')[0]) ? tmp.innerHTML : ""; | |
var tid = (tmp = e.getElementsByTagName('id')[0]) ? tmp.innerHTML : ""; |
function doStuff() { return false; } | |
(function loopFunc() { | |
doStuff(); | |
//setTimeout(arguments.callee, 100); // callee is deprecated | |
setTimeout(loopFunc, 100); | |
})() |
set telemetry_inversion=on | |
set small_angle=180 | |
save |
# Determine details about a deleted file | |
git log -1 -- <file> |
input { | |
height: 34px; | |
width: 100%; | |
border-radius: 3px; | |
border: 1px solid transparent; | |
border-top: none; | |
border-bottom: 1px solid #DDD; | |
box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF; | |
} |
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.” — Stan Kelly-Bootle | |
function isNode () { | |
return Object.prototype.toString.call( typeof process !== 'undefined' ? process : 0 ) === '[object process]' | |
} |
# http://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi | |
diskutil list | |
# backup: | |
sudo dd if=/dev/disk2 of=raspberrypi20151118.img bs=1m | |
# restore: | |
dd if=sd.img of=/dev/sdb bs=4M |