
Tool
文章平均质量分 55
火车上遇见
这个作者很懒,什么都没留下…
展开
-
常见adb使用方法
adb devices // 显示当前连接的设备解决adb devices no permission问题which adb // 告诉adb使用路径chown root:root ./adbchmod 4777 ./adbadb kill-serveradb devicessource build/envsetup.shlunch // 会把out原创 2016-09-23 09:01:56 · 897 阅读 · 0 评论 -
工作中常用的git命令
可以使用git --help 查看常用的git命令The most commonly used git commands are: add Add file contents to the indexgit add . // 当在本地对代码进行修改后,把修改的文件添加到索引库中, bisect Find by binary search the c原创 2016-09-22 20:56:32 · 499 阅读 · 0 评论 -
使用github和jekyll搭建自己的blog
偶然的机会听说可以在github建立自己的网站,然后就搜了搜网上的例子,搭建了一个。如果用过git的程序员,整个过程非常简单。1.安装jekyllubuntu为例,安装jekyll需要安装ruby,ubuntu中的ruby版本太旧,会碰到类似的安装错误的问题如果没有安装gem,安装 sudo apt-get install gem$ sudo gem install j原创 2017-01-19 17:22:34 · 598 阅读 · 0 评论 -
kdevelop安装使用运行
Ubuntu下安装kdevelop,很实用的编写C++代码的工具。sudo apt-get install kdevelop就会在Ubutun中看到相应的图标,点击图标,进入程序界面点击 New Project新建工程选择standard模式,工程名字为Hello,编译工具cmake,系统会生成两个对应的文件。main.cpp#include int mai原创 2017-02-21 09:26:37 · 13952 阅读 · 1 评论 -
CMake加入第三方库
CMake构建工程的时候很多程序可以使用写好的库,这就会涉及到库的编译链接过程。这里使用的提到的 Ubuntu下libxml2的安装和使用xml库作为讲解示例,如何安转运行请点击链接。使用kdevelop新建工程名字XmlDemo,CMakeLists.txt文件cmake_minimum_required(VERSION 3.7)project(hello)add_e原创 2018-01-26 16:52:17 · 7509 阅读 · 2 评论