会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Anonymous
only to record some tricky things ...
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
23
下一页
2022年5月14日
ImportError: dynamic module does not define init function (initycm_core) 错误原因
摘要: Closing as this looks like a mismatch between build library and Python versions;编译版本与实际版本不同导致。(完)
阅读全文
posted @ 2022-05-14 23:52 Anonymous596
阅读(273)
评论(0)
推荐(0)
2022年5月12日
pcre-config not installed
摘要: 编译安装 swig 或 nginx 时需要 pcre-config, 在 ubuntu 下可以这么安装, $ sudo apt-get install libpcre3-dev $ pcre-config --version (完)
阅读全文
posted @ 2022-05-12 20:56 Anonymous596
阅读(87)
评论(0)
推荐(0)
2022年5月7日
virtualbox 虚拟机问题 [drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message
摘要: 如题,虚拟机开机提示如下错误信息, 解决方案,修改显卡控制器为 VBoxVGA 如下,(注意,更改默认的推荐设置后,设置框底部可能出现无效设置的提示,没有影响,无需担心) (完)
阅读全文
posted @ 2022-05-07 09:25 Anonymous596
阅读(2307)
评论(0)
推荐(0)
2022年5月3日
Linux 常用的磁盘空间查看命令
摘要: 查所有 ext4 磁盘, $ df -ht ext4 查某个文件夹大小, $ du -hd 1 <folder name> (完)
阅读全文
posted @ 2022-05-03 16:57 Anonymous596
阅读(149)
评论(0)
推荐(0)
2022年4月18日
coredump 文件设置
摘要: 查看 coredump 文件是否开启,如下输出表示没有开启 $ ulimit -a core file size (blocks, -c) 0 ... $ ulimit -c 0 临时开启, $ ulimit -c unlimited 要永久开启,将语句加入 /etc/profile, ulimit
阅读全文
posted @ 2022-04-18 15:12 Anonymous596
阅读(429)
评论(0)
推荐(0)
2022年4月12日
pylint 报 Class 'xxx' has no 'object' member pylint (no-member) 的问题解决
摘要: 首先安装 pylint-django, $ sudo pip3 install pylint-django 然后设置 pylint 启动选项,如下图, (完)
阅读全文
posted @ 2022-04-12 10:47 Anonymous596
阅读(105)
评论(0)
推荐(0)
2022年4月11日
virtualbox share folder 的 mount
摘要: 假设 share folder 名为 vbox_share, 则在虚拟机中使用以下命令即可, $ sudo mount -t vboxsf vbox_share /mnt (完)
阅读全文
posted @ 2022-04-11 23:15 Anonymous596
阅读(138)
评论(0)
推荐(0)
2022年3月23日
pip.conf
摘要: 可以创建一个 pip.conf 文件,用于增加默认配置,例如,创建文件 /etc/pip.conf 并填入以下内容, [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host = http
阅读全文
posted @ 2022-03-23 15:59 Anonymous596
阅读(876)
评论(0)
推荐(0)
2022年3月22日
使用 pyreverse 生成 Python 代码库的 UML 图
摘要: 安装 pylint 以后可以使用 pyreverse 生成 Python 代码库的 dot 文件,并且可以调用 graphviz 生成 png, pdf 等 $ sudo pip3 install pylint $ sudo pip3 install graphviz 下载 https://www.
阅读全文
posted @ 2022-03-22 13:15 Anonymous596
阅读(769)
评论(0)
推荐(0)
2022年3月3日
sed 的文本插入,添加,替换
摘要: 给每个 log 文件第一行插入 hello world, $ find . -name '*.log' | xargs sed -i '1 i\hello world' 给每个 log 文件匹配模式 bcd (可以使用其他正则表达例如 \w+\d+\w+ etc.) 行之前插入 hello worl
阅读全文
posted @ 2022-03-03 19:41 Anonymous596
阅读(181)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
23
下一页
公告