{"action":"created","comment":{"url":"https://api.github.com/repos/maban/maban.github.io/pulls/comments/37694703","id":37694703,"diff_hunk":"@@ -0,0 +1,23 @@\n+module Jekyll\n+\tmodule RemoveFrontMatterFilter\n+\t\tdef removefrontmatter input\n+\t\t\t# find the first\n+\t\t\tfirst = input.index(\"---\")\n+\t\t\tif (first == nil)\n+\t\t\t\tinput\n+\t\t\tend\n+\n+\t\t\t# find the second\n+\t\t\tsecond = input.index(\"---\", first + 1)\n+\t\t\tif (second == nil)\n+\t\t\t\tinput\n+\t\t\tend\n+\n+\t\t\t#strip the string\n+\t\t\tinput[first..second + 2] = ''\n+\t\t\t#return input\n+\t\t\tinput\n+\t\tend\n+\tend","path":"_plugins/removefrontmatter.rb","position":21,"original_position":21,"commit_id":"439609b076d9fb1649f2650e7ce1c2c3d11dd7f7","original_commit_id":"439609b076d9fb1649f2650e7ce1c2c3d11dd7f7","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":"Tab detected.","created_at":"2015-08-22T10:30:07Z","updated_at":"2015-08-22T10:30:07Z","html_url":"https://github.com/maban/maban.github.io/pull/3#discussion_r37694703","pull_request_url":"https://api.github.com/repos/maban/maban.github.io/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/maban/maban.github.io/pulls/comments/37694703"},"html":{"href":"https://github.com/maban/maban.github.io/pull/3#discussion_r37694703"},"pull_request":{"href":"https://api.github.com/repos/maban/maban.github.io/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/maban/maban.github.io/pulls/3","id":43101458,"html_url":"https://github.com/maban/maban.github.io/pull/3","diff_url":"https://github.com/maban/maban.github.io/pull/3.diff","patch_url":"https://github.com/maban/maban.github.io/pull/3.patch","issue_url":"https://api.github.com/repos/maban/maban.github.io/issues/3","number":3,"state":"open","locked":false,"title":"Refactor","user":{"login":"maban","id":237149,"avatar_url":"https://avatars.githubusercontent.com/u/237149?v=3","gravatar_id":"","url":"https://api.github.com/users/maban","html_url":"https://github.com/maban","followers_url":"https://api.github.com/users/maban/followers","following_url":"https://api.github.com/users/maban/following{/other_user}","gists_url":"https://api.github.com/users/maban/gists{/gist_id}","starred_url":"https://api.github.com/users/maban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maban/subscriptions","organizations_url":"https://api.github.com/users/maban/orgs","repos_url":"https://api.github.com/users/maban/repos","events_url":"https://api.github.com/users/maban/events{/privacy}","received_events_url":"https://api.github.com/users/maban/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-22T10:29:45Z","updated_at":"2015-08-22T10:30:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcf2dc5859a0022b0043363cd5ded77a4534a43b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maban/maban.github.io/pulls/3/commits","review_comments_url":"https://api.github.com/repos/maban/maban.github.io/pulls/3/comments","review_comment_url":"https://api.github.com/repos/maban/maban.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maban/maban.github.io/issues/3/comments","statuses_url":"https://api.github.com/repos/maban/maban.github.io/statuses/439609b076d9fb1649f2650e7ce1c2c3d11dd7f7","head":{"label":"maban:refactor","ref":"refactor","sha":"439609b076d9fb1649f2650e7ce1c2c3d11dd7f7","user":{"login":"maban","id":237149,"avatar_url":"https://avatars.githubusercontent.com/u/237149?v=3","gravatar_id":"","url":"https://api.github.com/users/maban","html_url":"https://github.com/maban","followers_url":"https://api.github.com/users/maban/followers","following_url":"https://api.github.com/users/maban/following{/other_user}","gists_url":"https://api.github.com/users/maban/gists{/gist_id}","starred_url":"https://api.github.com/users/maban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maban/subscriptions","organizations_url":"https://api.github.com/users/maban/orgs","repos_url":"https://api.github.com/users/maban/repos","events_url":"https://api.github.com/users/maban/events{/privacy}","received_events_url":"https://api.github.com/users/maban/received_events","type":"User","site_admin":false},"repo":{"id":17285479,"name":"maban.github.io","full_name":"maban/maban.github.io","owner":{"login":"maban","id":237149,"avatar_url":"https://avatars.githubusercontent.com/u/237149?v=3","gravatar_id":"","url":"https://api.github.com/users/maban","html_url":"https://github.com/maban","followers_url":"https://api.github.com/users/maban/followers","following_url":"https://api.github.com/users/maban/following{/other_user}","gists_url":"https://api.github.com/users/maban/gists{/gist_id}","starred_url":"https://api.github.com/users/maban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maban/subscriptions","organizations_url":"https://api.github.com/users/maban/orgs","repos_url":"https://api.github.com/users/maban/repos","events_url":"https://api.github.com/users/maban/events{/privacy}","received_events_url":"https://api.github.com/users/maban/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maban/maban.github.io","description":"","fork":false,"url":"https://api.github.com/repos/maban/maban.github.io","forks_url":"https://api.github.com/repos/maban/maban.github.io/forks","keys_url":"https://api.github.com/repos/maban/maban.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maban/maban.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maban/maban.github.io/teams","hooks_url":"https://api.github.com/repos/maban/maban.github.io/hooks","issue_events_url":"https://api.github.com/repos/maban/maban.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/maban/maban.github.io/events","assignees_url":"https://api.github.com/repos/maban/maban.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/maban/maban.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/maban/maban.github.io/tags","blobs_url":"https://api.github.com/repos/maban/maban.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maban/maban.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maban/maban.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/maban/maban.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maban/maban.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/maban/maban.github.io/languages","stargazers_url":"https://api.github.com/repos/maban/maban.github.io/stargazers","contributors_url":"https://api.github.com/repos/maban/maban.github.io/contributors","subscribers_url":"https://api.github.com/repos/maban/maban.github.io/subscribers","subscription_url":"https://api.github.com/repos/maban/maban.github.io/subscription","commits_url":"https://api.github.com/repos/maban/maban.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/maban/maban.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/maban/maban.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/maban/maban.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/maban/maban.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/maban/maban.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maban/maban.github.io/merges","archive_url":"https://api.github.com/repos/maban/maban.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maban/maban.github.io/downloads","issues_url":"https://api.github.com/repos/maban/maban.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/maban/maban.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/maban/maban.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/maban/maban.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maban/maban.github.io/labels{/name}","releases_url":"https://api.github.com/repos/maban/maban.github.io/releases{/id}","created_at":"2014-02-28T12:28:38Z","updated_at":"2015-05-24T19:28:16Z","pushed_at":"2015-08-22T10:29:45Z","git_url":"git://github.com/maban/maban.github.io.git","ssh_url":"git@github.com:maban/maban.github.io.git","clone_url":"https://github.com/maban/maban.github.io.git","svn_url":"https://github.com/maban/maban.github.io","homepage":null,"size":25477,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":7,"default_branch":"gh-pages"}},"base":{"label":"maban:gh-pages","ref":"gh-pages","sha":"44bf8e91167db7dbe4fce425e9289a24012cd7ef","user":{"login":"maban","id":237149,"avatar_url":"https://avatars.githubusercontent.com/u/237149?v=3","gravatar_id":"","url":"https://api.github.com/users/maban","html_url":"https://github.com/maban","followers_url":"https://api.github.com/users/maban/followers","following_url":"https://api.github.com/users/maban/following{/other_user}","gists_url":"https://api.github.com/users/maban/gists{/gist_id}","starred_url":"https://api.github.com/users/maban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maban/subscriptions","organizations_url":"https://api.github.com/users/maban/orgs","repos_url":"https://api.github.com/users/maban/repos","events_url":"https://api.github.com/users/maban/events{/privacy}","received_events_url":"https://api.github.com/users/maban/received_events","type":"User","site_admin":false},"repo":{"id":17285479,"name":"maban.github.io","full_name":"maban/maban.github.io","owner":{"login":"maban","id":237149,"avatar_url":"https://avatars.githubusercontent.com/u/237149?v=3","gravatar_id":"","url":"https://api.github.com/users/maban","html_url":"https://github.com/maban","followers_url":"https://api.github.com/users/maban/followers","following_url":"https://api.github.com/users/maban/following{/other_user}","gists_url":"https://api.github.com/users/maban/gists{/gist_id}","starred_url":"https://api.github.com/users/maban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maban/subscriptions","organizations_url":"https://api.github.com/users/maban/orgs","repos_url":"https://api.github.com/users/maban/repos","events_url":"https://api.github.com/users/maban/events{/privacy}","received_events_url":"https://api.github.com/users/maban/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maban/maban.github.io","description":"","fork":false,"url":"https://api.github.com/repos/maban/maban.github.io","forks_url":"https://api.github.com/repos/maban/maban.github.io/forks","keys_url":"https://api.github.com/repos/maban/maban.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maban/maban.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maban/maban.github.io/teams","hooks_url":"https://api.github.com/repos/maban/maban.github.io/hooks","issue_events_url":"https://api.github.com/repos/maban/maban.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/maban/maban.github.io/events","assignees_url":"https://api.github.com/repos/maban/maban.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/maban/maban.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/maban/maban.github.io/tags","blobs_url":"https://api.github.com/repos/maban/maban.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maban/maban.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maban/maban.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/maban/maban.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maban/maban.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/maban/maban.github.io/languages","stargazers_url":"https://api.github.com/repos/maban/maban.github.io/stargazers","contributors_url":"https://api.github.com/repos/maban/maban.github.io/contributors","subscribers_url":"https://api.github.com/repos/maban/maban.github.io/subscribers","subscription_url":"https://api.github.com/repos/maban/maban.github.io/subscription","commits_url":"https://api.github.com/repos/maban/maban.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/maban/maban.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/maban/maban.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/maban/maban.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/maban/maban.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/maban/maban.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maban/maban.github.io/merges","archive_url":"https://api.github.com/repos/maban/maban.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maban/maban.github.io/downloads","issues_url":"https://api.github.com/repos/maban/maban.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/maban/maban.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/maban/maban.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/maban/maban.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maban/maban.github.io/labels{/name}","releases_url":"https://api.github.com/repos/maban/maban.github.io/releases{/id}","created_at":"2014-02-28T12:28:38Z","updated_at":"2015-05-24T19:28:16Z","pushed_at":"2015-08-22T10:29:45Z","git_url":"git://github.com/maban/maban.github.io.git","ssh_url":"git@github.com:maban/maban.github.io.git","clone_url":"https://github.com/maban/maban.github.io.git","svn_url":"https://github.com/maban/maban.github.io","homepage":null,"size":25477,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":7,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/maban/maban.github.io/pulls/3"},"html":{"href":"https://github.com/maban/maban.github.io/pull/3"},"issue":{"href":"https://api.github.com/repos/maban/maban.github.io/issues/3"},"comments":{"href":"https://api.github.com/repos/maban/maban.github.io/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/maban/maban.github.io/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/maban/maban.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maban/maban.github.io/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/maban/maban.github.io/statuses/439609b076d9fb1649f2650e7ce1c2c3d11dd7f7"}}}}