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:
In raw CSS:
.foo {
background: -webkit-linear-gradient(red, green) left repeat;
background: linear-gradient(red, green) left repeat;
-webkit-transition: all 0.8s;
-moz-transition: all 0.8s;
transition: all 0.8s;
color: green;
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
#!/bin/sh | |
# deploy.sh | |
N="`readlink \"$1\"`" | |
mv -T "$1.stage" "$1" | |
ln -s "$N" "$1.stage" | |
rm -rf "$N" | |
cp -aH "$1" "$N" |
I hereby claim:
To claim this, I am signing this object:
<?php | |
// Version A: Facades everywhere - typical Laravel 4.2 style | |
// routes.php | |
Route::get('payments', 'BillingController@recentPayments'); | |
// BillingController.php | |
class BillingController { |
<!doctype html> | |
<title></title> | |
<style> | |
*{display:block;} | |
title:before{content:"<!doctype html><title></title>";} | |
style:before{content:"<style>";} | |
style:after{content:"\3C/style>";} | |
</style> |
<?php | |
http_response_code(503); | |
$message = 'Temporary application maintenance in progress. Please try again shortly.'; | |
if (isset($_SERVER['Content-Type']) && strpos($_SERVER['Content-Type'], 'json') !== false) | |
{ | |
header('Content-Type', 'application/json'); | |
echo json_encode(['error' => $message]); |
<?php | |
abstract class Builder { | |
abstract function build(); | |
function __call($name, $arguments) | |
{ | |
if ( ! property_exists($this, $name)) | |
{ |
define [], () -> | |
hasCordova = window.cordova? | |
class Keyboard | |
open: -> | |
if hasCordova | |
cordova.plugins.Keyboard.show() | |
else | |
console.info 'would open Keyboard' |