dotenv-flow npm package

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 …

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 …