一般的配置方法过程如下:
1、安装软件
sudo apt-get install minicom
2、查看端口
找到端口:
这里要注意下,我们用的是USB 转串口,所以其设备是名称要注意,输入以下命令找到USB转串口的位置
dmesg | grep usb
假如有以下内容:
[ 7415.893942] usbserial: USB Serial Driver core ...
分类:
其他好文 时间:
2014-06-09 23:29:39
阅读次数:
242
这文章太简单,大家只看我写中文的地方就可以了
Installing RHEL EPEL Repo on Centos 5.x or 6.x
How to install RHEL EPEL repository on Centos 5.x or 6.x
The following article will describe how to configure a...
分类:
其他好文 时间:
2014-06-08 18:10:54
阅读次数:
250
Node.js 推荐20多个学习网站及书籍
Web 开发人员对 Node.js 日益增多,更多的公司和开发者开始尝试使用 Node.js 来实现一些对实时性要求高,I/O密集型的业务。
很不错的书籍和案例,可以提高nodejs学习和开发,...
分类:
Web程序 时间:
2014-06-08 16:46:38
阅读次数:
213
【题目】
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may only use constant extra space.
For example,
Given the following binary tre...
分类:
其他好文 时间:
2014-06-08 15:46:22
阅读次数:
303
extjs4 tree check 级联选择 实现效果:关键代码:
function changeAllNode(node, isCheck) {
allChild(node, isCheck);
allParent(node, isCheck);
function allChild(nodec, isCheckc) {
var chileNodes = n...
分类:
Web程序 时间:
2014-06-08 15:25:20
阅读次数:
222
安装 现在可以通过ppa的方法来安装sublime text3 了,个人感觉就是有有点儿慢,毕竟要update一下。sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer配置插件 安装完成之...
分类:
其他好文 时间:
2014-06-08 15:04:52
阅读次数:
247
题目
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
方法
使用DFS对树进行遍...
分类:
其他好文 时间:
2014-06-08 10:26:33
阅读次数:
207
1. sudo apt-get install mysql-server, input administrator password , '123'
2. enter mysql promot in command line, 'mysql -u root -p', input password
3. create database "CREATE DATABASE xoops...
分类:
数据库 时间:
2014-06-08 10:26:14
阅读次数:
356
最近各种被墙......gem源 先改成淘宝的
gem sources -a http://ruby.taobao.org/
gem sources -r
http://rubygems.org/
然后
sudo gem install mysql2
如果出现 ZLIB 错误. 是因为你电脑没ZLIB环境.
我是ubuntu 直接用apt安装.
sudo apt-get ...
分类:
数据库 时间:
2014-06-08 08:58:58
阅读次数:
219
前面讲过Node的动作(Action),cocos2d-x中,提供了一个ActionManger,用于管理Action的一些动作,比如停止,暂停等;一、停止所有动作实际上,Node节点已经有了一些简单的动作的管理,比如停止Node实例上的所有动作;
node->stopAllActions()...
分类:
其他好文 时间:
2014-06-07 20:56:33
阅读次数:
356