g_serial

Serial on a Raspberry Pi Zero (or any one with an OTG USB port) can be used without
adding the GPIO headers by sending the console down the USB cable itself.

This will present as ttyGS0 on the pi, and ttyACM0 on the host.

Continue reading

let blocks

It’s kinda obvious now that I’ve typed it, but the builder pattern in rust can work, even if you don’t expect it to.

let already_initialised = { do_stuff_here() };

Continue reading

Livestreams locally

One of the more popular formats for web livestreaming (unidirectional/broadcast video) is HLS. This is the streaming format used by video services such as Twitch, Facebook Live and Twitter’s Periscope.

Continue reading