kubectl port-forward svc/<mongo_svc> 27017:27017
mongorestore --host localhost -d database-name -u username -p password --port 27017 dump_folder_name
kubectl port-forward svc/<mongo_svc> 27017:27017
mongorestore --host localhost -d database-name -u username -p password --port 27017 dump_folder_name
| version: '3.8' | |
| services: | |
| db: | |
| image: postgres:14.1-alpine | |
| restart: always | |
| environment: | |
| - POSTGRES_USER=postgres | |
| - POSTGRES_PASSWORD=postgres | |
| ports: | |
| - '5432:5432' |
A mobile Application that scans the barcode of a product and a browser dashboard that is aimed towards analyzing the carbon footprint of different products and provide insights
| Complete Python - https://bit.ly/3AbYClH | |
| Efficient Code Optimization techniques for Python : https://bit.ly/3tAbNsW | |
| System Design Important terms - https://bit.ly/3Om9d3H | |
| ML System Design Case Studies Series : https://bit.ly/3i5EDiH | |
| System Design Case Studies | |
| Design Messenger App : https://bit.ly/3DoAAXi | |
| Design Instagram : https://bit.ly/3BFeHlh | |
| Design Twitter : https://bit.ly/3qIG9Ih | |
| Design Uber : https://bit.ly/3fyvnlT | |
| Design TikTok : https://bit.ly/3UUlKxP |
| ls - The most frequently used command in Linux to list directories | |
| pwd - Print working directory command in Linux | |
| cd - Linux command to navigate through directories | |
| mkdir - Command used to create directories in Linux | |
| mv - Move or rename files in Linux | |
| cp - Similar usage as mv but for copying files in Linux | |
| rm - Delete files or directories | |
| touch - Create blank/empty files | |
| ln - Create symbolic links (shortcuts) to other files | |
| cat - Display file contents on the terminal |
| From nobody Mon Sep 17 00:00:00 2001 | |
| From: A (zzz) | |
| U | |
| Thor | |
| <a.u.thor@example.com> (Comment) | |
| Date: Fri, 9 Jun 2006 00:44:16 -0700 | |
| Subject: [PATCH] a commit. |
| aws cloudformation delete-stack --stack-name CDKToolkit | |
| aws s3 ls | grep cdk # copy the name | |
| aws s3 rb --force s3://cdktoolkit-stagingbucket-abcdef # replace the name here | |
| # Just make Sure that you do not accidentally delete some other bucket which co-incidentally happens to have cdk in it's name. |