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:
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
#!/bin/bash | |
export THEOS=/opt/theos | |
# clone theos.git | |
cd /opt | |
git clone git://github.com/DHowett/theos.git | |
# clone iphoneheaders.git | |
cd $THEOS | |
mv include include.bak |
{ | |
"//comment": "All metainfo files will be ORIGINAL_FILE.mcmeta. For example, textures/blocks/portal.png.mcmeta. The format is, of course, JSON.", | |
"animation": { | |
"//comment": "This block will be required for animated textures. It can be an empty block, but it will be needed to detect an animation.", | |
"frames": [ | |
1, | |
{"index": 2, "time": 4}, | |
3, | |
4 | |
], |
// ==UserScript== | |
// @name Disable Netflix Instant Watch Links | |
// @namespace https://gist.github.com/6349351 | |
// @description Click the cover image, go the video detail page, simple... | |
// @version 1.1 | |
// @author Jeremy Helms <digitaljhelms@gmail.com> | |
// @include http://www.netflix.com/* | |
// @exclude http://www.netflix.com/WiPlayer/* | |
// ==/UserScript== |
from HTMLParser import HTMLParser | |
import urllib2 | |
import os | |
import re | |
re_url = re.compile(r'^(([a-zA-Z_-]+)://([^/]+))(/.*)?$') | |
def resolve_link(link, url): | |
m = re_url.match(link) |
// | |
// CKBlurDetection.h | |
// | |
// Created by Conrad Kramer on 1/23/14. | |
// Copyright (c) 2014 Kramer Software Productions, LLC. All rights reserved. | |
// | |
extern BOOL CKBlurEnabled(); |
// Basically what every single developer has done to update their app for iOS 7 :P | |
@interface UIBlurView : UIToolbar | |
@end | |
@implementation UIBlurView | |
@end |
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |
%hook SpringBoard | |
-(BOOL)homeScreenSupportsRotation { | |
return YES; | |
} | |
-(BOOL)homeScreenRotationStyleWantsUIKitRotation { | |
return YES; | |
} |