import osimport shutilvpath = "H:/v3/b/"fobj = open('H:/v3/a.txt','rb')line = fobj.readline()while line: line = line.strip('\r\n') filepath = l...
分类:
其他好文 时间:
2014-08-27 18:20:08
阅读次数:
164
/home/tace/openav/source/SeamlessMessage/CPaoFlt.o: In function `CPaoFlt::get_m_strPrmair() const':CPaoFlt.cpp:(.text+0x0): multiple definition of `CP...
分类:
其他好文 时间:
2014-08-27 16:31:18
阅读次数:
189
1、package to install in ubuntu or Debian$ sudo apt-get install -ybuild-essential kernel-package libncurses5-dev bzip22、Prepare Kernel Source and excut...
分类:
移动开发 时间:
2014-08-27 16:20:00
阅读次数:
207
今天是我第一博客文章,希望写出来的东西能让大家看明白,欢迎大家给我留言。html页面:下载我用的ajax像后台发送的请求:/**文件下载*/ function downLoad() { window.open(global_param.context_name+'/upload/filedd...
分类:
编程语言 时间:
2014-08-27 16:10:27
阅读次数:
192
MTK平台上,所有插入到手机中的SIM卡的信息都会存储在数据库com.android.providers.telephony中。原始的数据库图表 1 SimInfo数据表的结构从上图示中,我们可以看到siminfo表的大致结构,包含字段:_id, display_name, name_source,...
分类:
其他好文 时间:
2014-08-27 16:02:47
阅读次数:
321
最近项目需要使用Android的一些基本功能,写插件各种悲剧,google了一下,如获至宝。Nice !string url = String.Format("tel:{0}",phoneNumber);string url = String.Format("sms:{0}?body={1}", n...
分类:
移动开发 时间:
2014-08-27 15:59:37
阅读次数:
231
简单BFS? 感觉不是很好写,不过我觉得我这种写法还是比较飘逸的。#include #include #include #include #include #include #include #include #include #include #include #include #include ...
分类:
其他好文 时间:
2014-08-27 14:27:37
阅读次数:
197
这两天在看《OC高级编程-多线程编程和内存管理》日本人写的那本,该书对arc,block和gcd有了更深层次的解读,非常不错。现在总结一下gcd相关的知识。有关arc和block的参考arc 参考block
网上很多博客都对gcd有过讲解,很多是对gcd的全局队列,主线程队列,创建队列等等,做了单方面的描述,不是很全面系统。下面我们将学习一下系统得gcd。本文主要分为下面几个要点,前几个好点比较好理解,最后可能理解起来有些费劲!
● 什么是gcd,iOS为什么要用多线程
● 创建线程,序列线程和...
分类:
移动开发 时间:
2014-08-27 13:03:47
阅读次数:
376
1、给站点添加完Napa后,在网站内容里点击Napa,如下图:
2、创建一个新的app,如下图:
3、可以在Napa里添加新的项目,如下图:
4、添加新的文件,可以添加web页面、样式表、脚本,如下图:
5、可以设置Napa,如下图:
6、设置用Visual C#语言,这样vs打开可以用C#,如下图:
7、可以点击左侧菜单,Open in...
分类:
其他好文 时间:
2014-08-27 13:02:48
阅读次数:
184
一、项目环境: WIN7 64位,Eclipse 4.2,JDK1.6,JUnit 4.11,JMockit 1.10 二、示例代码: import?static?org.junit.Assert.*;
import?org.junit.runner.RunWith;
import?cn.open.dao.AppDao;
import?c...
分类:
其他好文 时间:
2014-08-27 11:14:18
阅读次数:
4434