MacOS问题

设置Clash终端代理

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
cat > ~/.bash_profile << EOF
function proxy_on() {
    export http_proxy=http://127.0.0.1:7890
    export https_proxy=\$http_proxy
    echo -e "终端代理已开启。"
}

function proxy_off(){
    unset http_proxy https_proxy
    echo -e "终端代理已关闭。"
}
EOF

source ~/.bash_profile

proxy_on

Git问题

iPv6 & iPV4 报错

  1. 报错
1
fatal: unable to access 'https://github.com/DowneyFlyfan/downeyflyfan.github.io/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
  1. 解决方案
  • 关闭iPv6网络
1
networksetup -setv6off Wi-Fi

LaTeX问题

  1. 图片的Caption里不要加入转义字符
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy