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:
<?php | |
//... | |
public function filter_default_rewrite_rules( $rules ) { | |
$rules[] = array( | |
'name' => 'display_invoice', | |
'parse_regex' => '%^(?P<client_slug>.+?)/invoice/(?P<slug>.+?)/?$%i', | |
'build_str' => '{$client_slug}/invoice/{$slug}', |
4 Hands | |
Allagash [Limited] | |
Appalachian [Limited] | |
August Schell | |
Beer Valley [Limited] | |
Belfast Bay [Limited] | |
Blue Point | |
Boaks [Limited] | |
Bottle Tree | |
Brash |
<?php | |
class MonthlyArchives extends Plugin | |
{ | |
private $config = array(); | |
private $class_name = ''; | |
private $cache = array(); | |
private $default_options = array ( | |
'display_month' => 'F', | |
'show_count' => 'Y', |
alias l="ls -la" | |
alias phpd="php -dxdebug.remote_autostart=On" | |
alias more=less | |
export EDITOR=vim | |
export SSH_AUTH_SOCK=/tmp/.ssh-socket | |
ssh-add -l 2>&1 >/dev/null | |
if [ $? = 2 ]; then |
“Martin, did you ever play basketball?” | |
“Yes.” | |
“Tell me, what’s a foul?” | |
“It’s when a player breaks one of the rules. Do it five times and you’re kicked out of the game. Six, if it’s the NBA.” | |
Phillip smiled. “Good. The best way I’ve ever summed up the war as I see it is that one side, our side, sees a foul as being against the rules, and if you do it too many times you have to be removed. The other side, Jimmy’s side, sees fouls as things you’re allowed to get caught doing several times, and if you don’t, you aren’t trying hard enough.” | |
“So you’re mad at Jimmy because you think his side cheats at life.” | |
“Partly. Mostly I’m mad because I’m pretty sure his side is going to win.” | |
Meyer, Scott (2014-03-18). Off to Be the Wizard (Magic 2.0, Book 1) (Kindle Locations 2566-2572). 47North. Kindle Edition. |
groupZeros = function (ar) { | |
for(var i = ar.length - 1; i > 0; i--) { | |
if(ar[i] == 0) { | |
for(var z = 0; z < i - 1; z++) { | |
if(ar[z] == 0) { | |
ar.splice(i, 1); | |
ar.splice(z, 0, 0); | |
z = i; | |
} | |
} |
<?php | |
class OC_Hook extends ArrayObject { | |
static protected $registered = array(); | |
protected $abort = false; | |
protected $callbacks = array(); | |
protected $signal = ''; | |
public static function connect($classname, $signalname, $callback) { |
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1.4.13 (MingW32) | |
hQIMA3YVUXiGvrJpARAAgIyWEFf2OGamVXDjDCLTj2cepNt2VY9Jwlhi8OZGs/kg | |
+gmIkyIA2JXyT7cbwe3ple5jQIDa4nC1K5PexQ2WF2CkhcNEZn8eyZlWAUv+bsT6 | |
otJ4Kv4GI21oBYJditdUp5POy5LWMGce3oXe0xMrrumpl+la++i3MX/mSJK6Uapu | |
QJtyOiREb1hZWHbrtrA9uLe/Qn4RUAjhvgKfAAvoJu8U3tYEH0yk8sh4Ht38x1uP | |
PuSv4Er/UfPxJb2HDS+VitxffFMxCJWv65Z1WWVqJD8rWoHs8YZyUOw7ECTzYlZl | |
i9C0fJHxFS4dZgPbNrwEzG4rDhvKjB7LoThhmXTmoXu5V2YwqotjEaVOcf8NbjTu | |
OpwjmVyEOyFLr/0Su9TpTv0rzXEFaxmFGQERDdRs0dCNYFcJ01ss9mW4sUGka7ZO |
I hereby claim:
To claim this, I am signing this object: