{"action":"created","comment":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments/32883222","id":32883222,"diff_hunk":"@@ -0,0 +1,72 @@\n+'use strict';\n+///////////////////////////////////////////////////\n+// This script is intended to be run as a cron job\n+// every n-minutes or whatever the equiv is on windows\n+//\n+// Author: John A. [euclidjda](https://github.com/euclidjda)","path":"testing/util.js","position":6,"original_position":6,"commit_id":"69d8d966d1505edd4b70cd4f53e944933e4a1b83","original_commit_id":"69d8d966d1505edd4b70cd4f53e944933e4a1b83","user":{"login":"Fokko","id":1134248,"avatar_url":"https://avatars.githubusercontent.com/u/1134248?v=3","gravatar_id":"","url":"https://api.github.com/users/Fokko","html_url":"https://github.com/Fokko","followers_url":"https://api.github.com/users/Fokko/followers","following_url":"https://api.github.com/users/Fokko/following{/other_user}","gists_url":"https://api.github.com/users/Fokko/gists{/gist_id}","starred_url":"https://api.github.com/users/Fokko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fokko/subscriptions","organizations_url":"https://api.github.com/users/Fokko/orgs","repos_url":"https://api.github.com/users/Fokko/repos","events_url":"https://api.github.com/users/Fokko/events{/privacy}","received_events_url":"https://api.github.com/users/Fokko/received_events","type":"User","site_admin":false},"body":"It was already in the `populate.js` file. I spit some functions to the `util.js`, and therefore I copied the author names along. I didn't want to be the person who removes the names of the original author, but I agree that in an open-source project author names are not appropriate in the source itself.","created_at":"2015-06-20T07:58:55Z","updated_at":"2015-06-20T07:58:55Z","html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/632#discussion_r32883222","pull_request_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632","_links":{"self":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments/32883222"},"html":{"href":"https://github.com/nightscout/cgm-remote-monitor/pull/632#discussion_r32883222"},"pull_request":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632"}}},"pull_request":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632","id":37609847,"html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/632","diff_url":"https://github.com/nightscout/cgm-remote-monitor/pull/632.diff","patch_url":"https://github.com/nightscout/cgm-remote-monitor/pull/632.patch","issue_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/632","number":632,"state":"open","locked":false,"title":"Wip/docker compose","user":{"login":"Fokko","id":1134248,"avatar_url":"https://avatars.githubusercontent.com/u/1134248?v=3","gravatar_id":"","url":"https://api.github.com/users/Fokko","html_url":"https://github.com/Fokko","followers_url":"https://api.github.com/users/Fokko/followers","following_url":"https://api.github.com/users/Fokko/following{/other_user}","gists_url":"https://api.github.com/users/Fokko/gists{/gist_id}","starred_url":"https://api.github.com/users/Fokko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fokko/subscriptions","organizations_url":"https://api.github.com/users/Fokko/orgs","repos_url":"https://api.github.com/users/Fokko/repos","events_url":"https://api.github.com/users/Fokko/events{/privacy}","received_events_url":"https://api.github.com/users/Fokko/received_events","type":"User","site_admin":false},"body":"I have created scripts which enable the host Nightscout onto a Docker-ecosystem. Also a Docker-Compose script has been provided which enables to deploy Nightscout+MongoDB+Mosquitto onto Docker.\r\n\r\n![docker](https://cloud.githubusercontent.com/assets/1134248/8141054/48b4b8ea-1162-11e5-83d0-334bcd5fdd98.jpg)\r\n","created_at":"2015-06-12T22:23:29Z","updated_at":"2015-06-20T07:58:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80d75b95662b532dda84f178edd63e65d3646675","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632/commits","review_comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632/comments","review_comment_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/632/comments","statuses_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/statuses/69d8d966d1505edd4b70cd4f53e944933e4a1b83","head":{"label":"Fokko:wip/docker-compose","ref":"wip/docker-compose","sha":"69d8d966d1505edd4b70cd4f53e944933e4a1b83","user":{"login":"Fokko","id":1134248,"avatar_url":"https://avatars.githubusercontent.com/u/1134248?v=3","gravatar_id":"","url":"https://api.github.com/users/Fokko","html_url":"https://github.com/Fokko","followers_url":"https://api.github.com/users/Fokko/followers","following_url":"https://api.github.com/users/Fokko/following{/other_user}","gists_url":"https://api.github.com/users/Fokko/gists{/gist_id}","starred_url":"https://api.github.com/users/Fokko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fokko/subscriptions","organizations_url":"https://api.github.com/users/Fokko/orgs","repos_url":"https://api.github.com/users/Fokko/repos","events_url":"https://api.github.com/users/Fokko/events{/privacy}","received_events_url":"https://api.github.com/users/Fokko/received_events","type":"User","site_admin":false},"repo":{"id":37069184,"name":"cgm-remote-monitor","full_name":"Fokko/cgm-remote-monitor","owner":{"login":"Fokko","id":1134248,"avatar_url":"https://avatars.githubusercontent.com/u/1134248?v=3","gravatar_id":"","url":"https://api.github.com/users/Fokko","html_url":"https://github.com/Fokko","followers_url":"https://api.github.com/users/Fokko/followers","following_url":"https://api.github.com/users/Fokko/following{/other_user}","gists_url":"https://api.github.com/users/Fokko/gists{/gist_id}","starred_url":"https://api.github.com/users/Fokko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fokko/subscriptions","organizations_url":"https://api.github.com/users/Fokko/orgs","repos_url":"https://api.github.com/users/Fokko/repos","events_url":"https://api.github.com/users/Fokko/events{/privacy}","received_events_url":"https://api.github.com/users/Fokko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fokko/cgm-remote-monitor","description":"nightscout web monitor","fork":true,"url":"https://api.github.com/repos/Fokko/cgm-remote-monitor","forks_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/forks","keys_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/teams","hooks_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/hooks","issue_events_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/events","assignees_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/tags","blobs_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/languages","stargazers_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/stargazers","contributors_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/contributors","subscribers_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/subscribers","subscription_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/subscription","commits_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/merges","archive_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/downloads","issues_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/labels{/name}","releases_url":"https://api.github.com/repos/Fokko/cgm-remote-monitor/releases{/id}","created_at":"2015-06-08T13:40:13Z","updated_at":"2015-06-08T13:40:15Z","pushed_at":"2015-06-19T14:59:31Z","git_url":"git://github.com/Fokko/cgm-remote-monitor.git","ssh_url":"git@github.com:Fokko/cgm-remote-monitor.git","clone_url":"https://github.com/Fokko/cgm-remote-monitor.git","svn_url":"https://github.com/Fokko/cgm-remote-monitor","homepage":"","size":7388,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"nightscout:dev","ref":"dev","sha":"4aeee25b92143761c4e9dc9091d03da7b4bb41c3","user":{"login":"nightscout","id":7661012,"avatar_url":"https://avatars.githubusercontent.com/u/7661012?v=3","gravatar_id":"","url":"https://api.github.com/users/nightscout","html_url":"https://github.com/nightscout","followers_url":"https://api.github.com/users/nightscout/followers","following_url":"https://api.github.com/users/nightscout/following{/other_user}","gists_url":"https://api.github.com/users/nightscout/gists{/gist_id}","starred_url":"https://api.github.com/users/nightscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightscout/subscriptions","organizations_url":"https://api.github.com/users/nightscout/orgs","repos_url":"https://api.github.com/users/nightscout/repos","events_url":"https://api.github.com/users/nightscout/events{/privacy}","received_events_url":"https://api.github.com/users/nightscout/received_events","type":"Organization","site_admin":false},"repo":{"id":20042152,"name":"cgm-remote-monitor","full_name":"nightscout/cgm-remote-monitor","owner":{"login":"nightscout","id":7661012,"avatar_url":"https://avatars.githubusercontent.com/u/7661012?v=3","gravatar_id":"","url":"https://api.github.com/users/nightscout","html_url":"https://github.com/nightscout","followers_url":"https://api.github.com/users/nightscout/followers","following_url":"https://api.github.com/users/nightscout/following{/other_user}","gists_url":"https://api.github.com/users/nightscout/gists{/gist_id}","starred_url":"https://api.github.com/users/nightscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightscout/subscriptions","organizations_url":"https://api.github.com/users/nightscout/orgs","repos_url":"https://api.github.com/users/nightscout/repos","events_url":"https://api.github.com/users/nightscout/events{/privacy}","received_events_url":"https://api.github.com/users/nightscout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nightscout/cgm-remote-monitor","description":"nightscout web monitor","fork":false,"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor","forks_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/forks","keys_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/teams","hooks_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/hooks","issue_events_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/events","assignees_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/tags","blobs_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/languages","stargazers_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/stargazers","contributors_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/contributors","subscribers_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/subscribers","subscription_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/subscription","commits_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/merges","archive_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/downloads","issues_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/labels{/name}","releases_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/releases{/id}","created_at":"2014-05-22T00:32:28Z","updated_at":"2015-06-16T06:23:29Z","pushed_at":"2015-06-20T05:20:24Z","git_url":"git://github.com/nightscout/cgm-remote-monitor.git","ssh_url":"git@github.com:nightscout/cgm-remote-monitor.git","clone_url":"https://github.com/nightscout/cgm-remote-monitor.git","svn_url":"https://github.com/nightscout/cgm-remote-monitor","homepage":"","size":12792,"stargazers_count":93,"watchers_count":93,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2923,"mirror_url":null,"open_issues_count":42,"forks":2923,"open_issues":42,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632"},"html":{"href":"https://github.com/nightscout/cgm-remote-monitor/pull/632"},"issue":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/632"},"comments":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/632/comments"},"review_comments":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632/comments"},"review_comment":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/632/commits"},"statuses":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/statuses/69d8d966d1505edd4b70cd4f53e944933e4a1b83"}}}}