This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn install:install-file -Dfile=FILE.JAR -DgroupId=COM.BIZ -DartifactId=ARTIFACT -Dversion=MAJOR.MINOR.PATCH -Dpackaging=jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
insert here ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function($) { | |
checkExperimentStart() | |
})(jQuery); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Card { | |
public enum Rank { DEUCE, THREE, FOUR, FIVE, SIX, | |
SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE } | |
public enum Suit { CLUBS, DIAMONDS, HEARTS, SPADES } | |
private final Rank rank; | |
private final Suit suit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if( $_POST ) | |
{ | |
$con = mysql_connect("localhost","inmoti6_myuser","mypassword"); | |
if (!$con) | |
{ | |
die('Could not connect: ' . mysql_error()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void send(Object obj, Queue queue, String CorrelationId) throws JMSException { | |
Connection connection = null; | |
Session session = null; | |
Message message = null; | |
MessageProducer producer = null; | |
try { | |
connection = connectionFactory.createConnection(); | |
connection.start(); | |
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = [0]; | |
b = [0]; | |
a[1] = a.length; | |
b[2] = b.length; | |
console.log( ( a[1] === b[2] ) ? "yep" : "nope"); | |
console.log("a length is : " + (a.length), "b length is : " + (b.length)); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.concurrent.locks.ReentrantLock; | |
import org.apache.commons.io.monitor.FileAlterationListener; | |
import org.apache.commons.io.monitor.FileAlterationListenerAdaptor; | |
import org.apache.commons.io.monitor.FileAlterationMonitor; | |
import org.apache.commons.io.monitor.FileAlterationObserver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package local; | |
import java.util.Arrays; | |
import java.util.stream.Collectors; | |
/** | |
* @author Edward Beckett :: <Edward@EdwardBeckett.com> | |
* @since :: 12/9/2014 | |
*/ | |
public class Multiples { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id" : "00001", | |
"content" : "Emulated REST Call", | |
"info" : { | |
"1" : "a", | |
"2" : "b" | |
} | |
} |
OlderNewer