Technical Posts
A collection of mostly IT centric posts from the last ~20 years
Articles
Latest
Send from an Alias – Shared Mailbox
Say you have your primary email james@example.com and an alias info@example.com If you want to send as info@example.com you need to "Configure Exchange Online to Send from Aliases" (see below) Caveats With a Shared mailbox sending from an alias only works in Outlook...
Convert Unix Time to a Date Time Stamp
A MySQL database field with times similar to '1752463231.455827' How to query the time and show it as '2025-07-14 17:22:28.911723' -- set timezone SET time_zone='Australia/Melbourne'; USE mydb; SELECT created_on, from_unixtime(created_on) as event_melb_time FROM...
Encrypting the Raspberry Pi WiFi Pass
By default raspi-config adds an unencrypted WiFi password to the wpa_supplicant.conf file. To remove it do the following: # get root sudo su - # change to the wpa_supplicant dir cd /etc/wpa_supplicant # append a hashed Wifi password block wpa_passphrase "YOURSSID"...
Getting the Site Switcher Button to Appear on the Unifi Network Console
The Site switcher button doesn't show up until you go to Settings => System => General Tab => Site Management and check the Multi-Site Mangement checkbox and Apply the changes I don't think multi-site is supported on UDM, UDM-Pro or UDR's but is available on...
Find out if a package is hosted on Packagist
Search for a specific package on packagist from the composer command line Here are some options to narrow down the search for a package. If your composer.json has custom vcs repos composer show -a will list thos # show everything composer show -a # show everything...
Getting RealVNC Server on Raspberry Pi to Listen Only on Localhost
Installed VNC using rasp-config => Interface options => VNC Wanted to avoid having port 5900 listening on the local subnet (0.0.0.0:5900) but only available if I SSH to the box and connect via SSH tunnel # create /etc/vnc/config.d/vncserver-x11 # contents localhost=1...