1 2015-09-28 17:32:03.098 天天送[2079:1664555] This application is modifying the autolayout engine from a background thread, which can lead to engine co....
分类:
移动开发 时间:
2015-09-28 19:04:23
阅读次数:
194
PS:只考虑最新版的scala和python2.x,由于python3.x和python2.x区别比较大,而且主流的一些开源项目都用的python2,目前python2一点点在兼容python31.安装PS:python2和scala的安装都很简单(1)python->到官网下载相应的版本http:...
分类:
编程语言 时间:
2015-09-28 19:03:44
阅读次数:
189
python eval 【转】eval(str [,globals [,locals ]])函数将字符串str当成有效Python表达式来求值,并返回计算结果。同样地, exec语句将字符串str当成有效Python代码来执行.提供给exec的代码的名称空间和exec语句的名称空间相同.最后,exe...
分类:
其他好文 时间:
2015-09-28 18:56:11
阅读次数:
184
1. base64 的解密函数select utl_raw.cast_to_varchar2(utl_encode.base64_decode(utl_raw.cast_to_raw('dGVzdA=='))) from dual2. base64 的加密函数select utl_raw.cast_...
分类:
数据库 时间:
2015-09-28 18:52:59
阅读次数:
218
Problem DescriptionThere is a hill with n holes around. The holes are signed from 0 to n-1.A rabbit must hide in one of the holes. A wolf searches the...
分类:
其他好文 时间:
2015-09-28 18:48:12
阅读次数:
157
官方的说明文档很不详细操作也有点小问题,故把操作记录如下。操作系统环境:centos 5.8python 2.4.3创建采集器等操作这里就不说了,见官方文档:http://blog.jiankongbao.com/?p=1285一、因我的python是2.4所以就要安装hashlib、ctypes、...
分类:
其他好文 时间:
2015-09-28 18:46:37
阅读次数:
225
if exists (select * from sysobjects where id = object_id(N'[fn_ChineseToSpell]') and xtype in (N'FN', N'IF', N'TF')) www.2cto.com drop function [f...
分类:
数据库 时间:
2015-09-28 17:31:15
阅读次数:
267
需求:MMSQL查询结果,按查询条件中关键字IN内的列举信息的顺序一一对应排序。分析:使用CHARINDEX 函数。解决方法:SELECT * FROM Product WHERE 1=1AND CustomerCode IN ('AA','BB','CC','DD','EE','FF','GG',...
分类:
数据库 时间:
2015-09-28 16:12:38
阅读次数:
198
select TRANSFORM(*, *, *)using 'python filter.py'as (*, *, *)from t_1HIVE支持pipe操作,将select出来的字段,用我们的脚本进行“操作”1, 分隔符为 \t 并没有采用hive原有的分隔符 \x01 之类的。
分类:
其他好文 时间:
2015-09-28 16:08:31
阅读次数:
510
1、operator.itemgetter函数operator模块提供的itemgetter函数用于获取对象的哪些维的数据,参数为一些序号(即需要获取的数据在对象中的序号),下面看例子。a = [1,2,3]>>> b=operator.itemgetter(1) //定义函数b,获取对象的第1.....
分类:
编程语言 时间:
2015-09-28 15:52:56
阅读次数:
208