$ hugo server
or$ hugo server -D
http://localhost:1313/
에서 디버그 용도로 사용(watch files)-D
옵션은 draft로 실행됨
$ hugo new post/test1.md
명령으로 파일을 생성하면\content\post\test1.md
에 생성
VERSION=1.22.4 | |
ARCH=amd64 | |
wget "https://go.dev/dl/go${VERSION}.linux-${ARCH}.tar.gz" | |
rm -rf /usr/local/go && tar -C /usr/local -xzf "go${VERSION}.linux-${ARCH}.tar.gz" | |
echo 'export PATH=$PATH:/usr/local/go/bin' | tee -a ~/.bashrc | |
source ~/.bashrc |
jobs: | |
deploy: | |
name: Push to ECR | |
runs-on: ubuntu-latest | |
# These permissions are needed to interact with GitHub's OIDC Token endpoint. | |
permissions: | |
id-token: write | |
contents: read |
brew install vagrant qemu | |
#Due to dependency errors, we must install vbguest first.. | |
vagrant plugin install vagrant-vbguest | |
vagrant plugin install vagrant-qemu | |
#cd to working dir you like to keep your vagrant files | |
cd ~/VM-and-containers/VagrantMachines/M1-vagrantfiles/ubuntu18-generic-64/ | |
#Create a vagrant file | |
$EDITOR Vagrantfile |
$ docker update --cpu-quota <INT> <Container ID | Container Name>
# show current cpu-quota