Skip to content

Instantly share code, notes, and snippets.

@ichbinblau
ichbinblau / system_config
Created September 10, 2021 07:46
go path and go bin config
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH/bin
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
@ichbinblau
ichbinblau / git
Last active September 13, 2021 02:55
git commands
# Commit code for the first time
git init
git remote add origin https://github.com/ichbinblau/tfrecord_generator.git
git add .
git cm -s "initial commit"
git push origin master
# Checkout code
git clone https://github.com/otcshare/smarthome-web-portal
git checkout <branch_name>
@ichbinblau
ichbinblau / system_config
Last active September 10, 2021 06:09 — forked from rbenaley/ssh_config
GitHub ssh access via HTTP Proxy
host github.com
user git
hostname ssh.github.com
port 443
proxycommand socat - PROXY:<hostname>:%h:%p,proxyport=<port>