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:
// Simulate abstract method | |
-(CGFloat)abstractFoo { | |
[self doesNotRecognizeSelector:_cmd]; | |
return 0.0f; | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/usr/bin/env python | |
""" | |
from https://gist.github.com/JoeGermuska/561347 | |
Like cut, but for CSVs. To be used from a shell command line. | |
Note that fields are 1-based, similar to the UNIX 'cut' command. | |
Should use something better than getopt, but this works... | |
Usage: |
// | |
// UIView+CustomTimingFunction.h | |
// Instants | |
// | |
// Created by Christian Giordano on 16/10/2013. | |
// Copyright (c) 2013 Christian Giordano. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
Mailer.py | |
Created by Robert Dempsey on 11/07/14. | |
Copyright (c) 2014 Robert Dempsey. All rights reserved. | |
""" | |
import sys | |
import os |