
工具使用
墨一鉴
软件攻城狮
展开
-
Markdown中的Emoji
偶然间发现Markdown支持Emoji,这让它变得更加好玩????。通用代码 Unicode使用格式为:&#x+unicode+;比如:Unicode Markdown Emoji U+1F601 😁 ???? U+2709 ✉ ✉ U+1F170 🅰 ???? U+1F1E8 🇨🇳 ???转载 2022-01-06 22:47:44 · 512 阅读 · 0 评论 -
vscode 调试 go 程序
DebuggingThe Go extension allows you to launch or attach to Go programs for debugging. You can inspect variables and stacks, setting breakpoints, and do other debugging activities using VS Code’s Debugging UI.These debugging features are possible by usin转载 2021-12-01 08:00:00 · 4188 阅读 · 0 评论 -
postgresql psql 使用
本机登录PostgreSQL:psql -U posgtres -p 5432 -h localhost显示数据库列表:\l连接数据库:\c "database_name"在数据库显示表的列表:\dtor\dt+显示表的列表数据:SELECT * FROM "table_name";参考https://www.cnblogs.com/ryanzheng/p/9575902.htmlhttps://tomcam.github.io/postgres/...原创 2021-11-16 21:43:26 · 524 阅读 · 0 评论 -
gdb 如何跳过断点
https://stackoverflow.com/questions/2956889/how-to-make-a-gdb-breakpoint-only-break-after-the-point-is-reached-a-given-numbe原创 2021-11-16 21:26:02 · 1886 阅读 · 0 评论 -
Vmware 虚拟机设置主机映射端口
需求: 在一个局域网中通过 Vmware 使用NAT模式创建了一个虚拟机(Linux服务器),实现局域网中所有的主机都能够访问应用场景: 一个开发团队在同一个局域网中进行开发,每个人电脑都是 Windows 系统,但是一般服务器是Linux系统,因此一般开发者需要在自己的电脑中安装一个虚拟机,但是虚拟机一般使用 NAT模式创建,但是该模式下,虚拟机可以访问局域网的其他用户,其他用户却不能访问虚拟机,因此如果其他用户想要访问虚拟机,则可以通过端口映射的方式实现(使用桥连接的方式创建则不会出现以上问题,但是会转载 2021-11-16 17:54:06 · 14904 阅读 · 4 评论 -
go 程序的调试
go 编译的程序默认包含调试信息,通过 -ldflags "-w -s" 可去除调试信息。其中-w 去掉DWARF调试信息,-s为去掉符号表。go 语言有多种调试方式,可通过 ide,gdb 等方式调试。ide 比 gdb 要方便不少。当没有 ide 时,使用 gdb 也不错。下面分享两个 gdb 使用技巧:# 有时 打断点不知道文件或函数路径可用下面的方法查找info sources # 列出所有源文件info functions # 列出所有函数## 搜索info sources xxxf原创 2021-11-13 16:00:00 · 1532 阅读 · 0 评论 -
markdown
markdown原创 2021-11-08 20:21:23 · 109 阅读 · 0 评论 -
bash 快捷指令
!!!!!原创 2021-11-02 21:47:11 · 200 阅读 · 0 评论 -
curl 使用
curl cookbook 很不错的使用手册原创 2021-10-30 16:39:43 · 136 阅读 · 0 评论 -
GNU 构建系统 autotools
最近下了一个源码包里面 只有 configure.ac 和 Makefile.am ,说明可以通过 autotools 构建系统构建。按顺序执行以下命令即可生成 configure 文件。详细的等以后补充,先用着。aclocalautoconfautoheaderautomake --add-missing./configuremakemake install...原创 2021-10-18 14:01:47 · 265 阅读 · 0 评论 -
程序员的画图工具
程序员特有的画图方式——语绘工具小入门原创 2021-10-13 21:48:50 · 118 阅读 · 0 评论 -
Linux 命令行:cURL 的十种常见用法
目录获取页面内容显示 HTTP 头将链接保存到文件同时下载多个文件使用 -L 跟随链接重定向使用 -A 自定义 User-Agent使用 -H 自定义 header使用 -c 保存 Cookie使用 -b 读取 Cookie使用 -d 发送 POST 请求获取页面内容当我们不加任何选项使用 curl 时,默认会发送 GET 请求来获取链接内容到标准输出。curl http://www.codebelief.com显示 HTTP 头如果我们只想要显示 HTTP 头,转载 2021-09-28 21:24:10 · 233 阅读 · 0 评论 -
Wireshark: “!=“ May have unexpected results
http://blog.geeky-boy.com/2020/05/wireshark-may-have-unexpected-results.htmlWireshark: “!=” May have unexpected resultsHow is it that I haven’t sung the praises of Wireshark in this blog? It’s one of my favorite tools of all time! I can’t get over how po原创 2021-08-22 10:41:19 · 288 阅读 · 0 评论