Skip to content

Instantly share code, notes, and snippets.

Happy Today!

Minho Ryang minhoryang

Happy Today!
Block or report user

Report or block minhoryang

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
minhoryang /
Last active Jun 1, 2018 — forked from raphael-riel/
Screenshot of X11 Window.
import -window $(xwininfo | grep -Po 'Window id: .*? ' | grep -Po '0x.* ') screenshot.jpg
View .chrome-remote-desktop-session
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export DefaultIMModule=fcitx
exec lxsession -s Lubuntu -e LXDE
View gpg.conf
auto-key-locate keyserver
keyserver hkps://
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
View gist:7642c5cf1dd438ba2e2d2a19098fbb78
cat << "-----END PGP SIGNATURE-----" > /dev/null
minhoryang / cloudSettings
Last active Nov 6, 2018 — forked from AilisObrian/cloudSettings
Visual Studio Code Sync Settings Gist
View cloudSettings
minhoryang /
Last active Aug 12, 2017 — forked from pahud/
build your docker-machine on AWS EC2 instance
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 / haproxy.cfg
Created Jul 25, 2017 — forked from jpawlowski/haproxy.cfg
Geeking out with HAproxy on pfSense: The ultimate port 443 TLS/SSL router |
View haproxy.cfg
maxconn 2000
stats socket /tmp/haproxy.socket level admin
uid 80
gid 80
nbproc 1
chroot /tmp/haproxy_chroot
tune.ssl.default-dh-param 2048
# Modern browser compatibility only as mentioned here:
View gist:0e80fb879558af3441eca648ec49d91c
Google Drive.
You can’t perform that action at this time.