摘要: https://www.cnblogs.com/idorax/p/6275259.html switch case 语句多的时候 编译器会将switch case 转为跳转表 (.rodata) #include <stdio.h> static int foo_ifelse(char c) { i 阅读全文
posted @ 2020-04-30 18:19 sinferwu 阅读(462) 评论(0) 推荐(0) 编辑
摘要: https://www.right.com.cn/forum/thread-162160-1-1.html http://downloads.openwrt.org/barrier_breaker/14.07/malta/le/ https://oldwiki.archive.openwrt.org 阅读全文
posted @ 2020-04-29 23:58 sinferwu 阅读(155) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/HZJ0619/article/details/89183322 我的电脑使用的ubuntu 最小化安装,所以在设置里面无法看到“share screen”,先要进行下面几部: 1、安装vino:sudo apt install vino 2、安装dcon 阅读全文
posted @ 2020-04-28 16:19 sinferwu 阅读(1236) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1517858 当选择了 CONFIG_CC_OPTIMIZE_FOR_SIZE 它会是Os,否则就是O2。 其实O2和Os,都是一些优化选项的集合: gcc -c -Q -O2 --help=optimizer 阅读全文
posted @ 2020-04-27 10:14 sinferwu 阅读(595) 评论(0) 推荐(0) 编辑
摘要: Ubuntu Unable to correct problems, you have held broken packages /etc/apt/sources.list 被破坏 需要修复 (屏蔽 系统更新的时候 会修改sources.list 导致此问题,所以关闭更新后 需要修改sources. 阅读全文
posted @ 2020-04-19 22:53 sinferwu 阅读(718) 评论(0) 推荐(0) 编辑
摘要: Plantuml 将脚本导出成图片 在脚本处右键,即有导出图片的选项 https://www.coderxing.com/plantuml-the-best-uml-tools.html https://zhuanlan.zhihu.com/p/19900327 vs code 插件 yUML ht 阅读全文
posted @ 2020-04-18 18:16 sinferwu 阅读(173) 评论(0) 推荐(0) 编辑
摘要: core.autocrlf 假如你正在Windows上写程序,又或者你正在和其他人合作,他们在Windows上编程,而你却在其他系统上,在这些情况下,你可能会遇到行尾结束符问题。这是因为Windows使用回车和换行两个字符来结束一行,而Mac和Linux只使用换行一个字符。虽然这是小问题,但它会极大 阅读全文
posted @ 2020-04-18 09:28 sinferwu 阅读(268) 评论(0) 推荐(0) 编辑
摘要: What does `set -x` do? Take a look: help sethelp -m set | less set -x enables a mode of the shell where all executed commands are printed to the termi 阅读全文
posted @ 2020-04-17 23:03 sinferwu 阅读(130) 评论(0) 推荐(0) 编辑
摘要: elf source path https://stackoverflow.com/questions/31333337/how-can-i-get-the-source-code-path-file-names-from-an-elf-filecompired-with readelf holds 阅读全文
posted @ 2020-04-12 22:52 sinferwu 阅读(194) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Samsung/TizenRT/blob/master/build/configs/qemu/HowToRunNetworkStackOnQemu.md https://docs.zephyrproject.org/latest/guides/networkin 阅读全文
posted @ 2020-04-11 16:29 sinferwu 阅读(869) 评论(0) 推荐(0) 编辑