Skip to content

Instantly share code, notes, and snippets.

Avatar

Dayron Acosta dayroned

View GitHub Profile
View cloud-config.yml
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+TAX+yGMvnGBaaAXaISxJomeo91KEMYcuwD4KpIWilBCjOrIPnj0GdLjfZS9Dcy4sDg/RfZ4+kUTGYFvXpuxQpxsmJeo0FmYvcQimhyL338K2iPHV79FZZHQ9atBeGrxCtodFljOp4NaE9waxrTfGLL/6h5Rr51pMB4yo2EJxEuvrYEnZLia78AEOlTWyTEn31grBky1puA1KQnsLr8uUpSkNjrB3KUBAaAL7Pc6P2OOMuV4sa8LHj1iK7MSSn/BcuvkjZDBPsLDmgf/RsW2+v1rolYm0AZnF1eDr0qrWRA+Lv1v0PqcEcHl+EDuRapVI9lgW9U4c8MmIEYOFTvUQtWOqwfygnmcEzk/p1YBJff/lu6qiiVexLrrGOaf/5rNuBahg6ba+7PRB5q2N0I1OrYqTBZZXHji5SvgaiK6KePlYxyka0W549VOyiSExry4oaWKxVS9uX6zaTsKql1Ep29aQdcDNy8aZeteWHlNEdbpXO0pVLe1aoQ6onjKpd+mozy2Hw9P6yLe6mMGGLR0NYm3moJdwqySFLzMwyhKlwt10PCAD5qU2qFCWokYkz2PUKdLxfbGgViek12STp6K81Ea4ikQRgutg8dTnAXkWc/dkEvzINNPcQ6DMqy+T9OY/po+imfVByKoQOEJklbyvlaZG5uaIP7PdVULy2MtRhQ== dayron@alpha.myusc.net
View get-mailhog.sh
#!/bin/bash
echo ">>> Installing Mailhog"
# Download binary from github
wget --quiet -O /tmp/mailhog https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64
# Move binary to /opt
sudo mv /tmp/mailhog /opt/mailhog
View drop-all-tables.sh
#!/bin/bash
MHOST="$1"
MPORT="$2"
MUSER="$3"
MPASS="$4"
MDB="$5"
# Detect paths
MYSQL=$(which mysql)
View keybase.txt
### Keybase proof
I hereby claim:
* I am dayroned on github.
* I am dayron (https://keybase.io/dayron) on keybase.
* I have a public key ASDuC4kfHiCL-25bvDfsBMVjFvy8n5T-PF8C6EIbqYvYEwo
To claim this, I am signing this object: