WSL1安装 Mar 7, 2023 wsl --install --no-distribution 重启电脑 wsl --set-default-version 1 wsl --install --enable-wsl1 根据提示设置用户名密码 cat > /usr/local/bin/pass <<EOF export http_proxy=http://127.0.0.1:7890 export https_proxy=http://127.0.0.1:7890 export HTTP_PROXY=http://127.0.0.1:7890 export HTTPS_PROXY=http://127.0.0.1:7890 export no_proxy=192.168.0.0/16,127.0.0.1,10.0.0.0/8,172.16.0.0/12,localhost EOF cat > /usr/local/bin/unpass <<EOF export http_proxy= export https_proxy= export HTTP_PROXY= export HTTPS_PROXY= EOF . pass curl https://www.google.com cat > /etc/profile.d/proxy.sh <<EOF . /usr/local/bin/pass EOF
蔡司验光配镜纪实 Mar 7, 2023

今天花重金在一家蔡司专家店配了新的眼镜,来记录下过程。

...
毕业后的这四年 Mar 6, 2023

我即将在这个阳光明媚的春天离开美团,草草总结下毕业后的这四年。

...
千岛湖之旅 Feb 20, 2023 第一次剪一个简短的视频记录生活
Clash透明代理 Jan 19, 2023

clash透明代理可以使用ShellClash,这里记录下其中的核心技术,掌握核心技术才好。

...
使用Surge Mac版作为旁路由网关 Jan 7, 2023 Surge配置文件 [General] loglevel = notify allow-wifi-access = false proxy-test-url = http://connectivitycheck.gstatic.com/generate_204 internet-test-url = http://baidu.com/ test-timeout = 5 http-api-web-dashboard = true http-api = xxxxx@0.0.0.0:9090 # encrypted-dns-server = https://1.12.12.12/dns-query,https://120.53.53.53/dns-query hijack-dns = *:53 [Proxy] 日本 = https, xxxxxxxx, 444, username=xxx, password=xxxx, skip-cert-verify=true, always-use-connect=true 美国 = https, xxxxxxxx, 444, username=xxx, password=xxxx, skip-cert-verify=true, always-use-connect=true [Proxy Group] 通用 = select, 美国, 日本 奈飞 = select, 美国, 日本 电报 = select, 美国, 日本 openai = select, 美国, 日本 codespaces = select, 美国, 日本 推特 = select, 美国, 日本 [Rule] PROTOCOL,QUIC,REJECT-NO-DROP PROTOCOL,UDP,DIRECT DOMAIN-SET,http://xxxxxxxx/mine.yaml,DIRECT,extended-matching DOMAIN-SET,http://xxxxxxxx/apple.yaml,DIRECT,extended-matching DOMAIN-SET,http://xxxxxxxx/twitter.yaml,推特 ...
Starship Shell Dec 16, 2022 官方文档 README.md Windows powershell设置 下载Nerd Font字体,并将字体文件复制到C://Windows/Fonts下 在发布页下载 MSI 包来安装Starship最新版。 powershell以管理员运行下列命令,以放开脚本执行 Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine 参考官方文档,修改PowerShell 配置文件 将以下内容添加到您 PowerShell 配置文件的末尾(通过运行 $PROFILE ...
从异地多活到set化架构 Nov 28, 2022

这也是老图了

...
Homebrew安装指定版本 Nov 28, 2022

需要安装指定版本的thrift,记录下homebrew安装指定版本软件的方法。

...
安卓手机安装google三件套 Oct 26, 2022

之前在telegram群里有人问,怎么给安卓手机安装谷歌三件套。他说的谷歌三件套大概就是google service framework(谷歌服务框架)、google play service、google play store。这里介绍一下如何安装这三个软件。对华为手机可能无效,请谨慎尝试

...