linux

A 2-post collection

PHreader - Storing PH Data into PostgreSQL

As mentioned in section 1, the Raspberry Pi PH Circuit (https://undiluted.org/raspberry-pi-ph-circuit/) was selected, incorporating a PH sensor from AtlasScientific (https://www.atlas-scientific.com/product_pages/kits/ph-kit.html) and a Raspberry Pi Zero. The sensor communicates its data over the I²C »

JSON Parsing in Bash

About a month ago, I needed to parse JSON from in Bash scripts. This was an interesting problem/challenge, enter ./jq. jq is a sed like tool for JSON data, that can be used to parse JSON, from the command line, and from within Bash scripts. jq is written in »