Technical Posts

A collection of mostly IT centric posts from the last ~20 years

Articles

Latest

Access

Blog History

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...

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...

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"...

View a remote Raspberry Pi Screen locally

I have a Raspberry Pi that shows a clock on its screen. It is over an hours drive away How do I display a remote X screen locally on my computer? VPN to the remote site SSH to the Pi ssh -l username ip_of_pi -L 5973:localhost:5900 # in ~/.ssh/config Host p0 mahclock0...

Open Source Web Hosting Control Panels

Just trying some control panels So far: https://www.cloudpanel.io The installation script asks few questions but I was happy with all the defaults This one I really liked the simplicity and the nginx file editor window Was very easy to add a site and get running with...