Skip to content

Instantly share code, notes, and snippets.

View vmrob's full-sized avatar

Victor Robertson vmrob

  • Cruise Automation
  • San Francisco
View GitHub Profile
@jamesurobertson
jamesurobertson / adventure.py
Last active August 19, 2016 05:27
Adventure game
from sys import exit
def begin():
while True:
answer = raw_input("Are you ready, %s? Type yes or no: > " % name)
if answer == "yes" or answer == "Yes":
fork()
elif answer == "no" or answer == "No":
print "I'm sorry you feel that way. Try agian when you are ready :)"
quit()
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 28, 2025 00:02
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: