I hereby claim:
- I am javajack on github.
- I am rakeshwaghela (https://keybase.io/rakeshwaghela) on keybase.
- I have a public key whose fingerprint is 8C09 18EE FBF9 E70C EF4E F42B 1A8A D7DA DC03 6002
To claim this, I am signing this object:
# Stop all containers | |
docker stop `docker ps -qa` | |
# Remove all containers | |
docker rm `docker ps -qa` | |
# Remove all images | |
docker rmi -f `docker images -qa ` | |
# Remove all volumes |
### BUILD image | |
FROM maven:3-jdk-11 as builder | |
#Copy Custom Maven settings | |
#COPY settings.xml /root/.m2/ | |
# create app folder for sources | |
RUN mkdir -p /build | |
WORKDIR /build | |
COPY pom.xml /build | |
#Download all required dependencies into one layer | |
RUN mvn -B dependency:resolve dependency:resolve-plugins |
package be.objectify.example.jooq; | |
import java.sql.SQLException; | |
import java.sql.SQLFeatureNotSupportedException; | |
import java.sql.Types; | |
import java.util.Objects; | |
import com.fasterxml.jackson.databind.JsonNode; | |
import org.jooq.Binding; | |
import org.jooq.BindingGetResultSetContext; | |
import org.jooq.BindingGetSQLInputContext; |
### | |
###' ejabberd configuration file | |
### | |
### | |
### The parameters used in this configuration file are explained in more detail | |
### in the ejabberd Installation and Operation Guide. | |
### Please consult the Guide in case of doubts, it is included with | |
### your copy of ejabberd, and is also available online at | |
### http://www.process-one.net/en/ejabberd/docs/ |
I hereby claim:
To claim this, I am signing this object:
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.NoSuchElementException; | |
class Graph<T> implements Iterable<T> { | |
/* | |
* A map from nodes in the graph to sets of outgoing edges. Each set of edges |
#Simple MongoDB Security Tutorial
###1 - Start mongod without any "security option"
$ mongod --port 27017
package sample; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.security.MessageDigest; | |
import java.security.SecureRandom; | |
import java.text.DateFormat; | |
import java.text.SimpleDateFormat; |
import org.apache.ws.security.WSConstants; | |
import org.apache.ws.security.message.WSSecHeader; | |
import org.apache.ws.security.message.WSSecUsernameToken; | |
import org.apache.ws.security.WSSConfig; | |
import org.apache.xalan.processor.TransformerFactoryImpl; | |
import org.apache.xerces.jaxp.DocumentBuilderFactoryImpl; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.Element; | |
import javax.xml.transform.OutputKeys; |
###Create a project from Maven Template:
To start a new maven project, use the maven archetype plugin from the command line using the archetype:generate
goal.
The following command will tell maven to create a java project from maven-archetype-quickstart
template, if you ignore the archetypeArtifactId
argument, then a list of the templates will be listed for you to choose.