上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: 本地分支重命名 git branch -m oldName newName 将重命名后的分支推送到远程 git push origin newName 删除远程的旧分支 git push --delete origin oldName 阅读全文
posted @ 2022-01-08 11:16 thammer 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 1.install qt5 development tools on ubuntu18.04:https://lucidar.me/en/dev-c-cpp/how-to-install-qt-creator-on-ubuntu-18-04/ 2.porting qt5 to imx6ul:http 阅读全文
posted @ 2021-07-05 14:05 thammer 阅读(76) 评论(0) 推荐(0) 编辑
摘要: depends Examples: - opt:depends("foo", "test") Require the value of `foo` to be `test`. - opt:depends({ foo: "test" }) Equivalent to the previous exam 阅读全文
posted @ 2021-06-25 17:29 thammer 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 内核启动加载根文件系统后,执行的第一个脚本是init,具体参见内核源码kernel/init/main.c static int __ref kernel_init(void *unused) { ... ... ... if (!try_to_run_init_process("/sbin/ini 阅读全文
posted @ 2021-06-03 20:21 thammer 阅读(977) 评论(0) 推荐(0) 编辑
摘要: 内部变量 linux中shell变量$#,$@,$0,$1,$2的含义解释: $$ :Shell本身的PID(ProcessID) $! :Shell最后运行的后台Process的PID $? :最后运行的命令的结束代码(返回值) $- :使用Set命令设定的Flag一览 $* :所有参数列表。如" 阅读全文
posted @ 2021-04-19 11:09 thammer 阅读(50) 评论(0) 推荐(0) 编辑
摘要: luci原生的调试接口用起来不太舒服,在网上搜到如下调试方法。 将下面的lua代码保存为 log.lua,然后放置于 /usr/lib/lua/luci ,即可在 luci 任意目录进行调用 local M = {} local tconcat = table.concat local tinser 阅读全文
posted @ 2021-03-10 09:42 thammer 阅读(1726) 评论(0) 推荐(0) 编辑
摘要: L2TP: 第二层隧道协议(英语:Layer Two Tunneling Protocol,缩写为L2TP)是一种虚拟隧道协议,通常用于虚拟专用网。L2TP协议自身不提供加密与可靠性验证的功能,可以和安全协议搭配使用,从而实现数据的加密传输。经常与L2TP协议搭配的加密协议是IPsec,当这两个协议 阅读全文
posted @ 2021-01-27 20:48 thammer 阅读(4050) 评论(0) 推荐(0) 编辑
摘要: PPTP(点对点隧道协议):控制包和数据包分开,控制包采用TCP控制,数据包部分封装PPP协议然后封装GREV2协议。由此可见PPTP建立连接前,要求有IP网络。 Ubuntu 20.04.1 上搭建PPtP Server和Client Server端 安装ppp sudo apt install 阅读全文
posted @ 2021-01-27 16:50 thammer 阅读(3309) 评论(0) 推荐(0) 编辑
摘要: 如图 回想我在出现这种异常时,好像操作过vmware的虚拟网络编辑器,删除过一个VMnet0的配置,对比另一台电脑上的虚拟机,发现如果时桥接,应该这么设置VMnet0 或者直接还原默认配置即可。 阅读全文
posted @ 2021-01-22 09:32 thammer 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: https://www.tuziang.com/combat/1237.html 阅读全文
posted @ 2020-12-23 18:17 thammer 阅读(83) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页