BlogTutourial & Tips Common React Code Snippets: A Handy Reference Whether you're just starting your journey with React or you're a seasoned developer, having a…Dean Ha25th October 2023
How toTechnologyTutourial & Tips Building a PWA: Your Step-by-Step Guide with Code Snippets and Examples Progressive Web Apps (PWAs) are all the rage and for a good reason. They combine…Dean Ha24th October 2023
Tutourial & Tips How to remove all white spaces from a string var copyText = document.getElementById("reg"); copyText.value.replace(/ /g,'') Dean Ha19th August 2021
How toTutourial & Tips How to write specific CSS targeting IE browsers <!doctype html> <html> <head> <title>IE10/11 Media Query Test</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <style> @media…Dean Ha5th July 2021
Tutourial & Tips Check if jQuery is installed if (typeof jQuery == "undefined") { alert("jQuery is not installed"); (function () { var script…Dean Ha28th May 2021
How toTutourial & Tips How to force SSL with .htaccess? To force your website domain to use an HTTPS connection, add the following lines inside…Dean Ha10th March 2021
Tutourial & Tips Remove bad GPS coords when tracking There are times when you're tracking there are sudden jumps in the co-ords.. which are…Dean Ha28th November 2020
Tutourial & Tips Remote Desktop use 2 out of 4 monitors ALLOW ABILITY TO CHOOSE SUBSET OF LOCAL MONITORS FOR RDP SESSION (FULL SCREEN) Allow ability…Dean Ha25th November 2020
Tutourial & Tips npm run *script* doesn’t do anything have you tried running a script which was defined in your package.json and it didn't…Dean Ha14th November 2020
BlogTutourial & Tips Basic JavaScript MutationObserver API We can use the MutationObserver to listen to changes made to a target node. With…Dean Ha23rd June 2020
How toTutourial & Tips How to access mysql & import database using the Command Line Interface cd C:\xampp\mysql\bin mysql -u root -p show databases; use DATABASENAME; source path\to\DATABASE_SQL_FILE.sql Dean Ha28th November 2019
How toTechnologyTutourial & Tips ElectronJs – Creating your first Cross-Platform Desktop App Make sure you have Node and NPM install on your Development Environment Install electron locally…Dean Ha6th September 2019
How toTutourial & Tips How to create a Progressive Web App (PWA) Generate your PWA manifest.json here: https://app-manifest.firebaseapp.com Create a ServiceWorker and name it: sw.js You will…Dean Ha22nd August 2019
Tutourial & Tips How to encrypt a string with a private key/salt in PHP Its useful to encrypt a certain string and and then unlock the message by decryption…Dean Ha31st July 2019
Tutourial & Tips Find all string within square brackets [string] – Regex Regex Pattern: var regex = '/\/g'; Link: https://www.regextester.com/97589dha20th December 2018