知识点:css3动画transition/*旋转动画*/ @-webkit-keyframesrotation{ from{-webkit-transform:rotate(0deg);} to{-webkit-transform:rotate(360deg);} }效果:源码:-----------------------<!DOCTYPEhtml><html> <head> <metacharset="utf-8"/> ..
分类:
Web程序 时间:
2015-09-23 11:55:37
阅读次数:
231
__author__=abcddic={
:,
:,
:{
:,
:{
:,
:,
:{
:,
:{
:,
:,
:{
:,
:,
:{}
}
}
}
}
}
}
Serchabcd(name,dic,list_tmp=[]):
idic:
dic[i]==name:
list_tmp.append(name)
(dic[i])(dic[i])!=:
Serchabcd(name,dic[i],list_tmp)
(list_tmp),name
count,=Serchabcd(,abcddic)
%(..
分类:
编程语言 时间:
2015-09-23 11:53:33
阅读次数:
131
Oracle 中可以用(+)来代替左连接和右连接,有意思的事加号在左面是右连接,加号在右面是做链接,如下 SELECT?a.*,?b.*?from?a.X(+)?=?b.X就是一个右连接,等同于select?a.*,?b.*?from?a?right?joi...
分类:
数据库 时间:
2015-09-23 10:42:51
阅读次数:
268
在新版本eclipse中,点击 ?File --->Import , 再选择 Install --->From Existing Installation? 点击Browse,选择旧版本的eclipse目录路径。 最后再选择需要安装的插件就可以了。...
分类:
系统相关 时间:
2015-09-23 10:40:51
阅读次数:
279
说明:关于Pickle的说明作如下说明:序列化的概念很简单。内存里面有一个数据结构,你希望将它保存下来,重用,或者发送给其他人。你会怎么做?嗯,这取决于你想要怎么保存,怎么重用,发送给谁。很多游戏允许你在退出的时候保存进度,然后你再次启动的时候回到上次退出的地方。..
分类:
编程语言 时间:
2015-09-23 10:39:57
阅读次数:
223
1、无参数查询varmodel = db.Database.SqlQuery("select* from UserInfoes ").ToList();2、有参查询varmodel = db.Database.SqlQuery("select* from UserInfoes where id=@I...
分类:
数据库 时间:
2015-09-23 10:23:33
阅读次数:
165
在上篇博文CoffeeScript实现Python装潢器中,笔者利用CoffeeScript支持的高阶函数,以及方法调用可省略括符的特性,实现了一个类似Python装潢器的日志Demo。这只是一种伪实现,JavaScript实现装潢器,我们需要等到ECMAScript7才行,在ES7特性中带来了De...
分类:
其他好文 时间:
2015-09-23 08:52:33
阅读次数:
183
http://unix.stackexchange.com/questions/136371/how-to-download-a-folder-from-google-drive-using-terminal I was able to download a public shared file l...
分类:
其他好文 时间:
2015-09-23 06:43:56
阅读次数:
153
nginx重定向写出了死循环:正确的写法如下:if($host~wt\.abc\.cn){rewrite^/$http://wt.abc.cn/static/mail/register.htmllast;rewrite^/\?from\=([0-9]+)http://wt.abc.cn/sc/mb/rr.html?from=$1last;}
分类:
其他好文 时间:
2015-09-23 01:28:54
阅读次数:
146
Python语言本身是支持多线程的,不像PHP语言。下面的例子是多个线程做同一批任务,任务总是有task_num个,每次线程做一个任务(print),做完后继续取任务,直到所有任务完成为止。 1 #coding:utf-8 2 import threading 3 4 start_task = 0....
分类:
编程语言 时间:
2015-09-23 00:59:30
阅读次数:
191