How to delete Microsoft AutoUpdate on Mac

By | July 11, 2021

The Microsoft AutoUpdate on Mac OSX is so annoying, and there is no quick way to remove it or disable it. The fact that this option is not available in the menu is ridiculous. To actually remove it, you’ll have to navigate to the /Library/Application Support/Microsoft/MAU2.0 folder and delete the app from there.

How to copy files from your computer to Amazon EC2?

By | June 30, 2021

To transfer files to AWS EC2 instance, one can use secure copy. The format can be seen below. $scp -i <xxxxx.pem> <location of file> <AWS public DNS>: <folder> Here is an example: $scp -i ~/Desktop/amazon.pem ~/Desktop/text.txt ubuntu@ec2-54-166-128-20.compute-1.amazonaws.com:~/ This will upload the file to the user’s home directory which is actually “home/ubuntu”

Why touching neutral and earth trips an RCD

By | June 24, 2021

If you are wondering why the RCD trips when you accidentally touch the neutral and earth together even though the circuit breaker is off, here is a neat video to explain why. Basically, the other circuits will still be live and when the neutral and earth conductors are touched, it gives the current returning on… Read More »

TypeError: Cannot read property ‘location’ of undefined in Vue router

By | March 14, 2021

If you are getting the above error, then the chances are that you have included createWebHistory in your vue router definition. You probably have: import { createApp } from ‘vue’ import { createRouter } from ‘vue-router’ import App from ‘./App.vue’ import Home from ‘./components/Home’ const router = createRouter({ routes: [ {path:’/’, component: Home} ] })… Read More »

“export ‘createWebHistory’ was not found in ‘vue-router’

By | March 5, 2021

Are you getting the error “export ‘createWebHistory’ was not found in ‘vue-router’ or “export ‘createRouter’ was not found in ‘vue-router’? A quick search on the Interweb will show that you have run npm install vue-router instead of npm install vue-router@next npm install vue-router will install the latest “tagged” version which is 3.5.1. Next is a… Read More »

Where does npm list -g install files?

By | March 3, 2021

To find the location of npm list -g, run this command: > npm list -g /usr/local/lib ├── @vue/cli@4.5.11 └── npm@7.5.3 This will show you the location of where the various libaries are installed. On MacOS, they are in the /usr/local/lib folder.

Less bang for your buck with TPG

By | March 1, 2021

This is what TPG was offering back in October 2020. This is what they are offering now: You can see that the small plan discount for new customers is now only for 3 months and not 6 months. You do get an extra 2GB of data but that is neither here nor there.