An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| #!/bin/bash | |
| ############################## | |
| # dnspodsh v0.3 | |
| # 基于dnspod api构架的bash ddns客户端 | |
| # 作者:zrong(zengrong.net) | |
| # 详细介绍:http://zengrong.net/post/1524.htm | |
| # 创建日期:2012-02-13 | |
| # 更新日期:2012-03-11 | |
| ############################## |
| <a href="https://twitter.com/share" class="twitter-share-button" data-via="erjjones">Tweet</a> | |
| <!-- Put this just before the closing body tag --> | |
| <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |
| #!/bin/bash | |
| # Script adb+ | |
| # Usage | |
| # You can run any command adb provides on all your currently connected devices | |
| # ./adb+ <command> is the equivalent of ./adb -s <serial number> <command> | |
| # | |
| # Examples | |
| # ./adb+ version | |
| # ./adb+ install apidemo.apk | |
| # ./adb+ uninstall com.example.android.apis |
| import re | |
| import datetime | |
| # *************************************************** | |
| # * | |
| # * Description: 非标准的日期字符串处理 | |
| # * Author: wangye <pcn88 at hotmail dot com> | |
| # * Website: http://wangye.org | |
| # * | |
| # *************************************************** |
| requests==2.4.3 | |
| rsa==3.1.4 |
| /* | |
| @Name: V2EX reply pusher on HTML5 notification API | |
| @URL: http://hzlzh.github.com/project/v2ex-notification/ | |
| @Twitter: @hzlzh | |
| */ | |
| // notification close delay time | |
| var AUTO_CLOSE_DELAY_SECONDS = 6, updated_time = '', | |
| refresh_time = 5, | |
| V2EX_RSS = $('.sll').val(); |
| /* | |
| * Copyright (C) 2012 Sebastian Kaspari | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| package main | |
| import ( | |
| "io/ioutil" | |
| "log" | |
| "net" | |
| "net/http" | |
| "net/url" | |
| "strings" | |
| "time" |