Skip to content

Instantly share code, notes, and snippets.

View llleonzhao's full-sized avatar
🏠
Working from home

leon zhao llleonzhao

🏠
Working from home
  • shanghai,china
View GitHub Profile
@moenn
moenn / wsl_socks5.md
Last active August 12, 2022 14:32
为 windows wsl 配置 socks5 代理

windows代理软件需要开启允许LAN连接

1. 安装 polipo

sudo apt install polipo

2. 配置 polipo

vim /etc/polipo/config
在文件中写入如下内容:

socksParentProxy = "localhost:1080"
socksProxyType = socks5
@bradtraversy
bradtraversy / npmcrashcourse.txt
Last active December 8, 2024 04:20
NPM Crash Course Commands
# GET VERSION
npm -v (or --version)
# GET HELP
npm help
npm
# CREATE PACKAGE.JSON
npm init
npm init -y (or --yes)
@alanljj
alanljj / user-rule.txt
Created August 30, 2016 08:40
Shadowsocks 用户自定义翻墙规则
@@||ithome.com
||jsfiddle.net
||go.com
||cloudfront.net
||live.com
||coursera.org
||fluidui.com
@@||temp.im
||uxpin.com
||slack.com
@guweigang
guweigang / git_toturial
Last active May 5, 2025 09:24
git命令大全
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "[email protected]" # 配置邮件
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global --unset http.proxy # remove proxy configuration on git
git clone git+ssh://[email protected]/VT.git # clone远程仓库