以下为本期内容|每月 28 号更新
CSS 项目
1、github-markdown-css:仿 GitHub 的 Markdown 的样式,就是使用了这个 CSS 后,Markdown 展示效果和 GitHub 的大致一样。[示例](https://sin
以下为本期内容|每月 28 号更新
CSS 项目
1、github-markdown-css:仿 GitHub 的 Markdown 的样式,就是使用了这个 CSS 后,Markdown 展示效果和 GitHub 的大致一样。示例

JavaScript 项目
2、ant-motion:阿里开源的项目,一套 React 框架动效解决方案,可以帮助开发者,更容易的在项目中使用动效。同时可以方便快捷地制作一个公司的介绍页,在线演示
3、jquery-weui:可能是最好用 WeUI 版本,展示效果如下:

4、listen1_desktop:Listen 1 让你用一个网页就能听到多个网站的在线音乐,支持各种平台。如图:

5、ssbc:Python Django 写的种子搜索网站——手撕包菜,如图:

6、waitForImages:背景加载完事件,示例代码:
1 2 3 4 5 6 7 8
| <script type="text/javascript" src="http://catmull.uk/downloads/bg-loaded/bg-loaded.js"></script> <script type="text/javascript"> $('body').bgLoaded({ afterLoaded : function() { alert('Background image done loading'); } }); </script>
|
7、wechat-h5-boilerplate:为腾讯微信优化的 HTML5 动效模板,帮助你快速构建全屏滚动型 HTML5 页面,示例

Python 项目
8、algorithm:老齐的 Python 算法教程
9、mincss:Python 写的用来找到 CSS 中没有用到的代码片段,并删除。适用于:想要做一个页面,但是不会写 CSS 人。示例代码如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
from __future__ import print_function import sys, os sys.path.insert(0, os.path.abspath('.')) from mincss.processor import Processor
URL = 'http://localhost:9000/page.html'
def run(): p = Processor() p.process(URL)
print("INLINES ".ljust(79, '-')) for each in p.inlines: print("On line %s" % each.line) print('- ' * 40) print("BEFORE") print(each.before) print('- ' * 40) print("AFTER:") print(each.after)
print("LINKS ".ljust(79, '-')) for each in p.links: print("On href %s" % each.href) print('- ' * 40) print("BEFORE") print(each.before) print('- ' * 40) print("AFTER:") print(each.after)
if __name__ == '__main__': run()
|
10、python-gems:有趣的 Pyhton 代码片段集合
11、python-goose:Goose 用于文章提取器,提取中文内容的示例代码:
1 2 3 4 5 6 7 8 9 10 11
| >>> from goose import Goose >>> from goose.text import StopWordsChinese >>> url = 'http://www.bbc.co.uk/zhongwen/simp/chinese_news/2012/12/121210_hongkong_politics.shtml' >>> g = Goose({'stopwords_class': StopWordsChinese}) >>> article = g.extract(url=url) >>> print article.cleaned_text[:150] 香港行政长官梁振英在各方压力下就其大宅的违章建筑(僭建)问题到立法会接受质询,并向香港民众道歉。
梁振英在星期二(12月10日)的答问大会开始之际在其演说中道歉,但强调他在违章建筑问题上没有隐瞒的意图和动机。
一些亲北京阵营议员欢迎梁振英道歉,且认为应能获得香港民众接受,但这些议员也质问梁振英有
|
其它
12、leetcode-solutions:Leetcode OJ 的 Python 算法实现