I hereby claim:
- I am jgnagy on github.
- I am jgnagy (https://keybase.io/jgnagy) on keybase.
- I have a public key whose fingerprint is BB73 D585 0DED D4F2 935E 1D60 78FA 502F 4CCA A201
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Note: This is mostly not my code... shamelessly borrowed from ActiveMQ | |
require 'rubygems' | |
require 'stomp' | |
@port = 61613 | |
@host = "localhost" | |
@user = ENV["STOMP_USER"]; |
import org.apache.activemq.ActiveMQConnection; | |
import org.apache.activemq.ActiveMQConnectionFactory; | |
import javax.jms.Connection; | |
import javax.jms.DeliveryMode; | |
import javax.jms.Destination; | |
import javax.jms.ExceptionListener; | |
import javax.jms.JMSException; | |
import javax.jms.Message; | |
import javax.jms.MessageConsumer; |
[jgnagy@Gnagy-Rosetta-MBP13:erb4cfn-rim] $ git diff | |
diff --git a/snippets/instance_typical_parameters.json.erb b/snippets/instance_typical_parameters.json.erb | |
index c672fc5..b4a570c 100644 | |
--- a/snippets/instance_typical_parameters.json.erb | |
+++ b/snippets/instance_typical_parameters.json.erb | |
@@ -16,7 +16,7 @@ | |
"InstanceSubnet": { | |
"Description" : "Subnet", | |
"Type" : "String", | |
- "Default" : "subnet-6cf61e35", |
[jgnagy@Gnagy-Rosetta-MBP13:erb4cfn-rim] $ dig @ns-946.awsdns-54.net nva.blackberryorigin.com SOA | |
; <<>> DiG 9.8.3-P1 <<>> @ns-946.awsdns-54.net nva.blackberryorigin.com SOA | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 10557 | |
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 | |
;; WARNING: recursion requested but not available |
1207194745159141002826404174456835022542798090334188844771315891233715000598678011112260318888075123689592411834936979490736524612541129464916133196891959089390781508801901190462549514293718039705568577408135381168081934297239755854973711511532698185611024500412162197188979941288282020199573223408206774596668313419963826711725161043107722443853859900192918402327537438078469032812456071967433560375713637786078248840381478654987462943199250096004040862399113422853029370751040053862717964433238100906729985033234799338852390831799253751350632777361017456834889870074002912701092879965450926881054241126908870540348960463175247436219452428209265049417169007299590697378642840148464590211385838000114628982182435757051247732335317975244558145013800143780053122458682872996807051063531696492049728550115119098138472631498417182798577064448005845249853541692837686154070672744221573088731124717769950442621024457847648217097034566477163229212995181070116278751184697983793032830380090615180747341198980152539452924807742625701 |
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "AWS template for single mongoDB instance", | |
"Parameters" : { | |
<%= snippet 'instance_typical_parameters', single_subnet: true %>, | |
<%= snippet 'mongodb_instance', section: 'parameters' %> |
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "AWS template for a dev AEM full stack (author, publish, mongoDB)", | |
"Parameters" : { | |
<%= snippet 'instance_typical_parameters', single_subnet: true %>, | |
<%= snippet 'aem_instance', section: 'parameters', type: 'author' %>, |
#!/usr/bin/env ruby | |
require './lib/framework/installer.rb' | |
include InstallerFramework | |
class TestInstaller < BaseInstaller | |
before { puts "Before hook 1" } | |
before { puts "Before hook 2" } | |
stop() { | |
LOGFILE=$(mktemp) | |
echo -n $"Stopping IBM DB2 [${DB2USER}]" | |
# Is DB2 already stopped? | |
status | |
if [ $RETVAL -ne 0 ]; then | |
# Already stopped return 0 | |
success |