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
hg log -r "<starting-rev>: and user('<username>') and not merge()" --template {rev}:{node}\n |
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 com.rabbitmq.client.* | |
@Grab(group='com.rabbitmq', module='amqp-client', version='2.8.7') | |
factory = new ConnectionFactory([username: 'guest', password: 'guest', | |
virtualHost: '/', requestedHeartbeat: 0]) | |
conn = factory.newConnection(new Address('localhost', 5672)) | |
channel = conn.createChannel() | |
exchangeName = 'myExchange' | |
queueName = 'myQueue' |
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
new javax.script.ScriptEngineManager().engineFactories.each { | |
println "Name: $it.engineName" | |
println "Language Version: $it.languageVersion" | |
println "Engine Version: $it.engineVersion" | |
println "Aliases: $it.names" | |
println "" | |
} |