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:
#!/bin/bash | |
function random_verse { | |
ping -q -w1 -c1 google.com &>/dev/null && | |
data=`curl -s https://beta.ourmanna.com/api/v1/get\?format\=json\&order\=random` && | |
print_verse $data | |
} | |
function daily_verse { | |
data=`curl -s https://beta.ourmanna.com/api/v1/get\?format\=json` |
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
#!/usr/bin/env bash | |
# Post a tweet | |
# | |
# @param ... - tweet | |
tweet() | |
{ | |
# Make a SSL request | |
# | |
# @param ... - request arguments |
/* | |
* Containing floats in a consistent manner | |
* By Jonathan Neal and Nicolas Gallagher | |
*/ | |
/* | |
* New block formatting context method | |
* IE 6+, Firefox 2+, Safari 4+, Opera 9+, Chrome | |
*/ |