Wyoming, NSW 2250

ESP8266 Programming with VS Code

Summary ESP8266 modules are cheap and flexible microcontrollers. They can be purchased easily on AliExpress (https://www.aliexpress.com/item/1005006211265531.html) or elsewhere. They are one of many types of Arduino compatible microcontrollers. VS Code is an Microsoft IDE that is common across the industry – https://code.visualstudio.com/ The below page focuses on the requirements to program the module in Linux. Plug-in To program an…

Read more

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

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

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

Cinebench R23 results

CPU Multi CoreResult Single CoreResult Phenom II X6 1020 Athlon II X4 640 3GHz 1380 Athlon A8-3870 APU 3GHz 1560 Core i5-3470 3.4GHz 2600 Core i5-6500 3.2GHz 3009 825 Core i5-6600 3.3GHz 3463 988 Xeon E3-1240 V2 3.4GHz 3180 Core i7-4770 3.4GHz 4270 873 Core i5-1135G7 2.4GHz 5235 1315 Ryzen 5600G APU 3.9GHz 10545 1445 Ryzen 5 5500 3.6GHz…

Read more

Create a PHP/Ubuntu dev environment in Windows 10

Initial WSL, Ubuntu, Apache, PHP and MySQL installation Windows Subsystem for Linux allows a development environment to be set up locally without the need for virtual machine hosts. First, install the WSL feature. Click Start, type ‘Windows features’ and click the Turn Windows Features On or Off item. Tick the Windows Subsystem for Linux option and click OK. The feature will be install, then…

Read more

Permanently Wipe A PC

Disposing of a PC, selling it on or giving it away leaves a security risk if the drive isn’t wiped of old data. Often this can be done easily with an application like MiniTool Partition Wizard for Windows, easicially if you are able to plug the drive into another PC, or are just dealing with an external drive. There…

Read more

Introduction to PHP

This article isn’t an attempt to teach PHP coding but takes a step back, providing details on how to set up a PC to allow experimentation with the PHP language and giving tips on places to go to start learning the language itself. Quick intro PHP is a runtime language, sometimes called a scripting language. Like VBA (Visual Basic…

Read more

Redirecting URLs with .htaccess

If you move the location of your website you should also provide a 301 redirect, letting search engines and end users know that the URL for your site has changed. This can also be useful to make sure all references are made without a www prefix, for example. In Apache, with Mod Rewrite enabled, add the following three lines…

Read more