会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夏日已末
博客园
首页
新随笔
联系
订阅
管理
2021年7月9日
对‘Glib::XXX’未定义的引用
摘要: 在编译easystroke的时候出现了很多未定义的引用错误,最终导致编译失败 g++ -o easystroke main.o handler.o composite.o shape.o win.o gesture.o stats.o actiondb.o prefdb.o actions.o pr
阅读全文
posted @ 2021-07-09 15:05 夏日已末
阅读(266)
评论(0)
推荐(0)
2021年6月28日
ubuntu18.04循环登录
摘要: 试过以下几个方法都没用 修改/etc/profile 重装gdm startx 删Xauthority文件 没有.xession-errors文件 解决方法可以参考https://zhuanlan.zhihu.com/p/135874872 先按Ctrl + Alt + F2 电脑里面也没有nvid
阅读全文
posted @ 2021-06-28 11:46 夏日已末
阅读(472)
评论(0)
推荐(0)
2020年11月7日
正则表达式匹配/**/注释
摘要: /\*[\s\S]*?\*/
阅读全文
posted @ 2020-11-07 15:02 夏日已末
阅读(2419)
评论(0)
推荐(2)
利用正则表达式匹配C语言函数名
摘要: #单行函数 形如 static type fun(type para1,type para2...) (static\s*){0,1}\w{1,}\s{1,}\w{1,}\s*\(.*\)[^;] #多行函数 形如 static type fun(type para1, type para2, ty
阅读全文
posted @ 2020-11-07 14:45 夏日已末
阅读(1788)
评论(0)
推荐(0)
2020年6月16日
python-docx 中删除表格某一行
摘要: 参考:https://stackoverflow.com/questions/55545494/in-python-docx-how-do-i-delete-a-table-row def remove_row(table, row): tbl = table._tbl tr = row._tr t
阅读全文
posted @ 2020-06-16 16:03 夏日已末
阅读(2663)
评论(1)
推荐(0)
2020年5月10日
Qt 子控件在设置setAcceptDrops后拖入显示禁止图标解决方法
摘要: 原因可能是父控件也设置了可拖拽熟悉 解决方法:在子控件中重写 dragMoveEvent事件 def dragMoveEvent(self, e): item = e.source() if None is item: e.accept() elif item.isAncestorOf(self):
阅读全文
posted @ 2020-05-10 09:10 夏日已末
阅读(2941)
评论(0)
推荐(0)
2019年11月13日
git便携版 添加git-bash到右键菜单
摘要: 注册表路径 HKEY_CLASSES_ROOT\Directory\Background\shell 新建项取名open in git 默认设置为右键显示的名称 Git Bash Here 新建字符串值名称Icon,值为图标地址,例如我的地址如下 F:\CODE\PortableGit-2.23.0
阅读全文
posted @ 2019-11-13 20:57 夏日已末
阅读(945)
评论(0)
推荐(0)
2019年11月12日
H3C S3600V2 通过CONSOLE配置端口镜像
摘要: 前24口为百兆口 对应序号为 Ethernet 1/0/(0~24) 25 26为千兆口 对应序号为 GigabitEthernet 1/0/(25~26) 以下是通过25号千兆口监听1号百兆口的例子 1.先创建本地镜像组1 2.定义25号端口为镜像目的端口 3.设置1号端口为被镜像端口 <H3C>
阅读全文
posted @ 2019-11-12 11:15 夏日已末
阅读(1249)
评论(0)
推荐(0)
2019年10月26日
python 直角图标生成圆角图标
摘要: 参考链接:https://stackoverflow.com/questions/11287402/how-to-round-corner-a-logo-without-white-backgroundtransparent-on-it-using-pi 用了三种方法,第三种方法效果最好,效果如下图
阅读全文
posted @ 2019-10-26 11:01 夏日已末
阅读(1098)
评论(0)
推荐(0)
2019年10月24日
在有多个网卡,配置了多个IP的情况下,python 获取本地网卡的主IP
摘要: 如图所示有多个网卡 本地网卡配置了多个IP
阅读全文
posted @ 2019-10-24 18:32 夏日已末
阅读(1045)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享