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:
| # Source: https://gist.github.com/4145515 | |
| # | |
| # All-purpose gist tool for Pythonista. | |
| # | |
| # When run directly, this script sets up four other scripts that call various | |
| # functions within this file. Each of these sub-scripts are meant for use as | |
| # action menu items. They are: | |
| # | |
| # Set Gist ID.py - Set the gist id that the current file should be | |
| # associated with. |
| import webbrowser, os, pprint | |
| # Include the Dropbox SDK libraries | |
| #from dropbox import client, rest, session | |
| import dropbox | |
| # Configuration | |
| TOKEN_FILENAME = 'PythonistaDropbox.token' | |
| # Get your app key and secret from the Dropbox developer website | |
| APP_KEY = '<your dropbox app_key>' | |
| APP_SECRET = '<your dropbox app_secret>' |
| # File Transfer for Pythonista | |
| # ============================ | |
| # This script allows you to transfer Python files from | |
| # and to Pythonista via local Wifi. | |
| # It starts a basic HTTP server that you can access | |
| # as a web page from your browser. | |
| # When you upload a file that already exists, it is | |
| # renamed automatically. | |
| # From Pythonista's settings, you can add this script | |
| # to the actions menu of the editor for quick access. |
| <snippet> | |
| <content><![CDATA[]]></content> | |
| <tabTrigger></tabTrigger> | |
| <scope></scope> | |
| <description></description> | |
| </snippet> |
| (?i)ma(y|j)a.?kalender(s)?|weltuntergang|apo(c|k)alypse|nibiru|untergang|maya(n|s)? |
| #! /usr/bin/python | |
| """ | |
| brute force get title of web page | |
| usage: getTitle.py url | |
| Gordon Meyer January 1, 2013 | |
| www.gordonmeyer.com | |
| """ | |
| # modules used | |
| import urllib2, urlparse, string, os |
| # Interactive multimarkdown table generator. | |
| # 1/3/13 created | |
| # Copyright (c) by McSquaredJr. | |
| # Normalization code is by Dr. Drang http://goo.gl/DTphm | |
| import cgi | |
| import zlib | |
| import webbrowser | |
| import clipboard |
| body { | |
| padding: 10px 15px; | |
| font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 20px; | |
| color: #333333; | |
| background: #ffffff; | |
| } | |
| a, a:visited { |
| # Tweetbot for Mac Super Secret Settings | |
| # (updated on Oct 31, 2012) | |
| # You will need to use the Terminal app to change these settings: | |
| # these all affect the text in a DM or new tweet - the default is yes for all of them | |
| defaults write com.tapbots.TweetbotMac TextAutomaticQuoteSubstitution -bool NO | |
| defaults write com.tapbots.TweetbotMac TextAutoCorrect -bool NO | |
| defaults write com.tapbots.TweetbotMac TextContinuousSpellChecking -bool NO |