参考资料:
http://sebug.net/paper/books/dive-into-python3/native-datatypes.html
http://blog.csdn.net/hazir/article/details/101597091、Boolean【布尔型】# coding.....
分类:
编程语言 时间:
2014-07-22 23:10:15
阅读次数:
371
#安装1.进入Eclipse, Help->Install New
Software,点击Add按钮:Name: PyDev(随意) Location:
http://pydev.org/updates2.选择PyDev下的PyDev for Eclipse,别的都不要选,否则依赖检查那关过不去。按...
分类:
编程语言 时间:
2014-07-22 23:07:35
阅读次数:
415
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379
bootstrap提供的布局主要有两种,固定布局和流动布局。Bootstrap 固定布局用法 ...
实例:Example of Fixed Layout with Bootstrap version 2.0 from
w3cschool.ccHomeAboutContactw3csch...
分类:
其他好文 时间:
2014-07-22 23:06:55
阅读次数:
812
路径:/boot/grub/grub.cfg配置文件如下:## DO NOT EDIT
THIS FILE## It is automatically generated by grub-mkconfig using templates# from
/etc/grub.d and settings ...
分类:
其他好文 时间:
2014-05-01 16:29:15
阅读次数:
452
题目来源:http://poj.org/problem?id=3525分析:题意:给定一个凸多边形,求多边形中距离边界最远的点到边界的距离。思路 :
每次将凸多边形每条边往里平移d,判断是否存在核;二分d即可。多边形边上的点(x , y)往里平移d 后的 坐标: s , e 为向量的 起点和终点, ...
分类:
其他好文 时间:
2014-05-01 16:27:16
阅读次数:
335
Oracle内部主要存在以下四种SCN 1.系统检查点(system checkpoint)SCN
每当一个检查点完成时,Oracle就把该检查点对应的SCN记录到控制文件中,可以用以下语句查看当前数据库 的检查点SCN: select
CHECKPOINT_CHANGE# from v$datab...
分类:
其他好文 时间:
2014-05-01 16:12:03
阅读次数:
409
使用正则表达式,对QQ群聊天记录进行解析,用于分析日期、成员等维度发言情况。
原始文本是2014-03-28 15:04:25 №┽◎Eagle(369029696) 解析之后yyyy=2014mm = 03dd = 28hh =
15mi =04ss = 25nick = №┽◎Eagleqq =...
分类:
编程语言 时间:
2014-05-01 15:44:08
阅读次数:
388
UIImage*img =[button
imageForState:UIControlStateNormal];
分类:
其他好文 时间:
2014-05-01 15:37:41
阅读次数:
351
原题地址:http://oj.leetcode.com/problems/reorder-list/题意:Given
a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You
must do this...
分类:
编程语言 时间:
2014-05-01 15:37:03
阅读次数:
441