Setup Tasmota for Correct Timezone and Daylight Savings Time
Here’s the way to setup your Tasmota device so it calculates daylight savings correctly.
Common ffmpeg commands
These are my notes on commonly used ffmpeg commands.
Send a Slack Message on User Login and Logout
This is how I have Linux send me a Slack message whenever someone logs in or out of my server.
My git notes
These are my notes on commonly used git commands.
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.
Linux Backup to a Remote Server via ssh
Here’s how to do a tar backup to a remote server via ssh.
Full and Incremental Backup to a USB drive
Here’s how I do a full and also an incremental backup to a USB drive on a Debian Linux system.
Writing udev rules for USB serial and IO devices
Here’s a summary of how to write linux udev rules for USB devices, especially for IO.