# coding: utf-8 def login(func): print("the first level") def inner1(*args): print("the second level") def inner2(*args): print("the third level") def
分类:
其他好文 时间:
2016-02-08 21:27:29
阅读次数:
348
题 Description Give a time.(hh:mm:ss),you should answer the angle between any two of the minute.hour.second hand Notice that the answer must be not mor
分类:
其他好文 时间:
2016-02-06 01:52:43
阅读次数:
210
原文链接地址:http://blog.csdn.net/Donjuan/article/details/3859160 在现在C++、Java、.Net代码大行其道的时候,很多代码错误(Bug)都是通过异常的形式表现出来的。由于工期紧或者种种原因,很多程序员在碰到程序发生未处理的异常的第一反应就是t...
分类:
其他好文 时间:
2016-02-03 09:49:46
阅读次数:
278
INTERVAL DAY TO SECOND类型可以用来存储单位为天和秒的时间间隔。下面这条语句创建一个名为promotions的表,用来存储促销信息。promotions表包含了一个INTERVAL DAY TO SECOND类型的列duration,该列用来记录促销有效的时间间隔: CREATE
分类:
数据库 时间:
2016-02-02 17:42:27
阅读次数:
248
字 word 字节 byte 位 bit 字长是指字的长度 1字=2字节(1 word = 2 byte) 1字节=8位(1 byte = 8bit) 一个字的字长为16 一个字节的字长是8 bps 是 bits per second 的简称。一般数据机及网络通讯的传输速率都是以「bps」为单位。如
分类:
其他好文 时间:
2016-02-02 16:19:34
阅读次数:
112
pair 用于两个数据对象合成一个,其中的两个数据对象可以为任何数据类型,包括自己定义的结构体,组成的成员为first和second。可直接构造,pair<int,int>rectangle(2,3);也可以使用make_pair函数,pair<int,int>rectangle;int a=2;i
分类:
其他好文 时间:
2016-02-02 14:44:58
阅读次数:
112
字 word 字节 byte 位 bit 字长是指字的长度 1字=2字节(1 word = 2 byte) 1字节=8位(1 byte = 8bit) 一个字的字长为16 一个字节的字长是8 bps 是 bits per second 的简称。一般数据机及网络通讯的传输速率都是以「bps」为单位。如
分类:
其他好文 时间:
2016-02-02 14:39:55
阅读次数:
96
关于Java泛型擦除后,继承一个泛型类带来的问题 有如下泛型类Pair: public class Pair<T> { private T second; private T first; public Pair() { first = null; second = null; } public P
分类:
编程语言 时间:
2016-02-01 20:46:27
阅读次数:
238
如果有一天你忘记了你的mysql密码怎么办?当然希望这种事情不要发生,万一发生了,followme!告诉你在完全忘记mysql密码的情况下怎么修改你的mysql密码first:我们得先把mysql服务关掉,可以通过psaux|grepmysql找到进程号然后杀掉#kill-9mysql进程号second:以--skip-grant-ta..
分类:
数据库 时间:
2016-01-28 19:38:21
阅读次数:
322
Python Data Structures Python Data Structures is the second course in the specialization Python for Everybody. It covers Chapters 6-10 of the textbook
分类:
编程语言 时间:
2016-01-27 23:15:35
阅读次数:
651