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:
| # Try generating RTTY WAV files in Python | |
| import fileinput | |
| import wave | |
| import numpy | |
| string = ''.join(line for line in fileinput.input()) | |
| baud = 50.0 | |
| tone_duration = 1.0/50.0 |
| ------ Slide 8 ------ | |
| sudo su - | |
| yum install -y gcc make pkgconfig pcre-devel ncurses-devel | |
| cd /usr/src | |
| wget http://repo.varnish-cache.org/source/varnish-3.0.2.tar.gz -O - | tar xz | |
| cd varnish-3.0.2 | |
| ./configure | |
| make && make install | |
| exit |
| # LICENSE: public domain | |
| def calculate_initial_compass_bearing(pointA, pointB): | |
| """ | |
| Calculates the bearing between two points. | |
| The formulae used is the following: | |
| θ = atan2(sin(Δlong).cos(lat2), | |
| cos(lat1).sin(lat2) − sin(lat1).cos(lat2).cos(Δlong)) |
| # Local Dates: | |
| git log --date=local --pretty=format:"%h%x09%an%x09%ad%x09%s" > commits.local.tsv.txt | |
| # ISO Dates: | |
| git log --date=iso --pretty=format:"%h%x09%an%x09%ad%x09%s" > commits.iso.tsv.txt |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Ruby script to convert stops.txt and shapes.txt to GeoJSON.
PER_PAGE from 1000 to 500 to get around API gateway timeout errorsmeta['total'] which is no longer part of the API response JSONAccompanies blog post: Transit dimensions: Transitland Schedule API