Search and Destroy – Free up disk space

Many open source projects and tools use NodeJs as base. As result we can have your disk filled by the sinister “node_modules” without even noticing. I wrote a little script to search and destroy those little bastards: The code can be found bellow:

AWS Lambdas and memory state between executions

AWS saves the state of your lambdas so global variables values can be passed/accessed between executions. Lambda lifecycle When you trigger a Lambda function on AWS, it creates a container to run your function. After the executions ends, that container is not destroyed – it is frozen until the next execution. That is what Amazon…