This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LOCAL_HOST="localhost" # Where you want to forward the ports | |
REMOTE_USER="ubuntu" # The remote user on the IP you want to connect | |
REMOTE_HOST="192.0.XY.XYZ" # IP you want to connect | |
PEM_FILE="~/my-top-secret.pem" # Path to your PEM file | |
PORTS_LEGEND="Connecting to remote host «$REMOTE_HOST»" | |
FORMATTED_PORTS="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Unidades = num => { | |
switch (num) { | |
case 1: | |
return 'UN'; | |
case 2: | |
return 'DOS'; | |
case 3: | |
return 'TRES'; | |
case 4: | |
return 'CUATRO'; |