In your Git repository, run the command to “verify” your remote repository definition. This should show something like To add another “origin”, run the command For example: Note that you have to use a unique name. Now run remote -v again To remove a remote, run Why would you want to do this? You would… Read More »
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.
To transfer files to AWS EC2 instance, one can use secure copy. The format can be seen below. Here is an example: This will upload the file to the user’s home directory which is actually “home/ubuntu”
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 »
Here is a link to SafeStacks previous seminars in case you missed the live event: https://academy.safestack.io/seminars/ Some of the info there is very useful!
In terminal, we can use the echo keyword to display text like this: and you will get the following: You can also run a command like: which produces the following: If you want to echo and have a command execute and then the results displayed on the same line you have to do this: The… Read More »
If you are getting the above error, then the chances are that you have included createWebHistory in your vue router definition. You probably have: When you should have
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 instead of npm install vue-router will install the latest “tagged” version which is 3.5.1. Next is a tag which installs v4.0.4. Alternatively you… Read More »
To find the location of npm list -g, run this command: This will show you the location of where the various libaries are installed. On MacOS, they are in the /usr/local/lib folder.
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.