Quantcast
Channel: d0wn
Browsing latest articles
Browse All 73 View Live

Image may be NSFW.
Clik here to view.

Using a old intel cpu cooler on the raspberry pi 4.

The raspberry pi 4 has one of the fastest CPU on a SBC , but it doesn’t come with any cooler , The raspberry is indeed capable of running without a cooler , but if you do anything other than idling,...

View Article


Image may be NSFW.
Clik here to view.

Using bash and gatttool to get readings from Xiaomi Mijia LYWSD03MMC...

There is a new inexpensive Temperature and humidity sensor by xiaomi.This time is no longer round , Xiaomi Mijia LYWSD03MMC Bluetooth 4.2 Temperature Humidity sensor if you like me would like to get...

View Article


Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

Qingping 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 Article

Using 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 Article


ffmpeg : 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 Article

JSON 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 Article

Using 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 Article


BASH | 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 Article


Passing 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 Article
Browsing latest articles
Browse All 73 View Live