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 | |
rm -rfv `find ./ | egrep -i "(pyc|.swp|˜)$"` | |
echo "Omo lava mais branco" |
# Oracle specific environment | |
ORACLE_BASE=/usr/lib/oracle | |
ORACLE_HOME=$ORACLE_BASE/11.2/client64 | |
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/lib:$ORACLE_HOME/rdbms/lib | |
SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32 | |
TNS_ADMIN=$ORACLE_HOME | |
ORACLE_TERM=xterm | |
USER=`whoami` | |
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib |
#!/bin/zsh | |
kill -HUP `ps -A -ostat,ppid | grep -e '^[Zz]' | awk '{print $2}'` | |
echo "Zombies killed" |
using UnityEngine; | |
using System.Collections; | |
// Game States | |
public enum GameState { INTRO, MAIN_MENU, PAUSED, GAME, CREDITS, HELP } | |
public delegate void OnStateChangeHandler(); | |
public class SimpleGameManager: Object { | |
protected SimpleGameManager() {} |
using UnityEngine; | |
using System.Collections; | |
public class Intro : MonoBehaviour { | |
SimpleGameManager GM; | |
void Awake () { | |
GM = SimpleGameManager.Instance; | |
GM.OnStateChange += HandleOnStateChange; |