{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/41884950","id":41884950,"diff_hunk":"@@ -0,0 +1,36 @@\n+# everything will stop working if you change the size of the console\n+ARGV[0] ? counter_exe =  ARGV[0].to_i : counter_exe = 1\n+MAGIC_NUMBER = 104\n+i = 0\n+space = \" \"\n+image = []\n+direction = 0\n+\n+Dir['*.txt'].each do |name|\n+  image[i] = File.read(name).split(\"\\n\")\n+  i += 1\n+end\n+i = 0\n+\n+counter_exe.times do\n+  i = 0\n+  direction = 0\n+  loop do\n+    if (i == MAGIC_NUMBER) && (direction == 0)\n+      direction = 1;\n+    elsif (i == 0) && (direction == 1)\n+      break\n+    end\n+    puts \"\\e[H\\e[2J\"\n+    image[i%30].each { |line| puts space + line }","path":"2015/AntonStaravoitau/1/B-Boy.rb","position":25,"original_position":25,"commit_id":"8afe6472ed0e3adeb63486b9255c5e6a856b0d33","original_commit_id":"8afe6472ed0e3adeb63486b9255c5e6a856b0d33","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":"Surrounding space missing for operator `%`.","created_at":"2015-10-13T15:49:03Z","updated_at":"2015-10-13T15:49:03Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/101#discussion_r41884950","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/41884950"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/101#discussion_r41884950"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101","id":47551350,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/101","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/101.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/101.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/101","number":101,"state":"open","locked":false,"title":"Implement home task 1","user":{"login":"AntonStaravoitau","id":13379671,"avatar_url":"https://avatars.githubusercontent.com/u/13379671?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonStaravoitau","html_url":"https://github.com/AntonStaravoitau","followers_url":"https://api.github.com/users/AntonStaravoitau/followers","following_url":"https://api.github.com/users/AntonStaravoitau/following{/other_user}","gists_url":"https://api.github.com/users/AntonStaravoitau/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonStaravoitau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonStaravoitau/subscriptions","organizations_url":"https://api.github.com/users/AntonStaravoitau/orgs","repos_url":"https://api.github.com/users/AntonStaravoitau/repos","events_url":"https://api.github.com/users/AntonStaravoitau/events{/privacy}","received_events_url":"https://api.github.com/users/AntonStaravoitau/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-13T15:49:01Z","updated_at":"2015-10-13T15:49:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47f343ae0aa1c372ae101da8212a660c04512368","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101/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/101/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/8afe6472ed0e3adeb63486b9255c5e6a856b0d33","head":{"label":"AntonStaravoitau:master","ref":"master","sha":"8afe6472ed0e3adeb63486b9255c5e6a856b0d33","user":{"login":"AntonStaravoitau","id":13379671,"avatar_url":"https://avatars.githubusercontent.com/u/13379671?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonStaravoitau","html_url":"https://github.com/AntonStaravoitau","followers_url":"https://api.github.com/users/AntonStaravoitau/followers","following_url":"https://api.github.com/users/AntonStaravoitau/following{/other_user}","gists_url":"https://api.github.com/users/AntonStaravoitau/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonStaravoitau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonStaravoitau/subscriptions","organizations_url":"https://api.github.com/users/AntonStaravoitau/orgs","repos_url":"https://api.github.com/users/AntonStaravoitau/repos","events_url":"https://api.github.com/users/AntonStaravoitau/events{/privacy}","received_events_url":"https://api.github.com/users/AntonStaravoitau/received_events","type":"User","site_admin":false},"repo":{"id":44186086,"name":"bsuir-courses","full_name":"AntonStaravoitau/bsuir-courses","owner":{"login":"AntonStaravoitau","id":13379671,"avatar_url":"https://avatars.githubusercontent.com/u/13379671?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonStaravoitau","html_url":"https://github.com/AntonStaravoitau","followers_url":"https://api.github.com/users/AntonStaravoitau/followers","following_url":"https://api.github.com/users/AntonStaravoitau/following{/other_user}","gists_url":"https://api.github.com/users/AntonStaravoitau/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonStaravoitau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonStaravoitau/subscriptions","organizations_url":"https://api.github.com/users/AntonStaravoitau/orgs","repos_url":"https://api.github.com/users/AntonStaravoitau/repos","events_url":"https://api.github.com/users/AntonStaravoitau/events{/privacy}","received_events_url":"https://api.github.com/users/AntonStaravoitau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AntonStaravoitau/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses","forks_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/forks","keys_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/events","assignees_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/merges","archive_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/AntonStaravoitau/bsuir-courses/releases{/id}","created_at":"2015-10-13T15:31:26Z","updated_at":"2015-10-13T15:31:27Z","pushed_at":"2015-10-13T15:46:43Z","git_url":"git://github.com/AntonStaravoitau/bsuir-courses.git","ssh_url":"git@github.com:AntonStaravoitau/bsuir-courses.git","clone_url":"https://github.com/AntonStaravoitau/bsuir-courses.git","svn_url":"https://github.com/AntonStaravoitau/bsuir-courses","homepage":null,"size":2636,"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":"245f04b77171fb38ebee851829fc7423cec16f2a","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-10-13T06:48:53Z","pushed_at":"2015-10-13T15:49:01Z","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":2636,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":39,"forks":101,"open_issues":39,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/101"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/101"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/101/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/101/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/8afe6472ed0e3adeb63486b9255c5e6a856b0d33"}}}}