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
#pi update | |
sudo apt update | |
#upgrade package | |
sudo apt upgrade | |
#reboot | |
sudo reboot | |
#get docker.sh | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
#run bash | |
sudo bash get-docker.sh |
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
Setup | |
yum install -y epel-release nginx firewalld git | |
install Docker CentOS | |
yum install -y yum-utils | |
yum-config-manager \ | |
--add-repo \ |
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
struct Books | |
{ | |
public string title; | |
public string author; | |
public string subject; | |
public int book_id; | |
}; | |
Books[] arr = new Books[4]; | |
for(int i = 0; i < 4; i++) |
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
struct Books | |
{ | |
public string title; | |
public string author; | |
public string subject; | |
public int book_id; | |
}; | |
Books test; | |
test.title = "Struct Sample"; | |
test.author = "Tae Chanwit"; |
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
name: Docker Build Example | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: |