分类 工具 下的文章
所有工具ubuntu 安装 docker
没有安装过 docker 的 ubuntu 安装 docker的步骤: $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ ...
ubuntu dos2unix
ubuntu 下没有 dos2unix,但是又类似的工具,tofrodos, 安装这个工具,使用两个命令: todos, fromdos 即可。 参考: https://www.jianshu.com/p/d5eb279de997
ssh 图形界面
想要 ssh 到服务器上的特定用户,并使用含 x 的程序,比如说 gitk。 ssh -X user@192.168.0.2 参考: https://blog.csdn.net/fdd096030079/article/details/80986266 https://blog.csdn.ne...
iar 定位 包含错误的路径
当 iar 工程在多个地方复制使用的时候,有时候定位函数的时候,会提示错误的路径。 解决方法: project --> clean,清除, 然后 rebuild all,就可以了。
内核驱动编译,开启 c99
c89,不能在 for 循环定义变量,很麻烦,所以决定用 c99。在 Makefile 里面的写法如下: ccflags-y := -std=gnu99 -Wno-declaration-after-statement 参考:https://blog.csdn.net/yangkunhenry...
source insight 搜索特定符号
当在 source insight 中想要搜索特定的符号,比如说 "struct file {",需要在搜索的时候,把 search method 中的选择,改为 simple string,这样虽然慢一点,但是确实能搜索出来。 参考: https://zhidao.bai...
git 仓库迁移
git 仓库迁移两步就够了。 从原仓库把整个仓库拉下来。 git clone --bare git://192.168.10.XX/git_repo/project_name.git 把仓库推到新的仓库里面去。 cd project_name.git git push --mirror...
最新回复