Linux dd from server

Let’s say you have a huge image file on a file server and you want to dd the image to an SD card or a local drive.

Periodically publish IP to MQTT server

Here’s how I periodically have my various computers publish their IP address to an MQTT server. The message are set with “retain” flag so subscribing to the MQTT server will show all the IPs of my computers.

Batch Resize JPG Images in Linux

Here’s a super fast way to convert a bunch of .jpg images to a lower resolution without changing the aspect ratio. This is especially useful in reducing image sizes for websites.