Skip to content

Instantly share code, notes, and snippets.

View rhyzx's full-sized avatar

Bin Xin rhyzx

  • Hangzhou, China
View GitHub Profile
@rhyzx
rhyzx / CSGO.md
Last active September 27, 2017 08:12 — forked from nickbudi/README.md
Budi's Counter-Strike: Global Offensive config

Budi's CS:GO Config

This is my constantly updated CS:GO autoexec config. Changelogs can be found under revisions here

Put autoexec.cfg in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg or take what you want from it and add to your autoexec config!

After the Wild West Simulator 2015 update, video.txt needs to be put in ...\Steam\userdata\<Steam3 ID>\730\local\cfg

Launch Options

@rhyzx
rhyzx / kuberedir.sh
Last active May 30, 2019 09:17
Kubernetes port redirect
#!/usr/bin/env bash
# https://github.com/txn2/kubefwd/issues/35#issuecomment-462524408
# Usage
# kuberedir 3306 172.10.0.10:3306
ID="kuberedir-$(date +%s)"
LOCAL_PORT=${1}
REMOTE=(${2//:/ })
REMOTE_ADDR=${REMOTE[0]}