Skip to content

Instantly share code, notes, and snippets.

brew list -1 | while read line; do brew unlink $line; brew link $line; done
for x in sqlite openssl readline; do brew unlink $x; brew link --force $x; done
@kristi
kristi / back 10 seconds
Last active January 2, 2016 02:09 — forked from nicwolff/back 10 seconds
set isPlaying flag even if document is not playing
if application "VLC" is running then
tell application "VLC"
step backward
end tell
end if
property step : 10
if application "QuickTime Player" is running then
tell application "QuickTime Player"
set playerPosition to (current time of front document) - step
set movieDuration to duration of front document