远程点灯实验实验目的: 实现远程点灯,通过gprs 自带调试软件发送信息,完成智能家具远程点灯实验。1.定制arm系统 使用uboot资料自带的!在内核中添加pl2303串口驱动,进行u口转串口的使用,因为我使用的arm板子,串口不够用,还需...
分类:
其他好文 时间:
2016-01-01 20:57:08
阅读次数:
298
题目来源https://leetcode.com/problems/unique-paths-ii/Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique ...
分类:
编程语言 时间:
2016-01-01 18:53:12
阅读次数:
200
1、查看负载uptime10:37:55 up 1 day, 13:13, 1 user, load average: 0.00, 0.00, 0.00在过去1分钟、5分钟、15分钟内平均进程数量2、查看用户w 15:43:31 up 4 days, 16:26, 1 user, load...
分类:
系统相关 时间:
2016-01-01 16:51:44
阅读次数:
197
Linux网络配置命令:Ifconfig命令:查看和管理本机地址信息;ifconfig[interface]:显示本机所有处于活动状态的地址-a:所有接口eth0:只显示eth0的信息ifconfiginterface[aftype]options|address...ifconfigthe0ip/mask[up|down]:启用接口ifconfigeth0172.16.100.11/16或者:ifc..
分类:
其他好文 时间:
2016-01-01 15:07:13
阅读次数:
375
题目:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up: Did you use extra space?A straight forward ...
分类:
其他好文 时间:
2016-01-01 11:02:14
阅读次数:
170
Mobile Setting Up the Development Environment iOS From Scratch With Swift: How to Test an iOS Application on a Device Web Rendering Image Previews Usi...
分类:
其他好文 时间:
2016-01-01 00:33:04
阅读次数:
240
PKBelongs to primary key作为主键NNNot Null非空UQUnique index不能重复BINIs binary column存放二进制数据的列UNUnsigned data type无符号数据类型(需要整数形数据)ZFFill up values for that co...
分类:
数据库 时间:
2015-12-31 21:01:16
阅读次数:
178
关于四舍五入:ROUND_HALF_UP: 遇到.5的情况时往上近似,例: 1.5 ->;2ROUND_HALF_DOWN: 遇到.5的情况时往下近似,例: 1.5 ->;1BigDecimal a = new BigDecimal(1.5);System.out.println("down="+a...
分类:
其他好文 时间:
2015-12-31 12:30:13
阅读次数:
171
ACTION_MASK在Android中是应用于多点触摸操作,字面上的意思大概是动作掩码的意思吧。在onTouchEvent(MotionEventevent)中,使用switch(event.getAction())可以处理ACTION_DOWN和ACTION_UP事件;使用switch(even...
分类:
其他好文 时间:
2015-12-31 10:31:29
阅读次数:
154
Scale Out(也就是Scale horizontally)横向扩展,向外扩展Scale Up(也就是Scale vertically)纵向扩展,向上扩展无论是Scale Out,Scale Up,Scale In,实际上就是一种架构的概念,这些概念用在存储上可以,用在数据库上,网络上一样可以。...
分类:
其他好文 时间:
2015-12-31 07:10:56
阅读次数:
176