dae_setup
dae手动编译安装与配置安装编译依赖要求123456# clang >= 10llvm >= 10 (optional)golang >= 1.18make# 安装(如果是及以上ubunut22.04,对应版本都满足)$ sudo apt install clang llvm golang make -y
编译1234567891011121314# 将dae源码clone到本地$ git clone https://github.com/daeuniverse/dae.git# 进入dae文件夹$ cd dae# 初始化并更新子模块$ git submodule update --init# 最小依赖编译,这里的"\",是换行输入符号,目的是将指令换行书写便于查看$ make GOFLAGS="-buildvcs=false" \ CC=clang# 常规编译make
安装12345678910111213# 编译后可在当前文件夹得到可二进制文件dae# 给予可执行权限sudo chmod +x ./dae# 将文件添加到/ ...
hexo-migration
CausationDue to I change my Linux distrobution from archlinux to ubuntu,so I need to make an migration for hexo blog
MigrationCopy the blog’s source file, config files
12$ cp ~/blog/source ~/blog-backup$ cp ~/blog/_config.* ~/blog-backup
Create a new blog directory
1$ mkdir blog
Setup hexo1234567891011$ cd blog# install hexo-cli$ npm install -g hexo-cli#check installation# hexo -v# init hexo$ hexo init$ npm install
Setup butterfly1234567891011121314151617181920# install theme$ npm install hexo-t ...
markdown lint vale configuration
markdown lint vale configuration
using mason install vale
sync the vale package for the first usage
1234567891011$ mkdir ~/.config/vale/.vale.ini$ vim .vale.ini# add those# sync Styles to the global configStylesPath = .MinAlertLevel = suggestionPackages = RedHat, alex[*]BasedOnStyles = Vale, RedHat, alex
sync the mason package with global config
1~/.local/share/nvim/mason/packages/vale/vale --config=$HOME/.config/vale/.vale.ini sync
Referencevalenvim-lint issue
notes taking with vimtex
Install texliveDownload it at tsinghua, choose the texlive.iso*
Install perl-tk, for texlive installation
1$ sudo apt install perl-tk
Load the texlive ISO file (do not care the warning)
12345$ sudo mount -o loop yourtexlive.iso /mnt$ cd /mnt# launch the GUI, just click install it$ sudo ./install-tl -gui
Adding another packages
12345# adding chinese support$ sudo apt install texlive-lang-chinese# adding some package and fonts support$ sudo apt install texlive-latex-base texlive-latex-extra texliv ...
ros2 humble installation on archlinux
安装ros2安装包只支持ubuntu, archlinux则需要自己编译
方法一使用aur包编译安装:1$ yay -S ros2-humble但是遇到编译依赖报错command sip-build not found折腾了半天没弄好
方法二使用arch4edu的源,里面有已经编译好的包
添加源
安装1$ sudo pacman -S ros2-humble
其他问题使用节点图的时候报错1$ ImportError: No module named pydot
解决方法:安装python-pydot模块1$ sudo pacman -S python-pydot
参考资料:https://www.reddit.com/r/ROS/comments/1436gbb/ros2_on_arch/
github ssh connection error
起因:在使用hexo的hexo deploy时报错,显示Connection closed by 20.205.243.166 port 22,最初以为是hexo配置的问题,后来单独测试了github ssh连接
尝试使用ssh clone自己的仓库报错情况:12345678➜ spencer@spencerarch ~ git clone git@github.com:ispencerlee/ispencerlee.github.io.gitCloning into 'ispencerlee.github.io'...Connection closed by 20.205.243.166 port 22fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
ssh连接github报错测试ssh链接是否正常
正常情况:12➜ spencer@spencerarch ~ ...
campus network pppoe dial
拨号方法
确认个人校园网的运营商
运营商
英文缩写
电信
telecom
联通
unicom
移动
cmcc
校园网
haust
拨号格式帐号:学号@运营商英文缩写密码:校园网密码
优势
可以摆脱校园网只能连接一个设备的限制
相比连WiFi更加稳定
发现过程
打开校园网连接认证界面,地址:10.10.10.11
打开浏览器开发者工具,定位到选择运营商的窗口, 将看到如下内容,即不同运营商对应的英文缩写
这里的缩写是wtelecom, 因为这是WiFi的连接,w即代表WiFi, 所以在有线拨号的时候需要去掉w