|
| 1 | +#《HelloGitHub》第07期 |
| 2 | +>兴趣是最好的老师,[《HelloGitHub》](https://github.com/521xueweihan/HelloGitHub)就是帮你找到兴趣! |
| 3 | +
|
| 4 | + |
| 5 | + |
| 6 | +## 简介 |
| 7 | +最开始我只是想把自己在浏览GitHub过程中,发现的有意思、高质量、容易上手的项目收集起来,这样便于以后查找和学习。后来一想,如果给这些GitHub项目都加上简单的效果图和一些通俗易懂的中文介绍。应该能够帮助到我这样的新手激发兴趣去参与、学习这些优秀、好玩的开源项目。 |
| 8 | + |
| 9 | +所以,我就做了一个面向**编程新手**、**热爱编程**、**对开源社区感兴趣** 的人群的月刊,月刊的内容包括:**各种编程语言的项目**、**各种让生活变得更美好的工具**、**书籍、学习笔记、教程等**。这些项目都是非常容易上手,而且非常Cool,主要是希望大家能动手用起来,加入到**开源社区**中。会编程的可以贡献代码,不会编程的可以反馈使用这些工具中的bug、帮着宣传你觉得优秀的项目、star项目⭐️。同时你将学习到更多编程知识、提高自己的编程技巧、发现自己的**兴趣**。 |
| 10 | + |
| 11 | +最后[《HelloGitHub》](https://github.com/521xueweihan/HelloGitHub)这个项目就诞生了!😁 |
| 12 | + |
| 13 | +--- |
| 14 | +>**以下为本期内容**|[点击查看往期内容](https://github.com/521xueweihan/HelloGitHub) |
| 15 | +
|
| 16 | +#### Python项目 |
| 17 | +1、[httpie](https://github.com/jkbrzt/httpie):非常好用的命令行HTTP客户端,cURL的的替代者,返回的结果支持**高亮**,提高了可读性。可用来:调试接口、查看服务器返回的HTTP协议的信息。[在线文档](https://httpie.org/docs#examples),下面的是cURL和httpie的返回结果对比图: |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +2、[langid](https://github.com/saffsd/langid.py):用于识别输入文本数据所属的语种,目前支持97种语言识别。*感谢推荐人:[zhbzz2007](https://github.com/zhbzz2007)*。示例代码: |
| 22 | +```python |
| 23 | +import langid |
| 24 | +text1 = "I am a coder and love data mining" |
| 25 | +text2 = "请注明作者和出处并保留声明和联系方式" |
| 26 | + |
| 27 | +print langid.classify(text1) |
| 28 | +print langid.classify(text2) |
| 29 | + |
| 30 | +# ('en', 0.9999957874458753) |
| 31 | +# ('zh', 1.0) |
| 32 | +``` |
| 33 | + |
| 34 | +3、[fake-useragent](https://github.com/hellysmile/fake-useragent):伪装浏览器身份,常用于爬虫。这个项目的代码很少,可以阅读一下,看看`ua.random`是如何返回随机的浏览器身份的😁,示例代码: |
| 35 | +```python |
| 36 | +from fake_useragent import UserAgent |
| 37 | +ua = UserAgent() |
| 38 | + |
| 39 | +ua.ie |
| 40 | +# Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US); |
| 41 | +ua.msie |
| 42 | +# Mozilla/5.0 (compatible; MSIE 10.0; Macintosh; Intel Mac OS X 10_7_3; Trident/6.0)' |
| 43 | +ua['Internet Explorer'] |
| 44 | +# Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.4; InfoPath.2; SV1; .NET CLR 3.3.69573; WOW64; en-US) |
| 45 | +ua.opera |
| 46 | +# Opera/9.80 (X11; Linux i686; U; ru) Presto/2.8.131 Version/11.11 |
| 47 | +ua.chrome |
| 48 | +# Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2' |
| 49 | +ua.google |
| 50 | +# Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.13 (KHTML, like Gecko) Chrome/24.0.1290.1 Safari/537.13 |
| 51 | +ua['google chrome'] |
| 52 | +# Mozilla/5.0 (X11; CrOS i686 2268.111.0) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11 |
| 53 | +ua.firefox |
| 54 | +# Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1 |
| 55 | +ua.ff |
| 56 | +# Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1 |
| 57 | +ua.safari |
| 58 | +# Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25 |
| 59 | + |
| 60 | +# and the best one, random via real world browser usage statistic |
| 61 | +ua.random |
| 62 | +``` |
| 63 | + |
| 64 | +#### Go项目 |
| 65 | +4、[beego](https://github.com/astaxie/beego/):一个使用 Go 的思维来帮助您构建并开发 Go 应用程序的开源框架,齐全的文档(中文),丰富的使用案例。[官网地址](https://beego.me) |
| 66 | + |
| 67 | +#### Javascript项目 |
| 68 | +5、[nodeclub](https://github.com/cnodejs/nodeclub):Nodeclub 是使用 Node.js 和 MongoDB 开发的社区系统,[社区地址](http://cnodejs.org): |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +6、[clipboard](https://github.com/zenorocha/clipboard.js):实现了点击文本内容的js插件,优点:最新、极小、无任依赖、使用简单方便。[在线文档](https://clipboardjs.com) |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | +#### C、C++项目 |
| 77 | +7、[BaiduPCS](https://github.com/GangZhuo/BaiduPCS):C写的百度网盘命令行工具,[在线文档](https://github.com/GangZhuo/BaiduPCS/wiki/BaiduPCS-基本使用) |
| 78 | + |
| 79 | +8、[cpr](https://github.com/whoshuu/cpr):C++版`Request for human`,[在线文档](https://github.com/whoshuu/cpr),示例代码: |
| 80 | +```C++ |
| 81 | +#include <cpr/cpr.h> |
| 82 | + |
| 83 | +int main(int argc, char** argv) { |
| 84 | + auto r = cpr::Get(cpr::Url{"https://api.github.com/repos/whoshuu/cpr/contributors"}, |
| 85 | + cpr::Authentication{"user", "pass"}, |
| 86 | + cpr::Parameters{{"anon", "true"}, {"key", "value"}}); |
| 87 | + r.status_code; // 200 |
| 88 | + r.header["content-type"]; // application/json; charset=utf-8 |
| 89 | + r.text; // JSON text string |
| 90 | +} |
| 91 | +``` |
| 92 | +
|
| 93 | +#### C#项目 |
| 94 | +9、[MongoCola](https://github.com/magicdict/MongoCola):MongoCola是一个开源的MongoDB管理工具。持续开发、维护已经有**五年**了,[开发历程](http://www.cnblogs.com/TextEditor/p/5473190.html),[在线文档](http://magicdict.github.io/MongoCola/)效果图如下: |
| 95 | +
|
| 96 | + |
| 97 | +
|
| 98 | +#### Objective-C、Swift项目 |
| 99 | +10、[PYPhotoBrowser](https://github.com/iphone5solo/PYPhotoBrowser):高仿 QQ、微信效果的图片浏览器(支持原图和缩略图、多种手势、CocoaPods),*感谢推荐人:[CoderKo1o](https://github.com/iphone5solo)* |
| 100 | +
|
| 101 | +#### 其它 |
| 102 | +11、[google-interview-university](https://github.com/jwasham/google-interview-university):一套完整的学习手册帮助自己准备 Google 的面试,[中文翻译版](https://github.com/jwasham/google-interview-university/blob/master/README-cn.md) |
| 103 | +
|
| 104 | +12、[learning-react](https://github.com/yiminghe/learning-react):[yiminghe](https://github.com/yiminghe)的react中文教程,包含[入门](http://yiminghe.me/learning-react/tutorial/zh-cn/intro.html#/)和[进阶](http://yiminghe.me/learning-react/tutorial/zh-cn/advanced.html#/) |
| 105 | +
|
| 106 | +13、[static](https://github.com/staticfile/static):这个项目是一个仓库,它尽可能全面收录优秀的开源库,并免费为之提供 CDN 加速服务,使之有更好的访问速度和稳定的环境。同时,它也提供开源库源接入的入口,让所有人都可以提交开源库,包括 JS、CSS、image 和 swf 等静态文件。 [访问Staticfile CDN](http://staticfile.org) |
| 107 | +
|
| 108 | +14、[build-web-application-with-golang](https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/preface.md):《Go Web 编程》中文目录 |
| 109 | +
|
| 110 | +15、[cssicon](https://github.com/wentin/cssicon):纯css实现的icon |
| 111 | +
|
| 112 | +16、[WebFundamentals](https://github.com/google/WebFundamentals):Google的web开发者最佳练习教程(英文) |
| 113 | +
|
| 114 | +17、[How-to-Make-a-Computer-Operating-System](https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System):如果做一个操作系统(英文)[在线阅读](https://www.gitbook.com/book/samypesse/how-to-create-an-operating-system/details) |
| 115 | +
|
| 116 | +--- |
| 117 | +
|
| 118 | +
|
| 119 | +## 声明 |
| 120 | +如果你发现了好玩、有意义的开源项目,[点击这里](https://github.com/521xueweihan/HelloGitHub/issues/new)分享你觉得有意思的项目。 |
| 121 | +
|
| 122 | +- 分享项目格式:项目名称——项目地址:项目描述(中文),追求完美👉项目上手demo、有图有真相~ |
| 123 | +
|
| 124 | +或许你分享的项目会让别人由衷的感慨:“原来还有这么有意思的项目!编程可以这么酷!” |
| 125 | +
|
| 126 | +欢迎转载,请注明出处和作者,同时保留声明和联系方式。 |
| 127 | +
|
| 128 | +## 联系方式 |
| 129 | +- GitHub:[削微寒](https://github.com/521xueweihan) |
| 130 | +
|
| 131 | +- 博客园:[削微寒](http://www.cnblogs.com/xueweihan/) |
| 132 | +
|
| 133 | + |
0 commit comments