Tag Archives: unused

Python script to listing unused IP addresses in AWS VPC Subnet

Python script to list unused IP addresses in AWS VPC Subnet

I wrote a Python script to listing unused IP addresses (IPv4) in a subnet. I seek advice from Henry’s post. Mechanism Acquire the CIDR of the required subnet by DescribeSubnets Get the used non-public IP addresses within the specified subnet by DescribeNetworkInterfaces = Used IP addresses Calculate the Unused “IP addresses” = “CIDR IP addresses”…

Read More

Shell command for cleansing up git repositories from unused branches

Shell command for cleaning up git repositories from unused branches

Hey, On this brief publish I might prefer to share with you a easy resolution to the difficulty I am encountering every so often. The issue is that every of repositories I am actively engaged on is aggregating a number of branches, as a result of in my workflow, I am creating a brand new…

Read More

Robotically Take away Unused Node Modules utilizing Python – Python Developer

Robotically Take away Unused Node Modules utilizing Python We maintain a listing below the foundation of our tasks referred to as _dev_tools. It consists of Python scripts we will rapidly run, normally by urgent the Play button of the Code Runner extension in VS Code, to assist with mission administration. The secret’s creating instruments that…

Read More

One command to take away gigabytes of unused `node_modules` information – Node Developer

One command to take away gigabytes of unused `node_modules` information Programming is only one large cycle. Create or obtain a venture, set up your dependencies, construct one thing superb, and transfer on to the following one. Nonetheless, with node.js initiatives, there is a obtrusive downside. Each time you progress on to a different venture, you…

Read More