上一页 1 ··· 15 16 17 18 19
摘要: 1.通过c直接实现 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> int fileNum=0; ch 阅读全文
posted @ 2017-09-02 23:01 Malphite 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: num=$(tail ./image/1.txt -n 1) num=$(($num+1)) 阅读全文
posted @ 2017-09-02 22:56 Malphite 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1.冒号(:)用法(1)表示机构内位域的定义(即该变量占几个bit空间)typedef struct _XXX{unsigned char a:4;unsigned char c;} ; XXX(2)构造函数后面的冒号起分割作用,是类给成员变量赋值的方法,初始化列表,更适用于成员变量的常量const 阅读全文
posted @ 2017-08-31 16:03 Malphite 阅读(1147) 评论(0) 推荐(1) 编辑
摘要: 参考:http://mesonbuild.com/Running-Meson.html#configuring-the-source https://github.com/google/googletest/blob/master/googletest/docs/Samples.md http:// 阅读全文
posted @ 2017-08-29 17:29 Malphite 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 最早Git是在Linux上开发的,很长一段时间内,Git也只能在Linux和Unix系统上跑。不过,慢慢地有人把它移植到了Windows上。现在,Git可以在Linux、Unix、Mac和Windows这几大平台上正常运行了。 要使用Git,第一步当然是安装Git了。根据你当前使用的平台来阅读下面的 阅读全文
posted @ 2017-08-24 15:17 Malphite 阅读(10009) 评论(1) 推荐(0) 编辑
摘要: 使用TortoiseSVN 创建分支 1、TortoiseSVN(右键)->Repo-browser进入仓库 2、选择需要创建分支的文件->Copy to 3、将新创建branch path填入到框中点击ok 4.、填写提交信息(可选) 至此,svn server上branch创建成功。 MERGE 阅读全文
posted @ 2017-08-24 14:40 Malphite 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1.使用vi命令时,不能正常编辑文件,使用方向键时老是出现很多字母 这个问题主要是新系统直装了vi,没有装vim。因为vi是不能直接按退格键删除字符的,所以当你使用退格键删除字符,只有在按下esc时,那些字符才会消失。。。vim可以直接像记事本一样编辑字符!在网上找了个方法 问题已经解决 分享一下: 阅读全文
posted @ 2017-08-24 11:09 Malphite 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 打开终端开启root账户 sudo passwd -u root 设置root密码,输入两次 sudo passwd root 切换root账号 su - 或 su root 退出root账户使用exit 或ctrl+d 在Ubuntu下 $是普通管员,#是系统管理员 2.创建新用户 root的用户 阅读全文
posted @ 2017-08-24 10:39 Malphite 阅读(7686) 评论(0) 推荐(0) 编辑
摘要: ssh 安装:sudo apt-get install openssh-server 确认sshserver是否启动:ps -aux | grep ssh(/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了。) root 13597 0.0 0.1 61 阅读全文
posted @ 2017-08-24 09:22 Malphite 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 1、buildroot/Config.in 配置default git server eg:config xxxx_GIT_SITE string "git site" default "git@gitlab.xxxxxxx.com" 2、buildroot/package/pkg-download 阅读全文
posted @ 2017-08-01 15:49 Malphite 阅读(872) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19