Skip to content

Instantly share code, notes, and snippets.


Michael Hotan mhotan

  • Flexe
  • Seattle, WA
View GitHub Profile
mhotan /
Last active Nov 30, 2016 — forked from dmytro/
Start multiple synchronized SSH connections with Tmux
# ssh-multi
# D.Kovalov
# Based on
# a script to ssh multiple servers over multiple tmux panes
starttmux() {
if [ -z "$HOSTS" ]; then
View gist:1c2cb460749d56c65037
apply plugin: 'java'
apply plugin: 'scala'
// For those using Eclipse or IntelliJ IDEA
apply plugin: 'eclipse'
apply plugin: 'idea'
def findPlay20(){
def pathEnvName = ['PATH', 'Path'].find{ System.getenv()[it] != null }
for(path in System.getenv()[pathEnvName].split(File.pathSeparator)){
for(playExec in ['play.bat', '', 'play']){