{"action":"created","comment":{"url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/comments/36584334","id":36584334,"diff_hunk":"@@ -0,0 +1,40 @@\n+package Assignments;\n+\n+public class Assignment1 {\n+\n+\tpublic static void main(String[] args) {\n+\t\t// TODO Auto-generated method stub\n+\t\tint octal1,binary1=110101;\n+\t\toctal1= convertBinaryToOctal(binary1);\n+\t\tSystem.out.println(octal1);\n+\t}\n+static int convertBinaryToOctal(int n)\n+{\n+\tint decimal=0,octal=0,i,a;\n+\tfor(i=0;n>0;i++)\n+\t{\n+\t\ta=n%10;\n+\t\tdecimal+=a*power(2,i);","path":"PF/Assignment1/Assignment1.java","position":17,"original_position":17,"commit_id":"410a5f65f30420d9969e44910b5ae6cee7eda53b","original_commit_id":"410a5f65f30420d9969e44910b5ae6cee7eda53b","user":{"login":"pankaj-gupt","id":13679226,"avatar_url":"https://avatars.githubusercontent.com/u/13679226?v=3","gravatar_id":"","url":"https://api.github.com/users/pankaj-gupt","html_url":"https://github.com/pankaj-gupt","followers_url":"https://api.github.com/users/pankaj-gupt/followers","following_url":"https://api.github.com/users/pankaj-gupt/following{/other_user}","gists_url":"https://api.github.com/users/pankaj-gupt/gists{/gist_id}","starred_url":"https://api.github.com/users/pankaj-gupt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pankaj-gupt/subscriptions","organizations_url":"https://api.github.com/users/pankaj-gupt/orgs","repos_url":"https://api.github.com/users/pankaj-gupt/repos","events_url":"https://api.github.com/users/pankaj-gupt/events{/privacy}","received_events_url":"https://api.github.com/users/pankaj-gupt/received_events","type":"User","site_admin":false},"body":"Use Built in function in java.","created_at":"2015-08-09T04:21:12Z","updated_at":"2015-08-09T04:21:12Z","html_url":"https://github.com/meta-anjita-maheshwari/get2015/pull/1#discussion_r36584334","pull_request_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/comments/36584334"},"html":{"href":"https://github.com/meta-anjita-maheshwari/get2015/pull/1#discussion_r36584334"},"pull_request":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1","id":41888812,"html_url":"https://github.com/meta-anjita-maheshwari/get2015/pull/1","diff_url":"https://github.com/meta-anjita-maheshwari/get2015/pull/1.diff","patch_url":"https://github.com/meta-anjita-maheshwari/get2015/pull/1.patch","issue_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/1","number":1,"state":"open","locked":false,"title":"Completed","user":{"login":"meta-anjita-maheshwari","id":13659234,"avatar_url":"https://avatars.githubusercontent.com/u/13659234?v=3","gravatar_id":"","url":"https://api.github.com/users/meta-anjita-maheshwari","html_url":"https://github.com/meta-anjita-maheshwari","followers_url":"https://api.github.com/users/meta-anjita-maheshwari/followers","following_url":"https://api.github.com/users/meta-anjita-maheshwari/following{/other_user}","gists_url":"https://api.github.com/users/meta-anjita-maheshwari/gists{/gist_id}","starred_url":"https://api.github.com/users/meta-anjita-maheshwari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meta-anjita-maheshwari/subscriptions","organizations_url":"https://api.github.com/users/meta-anjita-maheshwari/orgs","repos_url":"https://api.github.com/users/meta-anjita-maheshwari/repos","events_url":"https://api.github.com/users/meta-anjita-maheshwari/events{/privacy}","received_events_url":"https://api.github.com/users/meta-anjita-maheshwari/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-07T12:57:00Z","updated_at":"2015-08-09T04:21:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c27041f8585860444271fdbd343723cf684cf376","assignee":{"login":"pankaj-gupt","id":13679226,"avatar_url":"https://avatars.githubusercontent.com/u/13679226?v=3","gravatar_id":"","url":"https://api.github.com/users/pankaj-gupt","html_url":"https://github.com/pankaj-gupt","followers_url":"https://api.github.com/users/pankaj-gupt/followers","following_url":"https://api.github.com/users/pankaj-gupt/following{/other_user}","gists_url":"https://api.github.com/users/pankaj-gupt/gists{/gist_id}","starred_url":"https://api.github.com/users/pankaj-gupt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pankaj-gupt/subscriptions","organizations_url":"https://api.github.com/users/pankaj-gupt/orgs","repos_url":"https://api.github.com/users/pankaj-gupt/repos","events_url":"https://api.github.com/users/pankaj-gupt/events{/privacy}","received_events_url":"https://api.github.com/users/pankaj-gupt/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1/commits","review_comments_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1/comments","review_comment_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/1/comments","statuses_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/statuses/410a5f65f30420d9969e44910b5ae6cee7eda53b","head":{"label":"meta-anjita-maheshwari:PF-anjita-Assignment-1","ref":"PF-anjita-Assignment-1","sha":"410a5f65f30420d9969e44910b5ae6cee7eda53b","user":{"login":"meta-anjita-maheshwari","id":13659234,"avatar_url":"https://avatars.githubusercontent.com/u/13659234?v=3","gravatar_id":"","url":"https://api.github.com/users/meta-anjita-maheshwari","html_url":"https://github.com/meta-anjita-maheshwari","followers_url":"https://api.github.com/users/meta-anjita-maheshwari/followers","following_url":"https://api.github.com/users/meta-anjita-maheshwari/following{/other_user}","gists_url":"https://api.github.com/users/meta-anjita-maheshwari/gists{/gist_id}","starred_url":"https://api.github.com/users/meta-anjita-maheshwari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meta-anjita-maheshwari/subscriptions","organizations_url":"https://api.github.com/users/meta-anjita-maheshwari/orgs","repos_url":"https://api.github.com/users/meta-anjita-maheshwari/repos","events_url":"https://api.github.com/users/meta-anjita-maheshwari/events{/privacy}","received_events_url":"https://api.github.com/users/meta-anjita-maheshwari/received_events","type":"User","site_admin":false},"repo":{"id":40359475,"name":"get2015","full_name":"meta-anjita-maheshwari/get2015","owner":{"login":"meta-anjita-maheshwari","id":13659234,"avatar_url":"https://avatars.githubusercontent.com/u/13659234?v=3","gravatar_id":"","url":"https://api.github.com/users/meta-anjita-maheshwari","html_url":"https://github.com/meta-anjita-maheshwari","followers_url":"https://api.github.com/users/meta-anjita-maheshwari/followers","following_url":"https://api.github.com/users/meta-anjita-maheshwari/following{/other_user}","gists_url":"https://api.github.com/users/meta-anjita-maheshwari/gists{/gist_id}","starred_url":"https://api.github.com/users/meta-anjita-maheshwari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meta-anjita-maheshwari/subscriptions","organizations_url":"https://api.github.com/users/meta-anjita-maheshwari/orgs","repos_url":"https://api.github.com/users/meta-anjita-maheshwari/repos","events_url":"https://api.github.com/users/meta-anjita-maheshwari/events{/privacy}","received_events_url":"https://api.github.com/users/meta-anjita-maheshwari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meta-anjita-maheshwari/get2015","description":"Training repo for GET 2015 batch","fork":true,"url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015","forks_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/forks","keys_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/teams","hooks_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/hooks","issue_events_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/events{/number}","events_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/events","assignees_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/assignees{/user}","branches_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/branches{/branch}","tags_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/tags","blobs_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/statuses/{sha}","languages_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/languages","stargazers_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/stargazers","contributors_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/contributors","subscribers_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/subscribers","subscription_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/subscription","commits_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/contents/{+path}","compare_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/merges","archive_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/downloads","issues_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues{/number}","pulls_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls{/number}","milestones_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/milestones{/number}","notifications_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/labels{/name}","releases_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/releases{/id}","created_at":"2015-08-07T12:31:06Z","updated_at":"2015-08-04T12:33:00Z","pushed_at":"2015-08-07T19:36:54Z","git_url":"git://github.com/meta-anjita-maheshwari/get2015.git","ssh_url":"git@github.com:meta-anjita-maheshwari/get2015.git","clone_url":"https://github.com/meta-anjita-maheshwari/get2015.git","svn_url":"https://github.com/meta-anjita-maheshwari/get2015","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"meta-anjita-maheshwari:master","ref":"master","sha":"e52a6c4ff8198a2f43d5b4cfa46944c6f4686dfe","user":{"login":"meta-anjita-maheshwari","id":13659234,"avatar_url":"https://avatars.githubusercontent.com/u/13659234?v=3","gravatar_id":"","url":"https://api.github.com/users/meta-anjita-maheshwari","html_url":"https://github.com/meta-anjita-maheshwari","followers_url":"https://api.github.com/users/meta-anjita-maheshwari/followers","following_url":"https://api.github.com/users/meta-anjita-maheshwari/following{/other_user}","gists_url":"https://api.github.com/users/meta-anjita-maheshwari/gists{/gist_id}","starred_url":"https://api.github.com/users/meta-anjita-maheshwari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meta-anjita-maheshwari/subscriptions","organizations_url":"https://api.github.com/users/meta-anjita-maheshwari/orgs","repos_url":"https://api.github.com/users/meta-anjita-maheshwari/repos","events_url":"https://api.github.com/users/meta-anjita-maheshwari/events{/privacy}","received_events_url":"https://api.github.com/users/meta-anjita-maheshwari/received_events","type":"User","site_admin":false},"repo":{"id":40359475,"name":"get2015","full_name":"meta-anjita-maheshwari/get2015","owner":{"login":"meta-anjita-maheshwari","id":13659234,"avatar_url":"https://avatars.githubusercontent.com/u/13659234?v=3","gravatar_id":"","url":"https://api.github.com/users/meta-anjita-maheshwari","html_url":"https://github.com/meta-anjita-maheshwari","followers_url":"https://api.github.com/users/meta-anjita-maheshwari/followers","following_url":"https://api.github.com/users/meta-anjita-maheshwari/following{/other_user}","gists_url":"https://api.github.com/users/meta-anjita-maheshwari/gists{/gist_id}","starred_url":"https://api.github.com/users/meta-anjita-maheshwari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meta-anjita-maheshwari/subscriptions","organizations_url":"https://api.github.com/users/meta-anjita-maheshwari/orgs","repos_url":"https://api.github.com/users/meta-anjita-maheshwari/repos","events_url":"https://api.github.com/users/meta-anjita-maheshwari/events{/privacy}","received_events_url":"https://api.github.com/users/meta-anjita-maheshwari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meta-anjita-maheshwari/get2015","description":"Training repo for GET 2015 batch","fork":true,"url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015","forks_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/forks","keys_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/teams","hooks_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/hooks","issue_events_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/events{/number}","events_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/events","assignees_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/assignees{/user}","branches_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/branches{/branch}","tags_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/tags","blobs_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/statuses/{sha}","languages_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/languages","stargazers_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/stargazers","contributors_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/contributors","subscribers_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/subscribers","subscription_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/subscription","commits_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/contents/{+path}","compare_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/merges","archive_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/downloads","issues_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues{/number}","pulls_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls{/number}","milestones_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/milestones{/number}","notifications_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/labels{/name}","releases_url":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/releases{/id}","created_at":"2015-08-07T12:31:06Z","updated_at":"2015-08-04T12:33:00Z","pushed_at":"2015-08-07T19:36:54Z","git_url":"git://github.com/meta-anjita-maheshwari/get2015.git","ssh_url":"git@github.com:meta-anjita-maheshwari/get2015.git","clone_url":"https://github.com/meta-anjita-maheshwari/get2015.git","svn_url":"https://github.com/meta-anjita-maheshwari/get2015","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1"},"html":{"href":"https://github.com/meta-anjita-maheshwari/get2015/pull/1"},"issue":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/1"},"comments":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/meta-anjita-maheshwari/get2015/statuses/410a5f65f30420d9969e44910b5ae6cee7eda53b"}}}}