Docker
Copy a file to a docker container docker cp fileName.json mongodb1:/fileName.json Connect on the container terminal docker exec -it mongodb1 /bin/sh
Search for a command to run...
Copy a file to a docker container docker cp fileName.json mongodb1:/fileName.json Connect on the container terminal docker exec -it mongodb1 /bin/sh
. (dot) It's going to search for any character inside your string. You can see that the regex found 48 occurrences on the string provided. If you want to find the .(dot) itself, you need to use the \ escape character. Like \.If you want to use any k...
sdk install java // Install java sdk list java //See versions for java //Install an specific version sdk install java 8.0.292.j9-adpt sdk install java 11.0.2-open sdk install java 17.0.1-open sdk install java 17.0.1-open sdk install java 17.0.2-tem...
mongoimport --db mydatabasename --collection collectionName --file my_json_file.json If the collection is an array mongoimport --db mydatabasename --collection collectionName --file my_json_file.json --jsonArray
List ArrayList It internally uses an array Fast to access the elements by index Slower if you want to do operations in the middle LinkedList Based on a Double Linked Very fast for deleting or adding elements in the middle Vector It belon...
If you need to manage the versions of the terraform you can use this documentation. https://github.com/tfutils/tfenv
Github
Linux
If you want to generate a token from azure and copy it immediately. az account get-access-token --resource-type oss-rdbms | jq -r '.accessToken' | xclip -sel clip