{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/29153573","id":29153573,"diff_hunk":"@@ -0,0 +1,59 @@\n+#!/usr/bin/env ruby\n+require \"curses\"\n+include Curses\n+\n+picture_name = \"picture_test_2\"\n+max_size = 0\n+max_length = 0\n+\n+file = File.open(picture_name);\n+file_array = file.to_a\n+file_array.each do |i|\n+if i.size >= max_length\n+    max_length = i.size\n+  else\n+    max_length = max_length\n+  end\n+  max_size += 1\n+end\n+\n+init_screen\n+nl\n+noecho\n+curs_set(0)\n+\n+ypos = lines / 2\n+xpos = cols\n+\n+\n+# while true do\n+  counter = 0\n+  while counter < max_size\n+    file_array.each_with_index do |var, index|\n+      temp_array = []\n+      var.each_char do |i|\n+        temp_array << i\n+      end\n+      setpos(ypos + index, xpos - counter); addstr (temp_array[counter])\n+      # puts temp_array[counter]\n+      refresh\n+    end\n+    counter += 1\n+  end\n+  clear\n+  sleep 8\n+\n+","path":"2015/EugeneMarchenko/1/hello.rb","position":46,"original_position":46,"commit_id":"bbd01350ed04456683aa1e605db84bdba13754a8","original_commit_id":"bbd01350ed04456683aa1e605db84bdba13754a8","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra blank line detected.","created_at":"2015-04-27T14:56:43Z","updated_at":"2015-04-27T14:56:43Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/23#discussion_r29153573","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/29153573"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/23#discussion_r29153573"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23","id":33865266,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/23","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/23.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/23.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/23","number":23,"state":"open","locked":false,"title":"1st home work","user":{"login":"eugene-marchenko","id":3833853,"avatar_url":"https://avatars.githubusercontent.com/u/3833853?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-marchenko","html_url":"https://github.com/eugene-marchenko","followers_url":"https://api.github.com/users/eugene-marchenko/followers","following_url":"https://api.github.com/users/eugene-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/eugene-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-marchenko/subscriptions","organizations_url":"https://api.github.com/users/eugene-marchenko/orgs","repos_url":"https://api.github.com/users/eugene-marchenko/repos","events_url":"https://api.github.com/users/eugene-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-marchenko/received_events","type":"User","site_admin":false},"body":"sorry for delay :(","created_at":"2015-04-22T14:44:18Z","updated_at":"2015-04-27T14:56:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf5b65879a0a9a1e4257832075eb526557491866","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23/comments","review_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/23/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/bbd01350ed04456683aa1e605db84bdba13754a8","head":{"label":"eugene-marchenko:master","ref":"master","sha":"bbd01350ed04456683aa1e605db84bdba13754a8","user":{"login":"eugene-marchenko","id":3833853,"avatar_url":"https://avatars.githubusercontent.com/u/3833853?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-marchenko","html_url":"https://github.com/eugene-marchenko","followers_url":"https://api.github.com/users/eugene-marchenko/followers","following_url":"https://api.github.com/users/eugene-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/eugene-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-marchenko/subscriptions","organizations_url":"https://api.github.com/users/eugene-marchenko/orgs","repos_url":"https://api.github.com/users/eugene-marchenko/repos","events_url":"https://api.github.com/users/eugene-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-marchenko/received_events","type":"User","site_admin":false},"repo":{"id":34381658,"name":"bsuir-courses","full_name":"eugene-marchenko/bsuir-courses","owner":{"login":"eugene-marchenko","id":3833853,"avatar_url":"https://avatars.githubusercontent.com/u/3833853?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-marchenko","html_url":"https://github.com/eugene-marchenko","followers_url":"https://api.github.com/users/eugene-marchenko/followers","following_url":"https://api.github.com/users/eugene-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/eugene-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-marchenko/subscriptions","organizations_url":"https://api.github.com/users/eugene-marchenko/orgs","repos_url":"https://api.github.com/users/eugene-marchenko/repos","events_url":"https://api.github.com/users/eugene-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-marchenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eugene-marchenko/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses","forks_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/forks","keys_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/events","assignees_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/merges","archive_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/eugene-marchenko/bsuir-courses/releases{/id}","created_at":"2015-04-22T09:34:07Z","updated_at":"2015-04-27T14:56:36Z","pushed_at":"2015-04-27T14:56:36Z","git_url":"git://github.com/eugene-marchenko/bsuir-courses.git","ssh_url":"git@github.com:eugene-marchenko/bsuir-courses.git","clone_url":"https://github.com/eugene-marchenko/bsuir-courses.git","svn_url":"https://github.com/eugene-marchenko/bsuir-courses","homepage":null,"size":217,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubyroidlabs:master","ref":"master","sha":"b1e764a27067f23880c4542626019d0b86155bcd","user":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14405320,"name":"bsuir-courses","full_name":"rubyroidlabs/bsuir-courses","owner":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubyroidlabs/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":false,"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses","forks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/forks","keys_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/events","assignees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/merges","archive_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/releases{/id}","created_at":"2013-11-14T19:55:12Z","updated_at":"2015-04-27T06:49:58Z","pushed_at":"2015-04-27T14:56:36Z","git_url":"git://github.com/rubyroidlabs/bsuir-courses.git","ssh_url":"git@github.com:rubyroidlabs/bsuir-courses.git","clone_url":"https://github.com/rubyroidlabs/bsuir-courses.git","svn_url":"https://github.com/rubyroidlabs/bsuir-courses","homepage":null,"size":915,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":23,"forks":38,"open_issues":23,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/23"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/23"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/bbd01350ed04456683aa1e605db84bdba13754a8"}}}}