Hit enter to search or ESC to close
Dean Ha
  • About
  • Portfolio
  • Photography
  • Blog
  • Contact
Dean Ha

Just another blog

Tutourial & Tips

How to remove all white spaces from a string

var copyText = document.getElementById("reg"); copyText.value.replace(/ /g,'')  
Dean Ha
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 Ha
Dean Ha5th July 2021
Tutourial & Tips

Check if jQuery is installed

if (typeof jQuery == "undefined") { alert("jQuery is not installed"); (function () { var script…
Dean Ha
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 Ha
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 Ha
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 Ha
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 Ha
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 Ha
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 Ha
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 Ha
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 Ha
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 Ha
Dean Ha31st July 2019
Tutourial & Tips

Find all string within square brackets [string] – Regex

Regex Pattern: var regex = '/\/g';   Link: https://www.regextester.com/97589
dha
dha20th December 2018
How toTutourial & Tips

Setting up your workspace for Cordova

Settings from Cordova when you run 'cordova requirements' Java JDK: installed 1.8.0 Android SDK: installed…
Dean Ha
Dean Ha28th November 2018
Tutourial & Tips

Example of Well Maintainable Website Style Guides

Below are a couple links to samples of well maintained and organised systems to keeping…
dha
dha7th September 2018
1 2 Next

Categories

  • #100DaysOfCode
  • Blog
  • How to
  • Inspirations
  • Photography
  • Resources
  • Technology
  • Tutourial & Tips
  • W.I.P

© 2023 Dean Ha. All Rights Reserved

  • About
  • Portfolio
  • Photography
  • Blog
  • Contact