{"action":"created","comment":{"url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/comments/360361036","pull_request_review_id":335241443,"id":360361036,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MDM2MTAzNg==","diff_hunk":"@@ -0,0 +1,19 @@\n+---\n+title: average\n+tags: math,list,beginner\n+---\n+\n+Returns the average of two or more numbers.\n+\n+Use `sum()` to sum all of the `args` provided, divide by `length(args)`.\n+\n+```Julia\n+function average(args...)\n+    return sum(args) / length(args)","path":"snippets/average.md","position":12,"original_position":12,"commit_id":"d8187129e2e1a342c9ed261e8def0d8001433670","original_commit_id":"d8187129e2e1a342c9ed261e8def0d8001433670","user":{"login":"Chalarangelo","id":8281875,"node_id":"MDQ6VXNlcjgyODE4NzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8281875?v=4","gravatar_id":"","url":"https://api.github.com/users/Chalarangelo","html_url":"https://github.com/Chalarangelo","followers_url":"https://api.github.com/users/Chalarangelo/followers","following_url":"https://api.github.com/users/Chalarangelo/following{/other_user}","gists_url":"https://api.github.com/users/Chalarangelo/gists{/gist_id}","starred_url":"https://api.github.com/users/Chalarangelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chalarangelo/subscriptions","organizations_url":"https://api.github.com/users/Chalarangelo/orgs","repos_url":"https://api.github.com/users/Chalarangelo/repos","events_url":"https://api.github.com/users/Chalarangelo/events{/privacy}","received_events_url":"https://api.github.com/users/Chalarangelo/received_events","type":"User","site_admin":false},"body":"Let's keep whitespace to 2 spaces per indentation level for consistency and because it prints better on the website. Other than that, this is looking great!","created_at":"2019-12-20T12:55:38Z","updated_at":"2019-12-20T12:55:56Z","html_url":"https://github.com/30-seconds/30-seconds-of-julia/pull/1#discussion_r360361036","pull_request_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/comments/360361036"},"html":{"href":"https://github.com/30-seconds/30-seconds-of-julia/pull/1#discussion_r360361036"},"pull_request":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1","id":355714424,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU1NzE0NDI0","html_url":"https://github.com/30-seconds/30-seconds-of-julia/pull/1","diff_url":"https://github.com/30-seconds/30-seconds-of-julia/pull/1.diff","patch_url":"https://github.com/30-seconds/30-seconds-of-julia/pull/1.patch","issue_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues/1","number":1,"state":"open","locked":false,"title":"Create average.md","user":{"login":"logankilpatrick","id":35577566,"node_id":"MDQ6VXNlcjM1NTc3NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/35577566?v=4","gravatar_id":"","url":"https://api.github.com/users/logankilpatrick","html_url":"https://github.com/logankilpatrick","followers_url":"https://api.github.com/users/logankilpatrick/followers","following_url":"https://api.github.com/users/logankilpatrick/following{/other_user}","gists_url":"https://api.github.com/users/logankilpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/logankilpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logankilpatrick/subscriptions","organizations_url":"https://api.github.com/users/logankilpatrick/orgs","repos_url":"https://api.github.com/users/logankilpatrick/repos","events_url":"https://api.github.com/users/logankilpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/logankilpatrick/received_events","type":"User","site_admin":false},"body":"Added \"average\" example to the Julia Track. \r\n","created_at":"2019-12-20T12:40:45Z","updated_at":"2019-12-20T12:55:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6b683aac787aa829d8bf20b439b79d16ba6600d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1/commits","review_comments_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1/comments","review_comment_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues/1/comments","statuses_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/statuses/d8187129e2e1a342c9ed261e8def0d8001433670","head":{"label":"logankilpatrick:patch-1","ref":"patch-1","sha":"d8187129e2e1a342c9ed261e8def0d8001433670","user":{"login":"logankilpatrick","id":35577566,"node_id":"MDQ6VXNlcjM1NTc3NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/35577566?v=4","gravatar_id":"","url":"https://api.github.com/users/logankilpatrick","html_url":"https://github.com/logankilpatrick","followers_url":"https://api.github.com/users/logankilpatrick/followers","following_url":"https://api.github.com/users/logankilpatrick/following{/other_user}","gists_url":"https://api.github.com/users/logankilpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/logankilpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logankilpatrick/subscriptions","organizations_url":"https://api.github.com/users/logankilpatrick/orgs","repos_url":"https://api.github.com/users/logankilpatrick/repos","events_url":"https://api.github.com/users/logankilpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/logankilpatrick/received_events","type":"User","site_admin":false},"repo":{"id":229261812,"node_id":"MDEwOlJlcG9zaXRvcnkyMjkyNjE4MTI=","name":"30-seconds-of-julia","full_name":"logankilpatrick/30-seconds-of-julia","private":false,"owner":{"login":"logankilpatrick","id":35577566,"node_id":"MDQ6VXNlcjM1NTc3NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/35577566?v=4","gravatar_id":"","url":"https://api.github.com/users/logankilpatrick","html_url":"https://github.com/logankilpatrick","followers_url":"https://api.github.com/users/logankilpatrick/followers","following_url":"https://api.github.com/users/logankilpatrick/following{/other_user}","gists_url":"https://api.github.com/users/logankilpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/logankilpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logankilpatrick/subscriptions","organizations_url":"https://api.github.com/users/logankilpatrick/orgs","repos_url":"https://api.github.com/users/logankilpatrick/repos","events_url":"https://api.github.com/users/logankilpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/logankilpatrick/received_events","type":"User","site_admin":false},"html_url":"https://github.com/logankilpatrick/30-seconds-of-julia","description":"[WIP] Short Julia code snippets for all your development needs","fork":true,"url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia","forks_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/forks","keys_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/teams","hooks_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/hooks","issue_events_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/issues/events{/number}","events_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/events","assignees_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/assignees{/user}","branches_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/branches{/branch}","tags_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/tags","blobs_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/statuses/{sha}","languages_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/languages","stargazers_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/stargazers","contributors_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/contributors","subscribers_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/subscribers","subscription_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/subscription","commits_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/contents/{+path}","compare_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/merges","archive_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/downloads","issues_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/issues{/number}","pulls_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/pulls{/number}","milestones_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/milestones{/number}","notifications_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/labels{/name}","releases_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/releases{/id}","deployments_url":"https://api.github.com/repos/logankilpatrick/30-seconds-of-julia/deployments","created_at":"2019-12-20T12:34:27Z","updated_at":"2019-12-20T12:34:29Z","pushed_at":"2019-12-20T12:40:10Z","git_url":"git://github.com/logankilpatrick/30-seconds-of-julia.git","ssh_url":"git@github.com:logankilpatrick/30-seconds-of-julia.git","clone_url":"https://github.com/logankilpatrick/30-seconds-of-julia.git","svn_url":"https://github.com/logankilpatrick/30-seconds-of-julia","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"30-seconds:master","ref":"master","sha":"9960c72e53dca7606a37a183f5a3a800c672bc8a","user":{"login":"30-seconds","id":43479428,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDc5NDI4","avatar_url":"https://avatars3.githubusercontent.com/u/43479428?v=4","gravatar_id":"","url":"https://api.github.com/users/30-seconds","html_url":"https://github.com/30-seconds","followers_url":"https://api.github.com/users/30-seconds/followers","following_url":"https://api.github.com/users/30-seconds/following{/other_user}","gists_url":"https://api.github.com/users/30-seconds/gists{/gist_id}","starred_url":"https://api.github.com/users/30-seconds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30-seconds/subscriptions","organizations_url":"https://api.github.com/users/30-seconds/orgs","repos_url":"https://api.github.com/users/30-seconds/repos","events_url":"https://api.github.com/users/30-seconds/events{/privacy}","received_events_url":"https://api.github.com/users/30-seconds/received_events","type":"Organization","site_admin":false},"repo":{"id":228588587,"node_id":"MDEwOlJlcG9zaXRvcnkyMjg1ODg1ODc=","name":"30-seconds-of-julia","full_name":"30-seconds/30-seconds-of-julia","private":false,"owner":{"login":"30-seconds","id":43479428,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNDc5NDI4","avatar_url":"https://avatars3.githubusercontent.com/u/43479428?v=4","gravatar_id":"","url":"https://api.github.com/users/30-seconds","html_url":"https://github.com/30-seconds","followers_url":"https://api.github.com/users/30-seconds/followers","following_url":"https://api.github.com/users/30-seconds/following{/other_user}","gists_url":"https://api.github.com/users/30-seconds/gists{/gist_id}","starred_url":"https://api.github.com/users/30-seconds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30-seconds/subscriptions","organizations_url":"https://api.github.com/users/30-seconds/orgs","repos_url":"https://api.github.com/users/30-seconds/repos","events_url":"https://api.github.com/users/30-seconds/events{/privacy}","received_events_url":"https://api.github.com/users/30-seconds/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/30-seconds/30-seconds-of-julia","description":"[WIP] Short Julia code snippets for all your development needs","fork":false,"url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia","forks_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/forks","keys_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/teams","hooks_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/hooks","issue_events_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues/events{/number}","events_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/events","assignees_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/assignees{/user}","branches_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/branches{/branch}","tags_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/tags","blobs_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/statuses/{sha}","languages_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/languages","stargazers_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/stargazers","contributors_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/contributors","subscribers_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/subscribers","subscription_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/subscription","commits_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/contents/{+path}","compare_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/merges","archive_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/downloads","issues_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues{/number}","pulls_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls{/number}","milestones_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/milestones{/number}","notifications_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/labels{/name}","releases_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/releases{/id}","deployments_url":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/deployments","created_at":"2019-12-17T10:10:12Z","updated_at":"2019-12-19T07:05:44Z","pushed_at":"2019-12-20T12:40:46Z","git_url":"git://github.com/30-seconds/30-seconds-of-julia.git","ssh_url":"git@github.com:30-seconds/30-seconds-of-julia.git","clone_url":"https://github.com/30-seconds/30-seconds-of-julia.git","svn_url":"https://github.com/30-seconds/30-seconds-of-julia","homepage":null,"size":86,"stargazers_count":2,"watchers_count":2,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1"},"html":{"href":"https://github.com/30-seconds/30-seconds-of-julia/pull/1"},"issue":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues/1"},"comments":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/30-seconds/30-seconds-of-julia/statuses/d8187129e2e1a342c9ed261e8def0d8001433670"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Chalarangelo"}}