<?xmlversion="1.0"?><cruisecontrol><projectname="SampleCCProject"><bootstrappers><currentbuildstatusbootstrapperfile="../logs/currentbuild.txt"/><svnbootstrapperfile="build-cc.xml"localWorkingCopy="../../../WorkArea/SampleCC..
分类:
其他好文 时间:
2014-11-16 02:04:18
阅读次数:
159
今天在模仿一个demo,想自己去完善一些功能,自己写的时候就遇见了一个坑。。。先看代码:locallabel=cc.ui.UILabel.new({
UILabelType=1,
text="MaxScore10",
font="fonts/font-issue1343.fnt",
x=boardSize.width/2,
y=boardSize.height*0.4,
}):addTo(self.overboard)
:set..
分类:
其他好文 时间:
2014-11-15 06:43:55
阅读次数:
207
hive streaming 报错的解决方案:1、把使用到hive streaming 的sql 分解,例如:select transform a,b,c,d using 'python cc.py' as (e,f) from table,分解成:select a,b,c,d from table...
分类:
其他好文 时间:
2014-11-14 15:37:33
阅读次数:
256
第一次用正则表达式:这东西有点牛啊要求:在一个字符串中找到匹配项: 如下的字符串str:FF FF FF FF CA CB CC CD 02 FF 08 00 00 7C F9 40 65 0F A0 05 00 08 00 FF F2 5F 00 00 00 81 05 01 08 00 05 1...
分类:
其他好文 时间:
2014-11-14 15:33:53
阅读次数:
257
假如有这样1个查询请求,模糊查询标题中包含a%b_cc’d的记录,正确的sql应该是下面这样的: select * from t_sch_work_info t where t.title like ‘%a/%b/_cc”d%’ ESCAPE ‘/’;Spring 并没有提供相应的工具类,...
分类:
数据库 时间:
2014-11-13 23:46:50
阅读次数:
321
概述在进程的创建上UNIX/Linux采用了一个独特的方法,它将进程创建与加载一个新进程映象分离(system系统调用则将这两种操作合并)。这样的好处是有更多的余地对两种操作进行管理。当我们创建了一个进程之后,通常将子进程替换成新的进程映象,这可以用exec系列的函数来进行。当然,exec系列的函数也可以将当前进程替换掉(不调用fork,直接调用exec)。 函数族[map page]信息...
分类:
系统相关 时间:
2014-11-13 22:33:03
阅读次数:
416
MainActivity如下:
package cc.cv;
import android.os.Bundle;
import android.app.Activity;
/**
* Demo描述:
* ThreadLocal使用示例.
* 关于ThreadLocal的官方文档描述
* Implements a thread-local storage, that is, a vari...
分类:
其他好文 时间:
2014-11-13 18:58:41
阅读次数:
179
单线程排序 【快速排序,使用STL sort函数】#include
#include
#include
#include
#include
using namespace std;
#define NUMNUM 8000000L
long nums[NUMNUM]; //待排序数组
bool compare(long a, long b)
{
ret...
分类:
编程语言 时间:
2014-11-13 18:58:09
阅读次数:
472
http://www.1360.cc/ZhanChangJiaoCheng/22851.html
NSMutableAttributedString -> NSAttributedString -> NSObject
----------------------
NSUnderlineStyle
typedef NS_ENUM(NSInteger,
N...
分类:
其他好文 时间:
2014-11-13 16:49:40
阅读次数:
250
先定义一个类PopupLayer
代码PopupLayer.h
#ifndef __crossDT_PopupLayer__
#define __crossDT_PopupLayer__
#include "cocos2d.h"
#include "cocos-ext.h"
USING_NS_CC;
using namespace cocos2d::extension;
c...
分类:
其他好文 时间:
2014-11-13 16:36:10
阅读次数:
352