Monday, 11 January 2021

20210112: follow the instructions very carefully for clean-webpack-plugin

 From <<https://stackoverflow.com/questions/56567930/typeerror-cleanwebpackplugin-is-not-a-constructor>>:

  • clean-webpack-plugin needs to be imported in a very specific way

20200112: sudo not recognising my password

 From <<https://askubuntu.com/questions/711663/sudo-doesnt-recognize-correct-password>>:

I had to log into the virtual terminal via my username and run passwd username to get a new password. The surprising thing was that changing the password helped when i am extremely confident about my previous password.

answered Dec 21 '15 at 16:30
user221478

 

I thought this was illogical until I tried it and found it worked.

Sunday, 10 January 2021

20210111: admin powershell in Windows Terminal

 From <<https://stackoverflow.com/questions/62496779/opening-up-windows-terminal-with-elevated-privileges-from-within-windows-termin>>:

  • Created a shortcut to Windows Terminal
  • Set "Run as Administrator" in the shortcut
  • Pin the shortcut to the taskbar
  • move the shortcut to a tidy place for all taskbar shortcuts