serverless output values

When developing web services on top of AWS infrastructure, we normally use serverless framework to manage cloudformation. All resources on AWS have their unique identifiers called ARNs (Amazon Resource Names). ARN consists of several information, including userId, region, resource specific strings. It is quite a burden to manage all these ARNs created by other microservices …

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.

Laradock and Xdebug

Mostly we use laradock or homested for laravel projects. But it has some problem for implementation of xdebug. xdebug is powerful tool to speed up development. So, most developers want to enable xdebug on laradock. Actually laradock provides xdebug option. but it is disable by default. We can just enable the option. WORKSPACE_INSTAL_WORKSPACE_SSH=true WORKSPACE_INSTALL_XDEBUG=TRUE PHP_FPM_INSTALL_XDEBUG=TRUE …

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. …

node-rate-limiter-flexible

rate-limiter-flexible limits number of actions by key and protects from DDoS and brute force attacks at any scale. It works with Redis, process Memory, Cluster or PM2, Memcached, MongoDB, MySQL, PostgreSQL and allows to control requests rate in single process or distributed environment. Atomic increments. All operations in memory or distributed environment use atomic increments against race conditions. Fast. Average request takes 0.7ms in Cluster and 2.5ms in Distributed application. See benchmarks. Flexible. Combine …

Buy Cryptocurrency with Credit/Debit

Use your favorite payment methods to buy cryptocurrency! We currently support Visa, Mastercard, ApplePay and more for buying crypto! And you can sell your crypto for fiat through Paypal! https://www.carbon.money/ Welcome to Carbon! You can use our REST JSON API to access Carbon endpoints, which can buy, sell and swap any cryptocurrency. Sign up to start using …

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 …

A JavaScript API for interacting with the XRP Ledger in Node.js and the browser – ripple-lib

A JavaScript API for interacting with the XRP Ledger. Features Connect to a rippled server from Node.js or a web browser Helpers for creating requests and parsing responses for the rippled API Listen to events on the XRP Ledger (transactions, ledger, validations, etc.) Sign and submit transactions to the XRP Ledger Type definitions for TypeScript Requirements Node v10 is …