Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jablair on github.
  • I am jablair (https://keybase.io/jablair) on keybase.
  • I have a public key ASCDjlyhqeUo7t33a433L7-qgC688bdmrXikS7Wo9ZBuugo

To claim this, I am signing this object:

@jablair
jablair / 0_reuse_code.js
Created January 29, 2014 19:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jablair
jablair / transcode-video.sh
Last active July 17, 2022 11:39 — forked from lisamelton/transcode-video.sh
From source: Transcode video file (works best with Blu-ray or DVD rip) into MP4 (or optionally Matroska) format, with configuration and at bitrate similar to popluar online downloads. Adds a dry-run option to print out the HandbrakeCLI command so it can be customized - for instance, including additional audio tracks. A stop-gap to adding better …
#!/bin/bash
#
# transcode-video.sh
#
# Copyright (c) 2013 Don Melton
#
# This script is a wrapper for `HandBrakeCLI` (see: <http://handbrake.fr/>).
# The purpose of this script is to transcode a video file into a format and
# size similar to a video available for download from the iTunes Store.
#
@jablair
jablair / NameClashClass.h
Created May 5, 2011 14:37
Appledoc Issue 90 Example
#import <Cocoa/Cocoa.h>
/**
* Class for demoing appledoc name clash bug
*/
@interface NameClashClass : NSObject {
}
/**