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.
Read full post gblog_arrow_right


Wifi QR Code Code Format WIFI:S:<SSID>;T:<WEP|WPA|blank>;P:<PASSWORD>;H:<true|false|blank>;; example WIFI:S:DGKIM5G;T:WPA2;P:secretWiFi@@;; Reference

Reserve Docker Network Aws Vpc uses

Script #!/bin/bash # to prevent docker to pickup docker network \ create \ --subnet \ 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.
Read full post gblog_arrow_right

Twitter Espeak

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
Read full post gblog_arrow_right

Prep Python Project

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
Read full post gblog_arrow_right

Linux Sshd Notification

/etc/pam.d/sshd /etc/pam.scripts/ 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 /etc/pam.scripts/ /etc/pam.scripts/ Create /etc/pam.scripts/ file. and make the file executable chmod +x /etc/pam.
Read full post gblog_arrow_right

Creating Hugo

Creating Hugo Website for the first time hugo new site www Creating first page hugo new posts/