Skip to content

Instantly share code, notes, and snippets.

@jbowkett
jbowkett / ssh-multi.sh
Created May 15, 2020 15:23 — forked from dmytro/ssh-multi.sh
Start multiple synchronized SSH connections with Tmux
#!/bin/bash
# ssh-multi
# D.Kovalov
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html
# a script to ssh multiple servers over multiple tmux panes
starttmux() {
if [ -z "$HOSTS" ]; then

Keybase proof

I hereby claim:

  • I am jbowkett on github.
  • I am jbowkett (https://keybase.io/jbowkett) on keybase.
  • I have a public key ASAZ5ilOAY5B1tSWX5dLBBWp-cLUoxvcCa5T3C8EodMjWwo

To claim this, I am signing this object:

g.V('trade:1544085248:6').inE().bothV().dedup()
MATCH (owner:Account),(buyer:Account)
WHERE owner.address = '${ownerAddress}'
AND buyer.address = '${buyerAddress}'
CREATE (owner)-[
:SOLD_TO { amount:${amount}, tstamp:timestamp()}
]->(buyer)
graph.addVertex(label, 'trade', 'shares', 53152, 'consideration', 55364, 'chainTxnId', '6469223ac…, 'tstmp', '2016-09-20T16:08:32.389369103Z')
g.V().has('account','account_id','acc0HG4D…').as('sellerAcc').
V().has('trade','chainTxnId','6469223ace…').
addE('seller').from('sellerAcc')
client.transfer(new Transactor.BuildRequest(
asList(new Transactor.BuildRequest.Input(assetId, accountId, BigInteger.valueOf(volume)),
new Transactor.BuildRequest.Input(cashAssetId, destinationAccountId, BigInteger.valueOf(totalPrice.intValue()))),
asList(new Transactor.BuildRequest.Output(assetId, destinationAccountId, null, BigInteger.valueOf(volume)),
new Transactor.BuildRequest.Output(cashAssetId, accountId, null, BigInteger.valueOf(totalPrice.intValue()))
)