Skip to content

Instantly share code, notes, and snippets.

@touren
touren / GIF-Screencast-OSX.md
Last active March 19, 2019 14:53 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@touren
touren / exportAvatarImage.sh
Last active March 19, 2019 14:52
Retrieve your account's avatar image in a MacBook
## Get current user's avatar.
export USER_HOME=~
dscl . -read $USER_HOME JPEGPhoto | tail -1 | xxd -r -p > ~/Desktop/avatar.jpg