Raspberry PI 自动发布天气信息到QQ空间/微博

参考链接

https://aoaoao.me/951.html/comment-page-1

http://www.ipip5.com/today/api.php?type=json

http://www.eoeandroid.com/thread-331843-1-1.html

说明

天气信息来自于百度地图API,历史上的今天来自于网络API(见上).

准备工作

安装python(没有的,自行下载安装)
安装requests

git clone git://github.com/kennethreitz/requests.git
cd requests
python3 setup.py install

历史上的今天 API (数据来自维基百科)

git commit -m 注释中的换行

原文链接:http://www.cnblogs.com/sn-dnv-aps/p/3296886.html

今天在git提交代码写注释的时候发现在注释不能换行?

命令如下:

git commit -m"fix issues:
    1.blog update error.
    2.logging to file not work."

Viagle Blog

欢迎来到我的个人博客网站