Techy Things

Raspberry Pi Compute Modules Choices 0

Raspberry Pi Compute Modules Choices

#1 Choice For 195$US  reTerminal CM4104032 5-inch touch screen https://www.seeedstudio.com/ReTerminal-with-CM4-p-4904.html - includes Raspberry Pi Compute Module 4GB - includes eMMC storage 32GB - #2 Choice For 195$US  Generic Raspberry Pi CM4104032 (65$) https://www.seeedstudio.com/Raspberry-Pi-Compute-Module-CM4104032-p-4722.html - includes...

WPML + Contact Form 7 + Secondary language BUG 0

WPML + Contact Form 7 + Secondary language BUG

Problem     Solution (1) Enable AJAX support in WPML (2) Use in-url subdirectories like/fr instead of query strings in WPML   Solutions not working https://wpml.org/de/forums/topic/get_rest_url-returns-wrong-url/ 1 add_filter( 'rest_url', 'wpml_permalink_filter' ); Adding this in function.php did...

syntax error, unexpected 'use' (T_USE), expecting '{' 0

syntax error, unexpected 'use' (T_USE), expecting '{'

Problem syntax error, unexpected 'use' (T_USE), expecting '{' Code function fetchSumWithExplain($schemaTableName, $tag) use ($app) { $generateExplain = function ($sql, $header) use ($app) { $query = $app->db->prepare($sql); $query->execute(); $sqlData = $query->fetchAll(PDO::FETCH_ASSOC); $retVal = array_merge(array($header),$sqlData); return...

Fix hackrf_open() failed: HackRF not found (-5) 0

Fix hackrf_open() failed: HackRF not found (-5)

pi@raspberrypi:~ $ hackrf_spiflash -w ~/Downloads/hackrf-2021.03.1/firmware-bin/hackrf_one_usb.bin File size 35444 bytes. hackrf_open() failed: HackRF not found (-5) Solution Use sudo before the command: pi@raspberrypi:~ $ sudo hackrf_spiflash -w ~/Downloads/hackrf-2021.03.1/firmware-bin/hackrf_one_usb.bin File size 35444 bytes. Erasing SPI flash....

letsencrypt stop working - Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org 0

letsencrypt stop working - Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org

root@ns1:/etc/cron.daily# ./letsencrypt Saving debug log to /var/log/letsencrypt/letsencrypt.log------------------------------------------------------------------------------- Processing /etc/letsencrypt/renewal/quebeclabradoodle.com.conf ------------------------------------------------------------------------------- Cert is due for renewal, auto-renewing... Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org Attempting to renew cert from /etc/letsencrypt/renewal/quebeclabradoodle.com.conf produced an unexpected error: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443):...