11 2022 档案

摘要:git config --global diff.tool vimdiff git config --global difftool.prompt false git config --global alias.d difftool git config --global difftool.trus 阅读全文
posted @ 2022-11-29 18:14 马肯尼煤牙巴骨 阅读(571) 评论(0) 推荐(0) 编辑
摘要:https://github.com/rime/home/wiki/RimeWithIBus 1.安装 sudo apt-get install ibus-rime # 五筆86、袖珍簡化字拼音、五筆畫 sudo apt-get install librime-data-wubi librime-d 阅读全文
posted @ 2022-11-29 14:15 马肯尼煤牙巴骨 阅读(116) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <string_view> template<typename T> struct TypeName { constexpr static std::string_view fullname_intern() { #if defined(__ 阅读全文
posted @ 2022-11-25 13:44 马肯尼煤牙巴骨 阅读(54) 评论(0) 推荐(0) 编辑
摘要:有时在ubuntu下,用vim编辑了半天文本发现没有权限保存,这时可以用这种方式强制保存 :w !sudo tee % w保存 !执行外部命令 tee 写入到文件 % vim中的变量,当前文件地址,一般是 阅读全文
posted @ 2022-11-23 16:10 马肯尼煤牙巴骨 阅读(169) 评论(0) 推荐(0) 编辑
摘要:在进入gdb后,直接使用attach ID,出现下面的情况: Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/y 阅读全文
posted @ 2022-11-22 22:32 马肯尼煤牙巴骨 阅读(102) 评论(0) 推荐(0) 编辑
摘要:LIBRARY_PATH 编译时链接 LD_LIBRARY_PATH 运行时链接 LD_LIBRARY_PATH="/home/xx/lib/zlib/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" LD_LIBRARY_PATH="/home/xx/lib/gl 阅读全文
posted @ 2022-11-22 14:30 马肯尼煤牙巴骨 阅读(82) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> template<class derived> struct base { derived getDerivedType(){}; void interface(){ static_cast<derived*>(this)->interface();}; }; 阅读全文
posted @ 2022-11-16 19:17 马肯尼煤牙巴骨 阅读(27) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示