What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-27 02:49:01
mongoclient install ubuntu
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list sudo a... Add solution -
Javascript 2021-08-26 19:26:01
AddToAny Share Starter Snippet
<div class="a2a_kit a2a_kit_size_32 a2a_default_style"> <a class="a2a_button_facebook"></a> <a class="a2a_button_twitter"></a> <a class="a2a_dd" href="https://www.ad... Add solution -
Java 2021-08-26 11:04:01
make a get request call using HttpClient in java
package com.zetcode; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.util.HashMap; pu... Add solution -
Shell/Bash 2021-08-26 10:51:02
magento 2 file permissions
find . -type f -exec chmod 664 {} \; find . -type d -exec chmod 775 {} \; find var pub/static pub/media generated/ app/etc -type f -exec chmod g+w {} \; find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \; Add solution -
Go 2021-08-26 10:51:02
Expected 2 arguments, but got 1.ts(2554) core.d.ts(7888, 47): An argument for 'opts' was not provided.
This is because there is a synthax change in the new angular version. @ViewChild("password", { static: true }) password: ElementRef; @ViewChild("confirmPassword", { static: true }) confirmPassword: ElementRef; Add solution