Skip to content

Instantly share code, notes, and snippets.

View koryonik's full-sized avatar
🏠
Working from home

Damien Roch koryonik

🏠
Working from home
View GitHub Profile
<?php
include 'vendor/autoload.php';
$pheanstalk = new Pheanstalk_Pheanstalk('127.0.0.1');
$pheanstalk->useTube('default');
$n = 1000000;
$start = microtime(true);
@koryonik
koryonik / fig.yml
Last active August 29, 2015 14:14 — forked from docteurklein/fig.yml
api:
build: fig/php
ports:
- '8000:8000'
working_dir: /src
volumes:
- backend:/src
entrypoint: [php, '-dextension=gearman.so', '-ddate.timezone=UTC']
command: '-S 0.0.0.0:8000 -t web'
links: