Skip to content

Instantly share code, notes, and snippets.

View Tournament-Bracket-with-Flexbox.markdown

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