randomTechGuy-GO
@randomTechGoGuy
no nonsense, just knowledge sharing
Terraform(TF): We need not create resources in order in TF. It figures out the order in which resources need to be created.
Difference between EC2 instance and Fargate on AWS:- Fargate provisions its own virtual machine and it creates 1 pod per VM, whereas we can create multiple pod on an EC2 instance. #LearnInPublic #LearnTogether
Kubernetes: auto scaling group(asg) in aws does not provide auto scaling but we need to configure a k8s component "autoscaler" with asg to achieve auto scaling. asg groups the ec2 instances together logically. #LearnInPublic #learnTogether
Difference between git revert and git reset: git revert creates a new commit to revert the old commit's changes, whereas git reset removes old commit.
You did some changes but do not want to make a new commit. You want your changes to be part of last commit. Do: git add . Then Do: git commit --amend And after that you can push it to remote repo.
#go Found a very interesting thing after a lot of research and time : meaning of time.Duration(24). It simply means converting Time Duration into a number. So time.Duration(24) means 24. And time.Hour * time.Duration(24) means 24 hours. #learnInPublic #golang
Defer function takes the argument when it is defined, not when it is executed.
United States Trends
- 1. Canada N/A
- 2. El Mencho N/A
- 3. Puerto Vallarta N/A
- 4. Canadians N/A
- 5. Jalisco N/A
- 6. México N/A
- 7. Tourette N/A
- 8. Jack Hughes N/A
- 9. Olympics N/A
- 10. Mobley N/A
- 11. Cavs N/A
- 12. Hockey N/A
- 13. Gold N/A
- 14. Team USA N/A
- 15. McDavid N/A
- 16. The Mexican N/A
- 17. MacKinnon N/A
- 18. Scoreboard N/A
- 19. Rush Hour N/A
- 20. Hellebuyck N/A
Something went wrong.
Something went wrong.