{"action":"created","comment":{"url":"https://api.github.com/repos/krazemon/repcoin/pulls/comments/24477534","id":24477534,"diff_hunk":"@@ -36,6 +36,142 @@ var utils = {\n     });\n   },\n \n+  removeInappropriateUsers: function(cb) {\n+    var inappropriateUsernames = [\n+      'robert frost',\n+      'Noah Reichblum',\n+      'Barack Obama',\n+    ];\n+\n+    // Remove all the users with inappropriate names\n+    User.remove({ 'username': { $in: inappropriateUsernames }}, function(err) {","path":"bin/utils.js","position":12,"original_position":12,"commit_id":"8111ca495e529ed390733dbd15e9f5b5ddc26ccf","original_commit_id":"8111ca495e529ed390733dbd15e9f5b5ddc26ccf","user":{"login":"ritmatter","id":3967620,"avatar_url":"https://avatars.githubusercontent.com/u/3967620?v=3","gravatar_id":"","url":"https://api.github.com/users/ritmatter","html_url":"https://github.com/ritmatter","followers_url":"https://api.github.com/users/ritmatter/followers","following_url":"https://api.github.com/users/ritmatter/following{/other_user}","gists_url":"https://api.github.com/users/ritmatter/gists{/gist_id}","starred_url":"https://api.github.com/users/ritmatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritmatter/subscriptions","organizations_url":"https://api.github.com/users/ritmatter/orgs","repos_url":"https://api.github.com/users/ritmatter/repos","events_url":"https://api.github.com/users/ritmatter/events{/privacy}","received_events_url":"https://api.github.com/users/ritmatter/received_events","type":"User","site_admin":false},"body":"Remove the users.\r\nRemove every transaction to or from that user.","created_at":"2015-02-11T07:16:44Z","updated_at":"2015-02-11T07:16:44Z","html_url":"https://github.com/krazemon/repcoin/pull/602#discussion_r24477534","pull_request_url":"https://api.github.com/repos/krazemon/repcoin/pulls/602","_links":{"self":{"href":"https://api.github.com/repos/krazemon/repcoin/pulls/comments/24477534"},"html":{"href":"https://github.com/krazemon/repcoin/pull/602#discussion_r24477534"},"pull_request":{"href":"https://api.github.com/repos/krazemon/repcoin/pulls/602"}}},"pull_request":{"url":"https://api.github.com/repos/krazemon/repcoin/pulls/602","id":29071951,"html_url":"https://github.com/krazemon/repcoin/pull/602","diff_url":"https://github.com/krazemon/repcoin/pull/602.diff","patch_url":"https://github.com/krazemon/repcoin/pull/602.patch","issue_url":"https://api.github.com/repos/krazemon/repcoin/issues/602","number":602,"state":"open","locked":false,"title":"Clean data","user":{"login":"ritmatter","id":3967620,"avatar_url":"https://avatars.githubusercontent.com/u/3967620?v=3","gravatar_id":"","url":"https://api.github.com/users/ritmatter","html_url":"https://github.com/ritmatter","followers_url":"https://api.github.com/users/ritmatter/followers","following_url":"https://api.github.com/users/ritmatter/following{/other_user}","gists_url":"https://api.github.com/users/ritmatter/gists{/gist_id}","starred_url":"https://api.github.com/users/ritmatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritmatter/subscriptions","organizations_url":"https://api.github.com/users/ritmatter/orgs","repos_url":"https://api.github.com/users/ritmatter/repos","events_url":"https://api.github.com/users/ritmatter/events{/privacy}","received_events_url":"https://api.github.com/users/ritmatter/received_events","type":"User","site_admin":false},"body":"Fixes #600 ","created_at":"2015-02-11T07:15:18Z","updated_at":"2015-02-11T07:16:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1bcd90c8f25cef44747e8ae41772f68c9a27260a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/krazemon/repcoin/pulls/602/commits","review_comments_url":"https://api.github.com/repos/krazemon/repcoin/pulls/602/comments","review_comment_url":"https://api.github.com/repos/krazemon/repcoin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/krazemon/repcoin/issues/602/comments","statuses_url":"https://api.github.com/repos/krazemon/repcoin/statuses/8111ca495e529ed390733dbd15e9f5b5ddc26ccf","head":{"label":"krazemon:clean-data","ref":"clean-data","sha":"8111ca495e529ed390733dbd15e9f5b5ddc26ccf","user":{"login":"krazemon","id":1093790,"avatar_url":"https://avatars.githubusercontent.com/u/1093790?v=3","gravatar_id":"","url":"https://api.github.com/users/krazemon","html_url":"https://github.com/krazemon","followers_url":"https://api.github.com/users/krazemon/followers","following_url":"https://api.github.com/users/krazemon/following{/other_user}","gists_url":"https://api.github.com/users/krazemon/gists{/gist_id}","starred_url":"https://api.github.com/users/krazemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krazemon/subscriptions","organizations_url":"https://api.github.com/users/krazemon/orgs","repos_url":"https://api.github.com/users/krazemon/repos","events_url":"https://api.github.com/users/krazemon/events{/privacy}","received_events_url":"https://api.github.com/users/krazemon/received_events","type":"User","site_admin":false},"repo":{"id":24356890,"name":"repcoin","full_name":"krazemon/repcoin","owner":{"login":"krazemon","id":1093790,"avatar_url":"https://avatars.githubusercontent.com/u/1093790?v=3","gravatar_id":"","url":"https://api.github.com/users/krazemon","html_url":"https://github.com/krazemon","followers_url":"https://api.github.com/users/krazemon/followers","following_url":"https://api.github.com/users/krazemon/following{/other_user}","gists_url":"https://api.github.com/users/krazemon/gists{/gist_id}","starred_url":"https://api.github.com/users/krazemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krazemon/subscriptions","organizations_url":"https://api.github.com/users/krazemon/orgs","repos_url":"https://api.github.com/users/krazemon/repos","events_url":"https://api.github.com/users/krazemon/events{/privacy}","received_events_url":"https://api.github.com/users/krazemon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krazemon/repcoin","description":"The only market-based approach to reputation.","fork":false,"url":"https://api.github.com/repos/krazemon/repcoin","forks_url":"https://api.github.com/repos/krazemon/repcoin/forks","keys_url":"https://api.github.com/repos/krazemon/repcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krazemon/repcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krazemon/repcoin/teams","hooks_url":"https://api.github.com/repos/krazemon/repcoin/hooks","issue_events_url":"https://api.github.com/repos/krazemon/repcoin/issues/events{/number}","events_url":"https://api.github.com/repos/krazemon/repcoin/events","assignees_url":"https://api.github.com/repos/krazemon/repcoin/assignees{/user}","branches_url":"https://api.github.com/repos/krazemon/repcoin/branches{/branch}","tags_url":"https://api.github.com/repos/krazemon/repcoin/tags","blobs_url":"https://api.github.com/repos/krazemon/repcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krazemon/repcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krazemon/repcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/krazemon/repcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krazemon/repcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/krazemon/repcoin/languages","stargazers_url":"https://api.github.com/repos/krazemon/repcoin/stargazers","contributors_url":"https://api.github.com/repos/krazemon/repcoin/contributors","subscribers_url":"https://api.github.com/repos/krazemon/repcoin/subscribers","subscription_url":"https://api.github.com/repos/krazemon/repcoin/subscription","commits_url":"https://api.github.com/repos/krazemon/repcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/krazemon/repcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/krazemon/repcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/krazemon/repcoin/issues/comments/{number}","contents_url":"https://api.github.com/repos/krazemon/repcoin/contents/{+path}","compare_url":"https://api.github.com/repos/krazemon/repcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krazemon/repcoin/merges","archive_url":"https://api.github.com/repos/krazemon/repcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krazemon/repcoin/downloads","issues_url":"https://api.github.com/repos/krazemon/repcoin/issues{/number}","pulls_url":"https://api.github.com/repos/krazemon/repcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/krazemon/repcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/krazemon/repcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krazemon/repcoin/labels{/name}","releases_url":"https://api.github.com/repos/krazemon/repcoin/releases{/id}","created_at":"2014-09-23T04:35:30Z","updated_at":"2015-02-10T18:15:02Z","pushed_at":"2015-02-11T07:16:27Z","git_url":"git://github.com/krazemon/repcoin.git","ssh_url":"git@github.com:krazemon/repcoin.git","clone_url":"https://github.com/krazemon/repcoin.git","svn_url":"https://github.com/krazemon/repcoin","homepage":"","size":5784,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"krazemon:master","ref":"master","sha":"9a78e749db1bab1ff87623238df24b80a71884a5","user":{"login":"krazemon","id":1093790,"avatar_url":"https://avatars.githubusercontent.com/u/1093790?v=3","gravatar_id":"","url":"https://api.github.com/users/krazemon","html_url":"https://github.com/krazemon","followers_url":"https://api.github.com/users/krazemon/followers","following_url":"https://api.github.com/users/krazemon/following{/other_user}","gists_url":"https://api.github.com/users/krazemon/gists{/gist_id}","starred_url":"https://api.github.com/users/krazemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krazemon/subscriptions","organizations_url":"https://api.github.com/users/krazemon/orgs","repos_url":"https://api.github.com/users/krazemon/repos","events_url":"https://api.github.com/users/krazemon/events{/privacy}","received_events_url":"https://api.github.com/users/krazemon/received_events","type":"User","site_admin":false},"repo":{"id":24356890,"name":"repcoin","full_name":"krazemon/repcoin","owner":{"login":"krazemon","id":1093790,"avatar_url":"https://avatars.githubusercontent.com/u/1093790?v=3","gravatar_id":"","url":"https://api.github.com/users/krazemon","html_url":"https://github.com/krazemon","followers_url":"https://api.github.com/users/krazemon/followers","following_url":"https://api.github.com/users/krazemon/following{/other_user}","gists_url":"https://api.github.com/users/krazemon/gists{/gist_id}","starred_url":"https://api.github.com/users/krazemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krazemon/subscriptions","organizations_url":"https://api.github.com/users/krazemon/orgs","repos_url":"https://api.github.com/users/krazemon/repos","events_url":"https://api.github.com/users/krazemon/events{/privacy}","received_events_url":"https://api.github.com/users/krazemon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krazemon/repcoin","description":"The only market-based approach to reputation.","fork":false,"url":"https://api.github.com/repos/krazemon/repcoin","forks_url":"https://api.github.com/repos/krazemon/repcoin/forks","keys_url":"https://api.github.com/repos/krazemon/repcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krazemon/repcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krazemon/repcoin/teams","hooks_url":"https://api.github.com/repos/krazemon/repcoin/hooks","issue_events_url":"https://api.github.com/repos/krazemon/repcoin/issues/events{/number}","events_url":"https://api.github.com/repos/krazemon/repcoin/events","assignees_url":"https://api.github.com/repos/krazemon/repcoin/assignees{/user}","branches_url":"https://api.github.com/repos/krazemon/repcoin/branches{/branch}","tags_url":"https://api.github.com/repos/krazemon/repcoin/tags","blobs_url":"https://api.github.com/repos/krazemon/repcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krazemon/repcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krazemon/repcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/krazemon/repcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krazemon/repcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/krazemon/repcoin/languages","stargazers_url":"https://api.github.com/repos/krazemon/repcoin/stargazers","contributors_url":"https://api.github.com/repos/krazemon/repcoin/contributors","subscribers_url":"https://api.github.com/repos/krazemon/repcoin/subscribers","subscription_url":"https://api.github.com/repos/krazemon/repcoin/subscription","commits_url":"https://api.github.com/repos/krazemon/repcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/krazemon/repcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/krazemon/repcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/krazemon/repcoin/issues/comments/{number}","contents_url":"https://api.github.com/repos/krazemon/repcoin/contents/{+path}","compare_url":"https://api.github.com/repos/krazemon/repcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krazemon/repcoin/merges","archive_url":"https://api.github.com/repos/krazemon/repcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krazemon/repcoin/downloads","issues_url":"https://api.github.com/repos/krazemon/repcoin/issues{/number}","pulls_url":"https://api.github.com/repos/krazemon/repcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/krazemon/repcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/krazemon/repcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krazemon/repcoin/labels{/name}","releases_url":"https://api.github.com/repos/krazemon/repcoin/releases{/id}","created_at":"2014-09-23T04:35:30Z","updated_at":"2015-02-10T18:15:02Z","pushed_at":"2015-02-11T07:16:27Z","git_url":"git://github.com/krazemon/repcoin.git","ssh_url":"git@github.com:krazemon/repcoin.git","clone_url":"https://github.com/krazemon/repcoin.git","svn_url":"https://github.com/krazemon/repcoin","homepage":"","size":5784,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krazemon/repcoin/pulls/602"},"html":{"href":"https://github.com/krazemon/repcoin/pull/602"},"issue":{"href":"https://api.github.com/repos/krazemon/repcoin/issues/602"},"comments":{"href":"https://api.github.com/repos/krazemon/repcoin/issues/602/comments"},"review_comments":{"href":"https://api.github.com/repos/krazemon/repcoin/pulls/602/comments"},"review_comment":{"href":"https://api.github.com/repos/krazemon/repcoin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/krazemon/repcoin/pulls/602/commits"},"statuses":{"href":"https://api.github.com/repos/krazemon/repcoin/statuses/8111ca495e529ed390733dbd15e9f5b5ddc26ccf"}}}}