'''httpsqs?????@author xiaopenga = HttpsqsClient('192.168.0.218','1218','httpsqsmmall.com')print a.put('logtest','sdfsfsf')print a.get('logtest')'''im...
分类:
编程语言 时间:
2014-07-07 11:15:30
阅读次数:
249
#自定义函数:import ospath="D:\\Temp_del\\a"def gci (path): parents = os.listdir(path) for parent in parents: child = os.path.join(path,parent)...
分类:
编程语言 时间:
2014-07-07 10:08:15
阅读次数:
343
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- NSURLCache//// Created by apple on 14-7-2.// Copyright (c) 2014年 lwt. All rights reserved....
分类:
其他好文 时间:
2014-07-07 09:42:32
阅读次数:
180
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- POST-JSON数据//// Created by apple on 14-7-2.// Copyright (c) 2014年 lwt. All rights reserved...
分类:
Web程序 时间:
2014-07-07 09:22:26
阅读次数:
192
#-*-coding:utf-8-*-#====================#File:python#Author:python#Date:2014#====================__author__='Administrator'#pythonclass#面向对象编程oop思想,3个...
分类:
编程语言 时间:
2014-07-03 23:24:06
阅读次数:
447
1、列表推导式书写形式: [表达式 for 变量 in 列表] 或者 [表示式 for 变量 in 列表 if 条件] 1 #!/usr/bin/python 2 # -*- coding: utf-8 -*- 3 4 li = [1,2,3,4,5,6,7,8,9] 5 print [x*...
分类:
编程语言 时间:
2014-07-03 23:23:02
阅读次数:
212
查看多核CPU命令mpstat -P ALL 和 sar -P ALL说明:sar -P ALL > aaa.txt 重定向输出内容到文件 aaa.txttop命令经常用来监控linux的系统状况,比如cpu、内存的使用,程序员基本都知道这个命令,但比较奇怪的是能用好它的人却很少,例如top监控视图...
分类:
系统相关 时间:
2014-07-03 23:10:38
阅读次数:
336
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- 大文件下载//// Created by apple on 14-6-28.// Copyright (c) 2014年 lwt. All rights reserved.//#i...
分类:
其他好文 时间:
2014-07-03 23:08:37
阅读次数:
236
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- 文件上传//// Created by apple on 14-6-30.// Copyright (c) 2014年 lwt. All rights reserved.//#im...
分类:
其他好文 时间:
2014-07-03 23:07:34
阅读次数:
196
--启用or禁用指定表所有外键约束 alter table tbname NOCHECK constraint all alter table tbname CHECK constraint all--查看约束select name , is_disabled from sys.forei...
分类:
数据库 时间:
2014-07-03 22:41:58
阅读次数:
416