JSFiddle - React, Tailwind, and code Playground

by pehrlich

HTML

<pre id="out">
    Results should appear here.
</pre>

<!-- place log output inside here and click run: -->
<pre id="log">
Beginning deployment of f6823c764556a84d4aca2c59ce6f2bc453ae5469head () without migration.

(/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep 'engineyard-serverside ' | egrep -q '1\.5\.30[,)]') || (sudo sh -c 'cd `mktemp -d` && /usr/local/ey_resin/ruby/bin/gem install engineyard-serverside --no-rdoc --no-ri -v 1.5.30')




/usr/local/ey_resin/ruby/bin/engineyard-serverside _1.5.30_ deploy --app zendestiny --config '{"deployed_by":"Peter Ehrlich"}' --framework-env production --instance-roles ec2-23-21-227-166.compute-1.amazonaws.com:solo --instances ec2-23-21-227-166.compute-1.amazonaws.com --ref f6823c764556a84d4aca2c59ce6f2bc453ae5469head --repo [email protected]:pehrlich/Zen-Destiny.git --stack trinidad --verbose

:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] '/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep "engineyard-serverside" | egrep -q '\''1\.5\.30[,)]'\'
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''[[ -x /data/zendestiny/shared/config/zendestiny-ssh-wrapper ]] || cat > /data/zendestiny/shared/config/zendestiny-ssh-wrapper <<'\''\'\'\''SSH'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o '\''\'\'\''CheckHostIP no'\''\'\'\'' -o '\''\'\'\''StrictHostKeyChecking no'\''\'\'\'' -o '\''\'\'\''PasswordAuthentication no'\''\'\'\'' -o '\''\'\'\''LogLevel DEBUG'\''\'\'\'' -o '\''\'\'\''IdentityFile ~/.ssh/zendestiny-deploy-key'\''\'\'\'' -o '\''\'\'\''IdentitiesOnly yes'\''\'\'\'' -o '\''\'\'\''UserKnownHostsFile /dev/null'\''\'\'\'' $*
SSH
chmod 0700 /data/zendestiny/shared/config/zendestiny-ssh-wrapper
'\'
:: running git --git-dir /data/zendestiny/shared/cached-copy/.git --work-tree...

CSS

#log{
    display: none;
}

JavaScript

contents = $("#log").html()
contents = contents.replace(/@@@@@@@@@@(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+)same\stime\./g, '(omitted ssh warning)')

    contents = contents.replace(/@@@@@@@@@@(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+\n)(.+)middle\sattacks\./g, '(omitted ssh warning)')

        
$("#out").html(contents)