<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>抽屉</title> <link href="mystyle.css" rel="stylesheet" type="text/css"/> </head> < ...
分类:
其他好文 时间:
2017-05-30 17:46:21
阅读次数:
305
一.zip函数:接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表。 1.示例1: 运行的结果是: [(1, 4, 7), (2, 5, 8), (3, 6, 9)] 从这个结果可以看出zip函数的基本运作方式。 2.示例2: 运行的结果是: [(1, 4), (2, 5), (3, ...
分类:
编程语言 时间:
2017-05-30 13:14:04
阅读次数:
9995
<properties> <!-- 基础配置 --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.locales>zh_CN</project.build.locales> <pr ...
分类:
其他好文 时间:
2017-05-29 22:52:44
阅读次数:
861
Oracle单实例情况下的library cache pin的问题模拟与问题分析 參考自: WAITEVENT: "library cache pin" Reference Note (文档 ID 34579.1) How to Find the Blocker of the 'library ca ...
分类:
数据库 时间:
2017-05-29 22:22:03
阅读次数:
264
Problem statement: Given an m * n matrix M initialized with all 0's and several update operations. Operations are represented by a 2D array, and each ...
分类:
其他好文 时间:
2017-05-29 09:59:23
阅读次数:
154
一个kylin build job执行到第三步Extract Fact Table Distinct Columns时报错: 解决方案:找到执行这个build任务的kylin实例,reload metadata或重启kylin服务(不推荐),然后重新build. 原因分析:执行build的job s ...
分类:
编程语言 时间:
2017-05-28 18:57:39
阅读次数:
1296
Given an integer n, find the closest integer (not including itself), which is a palindrome. The 'closest' is defined as absolute difference minimized ...
分类:
其他好文 时间:
2017-05-28 12:28:00
阅读次数:
229
一、其他相关 1.isinstance(obj, cls) 检查是否obj是否是类 cls 的对象 1 class Foo(object): 2 pass 3 4 obj = Foo() 5 6 print(isinstance(obj, Foo)) 7 # True 2.issubclass(su ...
分类:
编程语言 时间:
2017-05-28 12:27:18
阅读次数:
224
本章将介绍在阿里云的 Centos6.5 模板上安装 Docker 以及在 Ubuntu 14.04 模板上安装 Docker 的过程Centos 6.5 模板上使用Docker首先,通过 ssh 登陆阿里云的server,查看系统版本号号以及内核版本号。Welcome to aliyun Elas ...
分类:
其他好文 时间:
2017-05-27 18:01:21
阅读次数:
212