Install Chocolatey on Windows
Run the below from terminal with Admin Rights
You can open your terminal in admin mode by searching for it then right clicking on command prompt and open as administrator
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Javascript Cron Job
Create a page and add this to it. It will run the page every time someone loads the page or for whatever duration you set yourself.
setTimeout(function() { location.reload(); }, 5000);
Angular Update
ng update @angular/cli @angular/core --force
npm install @angular/core@5.2.3 --save
Contact Form Submissions
This Plugin is Built for Contact Form 7
Getting Started With a New Angular Project
->ng new AppName ->Add SCSS (I was informed it's the convention with angular) ->cd AppName ->ng add @angular/material ->Setup Hammer JS for gesture recognition :YES ->Set up browser animations for Angular Material :Yes ->npm install ->ng serve
All of this is from terminal / command prompt
© Garth Baker 2025 All rights reserved.