I hereby claim:
- I am m4tthumphrey on github.
- I am m4tthumphrey (https://keybase.io/m4tthumphrey) on keybase.
- I have a public key ASCPU08sRfv13I-0U4icO5HUvPchBubdlvdCuY6BOFnC4Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php namespace ContractsBundle\Dbal\Types; | |
use Doctrine\DBAL\Platforms\AbstractPlatform; | |
use Doctrine\DBAL\Types\Type; | |
class JsonSerializable extends Type | |
{ | |
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) | |
{ | |
return 'json'; |
<?php | |
// this should be called the first time 'manager' is resolved from the container | |
$container->get('manager')->registerPolicy(new Policy()); | |
curdir=$(pwd) | |
vendor=$1 | |
for f in $curdir/vendor/$vendor/*; do | |
[ -d $f ] && cd "$f" && output=$(git status --porcelain) && [ "$output" != "" ] && echo "$f" && echo "$output" | |
done; |
<?php | |
//... | |
$called = false; | |
$manager->expire(function(FileType $type, Collection $collection) use (&$called) { | |
$called = true; | |
}); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
module.exports = { | |
entry: './js/app.js', | |
output: { | |
filename: './js/bundle.js' | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /\.js$/, | |
loader: 'jsx?harmony' |
render: function() { | |
var { className, ...other } = this.props; | |
var fulClassName = 'toolbox2-modal-content toolbox2-modal-' + className; | |
return ( | |
<div className="toolbox2-modal-backdrop" onClick={this.handleBackdropClick} {...other}> |
<?php | |
use FFMpeg\Media\Audio; | |
use FFMpeg\Format\AudioInterface; | |
use FFMpeg\Filters\Audio\AudioFilterInterface; | |
class ConcatAudioFilter implements AudioFilterInterface | |
{ | |
private $files; | |
private $priority; |
<?php | |
Response::macro('streamed', function($type, $size, $name, $callback) { | |
$start = 0; | |
$length = $size; | |
$status = 200; | |
$headers = [ | |
'Content-Type' => $type, | |
'Content-Length' => $size, |