Nov 2022 - Started with Azure cloud
Sep, Oct, Nov 2022 - Backend, Frontend experience
Babel-node, React, TypeScript Oct 2022 - Bought Pico PC
https://www.indiegogo.com/projects/picopc-tiny-desktop-pc-win10-linux-4k-computer Sep 2022 - Migrate mail dgkim.net from EC2 to Google Workspaces
was : postfix + dovecot + sieve + horde, ejabberd Aug 2022 - Migrate zabbix-server from EC2 to RPi4 (zabbix-server was running on AWS EC2 t3.
GnuPG 사용하기 export 내보내기
# -a : output file will be encoded in `base64` # --export : export all public keys gpg -a --export >mypubkeys.asc # -a : output file will be encoded in `base64` # --export-secret-keys : export secret keys gpg -a --export-secret-keys >myprivatekeys.asc # --export-owntrust : 모르겠다. gpg --export-ownertrust >otrust.txt import 가져오기
# --import : import public keys or private keys gpg --import myprivatekeys.
Script docker_aws_vpc.sh #!/bin/bash # to prevent docker to pickup 172.31.0.0/16 docker network \ create \ --subnet 172.31.253.0/30 \ aws_vpc Description While you are developing, it is convenient if you are using VPN to access AWS VPC.
But, some times you may experience some of container cannot access AWS Resources.
In that case, the container might be being assigned docker network that is overwrapping with AWS VPC network.
Install rainbowstream Install espeak Prepare text stream Run read and speaker Run rainbowstream and feed texts What if my tweets can be heard
Install rainbowstream rainbowstream is a twitter client for linux cli.
prepare python venv python3 -m venv venv source venv/bin/activate install rainbowstream pip install rainbowstream run rainbowstream rainbowstream # you will be asked to login to twitter Install espeak espeak is TTS software for linux
Assuming Python3 is already installed Create python3 virtual environment Install pip and pip-tools Installing libraries Here is how I prepare python projects.
Assuming Python3 is already installed I uses python3 installed by default via OS package. or brew python3 (But if I have a chance to use conda and the others, I may try)
Create python3 virtual environment I uses venv module
/etc/pam.d/sshd /etc/pam.scripts/noti_slack.sh For security reasons, I created a script to notify me when someone(ME) access my server.
I created slack notification script, I will not explain about how to create slackbot here. You can have a good time to configuring slack bot.
/etc/pam.d/sshd Append follow line to /etc/pam.d/sshd
session required pam_exec.so /etc/pam.scripts/noti_slack.sh /etc/pam.scripts/noti_slack.sh Create /etc/pam.scripts/noti_slack.sh file. and make the file executable chmod +x /etc/pam.