Skip to content

Instantly share code, notes, and snippets.

View minhoryang's full-sized avatar
😍
Happy Today!

Minho Ryang minhoryang

😍
Happy Today!
View GitHub Profile
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export DefaultIMModule=fcitx
exec lxsession -s Lubuntu -e LXDE
auto-key-locate keyserver
keyserver hkps://hkps.pool.sks-keyservers.net
keyserver-options no-honor-keyserver-url
keyserver-options ca-cert-file=/etc/sks-keyservers.netCA.pem
keyserver-options no-honor-keyserver-url
keyserver-options debug
keyserver-options verbose
personal-cipher-preferences AES256 AES192 AES CAST5
personal-digest-preferences SHA512 SHA384 SHA256 SHA224
cat << "-----END PGP SIGNATURE-----" > /dev/null
-----BEGIN PGP SIGNATURE-----
...
-----END PGP SIGNATURE-----
@minhoryang
minhoryang / cloudSettings
Last active November 6, 2018 07:29 — forked from AilisObrian/cloudSettings
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-08-10T11:51:57.295Z","extensionVersion":"v2.8.2"}
@minhoryang
minhoryang / build_dm_awsec2.sh
Last active August 12, 2017 07:32 — forked from pahud/build_dm_awsec2.sh
build your docker-machine on AWS EC2 instance
#!/bin/bash
machine=$(python -c "import uuid;print(uuid.uuid4())")
# NEEDED: AmazonEC2FullAccess, AmazonEC2SpotFleetRole
AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
AWS_DEFAULT_REGION=$(aws configure get region)
AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
VPC=$(aws ec2 describe-vpcs | jq -r '.Vpcs[0].VpcId')
import sys
def func_name(_):
return sys._getframe(1).f_code.co_name
def line_number(_):
return str(sys._getframe(1).f_lineno)
def file_name(_):
return sys._getframe(1).f_code.co_filename
@minhoryang
minhoryang / haproxy.cfg
Created July 25, 2017 16:50 — forked from jpawlowski/haproxy.cfg
Geeking out with HAproxy on pfSense: The ultimate port 443 TLS/SSL router | http://loredo.me/post/116633549315/geeking-out-with-haproxy-on-pfsense-the-ultimate
global
maxconn 2000
stats socket /tmp/haproxy.socket level admin
uid 80
gid 80
nbproc 1
chroot /tmp/haproxy_chroot
daemon
tune.ssl.default-dh-param 2048
# Modern browser compatibility only as mentioned here:
[chromeIPass](https://chrome.google.com/webstore/detail/ompiailgknfdndiefoaoiligalphfdae)
[keeweb](https://github.com/keeweb/keeweb)
[keepassXC](#)
Google Drive.
@minhoryang
minhoryang / concept.md
Last active September 17, 2021 13:49
Semver based API Gateway?
  • api.corp.domain.local/$service/$semver/... -> 307 Temporary Redirect to SEMVER Matched Server.

  • api.corp.domain.local/frontend/^2.0.0/... $service: frontend, $semver: ^2.0.0

  • api.corp.domain.local/frontend/~2.0.0/... $service: frontend, $semver: ~2.0.0

  • api.corp.domain.local/frontend/2.0.0/...

  • api.corp.domain.local/frontend/2.0/...

  • api.corp.domain.local/frontend/2/...

  • $service.api.corp.domain.local/$semver/...

  • frontend.api.corp.domain.local/2.0.0/...

  • frontend.api.corp.domain.local/latest/...

@minhoryang
minhoryang / ikfladhibhpaomjiehmahbnbemkjjapd-1493359572702.log
Created April 28, 2017 06:07
Immediately crashed when launching the apps created by ARC Welder
14:57:02.994 gen_main.min.js:82 Delaying update install logic for 83 seconds
14:57:03.005 gen_main.min.js:59 ARC HTML5 FS: Request FileSystem: 4.05078125ms
14:57:03.029 gen_main.min.js:74 ARC Window Popup: 29.1318359375ms
14:57:03.030 gen_main.min.js:75 ARC appWindow Init: 0.40576171875ms
14:57:03.392 gen_main.min.js:37 prod: ARC
14:57:03.392 gen_main.min.js:37 arc_app_name: Authenticator
14:57:03.393 gen_main.min.js:37 ptime: NaN
14:57:03.393 gen_main.min.js:37 crash_time: Fri Apr 28 2017 14:57:03 GMT+0900 (KST)
14:57:03.393 gen_main.min.js:37 ver: 54.5021.629.0
14:57:03.393 gen_main.min.js:37 arc_build_tag: arc-runtime-54.5021.629.0