How to Get Last Digit of a Large Number in C
The challenge
Define a function that takes in two non-negative integers aa_a_ and bb_b_ and returns the last decimal digit of aba^b_a__b_. Note that …
Read Article →In-depth guides, insights, and best practices for modern software engineering
Define a function that takes in two non-negative integers aa_a_ and bb_b_ and returns the last decimal digit of aba^b_a__b_. Note that …
Read Article →If you have tried to delete a Security Group, or VPC, or various other resources and you get the dreaded Network interface is in use by another …
We typically install an npm package as follows:
npm install <package_name>
But how do we uninstall an npm package?
Often you need to reference an HTML/CSS Color Code in RGB or Hex. This is known as rgb color codes.
Below is an easy-to-use table to find the …
Read Article →Create a function that returns the sum of the two lowest positive numbers given an array of minimum 4 positive integers. No floats or …
Read Article →If you need to sort an array of objects by their property values using Javascript, then you don’t need to look further than the built-in sort …
If you need to count down a specific amount of time, say for example, when a token is set to expire, then a countdown timer will be useful.
Terraform state reflects the most up to date reference of the infrastructure.
Sometimes you may need to remove a resource from the Terraform state …
Read Article →Running terraform destroy will tear down the whole stack associated to some terraform code.
However, sometimes you might only want to remove a …
Read Article →resource "aws_dynamodb_table" "dynamodb-terraform-state-lock" {
name = …
Read Article →
Terraform, a powerful Infrastructure as Code (IaC) tool, allows you to define and provision infrastructure resources. Properly commenting your …
Read Article →If you have Terraform reporting an error but want more information, then you can configure debug logging.
export …
Read Article →