随笔分类 -  01-归档

摘要:bcd处理小源码 #include <string> #include <stdint.h> void BCD2ASC(unsigned char *asc, const unsigned char *bcd, int len) { static unsigned char bcd2ascii[16 阅读全文
posted @ 2021-10-20 19:44 zongzi10010 阅读(179) 评论(0) 推荐(0) 编辑
摘要:ethtool交叉编译使用 最近公司的产品出现网卡不断重启,即不断up/dowm,换了一个交换机或者电脑直连是可以的,大部分的交换机是不行的. 搜索资料后查询网卡与交换机不兼容,尝试强制固定速率,发现工具ethtool 交叉编译下载 https://sourceforge.net/projects/ 阅读全文
posted @ 2021-02-20 11:47 zongzi10010 阅读(396) 评论(0) 推荐(0) 编辑
摘要:#include <sys/mman.h> #include <stdio.h> #include<string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> #inclu 阅读全文
posted @ 2020-10-22 14:33 zongzi10010 阅读(102) 评论(0) 推荐(0) 编辑
摘要:cmake 修改 option(WITH_TOOLS "Build utility tools" YES ) option(WITH_TESTS "Build tests" NO ) option(WITHOUT_PNG "Disable PNG support" YES) #1.屏蔽PNG opt 阅读全文
posted @ 2020-10-09 21:36 zongzi10010 阅读(331) 评论(0) 推荐(0) 编辑
摘要:# 我的VsCode插件列表 - 打开终端,位置切换到当前文件下,两个类似的插件, [1](https://marketplace.visualstudio.com/items?itemName=Tyriar.vscode-terminal-here) | (2 国人写的)[https://mark 阅读全文
posted @ 2020-05-26 11:44 zongzi10010 阅读(208) 评论(0) 推荐(0) 编辑
摘要:ctrl+z, 返回 fg 阅读全文
posted @ 2020-05-22 22:05 zongzi10010 阅读(128) 评论(0) 推荐(0) 编辑
摘要:通用代码工具 "代码分享(ubuntu)" | "各种语言API在线查询 devdocs.io" | "GDB在线指令速查" C++文档资料 "API快速查询 cppreference.com " 在线代码编辑调试 "在线GDB" GNU系列工具 阅读全文
posted @ 2020-04-23 20:20 zongzi10010 阅读(450) 评论(0) 推荐(2) 编辑
摘要:nfs内网穿透失败记录 修改nfs的固定端口 重启服务 端口查看 端口映射 | | 31 | 6 | | tcp | 32049 | 0.0.0.0:2049 | | open | open | online | | | | | | | | | | | | | | | | | 32 | 6 | | 阅读全文
posted @ 2020-04-18 10:09 zongzi10010 阅读(1468) 评论(0) 推荐(0) 编辑
摘要:nohup 命令 参数 & nohup no hang up 的缩写,就是不挂断的意思 忽略SIGHUP信号 shell中断 会话 关闭会话的时候发出SIGHUP信号,我们使用nohup 可以忽略这个 信号 进程组 多个集合 进程 阅读全文
posted @ 2020-03-16 11:51 zongzi10010 阅读(214) 评论(0) 推荐(0) 编辑
摘要:在线 在线API查询 https://devdocs.io/ 非官方的zeal文档订阅地址 http://zealusercontributions.herokuapp.com 阅读全文
posted @ 2020-03-14 13:56 zongzi10010 阅读(152) 评论(0) 推荐(0) 编辑
摘要:博客工具 docsify 一个好看的模板 https://github.com/BNDong/Cnblogs Theme SimpleMemory 图床工具PicGo https://github.com/Molunerfinn/PicGo cdn https://blog.csdn.net/qq_ 阅读全文
posted @ 2020-03-12 21:45 zongzi10010 阅读(178) 评论(0) 推荐(0) 编辑
摘要:Mark 阅读全文
posted @ 2020-03-12 15:19 zongzi10010 编辑
摘要:https://learngitbranching.js.org 阅读全文
posted @ 2020-03-01 23:24 zongzi10010 阅读(143) 评论(0) 推荐(0) 编辑
摘要:title: openssl交叉编译 date: 2019/12/18 21:09:33 toc: true openssl交叉编译 [TOC] 阅读全文
posted @ 2019-12-18 21:12 zongzi10010 阅读(471) 评论(0) 推荐(0) 编辑
摘要:title: Goahead date: 2019/11/6 09:45:01 toc: true Goahead [TOC] 目录说明 Ubuntu编译 make selfkey处理 测试 具体的install目录 交叉编译 如果有错误提示 undefined reference to `__st 阅读全文
posted @ 2019-11-30 15:20 zongzi10010 阅读(692) 评论(0) 推荐(0) 编辑
摘要:类转换分为两个角度 转换自身为其他类型 把其他类型转换为自身 Example: 这里我们可以将b转换为class xxx 的类型(方式2),也可以将me转换为double,然后再讲结果转换为doubleclassxxxme; doubleb=0; class a=me+b; double a2=me+b; 重载转换函数(转换自身到... 阅读全文
posted @ 2019-10-20 15:55 zongzi10010 阅读(446) 评论(0) 推荐(0) 编辑
摘要:c++ hex string array 转换 效果如下 c++ include include include include // 大写转换 include using namespace std; class string_help { public: string_help(); stati 阅读全文
posted @ 2019-10-15 17:40 zongzi10010 阅读(2104) 评论(0) 推荐(0) 编辑
摘要:title: sqlite3数据库修复SQLite database disk image is malformed date: 2019/10/9 19:52:14 toc: true sqlite3数据库修复SQLite database disk image is malformed [TOC 阅读全文
posted @ 2019-10-09 20:01 zongzi10010 阅读(290) 评论(0) 推荐(0) 编辑
摘要:title: 为博客园增加右侧目录 date: 2019/4/24 19:41:40 toc: true 为博客园增加右侧目录 来源 "自这里" 后续更新 等待第二天,自己上传的js和css文件就可以访问了 这里源作者的css文件加了点东西,而且也不知道为什么我自己按照教程上传的 和`css`文件无 阅读全文
posted @ 2019-04-24 19:47 zongzi10010 阅读(455) 评论(0) 推荐(0) 编辑
摘要:title: 字符编码笔记 date: 2019/1/30 17:20:42 toc: true 字符编码笔记 引入 在用 处理多个文件的时候,里面存有不同编码,使用晚上copy的编码判断也不好使,而我的目的也很简单,就是在第二行加入一串文字,比如 .那么,在不同编码下是否能通过读取二进制字节的方式 阅读全文
posted @ 2019-01-30 16:54 zongzi10010 阅读(174) 评论(0) 推荐(0) 编辑

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