WWellWCDSinwcds.hashnode.dev·Apr 1, 2024 · 1 min readDockerCopy a file to a docker container docker cp fileName.json mongodb1:/fileName.json Connect on the container terminal docker exec -it mongodb1 /bin/sh00
WWellWCDSinwcds.hashnode.dev·Jan 5, 2024 · 2 min readRegex. [] - {}^$*+?() |. (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...00
WWellWCDSinwcds.hashnode.dev·Dec 20, 2023 · 1 min readSDK Man Commandssdk 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...00
WWellWCDSinwcds.hashnode.dev·Dec 20, 2023 · 1 min readImport a collection array to a document using MongoDBmongoimport --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 --jsonArray00
WWellWCDSinwcds.hashnode.dev·Oct 10, 2023 · 1 min readJava CollectionsList 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...00