{"action":"created","comment":{"url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/comments/151113091","pull_request_review_id":76766748,"id":151113091,"diff_hunk":"@@ -0,0 +1,20 @@\n+const net = require(\"net\");\n+const server = net.createServer((socket) => {\n+\tsocket.write(\"请输入你想输入的内容\\n\");\n+\tsocket.on('data',(data) => {\n+\t\tlet Data = data.toString();\n+\t\tconsole.log(Data);\t\t\n+\t\tlet closeSocket = Buffer.from('closeSocket\\r\\n');\n+\t\tlet closeServer = Buffer.from('closeServer\\r\\n');\n+\t\tif(Buffer.compare(data,closeSocket)===0){\n+\t\t\tsocket.end();\n+\t\t}\n+\t\tif(Buffer.compare(data,closeServer)===0){\n+\t\t\tsocket.end();\n+\t\t\tserver.close();\n+\t\t}\n+\t})\n+});\n+server.listen(process.env.NODE_POST || 8080,() => {","path":"dfc/2017-11-15/tcp.js","position":18,"original_position":18,"commit_id":"2f70b88f8bfa65983d8292e1a40c152f87febb4e","original_commit_id":"2f70b88f8bfa65983d8292e1a40c152f87febb4e","user":{"login":"calidion","id":131776,"avatar_url":"https://avatars0.githubusercontent.com/u/131776?v=4","gravatar_id":"","url":"https://api.github.com/users/calidion","html_url":"https://github.com/calidion","followers_url":"https://api.github.com/users/calidion/followers","following_url":"https://api.github.com/users/calidion/following{/other_user}","gists_url":"https://api.github.com/users/calidion/gists{/gist_id}","starred_url":"https://api.github.com/users/calidion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calidion/subscriptions","organizations_url":"https://api.github.com/users/calidion/orgs","repos_url":"https://api.github.com/users/calidion/repos","events_url":"https://api.github.com/users/calidion/events{/privacy}","received_events_url":"https://api.github.com/users/calidion/received_events","type":"User","site_admin":false},"body":"','号后面需要留有一个空格","created_at":"2017-11-15T12:33:51Z","updated_at":"2017-11-15T12:34:45Z","html_url":"https://github.com/rugao-web-fullstack/homeworks/pull/28#discussion_r151113091","pull_request_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/comments/151113091"},"html":{"href":"https://github.com/rugao-web-fullstack/homeworks/pull/28#discussion_r151113091"},"pull_request":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28","id":152757907,"html_url":"https://github.com/rugao-web-fullstack/homeworks/pull/28","diff_url":"https://github.com/rugao-web-fullstack/homeworks/pull/28.diff","patch_url":"https://github.com/rugao-web-fullstack/homeworks/pull/28.patch","issue_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues/28","number":28,"state":"open","locked":false,"title":"党方超2017.11.15作业提交","user":{"login":"bottle0825","id":29862755,"avatar_url":"https://avatars0.githubusercontent.com/u/29862755?v=4","gravatar_id":"","url":"https://api.github.com/users/bottle0825","html_url":"https://github.com/bottle0825","followers_url":"https://api.github.com/users/bottle0825/followers","following_url":"https://api.github.com/users/bottle0825/following{/other_user}","gists_url":"https://api.github.com/users/bottle0825/gists{/gist_id}","starred_url":"https://api.github.com/users/bottle0825/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottle0825/subscriptions","organizations_url":"https://api.github.com/users/bottle0825/orgs","repos_url":"https://api.github.com/users/bottle0825/repos","events_url":"https://api.github.com/users/bottle0825/events{/privacy}","received_events_url":"https://api.github.com/users/bottle0825/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-15T12:09:37Z","updated_at":"2017-11-15T12:34:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a907053d55ea4ae2504254205bcbe8264d32343","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28/commits","review_comments_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28/comments","review_comment_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues/28/comments","statuses_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/statuses/2f70b88f8bfa65983d8292e1a40c152f87febb4e","head":{"label":"bottle0825:master","ref":"master","sha":"2f70b88f8bfa65983d8292e1a40c152f87febb4e","user":{"login":"bottle0825","id":29862755,"avatar_url":"https://avatars0.githubusercontent.com/u/29862755?v=4","gravatar_id":"","url":"https://api.github.com/users/bottle0825","html_url":"https://github.com/bottle0825","followers_url":"https://api.github.com/users/bottle0825/followers","following_url":"https://api.github.com/users/bottle0825/following{/other_user}","gists_url":"https://api.github.com/users/bottle0825/gists{/gist_id}","starred_url":"https://api.github.com/users/bottle0825/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottle0825/subscriptions","organizations_url":"https://api.github.com/users/bottle0825/orgs","repos_url":"https://api.github.com/users/bottle0825/repos","events_url":"https://api.github.com/users/bottle0825/events{/privacy}","received_events_url":"https://api.github.com/users/bottle0825/received_events","type":"User","site_admin":false},"repo":{"id":110686145,"name":"homeworks","full_name":"bottle0825/homeworks","owner":{"login":"bottle0825","id":29862755,"avatar_url":"https://avatars0.githubusercontent.com/u/29862755?v=4","gravatar_id":"","url":"https://api.github.com/users/bottle0825","html_url":"https://github.com/bottle0825","followers_url":"https://api.github.com/users/bottle0825/followers","following_url":"https://api.github.com/users/bottle0825/following{/other_user}","gists_url":"https://api.github.com/users/bottle0825/gists{/gist_id}","starred_url":"https://api.github.com/users/bottle0825/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottle0825/subscriptions","organizations_url":"https://api.github.com/users/bottle0825/orgs","repos_url":"https://api.github.com/users/bottle0825/repos","events_url":"https://api.github.com/users/bottle0825/events{/privacy}","received_events_url":"https://api.github.com/users/bottle0825/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bottle0825/homeworks","description":null,"fork":true,"url":"https://api.github.com/repos/bottle0825/homeworks","forks_url":"https://api.github.com/repos/bottle0825/homeworks/forks","keys_url":"https://api.github.com/repos/bottle0825/homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bottle0825/homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bottle0825/homeworks/teams","hooks_url":"https://api.github.com/repos/bottle0825/homeworks/hooks","issue_events_url":"https://api.github.com/repos/bottle0825/homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/bottle0825/homeworks/events","assignees_url":"https://api.github.com/repos/bottle0825/homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/bottle0825/homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/bottle0825/homeworks/tags","blobs_url":"https://api.github.com/repos/bottle0825/homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bottle0825/homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bottle0825/homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/bottle0825/homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bottle0825/homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/bottle0825/homeworks/languages","stargazers_url":"https://api.github.com/repos/bottle0825/homeworks/stargazers","contributors_url":"https://api.github.com/repos/bottle0825/homeworks/contributors","subscribers_url":"https://api.github.com/repos/bottle0825/homeworks/subscribers","subscription_url":"https://api.github.com/repos/bottle0825/homeworks/subscription","commits_url":"https://api.github.com/repos/bottle0825/homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/bottle0825/homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/bottle0825/homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/bottle0825/homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/bottle0825/homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/bottle0825/homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bottle0825/homeworks/merges","archive_url":"https://api.github.com/repos/bottle0825/homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bottle0825/homeworks/downloads","issues_url":"https://api.github.com/repos/bottle0825/homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/bottle0825/homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/bottle0825/homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/bottle0825/homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bottle0825/homeworks/labels{/name}","releases_url":"https://api.github.com/repos/bottle0825/homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/bottle0825/homeworks/deployments","created_at":"2017-11-14T12:15:10Z","updated_at":"2017-11-14T12:18:38Z","pushed_at":"2017-11-15T12:08:21Z","git_url":"git://github.com/bottle0825/homeworks.git","ssh_url":"git@github.com:bottle0825/homeworks.git","clone_url":"https://github.com/bottle0825/homeworks.git","svn_url":"https://github.com/bottle0825/homeworks","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rugao-web-fullstack:master","ref":"master","sha":"5463c9fd12d66b99fc66394062a5dccb5c2c1268","user":{"login":"rugao-web-fullstack","id":33480045,"avatar_url":"https://avatars1.githubusercontent.com/u/33480045?v=4","gravatar_id":"","url":"https://api.github.com/users/rugao-web-fullstack","html_url":"https://github.com/rugao-web-fullstack","followers_url":"https://api.github.com/users/rugao-web-fullstack/followers","following_url":"https://api.github.com/users/rugao-web-fullstack/following{/other_user}","gists_url":"https://api.github.com/users/rugao-web-fullstack/gists{/gist_id}","starred_url":"https://api.github.com/users/rugao-web-fullstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugao-web-fullstack/subscriptions","organizations_url":"https://api.github.com/users/rugao-web-fullstack/orgs","repos_url":"https://api.github.com/users/rugao-web-fullstack/repos","events_url":"https://api.github.com/users/rugao-web-fullstack/events{/privacy}","received_events_url":"https://api.github.com/users/rugao-web-fullstack/received_events","type":"Organization","site_admin":false},"repo":{"id":110664626,"name":"homeworks","full_name":"rugao-web-fullstack/homeworks","owner":{"login":"rugao-web-fullstack","id":33480045,"avatar_url":"https://avatars1.githubusercontent.com/u/33480045?v=4","gravatar_id":"","url":"https://api.github.com/users/rugao-web-fullstack","html_url":"https://github.com/rugao-web-fullstack","followers_url":"https://api.github.com/users/rugao-web-fullstack/followers","following_url":"https://api.github.com/users/rugao-web-fullstack/following{/other_user}","gists_url":"https://api.github.com/users/rugao-web-fullstack/gists{/gist_id}","starred_url":"https://api.github.com/users/rugao-web-fullstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugao-web-fullstack/subscriptions","organizations_url":"https://api.github.com/users/rugao-web-fullstack/orgs","repos_url":"https://api.github.com/users/rugao-web-fullstack/repos","events_url":"https://api.github.com/users/rugao-web-fullstack/events{/privacy}","received_events_url":"https://api.github.com/users/rugao-web-fullstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rugao-web-fullstack/homeworks","description":null,"fork":false,"url":"https://api.github.com/repos/rugao-web-fullstack/homeworks","forks_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/forks","keys_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/teams","hooks_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/hooks","issue_events_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/events","assignees_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/tags","blobs_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/languages","stargazers_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/stargazers","contributors_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/contributors","subscribers_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/subscribers","subscription_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/subscription","commits_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/merges","archive_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/downloads","issues_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/labels{/name}","releases_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/rugao-web-fullstack/homeworks/deployments","created_at":"2017-11-14T08:51:33Z","updated_at":"2017-11-15T12:20:58Z","pushed_at":"2017-11-15T12:26:33Z","git_url":"git://github.com/rugao-web-fullstack/homeworks.git","ssh_url":"git@github.com:rugao-web-fullstack/homeworks.git","clone_url":"https://github.com/rugao-web-fullstack/homeworks.git","svn_url":"https://github.com/rugao-web-fullstack/homeworks","homepage":null,"size":67,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":7,"forks":27,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28"},"html":{"href":"https://github.com/rugao-web-fullstack/homeworks/pull/28"},"issue":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues/28"},"comments":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/rugao-web-fullstack/homeworks/statuses/2f70b88f8bfa65983d8292e1a40c152f87febb4e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"calidion"}}