Wyoming, NSW 2250

Install and Manage Node.js with NVM

Node.js is a popular tool for Javascript applications and frameworks, for both frontend and backend application development. Front-end frameworks such as Svelte, testing frameworks such as Cypress and backend tools like Express will require Node.js. The challenge is that often the tools installed will need a different version of Node.js. The recommended method for managing these different versions is…

Read more

ZSH – making shells fun

ZSH is a great looking shell that integrates with Git, Docker and other tools using plugins. Installing ZSH in Ubuntu or Linux Mint Install ZSH by running the following in your terminal sudo apt updatesudo apt install zsh Check ZSH by running zsh –version and checking that a version is shown. Installing ZSH on Mac Install Homebrew, then install…

Read more

Bulk Converting HEIC to JPG in Linux

With each revision of hardware, Apple continually makes this more difficult for those that have to interact with Apple fans. One of the most annoying is the HEIC format for photos. Even Apple’s own Photos app in iCloud won’t allow HEIC photo uploads, so to make any of these photo useful the HEIC files need to be converted to…

Read more

Sangoma S500 & S505 SIP Phone Factory Reset

If you don’t have the password for a Sangoma S500 or S505 phone it can be reset back to factory defaults with the following steps: Once reset, the password for the Web interface or the Settings menu will be reset back to the default of admin or 222222 depending on the model.

Read more

Ubuntu – change lid and button actions

The Ubuntu Settings app is very light on when looking at the power button and lid actions, excluding most of the options a Windows user has to change the customise button/lid actions between AC Power and battery power operation. Fortunately there is an easy command line tool that allows these settings to be changes easily within the Gnome environment,…

Read more

Create an App icon for a website in Linux

Linux Mint provides a little tool called Web Apps. This tool allows a web site to be sandboxed into a separate window, making a website look like an app. This can be handy for a site like Google Messages for using phone SMSes on the PC, allowing this to be shown in its own distinct window rather than just…

Read more

Find Node.js instance on a server

To track down Nodejs processes running on a server first run netstat -lt to list the ports that applications are listening on. This may show port 31044 is listening, for example. Next, find the processes that are listening on those ports with netstat -anp 2> /dev/null | grep :31044 This may return a process id like 7392/server.js – then…

Read more

Fundamental coding principles

Experience in coding is not necessarily about the intricacies of a language but is as much about concepts. Below is a list of concepts that should be applied regardless of the language. DRY coding Don’t Repeat Yourself is a fundamental principal. If there is a temptation to copy and paste a block of code think about how this block…

Read more

Debian/Ubuntu/Mint – Mount a Windows network share

To mount a Windows share using the command line in a Debian based distribution, first ensure that cifs-utils is installed. If it isn’t, run sudo apt install cifs-utils To mount a share, run sudo mount -t cifs -o username=userName,domain=DOMAIN //serverName/shareName /mnt/path replacing userName, DOMAIN, serverName and shareName and the mount path as appropriate. If the Windows workstation/server is not…

Read more