https://haunt98.github.io/posts-go/2023-06-25-useful-tools.html
# https://hub.docker.com/_/redis
docker run -d -p 6379:6379 -v /docker_data/redis/data:/data --name redis redis redis-server --save 60 1 --loglevel warning
docker run -d -p 6379:6379 --name redis redis
# https://hub.docker.com/_/mysql
docker run -d -p 3306:3306 -v ~/docker_data/mysql-5.7/config:/etc/mysql/conf.d -v ~/docker_data/mysql-5.7/data:/var/lib/mysql -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" --name mysql-5.7 mysql:5.7
docker run -d -p 3306:3306 -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" --name mysql-5.7 mysql:5.7
# https://docs.percona.com/percona-server/5.7/installation/docker.html
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": "DZ60RGB WKL V2", | |
"vendorProductId": 1146753825, | |
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
"layers": [ | |
[ | |
"KC_GESC", | |
"KC_1", | |
"KC_2", | |
"KC_3", |
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
body, | |
input { | |
font-family: Shantell Sans Normal, sans-serif; | |
font-weight: 500 | |
} | |
pre, | |
code { | |
font-family: Iosevka Pacman, monospace; | |
font-size: 14px |
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
gojq '.contact_users[] | select(.phone != "0") | {userid: .zalopay_id, zalo_name: .zalo_name, phone: .phone, contact_name: .contact_name, avatar: .avatar}' friends.json |
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
# https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md | |
# https://typeof.net/Iosevka/customizer | |
[buildPlans.IosevkaPacman] | |
family = "Iosevka Pacman" | |
spacing = "term" | |
exportGlyphNames = true | |
[buildPlans.IosevkaPacman.ligations] | |
inherits = "clike" |