Toggen Blog
Tech tips
Articles
Latest
Change to a directory using a bash menu script and launch vscode
This is a shell script that changes to my code development directory and then lists the directorys and gives a numbered menu to enter a number and then change to that directory and launch vscode You need to add an alias to your .bash_profile so that the script is...
Changing the www-data User Environment for a Perl Script
The Problem - Rendering Unicode Characters using Glabels I have a Perl script running on an Apache webserver that launches glabels-3-batch and given a data input file and a glabels template outputs a label as a PDF document. This is in a Ubuntu 18.04.1 LTS container...
Connecting a Docker Container to a MySQL Server Running on the host
Just been trying to connect from a Docker container to a MySQL server running on the Docker Host. I am running Docker Community Edition 18.03.1-ce-mac65 (24312) on a Macbook Pro MacOS High Sierra version 10.13.6 What didn't work Found a lot of information saying to...
Australian Mobile Validation CakePHP 3.x
This is a very simple mobile validation for Australian Mobiles. It probably would also benefit from having all the symbols except + stripped too // src/Model/Table/Users.php where Users is the class name // of the table field your are validating $australianMobile =...
Car Mounted Traffic Guidance Drone
An idea A car with a small compartment with an automatic door. The compartment contains a charging cradle and a small micro-drone with a hi res camera and a wi-fi connection back to the car The cars on-board computer releases the drone when the car driver, or the cars...
Apache Reverse Proxy with Websocket
This is the working configuration for an SSL Apache 2.4.6 Reverse Proxy back to an Apache-Coyote/1.1 server, including letsencrypt configuration to allow the automated renewal of certificates using a local webroot on the Reverse Proxy Server Apache Reverse Proxy SSL...
