博客
分类
标签
归档
随笔
日报
博客
分类
标签
归档
随笔
日报
windows实时绘图工具推荐 live-draw
好用的实时画图工具,免安装就是个可以运行的exe文件,在任何情况下的屏幕上画画,支持保存,超方便呀!https://github.com/antfu/live-draw
2023-01-15
tool
windows
tool
windows
Read More
ubuntu修改nameserver DNS服务器
修改/etc/resolv.conf即可比如在其中添加 nameserver 8.8.8.8 nameserver 8.8.4.4
2023-01-05
tool
linux
tool
linux
Read More
vscode思维导图 draw.io插件
用vscode画思维导图、流程图等好用的插件:draw.io.Integration 装好之后,用vscode打开后缀名为 .drawio, .dio, .drawio.svg or .drawio.png中任意文件,即可进入画图界面:
2022-12-20
tool
tool
Read More
nm 符号表 各段
linux下强大的文件分析工具 – nm - 知乎 (zhihu.com) 检查分析二进制文件、库文件、可执行文件中的符号表,返回二进制文件中各段的信息。
2022-12-10
debug
tool
linux
tool
linux
debug
Read More
objdump 反汇编
objdump options <可执行文件名> -d:将代码段反汇编 -S:将代码段反汇编的同时,将反汇编代码和源代码交替显示,**编译时需要给出-g**,即需要调试信息。 -C:将C++符号名逆向解析。 -l(这个是L):反汇编代码中插入源代码的文件名和行号。 -j section:仅反汇编指定的section。可以有多个-j参数来选择多个section。 举例objdum...
2022-12-10
debug
tool
linux
tool
linux
debug
Read More
bison 匹配模式执行动作 语法匹配
基础用法.y每个 Bison 文件由 %% 分成三部分。 %{ ##include <stdio.h> /* 这里是序曲 */ /* 这部分代码会被原样拷贝到生成的 .c 文件的开头 */ int yylex(void); void yyerror(const char *s); %} /* 这些地方可以输入一些 bison 指令 */ /* 比如用 %st...
2022-12-10
tool
linux
tool
linux
Read More
flex 匹配模式执行动作 词法匹配
定义%{ Declarations %} Definitions %% Rules %% User subroutines 输入文件的第 1 段 %{ 和 %} 之间的为 声明(Declarations) ,都是 C 代码,这些代码会被原样的复制到 lex.yy.c 文件中,一般在这里声明一些全局变量和函数,这样在后面可以使用这些变量和函数。 第 2 段 %} 和 %%...
2022-12-10
tool
linux
tool
linux
Read More
awk 行处理
对于文本中每一行(匹配Pattern的部分)根据分隔符划分,并做action操作 分隔符可指定,默认空格或tab 比如 log.txt文本内容如下: 2 this is a test 3 Are you like awk This's a test 10 There are orange,apple,mongo 行匹配基础用法awk '{[pattern] act...
2022-12-10
tool
linux
tool
linux
Read More
grep 正则匹配过滤
grep [-acinv] [--color=auto] '搜寻字符串' filename -a :将 binary 文件以 text 文件的方式搜寻数据 -c :计算找到 ‘搜寻字符串’的次数 -i :忽略大小写的不同 -n :顺便输出行号 -v :反向选择,不含搜寻字符串的 grep -i 'D' <file2.txt | sort >...
2022-12-10
tool
linux
tool
linux
Read More
less head tail sed
lessless /etc/profile 参数 -N 显示行号 less的动作命令: j 向下移动一行;同vi k 向上移动一行;同vi f 向下滚动一屏;forword b 向上滚动一屏;backword 以上部分命令,请使用q退出 head tailhead -n 10 /etc/profile #显示/etc/profile的前10行内容 tail -n 5 /etc/profi...
2022-12-10
tool
linux
tool
linux
Read More
1 / 7
Next
粘贴文本
全选文本
剪切文本
复制文本
站内搜索
必应搜索
新标签页打开
复制链接地址
复制图片
谷歌识图
常见问题
示例博客
加入社区
本站源码
主题源码
暗黑模式
打印页面
阅读模式