Judah Wright

A collection of my work

Event Loop

posted 16 03 2018 in Open Source

I found myself needing to create a simple event loop in a case where the React framework would not have worked, so I built my own library.

The idea was to keep it as simple as possible. It does not have all the bells and whistles as React does, but if you need that sort of functionality you should just use that.
You can think of it as an incredibly overly-complicated foreach loop.

It is free and open source, anyone is welcome to use it as they see fit.


posted 7 12 2017 in Open Source

This was a SUPER simple library I wrote that does some simple math and conversions between machine-readable file sizes and human-readable file sizes.

This plugin is used on the Hold This site, as well as a few other smaller projects.

You can do some nifty stuff with it, for example:

echo Bytes::make(512)->add('512B')->pretty; // 1.00kB

You can find more information on it on its GitHub page, as well as on Packagist.