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
# Generate Random Passwords | |
curl 'https://www.random.org/passwords/?num=2&len=24&format=plain&rnd=new' | |
# Create deploy user | |
sudo adduser deploy | |
sudo adduser deploy sudo | |
su deploy | |
cd ../deploy/ | |
# Generate ssh keys |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"os" | |
"time" | |
) | |
// Card holds the card suits and types in the deck |