??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 第一部分 ?使用GDataXML写XML文件 /* ?<!-- 7.客户端请求通讯录信息 --> ?<iq type="get" from="jaywon@localhost/3a5054e5" to="local...
分类:
其他好文 时间:
2015-10-08 21:41:34
阅读次数:
283
一、打开闪回数据库1、确保数据库处于归档模式,如果为非归档模式,将数据库转换成归档模式
SQL> select name,log_mode from v$database;NAME LOG_MODE
--------- ------------
ORCL NOARCHIVELOG
SQL> select flashback_on from v$database;
FLASHBAC...
分类:
数据库 时间:
2015-10-08 21:39:50
阅读次数:
267
C. Marina and VasyaMarina loves strings of the same length and Vasya loves when there is a third string, different from the...
分类:
其他好文 时间:
2015-10-08 21:33:35
阅读次数:
213
报错现象 安装了 python 的 requests 模块,使用中报错,如下 [root@payun?~]#?echo?$PYTHONPATH
[root@payun?~]#?
[root@payun?~]#?python27
Python?2.7.10?(default,?Oct??8?2015,?15:46:46)?
...
分类:
编程语言 时间:
2015-10-08 20:13:42
阅读次数:
489
1,AttributeError: ‘str‘ object has no attribute ‘decode‘,: decode????????????? encode bytes ------> str(unicode)------>bytes decode的目标要死bytes! 2,UnicodeDecodeError: ‘utf-8‘ c...
分类:
编程语言 时间:
2015-10-08 20:13:17
阅读次数:
542
把一下代码放到 lib_main.php/*获取有效订单信息*/function sales_goods_order($goods_id){ $sql = 'select order_id from ' . $GLOBALS['ecs']->table('order_goods').'...
分类:
其他好文 时间:
2015-10-08 20:02:48
阅读次数:
159
#! /usr/bin/python # -*-coding:'uft-8'-*-from __future__ import print_function #python2使用py3的print方法import io,sysf=io.StringIO()sys.stdout=f #重定义sy...
分类:
其他好文 时间:
2015-10-08 20:02:33
阅读次数:
163
Mysql默认查询是不分大小写的,可以在SQL语句中加入binary来区分大小写。binary不是函数,是类型转换运算符,它用来强制它后面的字符串为一个二进制字符串,可以理解为在字符串比较的时候区分大小写。SELECT * FROM t_resource_info WHERE binary RESO...
分类:
数据库 时间:
2015-10-08 20:01:20
阅读次数:
220
1、检查现有python版本 [root@xu ?~]# python -V Python 2.6.6 [root@xu ?~]#? 2、下载Python3.4.3 下载并上传到tmp目录 [root@xu ?tmp]# ls Python-3.4.3.tgz ?yum.log [root@xu ?tmp]#? 3、创建Python安...
分类:
编程语言 时间:
2015-10-08 18:38:14
阅读次数:
162