Orange Pi Zero 2 : A new Raspberry Pi contender ?
The new Orange Pi Zero 2 Single Board computer If you were searching for a very small and capable SBC to run some linux app on arm cpu , you were already able to buy the original Orange PI zero , but...
View ArticleQingping ClearGrass CGDK2 factory reset
The Qingping Temp & RH Monitor Lite is a cool little BLE device to monitor the temperature inside your home , If you are like me , you don’t really like the mihome app and want to use Home...
View ArticleUsing the REST api to read sensors on Home assistant
During one of my little project of making timelapses videos with some IP cameras, I had the following problem : How do you stop capturing new images at night when the camera see nothing, After all ,...
View Articleffmpeg : Only keep one language audio track
When downloading movies from the internet, you may notice that some titles include the word “MULTI.” This indicates that the file contains multiple language options. However, despite the relatively...
View ArticleJSON text filtering with jq
I frequently have to intereact with some json files , since bash is the main tool i use day to day i must master the usage of jq, but i noticed that the vast majority of totorials on jq usage just...
View ArticleUsing VI to insert spaces at the begining of every line
In the Vi text editor, you can insert two spaces at the beginning of each line using a command called “substitution.” Here’s how you can do it: when in vi with your text displayed : Press the Esc key...
View ArticleBASH | Hex to Decimal Conversion
To convert a hexadecimal value to decimal using Bash, you can use either the printf command or bc. Here’s how to do it with printf: printf "%d\n" 0x3000 This will output the decimal value...
View ArticlePassing argument to a curl downloaded script
To add an argument to the execution of the script you’re downloading and running via curl, you can modify the command like this: curl http://aaa.com/script.sh | sh -s -- scan sh -s : This tells sh to...
View ArticleMikroTik Script to Resolve Bridge Host IPs and Hostnames
This script for MikroTik RouterOS maps bridge-connected devices by linking their MAC addresses to IP addresses and hostnames. It checks DHCP leases first for IPs and hostnames (showing hostnames only...
View ArticleRuckus & UniFi DHCP Option 43 Tool!
Hey! I’ve made a little tool that makes creation DHCP Option 43 for Ruckus and UniFi Access Points way more easy. With the tool you can encode an IP address for your RUCKUS SmartZone or ZoneDirector...
View Article