会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Epirus
新随笔
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
37
下一页
2013年10月31日
wget -mk url
摘要: wget -mk --restrict-file-names=ascii www.baidu.com--restrict-file-names 处理乱码使用wget -P --->specify the dirctory
阅读全文
posted @ 2013-10-31 17:59 Epirus
阅读(200)
评论(0)
推荐(0)
2013年10月30日
css 这个特性,你敢信
摘要: .hidden:hover > img{ display:none;}ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }那些多次一举的元素们:bodyul
阅读全文
posted @ 2013-10-30 23:02 Epirus
阅读(122)
评论(0)
推荐(0)
html 难点
摘要: 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
阅读(190)
评论(0)
推荐(0)
2013年10月29日
tornado favicon.ico configuration
摘要: (r"/favicon\.ico", tornado.web.StaticFileHandler,{'path':'./'})lol
阅读全文
posted @ 2013-10-29 17:41 Epirus
阅读(549)
评论(0)
推荐(0)
python PIL Image Resize
摘要: #!/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
阅读(3446)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
37
下一页
公告