Eigen
把Eigen拷贝到外面,就可以直接 #include <Eigen/Dense>
sudo cp -r /usr/local/include/eigen3/Eigen /usr/local/include
直接可以编译
g++ eigen_text.cpp -o eigen_text
不需要再在CMakeLists.txt里面添加库文件
查看位置
sudo updatedb
locate eigen3
安装 git
ssh-keygen -t rsa -C "1817136760@qq.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/kavin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/kavin/.ssh/id_rsa.
Your public key has been saved in /home/kavin/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:P7HncHBT/wUO3TcCtkTmGfBohby+UKhwSwomxkMzXsQ 1817136760@qq.com
The key's randomart image is:
+---[RSA 2048]----+
| o. ..+O |
| + E oO =. . |
|+ + .o.=..+.o|
|.B . o ..o +.oo|
|+ o = o S o o . o|
| . o . o = . o|
| . * o .|
| . * |
| . |
+----[SHA256]-----+
cat .ssh/id_rsa.pub
ssh-rsa AAAAB... 1817136760@qq.com
ssh -T git@github.com
Hi kavinwkp! You’ve successfully authenticated, but GitHub does not provide shell access.
git config --global user.name "kavinwkp"
git config --global user.email 1817136760@qq.com
git add .
git commit -m "***"
git push -u origin master
rm -rf test.txt # 删除本地仓库文件
git rm test.txt # 删除远程仓库文件
代理网络连接错误
Failed to receive SOCKS4 connect request ack.
git config --global http.proxy 'socks5://127.0.0.1:1080'