Ubiquiti Networks mFi Power Socket Mini Data to Google Sheets via Apps Script Web App
2023-02-07
With the Russian aggression in Ukraine and other factors, the energy crisis is emerging today. Measuring and analysing the energy consumption of household appliances is crucial. Knowing which appliances consume the most energy, when and how to avoid using them or even replace them is the key to saving energy. For example, take a look at the readings of some of our household appliances: Appliance type Model number Consumption Notes Fridge with freezer Hisense RB34D4DDE 0.…
How to convert Apple iOS HEIC image format to JPG in a batch in terminal
2021-12-02
Moving from Google Pixel on Android to Apple iPhone on iOS brought new challenges for the photos stored on the Google Photos cloud. The format of the iOS photos is HEIC being a perfect container format for storing individual images and image sequences, but with low out-of-the box system support. Imagine sending a HEIC photo to your automotive technician / mechanic still sitting on Windows 7 desktop. The obvious way is converting them from HEIC to JPEG in a batch.…
Sigfox SDR Dongle with Sigfox Network Emulator and Sigfox Radio Signal Analyzer on Ubuntu 20-04 LTS Focal Fosa
2021-01-29
I am already more then 4 years with Sigfox. The French global network operator founded in 2010 that builds wireless networks to connect low-power objects such as electricity meters and smartwatches, which need to be continuously on and emitting small amounts of data.1 One day my colleague Rahul Suryavamshi came to me that he tries to make work the Sigfox SDR Dongle with Sigfox Network Emulator and Sigfox Radio Signal Analyzer work on recently installed Ubuntu 20-04 LTS Focal Fosa and that the software refuses to start.…
Setup of PC Engines APU2E4 Internet gateway & router with pfSense open source firewall
2020-12-10
Being responsible for managing all the critical ICT infrastructure at Simple Hardware, one day I went for the upgrade of Asus RT-AC68U running vanilla Asus firmware. I decided for the upgrade because the router behaved sometimes in a really strange manner. WAN interface was marked as down anyway the VPN was up an running. Which is a contradiction. Long story short, the Asus got bricked with the official firmware upgrade done in an official upgrade your firmware button press.…
Resize all pictures in a folder and create animated WebP in Linux Bash with webp
2020-11-16
Finally I found the holy grail. How dumb I have been trying to convert JPGs to WebM in my previous post Resize all pictures in a folder and create WebM video in Linux Bash with ffmpeg. Obviously the best solution is to convert the JPGs not to WebM, which is a video format and is not as easy to embed with Hugo, but to WebP. So here is the step-by-step guide how to resize all pictures in a folder and create animated WebP in Linux Bash with webp:…
Resize all pictures in a folder and create WebM video in Linux Bash with ffmpeg
2020-11-10
Few days ago I wrote about how to Resize all pictures in a folder and create animated GIF in Linux Bash with ImageMagick. Checking the page speed with Google Lighthouse the speed score was terrible. So I followed the instructions and tried to do better. Here are the commands for creating WebP format rather than GIF. I am still not able to embed the WebP format in an easy way on this blog.…
Resize all pictures in a folder and create animated GIF in Linux Bash with ImageMagick
2020-11-07
Install ImageMagic sudo apt install imagemagick Resize all JPG images starting with PXL in a downloads folder to 30% of its original size cd ~/downloads convert PXL*.jpg -resize 30% PXL.jpg Create a GIF of all JPG images starting with PXL in a folder convert -delay 100 -loop 0 PXL*.jpg wooden-house-construction.gif Sources ImageMagick Animation Basics