共 18 篇文章
显示摘要每页显示  条
Linux下cutecom使用USB转串口线。在Linux下的串口调试一直使用minicom,虽说Linux的精髓不崇尚图形界面,但有时候图形界面下确实有着不少的好处,而Linux下minicom最好的替代品就算cutecom了。$sudo apt-get install cutecom.而USB转串口线推荐大家使用pl2303,这个Linux是自带驱动的,使用会方便的多。插入usb转串口后,使用dmesg | grep usb,...
如果我这样设置profile,那么会使用jdk1.5 : #set java environment JAVA_HOME=/home/wuekzhu/download/jdk1.5.0_22 CLASSPATH=.:$JAVA_HOME/lib.tools.jar PATH=$JAVA_HOME/bin:$PATH如果我这样设置profile,那么会使用/usr/bin/java – >/etc/alternatives/java : #set java environment JAVA_HOME=/home/wuekzhu/download/jdk1.5.0_22 ...
制作U盘启动LINUX安装(Ubuntu12.04)网上有不少的制用U盘启动LINUX进行安装的教程,常见的有安装ubuntu的,有安装Centos的。最新版本为Universal-USB-Installer-1.9.1.4.exe – October 23, 2012,相比着之前的版本,增加了对ubuntu 12.04的DVD版的支持。2. 下载完后,直接运行就可以,下图显示了所支持的LINUX的版本(显示不全):4. 下图是...
假如有这样一个例子:1. 我们已经把一个用来从管道中读取数据的文件句柄(RFD)添加到epoll描述符2. 这个时候从管道的另一端被写入了2KB的数据3. 调用epoll_wait(2),并且它会返回RFD,说明它已经准备好读取操作4. 然后我们读取了1KB的数据5. 调用epoll_wait(2)......调用者可以设定EPOLLONESHOT标志,在 epoll_wait(2)收到事件后epoll会与事件关...
Ubuntu12.04不支持部分手机Android调试开发的解决 | Java&Android开发之旅。Integrated Rate Matching HubBus 002 Device 003: ID 17ef:6019 LenovoBus 002 Device 006: ID 0cf3:1006 Atheros Communications, Inc.$ sudo vim /etc/udev/rules.d/50-android.rules(这个名字随便取的我本地的文件就是51-android.rules)在打开的文件中增加...
If you own an Android Smartphone, you will need sooner or later to use some specific Android tools like adb or fastboot.# sudo add-apt-repository ppa:nilarimogard/webupd8# sudo apt-get update# sudo apt-get install android-tools-adb android-tools-fastboot.# sudo apt-get purge openjdk*# sudo add-apt-repository ppa:webup...
上面的那些命令只能让你存活下来,现在是时候学习一些更多的命令了,下面是我的建议:(陈皓注:所有的命令都需要在Normal模式下使用,如果你不知道现在在什么样的模式,你就狂按几次ESC键)各种插入模式。a → 在光标后插入o → 在当前行后插入一个新行O → 在当前行前插入一个新行cw → 替换从光标所在位置后到一个单词结尾的字符简单的移动...
然后是~/android/.repo/manifests/.git (指向~/android/.repo/manifest.git)它是这个清单文件的版本库。mkdir ~/my-reposmkdir ~/my-repos/<branch-name> 这个是真正的工作目录,可以编译什么的cd ~/my-repos/<branch-name>repo init -u git://android.git.kernel.org/platform/manifest.git -b <branch-name> --reference...
cd $REPOROOTgit init manifestcd manifestvi default.xmlgit add .#首先要设置好git用户与提交代码时的编辑器git config --global user.email "yourname@yourcompany.com"git config --global user.name "Your Name"git config --global core.editor "vi"#获取代码repo init -u ssh://$repouser_in_server@$REP...
# mkdir /pub/git/moon.git # cd /pub/git/moon.git # git init --bare # chown git:git /pub/git/moon.git -R 在本机上操作 # cd moon # git init-db # git add * # git commit -m -a "first" # git remote add master git@192.168.160.83:/pub/git/moon.git # git push master --all 之后...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部