Recently while using the Material Components Web components in an Aurelia 2 application with Sass, I encountered an annoying issue where a warning would appear in my app. The warning appears to be harmless, but it’s annoying.
The error appears as:
Module Warning (from ./node_modules/sass-loader/dist/cjs.js): both $level and $color are required; received $level: ‘0’, $color: "
To fix it in Webpack, you can use the warningsFilter argument for stats to filter it out:
One of the most annoying things as a developer setting up a Mac is that files with a dot are hidden by default. Here is how to set them always to be visible:
Open Terminal (Command + Shift and type Terminal) Run defaults write http://com.apple.Finder AppleShowAllFiles true You can toggle them in Finder by using Command + Shift + . but having them show by default is a lot nicer.
I recently just built a new AMD Ryzen 3900x gaming PC and I moved my tower to a new location. Everything had been working for days and after moving, I reconnected everything and turned it on. The computer made a “beep” noise, but wouldn’t go into the post screen.
Naturally, my first instinct was to freak out. Had the motherboard, CPU or power supply died? Maybe I got a dud board?
If you’re like me, you’ve been using the Linux Subsystem in Windows for a while now. The amazement that I can run Ubuntu Linux from within Windows itself is still not lost on me.
Recently whilst I went on a configuration rampage in VSCode, really fine-tuning my settings to create the best development environment possible (I’ll share those settings in a separate post), and I discovered the integrated terminal supports not only Command Prompt and PowerShell, but also the Windows System for Linux (WSL) terminal.
If you’re using the fantastic Ubuntu Bash terminal in Windows 10 which gives you a proper Ubuntu Linux terminal window and subsystem, you’re probably wanting to access files on your main drive.
To get to your C drive which has your files, you can just type:
cd /mnt/c I don’t know about you, but typing that is painful. By creating an alias in your .bashrc file which is a configuration file for the Ubuntu terminal instance, you can create a shortcut to the C drive (and other mounted drives as well).
By default Windows 10 will automatically download and install updates without telling you. While this sounds nice in theory, by default it will also restart your computer after installing updates as well.
I like to leave my computer on over night, whether it be because of a torrent I am downloading or I am uploading large amounts of files to DropBox. This is an annoying default setting.
Fortunately we have the option to be notified that updates have been installed and asked to reset (sort of like how it was during the Windows 7 days).
Depending on what part of the world you are from you might be familiar with the concept of a Magic Eraser. In Australia we have the Chux brand Magic Erasers and in the US they have those I believe and also the Mr. Clean Magic Erasers (amongst tonnes of other competitors).
What most people don’t realise is these magical sponges are something called Melamine Foam. This foam has been used for soundproofing recording studios and things like trains for years.
Recently metadata retention laws came into effect in Australia and your activities both online and offline are being tracked and stored for up to two years all under the guise of terrorism.
Ironically the very law that is supposedly meant to protect Australian citizens might end up doing the opposite. Every call, text, web search or activity you do that can be tracked most likely will be tracked and stored. Depending on who you are or what you do, you might come up as a person of interest in a criminal case and not even know it.
As much as I like Windows 10 there is a new feature that annoys the absolute crap out of me: quick access in Explorer.
By default quick access will show you your recently used files and folders. Sounds great, right? Well not really. As a result you get junk folders and files clogging up the sidebar of your File Explorer windows. Fortunately, you can disable the annoying behaviour.
Open File Explorer Right click on Quick Access and select “Options” In Folder Options, the Privacy options group at the bottom is where you can disable the Quick Access feature. I also recommend you click the “Clear” button as well. Uncheck both or desired checkboxes and click “Ok” That’s all there is. Quick Access is now disabled.