dotenv is a zero-dependency npm module that loads environment variables from a .env file into process.env. dotenv-flow extends dotenv adding the ability to have multiple .env* files like .env.development, .env.test and .env.production, also allowing defined variables to be overwritten individually in the appropriate .env*.local file. Storing configuration in environment variables separate from code and grouping them by environments like development, test and production is based on The Twelve-Factor App methodology.
middy.js – stylish middleware engine for AWS Lambda
One of the main strengths of serverless and AWS Lambda is that, from a developer perspective, your focus is mostly shifted toward implementing business logic. Anyway, when you are writing a handler, you still have to deal with some common technical concerns outside business logic, like input parsing and validation, output serialization, error handling, etc. …
Ubuntu RAM compression
Current Debian distributions does not have memory compression settings enabled by default. This causes a lot of RAM usage and makes difficult to run many apps for web development. A successor to compcache is zram which is fully integrated in the Linux kernel since 2.6.37.1 and uses lzo compression. The idea behind it is to create swap …
BleachBit – Clean your ubuntu system
When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn’t know was there. Designed for Linux and Windows systems, it wipes clean …
Linux disable sudo password prompt in terminal (Critical security issue, only use on dev machines)
While we are working on linux systems, terminal is daily driver, sudo is one of most commonly used command.But what if you have long password, like 10 or 20 characters long? We can bypass sudo password prompt by changing sudo settings. This will open sudo configuration file with text editor like vi or nano.Go to …
win-node-env package
We often see this error when running node projects on windows… As we are already familiar this is because node scripts are configured to use UNIX shell commands by some un-experienced developers. But we may be at circumstances that we should not change here and there, and we are on windows, needs to run this …
JavaScript Resize Observer
Resize Observer is a new JavaScript API that’s very similar to other observer APIs like the Intersection Observer API. It allows for elements to be notified when their size changes. The most frequent reason for an element’s size to change is when the viewport is resized or the device’s direction changes between portrait and landscape. Up until …
Tamper monkey chrome extension (supports Firefox, safari as well.)
Tampermonkey is the most popular userscript manager, with over 10 million users. It’s available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox. Tampermonkey makes it very easy to manage your userscripts and provides features like a clear overview over the running scripts, a built-in editor, ZIP-based import and export, automatic update checks and browser and cloud storage based synchronization. We can …
Vue cli ui interface
You can create and manage projects using a graphical interface with the vue ui command.This command is still beta as the time of writing, but this provides very convenient graphical ui to manage vue based projects, like: add dependency, run dev server, build, analyze bundle size etc. https://cli.vuejs.org/guide/creating-a-project.html#vue-create