开发之余,把开发过程中常用的一些内容段做个珍藏,下面的内容是关于python中使用反射的方法的内容,应该是对码农们有一些用途。importsys,types,newdef_get_mod(modulePath):try:aMod=sys.modules[modulePath]ifnotisinstance(aMod,types.ModuleType):raiseKeyErrorexceptKeyE
分类:
编程语言 时间:
2019-08-18 09:28:45
阅读次数:
97
/************************************** * * author:李朴 * company:上海沐雪网络科技有限公司 * website:http://uweixin.cn * createDate:2013-11-1 * update:2014-12-30 * ... ...
分类:
其他好文 时间:
2019-08-14 09:27:04
阅读次数:
128
/************************************** * * author:李朴 * company:上海沐雪网络科技有限公司 * website:http://uweixin.cn * createDate:2013-11-1 * update:2014-12-30 * ... ...
分类:
Web程序 时间:
2019-08-14 09:20:34
阅读次数:
104
/************************************** * * author:李朴 * company:上海沐雪网络科技有限公司 * website:http://uweixin.cn * createDate:2013-11-1 * update:2014-12-30 * ... ...
分类:
Web程序 时间:
2019-08-14 09:19:29
阅读次数:
197
SSH Key 背景 当有多个git账号时,比如: a. 一个gitee,用于公司内部的工作开发;b. 一个github,用于自己进行一些开发活动; 解决方法 生成一个公司用的SSH-Key $ ssh-keygen -t rsa -C 'xxxxx@company.com' -f ~/.ssh/g ...
分类:
其他好文 时间:
2019-08-11 23:08:23
阅读次数:
117
The Company Dynamic Rankings has developed a new kind of computer that is no longer satisfied with the query like to simply find the k-th smallest num ...
分类:
编程语言 时间:
2019-08-09 01:38:56
阅读次数:
157
原创: http://106.13.73.98/__/26/ 原创: http://106.13.73.98/__/26/ ...
分类:
编程语言 时间:
2019-08-07 10:50:45
阅读次数:
117
定义运行方法package com.company; // 包名import java.util.concurrent.locks.ReentrantLock;import java.util.concurrent.locks.Lock;public class ticket implements ...
分类:
编程语言 时间:
2019-08-06 21:32:02
阅读次数:
110
1. Phoenix Phoenix是HBase的开源SQL皮肤。可以使用标准JDBC API代替HBase客户端API来创建表,插入数据和查询HBase数据。 特点 1) 容易集成:如Spark,Hive,Pig,Flume和Map Reduce。 2) 性能好:直接使用HBase API以及协处 ...
分类:
其他好文 时间:
2019-08-06 13:54:25
阅读次数:
231
1016 Phone Bills (25 分) 1016 Phone Bills (25 分) 1016 Phone Bills (25 分) A long-distance telephone company charges its customers by the following rules ...
分类:
编程语言 时间:
2019-08-04 01:35:10
阅读次数:
152