Skip to content

Instantly share code, notes, and snippets.

View jamesthomasonjr's full-sized avatar

JT jamesthomasonjr

View GitHub Profile
@jamesthomasonjr
jamesthomasonjr / test-for-broken-links.ts
Last active April 5, 2019 14:49
Shoving broken-link-checker into mocha
@jamesthomasonjr
jamesthomasonjr / bytesToHuman.php
Last active March 27, 2019 18:34
A collection of unfinished code from rabbit holes I NEARLY went down but managed to save myself from... But maybe I'll finish them one day.
<?php
/**
* Converts a number of bytes to a human readable string
*
* Example:
* <code>
* $config->bytesToHuman(10); // 10 b
* $config->bytesToHuman(1000); // 1 kB
* $config->bytesToHuman(1024, 'iec'); // 1 KiB
@jamesthomasonjr
jamesthomasonjr / keybase.md
Created January 25, 2019 20:35
keybase.md

Keybase proof

I hereby claim:

  • I am jamesthomasonjr on github.
  • I am jamesthomasonjr (https://keybase.io/jamesthomasonjr) on keybase.
  • I have a public key ASCHnn41VuiBPA5Coy9Ask3oz6SHtKvNhweAnL-7HPIeGwo

To claim this, I am signing this object: