Skip to content

Instantly share code, notes, and snippets.

Shannon Wynter swynter-ladbrokes

Block or report user

Report or block swynter-ladbrokes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Benchmark.php
class Benchmark {
private $task_duration = 5;
private $tasks = [];
private $results = [];
private $duation = 0;
public function __construct() {
swynter-ladbrokes / Output
Last active Aug 29, 2015
Cross namespace tick handler doesn't work as I'd hope...
View Output
#php main.php
Registering tick function as Tick\Thing::tick()
* Tick
* Tick
Do something
Do something else
swynter-ladbrokes / etcdctl
Last active Jan 19, 2019
Basic bash completion for etcdctl
View etcdctl
_etcdctl_list() {
local IFS=$'\n'
local wd="$cur"
local -a tokens
if ! etcdctl ls "$wd" &> /dev/null; then
wd=$(dirname "$wd")
You can’t perform that action at this time.