摘要: 文件夹 文件夹 概述 make otapackage BUILT_TARGET_FILES_PACKAGE ota_from_target_files WriteFullOTAPackage SignOutput 总结 概述 make otapackage是Android Build系统支持的命令。 阅读全文
posted @ 2017-06-15 22:00 cxchanpin 阅读(3455) 评论(0) 推荐(0)
摘要: 自苹果引入了Grand Central Dispatch (GCD)(Mac OS 10.6和iOS4.0)后,创建单例又有了新的方法,那就是使用dispatch_once函数,当然,随着演进的进行。还会有很多其它的更好的方法出现。今天就来简要介绍下怎样利用dispatch_once创建单例。 在开 阅读全文
posted @ 2017-06-15 20:55 cxchanpin 阅读(938) 评论(0) 推荐(0)
摘要: import urllib2 import requests #import MySQLdb import webbrowser import string import re from BeautifulSoup import BeautifulSoup def getHtml(page):#获取 阅读全文
posted @ 2017-06-15 20:19 cxchanpin 阅读(337) 评论(0) 推荐(0)
摘要: androidclient一般不直接訪问站点数据库,而是像浏览器一样发送get或者post请求。然后站点返回client能理解的数据格式,client解析这些数据。显示在界面上。经常使用的数据格式是xml和json。 能够理解client事实上是一个你自定义标记语言的浏览器,一般浏览器能解析的是ht 阅读全文
posted @ 2017-06-15 19:19 cxchanpin 阅读(439) 评论(0) 推荐(0)
摘要: 报错的情形例如以下。A用户:视图V_AB用户:视图V_B,而且用到了V_AC用户:须要用V_B,授权过程,A用户下:grant select on V_A to B B用户下:grant select on V_B to C此时报错:ora-01720 授权选项对于'V_A'不存在。那么是什么原因呢 阅读全文
posted @ 2017-06-15 17:39 cxchanpin 阅读(3621) 评论(0) 推荐(0)
摘要: 一. 题目描写叙述 Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the o 阅读全文
posted @ 2017-06-15 16:55 cxchanpin 阅读(184) 评论(0) 推荐(0)
摘要: 1、指针常量 顾名思义,指针‘是’常量,指针不可更改,声明顺序与读法顺序同样。 int a; int * const p = &a //指针常量 此时 *p能够改动*p = 8。(OK) p不能够改动 p++;(ERROR) 2、常量指针 顾名思义。常量‘的’指针 int a,b。 const in 阅读全文
posted @ 2017-06-15 16:20 cxchanpin 阅读(148) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=2506 Description In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample tiling of a 2x17 rectan 阅读全文
posted @ 2017-06-15 14:40 cxchanpin 阅读(277) 评论(0) 推荐(0)
摘要: How Many Maos Does the Guanxi Worth Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 1045 Accep 阅读全文
posted @ 2017-06-15 13:59 cxchanpin 阅读(190) 评论(0) 推荐(0)
摘要: 今天遇到了这个奇葩问题,最后来回比对了一下前辈写过的一段完整代码后才发现问题。 Error大概描写叙述为: 警告: Error setting expression 'XXX' with value '[Ljava.lang.String;@1cb2dd1' ognl.OgnlException: 阅读全文
posted @ 2017-06-15 13:03 cxchanpin 阅读(411) 评论(0) 推荐(0)
摘要: 在虚拟机中使用全屏界面会有更强的用户体验。在编辑该文章的时候就是在使用虚拟机windows2008 R2系统。我的笔记本是苹果双系统。虚拟机安装在win7 64位系统下 1、首先查看主机的屏幕分辨率 在桌面上。右击鼠标。选择屏幕分辨率。查看并记忆该分辨率。 2、在虚拟机上单击鼠标右键,选择屏幕分辨率 阅读全文
posted @ 2017-06-15 12:17 cxchanpin 阅读(1160) 评论(0) 推荐(0)
摘要: 首先说一下这篇博客尽管是标记为原创,可是事实并不是本人亲自写出来的。知识点和样例本人花了一天各处查找和整理终于决定写一个汇总的具体解释,解去各位朋友到处盲目查找的必要,由于不是转载某一个人的内容。故此不标记为转载,由于增加了个人的理解和细心整理所以标为原创,请谅解! 1.首先我们要明白,当我们使用自 阅读全文
posted @ 2017-06-15 11:18 cxchanpin 阅读(174) 评论(0) 推荐(0)
摘要: 转载请注明出处:http://blog.csdn.net/l1028386804/article/details/46605003 在JNI开发中,Java程序须要调用操作系统动态链接库时,报错信息:Can't load IA 32-bit .dll on a AMD 64-bit platform 阅读全文
posted @ 2017-06-15 10:35 cxchanpin 阅读(265) 评论(0) 推荐(0)
摘要: 第一步:下载nexus-webapp-1.9.2.4.war包,然后复制到tomcat下的webapps文件夹中 第二步:启动tomcat 第三步:訪问http://localhost:8080/nexus/显演示样例如以下: 第四步:点击右上角“log in” ,输入username:admin和 阅读全文
posted @ 2017-06-15 10:08 cxchanpin 阅读(267) 评论(0) 推荐(0)
摘要: 简单介绍 Alcatraz是一个帮你管理Xcode插件、模版以及颜色配置的工具。它能够直接集成到Xcode的图形界面中,让你感觉就像在使用Xcode自带的功能一样。 安装和删除 使用例如以下的命令行来安装Alcatraz: 1 2 mkdir -p ~/Library/Application\ Su 阅读全文
posted @ 2017-06-15 09:09 cxchanpin 阅读(202) 评论(0) 推荐(0)
摘要: 好久没写线段树都不知道怎么写了。。。很easy的线段树二分问题 #include<cstdio> #include<set> #include<queue> #include<cstring> #include<algorithm> using namespace std; typedef long 阅读全文
posted @ 2017-06-15 08:36 cxchanpin 阅读(241) 评论(0) 推荐(0)