Skip to content

Instantly share code, notes, and snippets.

Tournament Bracket with Flexbox

Creating a tournament bracket, complete with the lines, with the Flexbox. That means no tables, no absolute positioning, no images or svg, just plain ole html and css.

A Pen by Aron Duby on CodePen.

License.

@aronduby
aronduby / jquery-external-link-selector
Last active August 29, 2015 14:03
jQuery External Link Selector
@aronduby
aronduby / DateDirectiveServiceProvider.php
Created August 17, 2016 06:35
Laravel Blade directives for date time formatting
<?php
namespace App\Providers;
use Carbon\Carbon;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
/**
* Class DateDirectiveServiceProvider
@aronduby
aronduby / API.php
Created November 14, 2018 07:09
PHP/Node/Redis/Socket.IO
<?php
// require autoload
/*
* Setup Redis for PubSub for events
*/
$redis = new Predis\Client();
$pub = new Publisher($redis, 'pintourny', $subdomain);
$pub->send('event.type', $someData);