android PopupWindow实现从底部弹出或滑出选择菜单或窗口http://www.open-open.com/lib/view/open1379383271818.htmlhttp://blog.csdn.net/centralperk/article/details/7494441
分类:
移动开发 时间:
2014-07-19 19:17:59
阅读次数:
250
lib/openmax.c#include "apue.h"#include #include #ifdef OPEN_MAXstatic long openmax = OPEN_MAX;#elsestatic long openmax = 0;#endif/* * If OPEN_MAX is i...
分类:
其他好文 时间:
2014-07-18 23:36:31
阅读次数:
279
Linux C/C++编程Shell命令大杂烩...
分类:
编程语言 时间:
2014-07-18 22:06:17
阅读次数:
268
1.ODBC连接mysql 首先ODBC是什么呢?开放数据库互连(Open Database Connectivity,ODBC)是微软公司开放服务结构(WOSA,Windows Open Services Architecture)中有关数据库的一个组成部分,它建立了一组规范,并提供了一组对数据库...
分类:
数据库 时间:
2014-07-18 21:13:25
阅读次数:
407
#coding=gbk'''Created on 2014-5-7'''import os.pathinputPath = './input.txt'outPath = './out.txt'bufferSize = 10inputFile = open(inputPath, 'rb')outFil...
分类:
编程语言 时间:
2014-07-18 20:34:41
阅读次数:
246
随着网络技术,虚拟化技术的发展,越来越多的高级网络设备被加入了到了 Linux 中,这些设备在 UOS 中起到了广泛而关键的作用,包括 Open vSwitch、TAP 设备、Veth 设备等等,梳理这些设备的关系和如何发挥作用无疑将对我们维护、理解 UOS 系统有重要的作用。下面我们以这样一个场景...
分类:
其他好文 时间:
2014-07-18 20:07:02
阅读次数:
470
创建testimg.pyimport sysfrom PIL import Image img = Image.open(sys.argv[1]).convert('YCbCr') w, h = img.size data = img.getdata() cnt = 0 ...
分类:
编程语言 时间:
2014-07-18 19:19:52
阅读次数:
358
首先在php页面生成xml文档并输出,然后在js中处理xml数据: var xhr = createXhr(); xhr.onreadystatechange = getinfo; xhr.open("get",'./07.php'); xhr.send(n...
分类:
其他好文 时间:
2014-07-17 14:22:28
阅读次数:
264
在Linux 下用CMAKE编译的项目进行Debug 需进行设置:1、在未设置之前 进行调试可能会出现错误报告:No source available for ...等一系列错误,这些错误可能就是你想进行程序Debug,但又未进行设置导致的。首先检查用CMAKE编译时:where is the so...
分类:
其他好文 时间:
2014-07-17 10:09:02
阅读次数:
222
在ubuntu14.04上,通过qtcreator进行串口编程时出现:tryingtoopenfile"/dev/ttyS0"couldnotopenfile:权限不够portopenisfalsejgc>ls-al/dev/ttyS0
crw-rw----1rootdialout4,64Mar2321:00/dev/ttyS0
jgc>echoxyzzy>/dev/ttyS0
bash:/dev/ttyS0:Permissiondenied解决方..
分类:
其他好文 时间:
2014-07-17 08:01:38
阅读次数:
455