Skip to content

Instantly share code, notes, and snippets.

@c3zi
c3zi / .ssh_config
Last active March 5, 2019 14:56
Set a background color in Terminal (tested on Gnome terminal) for different SSH environments
Host dev
HostName 127.0.0.1
User c3zi
Host demo
HostName 127.0.0.2
User c3zi
Host test
HostName 127.0.0.3
@crashev
crashev / uuid.php
Created September 19, 2017 12:02 — forked from ramsey/uuid.php
Creating an ordered time UUID alongside a timestamp-first COMB UUID.
<?php
// composer require ramsey/uuid moontoast/math
require_once 'vendor/autoload.php';
use Ramsey\Uuid\Codec\OrderedTimeCodec;
use Ramsey\Uuid\Codec\TimestampFirstCombCodec;
use Ramsey\Uuid\Generator\CombGenerator;
use Ramsey\Uuid\UuidFactory;