会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
马肯尼煤牙巴骨
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
9
10
11
12
13
14
15
16
17
···
25
下一页
2022年11月29日
linux下使用 ibus 中州韵输入法
摘要: 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 马肯尼煤牙巴骨
阅读(156)
评论(0)
推荐(0)
2022年11月25日
cpp constexpr 类名推断(gcc需要7.3以上
摘要: #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 马肯尼煤牙巴骨
阅读(66)
评论(0)
推荐(0)
2022年11月23日
ubuntu vim中获取sudo权限保存
摘要: 有时在ubuntu下,用vim编辑了半天文本发现没有权限保存,这时可以用这种方式强制保存 :w !sudo tee % w保存 !执行外部命令 tee 写入到文件 % vim中的变量,当前文件地址,一般是
阅读全文
posted @ 2022-11-23 16:10 马肯尼煤牙巴骨
阅读(176)
评论(0)
推荐(0)
2022年11月22日
ubuntu gdb不能attch
摘要: 在进入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 马肯尼煤牙巴骨
阅读(176)
评论(0)
推荐(0)
linux库环境变量
摘要: 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 马肯尼煤牙巴骨
阅读(95)
评论(0)
推荐(0)
2022年11月16日
模板奇异递归+扩展方法
摘要: #include <iostream> template<class derived> struct base { derived getDerivedType(){}; void interface(){ static_cast<derived*>(this)->interface();}; };
阅读全文
posted @ 2022-11-16 19:17 马肯尼煤牙巴骨
阅读(38)
评论(0)
推荐(0)
2022年10月29日
qt 翻译
摘要: https://blog.csdn.net/libaineu2004/article/details/40189327 懒 得总结了 字太多
阅读全文
posted @ 2022-10-29 11:45 马肯尼煤牙巴骨
阅读(19)
评论(0)
推荐(0)
2022年10月19日
sqltie导出某表
摘要: #导出为sql语句 .mode insert targetTableName .output filename select * from exportTableName
阅读全文
posted @ 2022-10-19 11:26 马肯尼煤牙巴骨
阅读(20)
评论(0)
推荐(0)
2022年10月3日
qt加载 字体
摘要: //加载emoji字体 QString emojiFontFilePath = QApplication::applicationDirPath() + "Fonts/Apple Color Emoji.ttc"; QFile f(emojiFontFilePath); qDebug() << "f
阅读全文
posted @ 2022-10-03 12:46 马肯尼煤牙巴骨
阅读(87)
评论(0)
推荐(0)
2022年8月28日
保存一段qml里使用opengl shader的代码,由于多平台原因暂时用不了
摘要: RowLayout { Layout.fillWidth: true height: 60 Rectangle { Layout.margins: 5 radius: 5 width: 40 height: width Layout.alignment: Qt.AlignVCenter | Qt.A
阅读全文
posted @ 2022-08-28 15:47 马肯尼煤牙巴骨
阅读(73)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
25
下一页
公告