####API 接口文档
- 功能:用户名登陆
- 请求地址:http://www.xxx.com/login
- 请求方式:POST
- 请求数据
字段 | 类型 | 是否必须 | 说明 |
---|---|---|---|
userName | string | true | 用户名 |
password | string | true | 密码 |
repositories: | |
ament/ament_cmake: | |
type: git | |
url: https://github.com/ament/ament_cmake.git | |
version: master | |
ament/ament_index: | |
type: git | |
url: https://github.com/ament/ament_index.git | |
version: master | |
ament/ament_lint: |
import argparse | |
import datetime | |
from github import Github, GithubException, GithubObject | |
github_api_url = 'https://api.github.com' | |
# label_dict: name, color |
repositories: | |
ament/ament_cmake: | |
type: git | |
url: https://github.com/ament/ament_cmake.git | |
version: master | |
ament/ament_index: | |
type: git | |
url: https://github.com/ament/ament_index.git | |
version: master | |
ament/ament_lint: |
repositories: | |
ament/ament_cmake: | |
type: git | |
url: https://github.com/ament/ament_cmake.git | |
version: master | |
ament/ament_index: | |
type: git | |
url: https://github.com/ament/ament_index.git | |
version: master | |
ament/ament_lint: |
<?php | |
define('AWS_KEY','YOUR_AWS_KEY_HERE'); | |
define('AWS_SECRET','YOUR_AWS_SECRET_HERE'); | |
require_once('AWSSDKforPHP/sdk.class.php'); | |
require_once('AWSSDKforPHP/extensions/s3streamwrapper.class.php'); | |
$s3 = new AmazonS3(array( | |
'key' => AWS_KEY, | |
'secret' => AWS_SECRET, |
#!/usr/bin/env ruby | |
# Places the clipboard contents into a new temp text | |
# file and opens the text file in the default text editor | |
require 'ftools' | |
# find an unused file name | |
a = 1 | |
folder = File.expand_path "~/Documents/texts/temp" |
# models/debate.rb | |
class Debate < ActiveRecord::Base | |
attr_accessible :opposition_id, :proposition_id, :title | |
validates :proposition_user_id, presence: true | |
validates :proposition_id, presence: true | |
validates :title, presence: true | |
has_many :users | |
has_one :proposition |
PLATFORM VERSION INFO | |
Windows : 6.1.7600.0 (Win32NT) | |
Common Language Runtime : 4.0.30319.544 | |
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) | |
clr.dll : 4.0.30319.544 (RTMLDR.030319-5400) | |
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100) | |
dfshim.dll : 4.0.31106.0 (Main.031106-0000) | |
SOURCES | |
Deployment url : http://play-windows.s3.amazonaws.com/Play.application |
####API 接口文档
字段 | 类型 | 是否必须 | 说明 |
---|---|---|---|
userName | string | true | 用户名 |
password | string | true | 密码 |
[x] a [ ] b
If user is careless, forgetting to put "- " before "[ ]", TODO list could get buggy.
Steps to reproduce bug: