WordPress linux backup script to offsite NAS via Rsync
Here’s a simple straightforward bash | shell script that I use for this SITE to easily and routinely backup my Entire Wordpress Site , all its folders and plugins , and the corresponding database....
View Articlecode for MySql | MariaDB to trigger / signal external script from database
One feature I often wish MySQL / MariaDB (I’ll refer from now to just MariaDB referring to both) had was the ability to trigger or launch an external script or open a socket connection to some...
View ArticleRaspberry Pi Zero W LED stock ticker code and demo
So I was recently intrigued by Raspberry Pi Zero W, it’s small ARM-based Linux PC with integrated WiFi and ability to connect shields (known as Hats or pHats in Raspberry lingo) , got me thinking what...
View ArticleRunning Mosquitto MQTT on Windows 10 super easy
So I’ve been playing with all things Arduino , Raspberry Pi and IoT lately, when it comes to be able to easily link all these devices, the de facto standard is to use a MQTT server and protocol . But...
View ArticleEasy battery powered Mailbox Door IoT sensor using ESP32
This post is how I took my rusty (literally) old mailbox and made it into smart mailbox (an IoT device) and in the process how I learned about Arduino and particularly the ESP32 chip which lets us...
View ArticlePHP on Linux authenticate users with a Windows Server Active Directory
A common request when building INTRANET web applications is to have users use only one common shared set of login credentials. Typically in most small and medium businesses this means that logging...
View ArticleDeepmind’s AlphaStar crushes best StarCraft 2 players
So today’s Deepmind’s StartCraft AI, named AlphaStar neural network AI thoroughly trounced a couple of top StarCraft players. The first set of matches against Dario ” TLO ” Wünsch (StarCraft II player...
View ArticleLog events via PHP to database with Windows or Linux command line
Here’s a neat example (for Linux and Windows systems) of how to easily capture (log) and store the result of some script or program or really anything, in a central database table. Sure you could use...
View ArticleTop 10 incredibly useful Javascript / Jquery code snippets
Here’s my list of 10 useful JavaScript & some Jquery code snippets. The code snippets below are pretty useful and find myself reusing them again and again in all sorts of situations. I have...
View Articlemy Retirement calculator – can you retire now?
I decided to create a modern, easy to use and practical on-line retirement calculator, and I open-sourced it too! There are ton’s of these available all over the internet, but none really quite had...
View ArticleJavascript demo of Server Sent Events SSE (EventSource) tutorial
This easy to follow tutorial will show you how to stream server data (sometimes called SSE’s, Server Sent Events) , in real-time to your browser. Using Javascript’s EventSource API interface we can...
View Articleweb page hot reload in plain JavaScript + Apache & PHP
Hot re-loading, that is automatically updating the web page, when its content changes on the server, into the browser is a convenient developer aid for modern tooling like, webpack, AngularJS, ReactJS,...
View Articlesaving ContentEditable HTML using PHP simple example
HTML supports (in most browsers) the contentEditable attribute which allows you to dynamically change a web page(s) content by simply editing the page, think of it like a WYSIWYG editor , but built-in...
View ArticleEverything you wanted to know about Apollo Guidance Computer … great talk on...
Came across a great YouTube talk on the Apollo Guidance Computer (AGC) and its role in the first moon landing.. The AGC is a historic piece of technology that got us to the moon. In a day and age...
View ArticleHow to schedule and record live internet radio streams
So recently I had a need to record a radio broadcast that happens pretty regularly, but its an overseas station, and the time zone is not convenient to get up in the middle of the night and turn on my...
View Articleshort and simple Linux .profile status banner
Here’s just a short post about a little .profile code snippet I use to help give me a brief system overview upon logging into my accounts.. It produces an output similar to the one below. Now I...
View ArticleSimple PHP math logic captcha – to help prevent form spam
Why a simple PHP Math Captcha ? If you’re reading this you’re probably aware there are a ton of on-line captcha services like Re-Captcha, hCaptcha ,to help keep your forms and user submitted input free...
View ArticleFix mount error(95): solved! Operation not supported SMB
Mounts SMB/CIFS shares with Linux It’s common practice to mount Windows file shares on Linux using the SMB (Samba) implementation on Linux. the command is fairly straight forward. # Install the...
View ArticleAI conversational text model, ChatGPT, the end of Google?
The latest rage sweeping the Internet circa December 2022 is chatGPT, What is chatGPT? Here I’ll let it (chatGPT) answer that question itself (The paragraphs below were created with this chatbot)...
View ArticleCreate ssh-copy-id script for Windows
Those of us who use linux with keyless logins and ssh , usually find the utility ssh-copy-id as a convenient way to copy the ssh ke into the authorized keys files of the destination server. This works...
View Article