上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 37 下一页
摘要: wget -mk --restrict-file-names=ascii www.baidu.com--restrict-file-names 处理乱码使用wget -P --->specify the dirctory 阅读全文
posted @ 2013-10-31 17:59 Epirus 阅读(192) 评论(0) 推荐(0) 编辑
摘要: .hidden:hover > img{ display:none;}ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }那些多次一举的元素们:bodyul 阅读全文
posted @ 2013-10-30 23:02 Epirus 阅读(112) 评论(0) 推荐(0) 编辑
摘要: block and inlinediv box modelposition static :这个太有意思了,元素都是固定的,left right top bottom 都是失效的 eg: Rihana sorry men 你是不能移动的。应为这个是默认的。 relative:这个还不明显把,就是为了帮助static 让这个盒子模型具有相对的左边跟右边,感觉这个时候的margin-left跟left不知到border怎么计算,不过,应该差不多。 absolute:难道你不觉得自己的自由收到了束缚了吗,不想跳出父母的束缚吗,所以你学要的是absolute... 阅读全文
posted @ 2013-10-30 10:37 Epirus 阅读(187) 评论(0) 推荐(0) 编辑
摘要: (r"/favicon\.ico", tornado.web.StaticFileHandler,{'path':'./'})lol 阅读全文
posted @ 2013-10-29 17:41 Epirus 阅读(523) 评论(0) 推荐(0) 编辑
摘要: #!/bin/python#coding=utf-8import osfrom PIL import Imagedir='/tmp/img/'fileName=(os.listdir(dir))size=338,266for i in fileName: suffix=i[-3:] index=fileName.index(i) im=Image.open(dir+i) im.convert('RGB').resize(size,Image.ANTIALIAS).save("/tmp/img/"+str(index)+".jpg&q 阅读全文
posted @ 2013-10-29 16:29 Epirus 阅读(3438) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 37 下一页