VS Code Debug With nodemon The following configuration will let VS Code use nodemon for debugging and have the output go to the main console instead of the debug console. Add this configuration to launch.json in your project.
Validate Email Address Syntax in Javascript A simple regular expression to validate that an email address is syntactically correct.
Install MongoDB on Ubuntu This example is for MongoDB 4.4 on Ubuntu 18 Bionic. You can find other sources here if you want a different version of MongoDB or are on a different version of Ubuntu.
Setting Log Message Status in Google Cloud Logs From Nodejs If you're using Cloud Run or Cloud Functions on GCP you have probably use Cloud Logging to see error message or other output from your applications. Ifwant to have more control over how your log messages are flagged in you Nodejs applications, try the npm package @google-cloud/logging.
Enable Browser Based SSH in GCP Sometimes it's handy to use the browser based SSH in GCP when you're setting up a compute instance. By default a firewall rule called "default-allow-ssh" is created for your project. It allows ssh from anywhere by specifiying an allow IP range of 0.0.
Using Tailwind CLI without a framework Tailwind integrates nicely into modern frameworks like React and Vue but you might run into a scenario where you want to use tailwind in a site not using a framework. Maybe you're working on an old framework that's not using webpack or something similar that incorporates Tailwind's build tools.