View private-isu.yaml
This file contains 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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: private-isu template | |
Parameters: | |
KeyPairName: | |
Description: "Amazon EC2 Key Pair" | |
Type: AWS::EC2::KeyPair::KeyName | |
GitHubUsername: | |
Description: "GitHub Username for SSH public key" | |
Type: String |
View bashrc
This file contains 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
attach() { | |
name=$1 | |
if [ "${name:0:1}" = "r" ]; then | |
docker exec -it --user 1000 $name /bin/bash | |
else | |
lxc exec $name /bin/bash | |
fi | |
} | |
add_nic() { |
View po.js
This file contains 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 po = 0 | |
const vm = new Vue() |