{"action":"created","comment":{"url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/comments/37524149","id":37524149,"diff_hunk":"@@ -0,0 +1,71 @@\n+##\n+# Copyright 2009-2015 Ghent University\n+#\n+# This file is part of hanythingondemand\n+# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),\n+# with support of Ghent University (http://ugent.be/hpc),\n+# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),\n+# the Hercules foundation (http://www.herculesstichting.be/in_English)\n+# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).\n+#\n+# http://github.com/hpcugent/hanythingondemand\n+#\n+# hanythingondemand is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation v2.\n+#\n+# hanythingondemand is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with hanythingondemand. If not, see <http://www.gnu.org/licenses/>.\n+##\n+\"\"\"\n+IPython Notebook autoconfiguration.\n+\n+@author: Ewan Higgs (Ghent University)\n+\"\"\"\n+\n+import string\n+\n+def ipython_notebook_config(workdir, node_info):\n+    '''\n+    Generate config \n+    '''\n+    template = r\"\"\"\n+c = get_config()\n+\n+# Kernel config\n+c.IPKernelApp.pylab = 'inline'  # if you want plotting support always\n+\n+# Notebook config\n+c.NotebookApp.ip = '$ip'","path":"hod/config/autogen/ipython_notebook.py","position":44,"original_position":44,"commit_id":"b6ac24046e1a2b5df67e119e04950f2b4dabffb9","original_commit_id":"b6ac24046e1a2b5df67e119e04950f2b4dabffb9","user":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"body":"```\r\nKernelManager.ip : Unicode\r\nDefault: u’‘\r\n\r\nSet the kernel’s IP address [default localhost]. If the IP address is something other than localhost, then Consoles on other machines will be able to connect to the Kernel, so be careful!\r\n```\r\n\r\ndo we really want/need to specify the IP here?","created_at":"2015-08-20T12:43:42Z","updated_at":"2015-08-20T12:43:42Z","html_url":"https://github.com/hpcugent/hanythingondemand/pull/48#discussion_r37524149","pull_request_url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/comments/37524149"},"html":{"href":"https://github.com/hpcugent/hanythingondemand/pull/48#discussion_r37524149"},"pull_request":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48","id":42590939,"html_url":"https://github.com/hpcugent/hanythingondemand/pull/48","diff_url":"https://github.com/hpcugent/hanythingondemand/pull/48.diff","patch_url":"https://github.com/hpcugent/hanythingondemand/pull/48.patch","issue_url":"https://api.github.com/repos/hpcugent/hanythingondemand/issues/48","number":48,"state":"open","locked":false,"title":"IPython notebook w/ autogen part.","user":{"login":"ehiggs","id":28823,"avatar_url":"https://avatars.githubusercontent.com/u/28823?v=3","gravatar_id":"","url":"https://api.github.com/users/ehiggs","html_url":"https://github.com/ehiggs","followers_url":"https://api.github.com/users/ehiggs/followers","following_url":"https://api.github.com/users/ehiggs/following{/other_user}","gists_url":"https://api.github.com/users/ehiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/ehiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehiggs/subscriptions","organizations_url":"https://api.github.com/users/ehiggs/orgs","repos_url":"https://api.github.com/users/ehiggs/repos","events_url":"https://api.github.com/users/ehiggs/events{/privacy}","received_events_url":"https://api.github.com/users/ehiggs/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-17T14:02:15Z","updated_at":"2015-08-20T12:43:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"760984a944ce8424224cbd409b1003f5205082d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48/commits","review_comments_url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48/comments","review_comment_url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hpcugent/hanythingondemand/issues/48/comments","statuses_url":"https://api.github.com/repos/hpcugent/hanythingondemand/statuses/b6ac24046e1a2b5df67e119e04950f2b4dabffb9","head":{"label":"ehiggs:ipython-notebook","ref":"ipython-notebook","sha":"b6ac24046e1a2b5df67e119e04950f2b4dabffb9","user":{"login":"ehiggs","id":28823,"avatar_url":"https://avatars.githubusercontent.com/u/28823?v=3","gravatar_id":"","url":"https://api.github.com/users/ehiggs","html_url":"https://github.com/ehiggs","followers_url":"https://api.github.com/users/ehiggs/followers","following_url":"https://api.github.com/users/ehiggs/following{/other_user}","gists_url":"https://api.github.com/users/ehiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/ehiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehiggs/subscriptions","organizations_url":"https://api.github.com/users/ehiggs/orgs","repos_url":"https://api.github.com/users/ehiggs/repos","events_url":"https://api.github.com/users/ehiggs/events{/privacy}","received_events_url":"https://api.github.com/users/ehiggs/received_events","type":"User","site_admin":false},"repo":{"id":17957270,"name":"hanythingondemand","full_name":"ehiggs/hanythingondemand","owner":{"login":"ehiggs","id":28823,"avatar_url":"https://avatars.githubusercontent.com/u/28823?v=3","gravatar_id":"","url":"https://api.github.com/users/ehiggs","html_url":"https://github.com/ehiggs","followers_url":"https://api.github.com/users/ehiggs/followers","following_url":"https://api.github.com/users/ehiggs/following{/other_user}","gists_url":"https://api.github.com/users/ehiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/ehiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehiggs/subscriptions","organizations_url":"https://api.github.com/users/ehiggs/orgs","repos_url":"https://api.github.com/users/ehiggs/repos","events_url":"https://api.github.com/users/ehiggs/events{/privacy}","received_events_url":"https://api.github.com/users/ehiggs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehiggs/hanythingondemand","description":"hanythingondemand provides a set of scripts to easily set up an ad-hoc Hadoop cluster through PBS jobs ","fork":true,"url":"https://api.github.com/repos/ehiggs/hanythingondemand","forks_url":"https://api.github.com/repos/ehiggs/hanythingondemand/forks","keys_url":"https://api.github.com/repos/ehiggs/hanythingondemand/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehiggs/hanythingondemand/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehiggs/hanythingondemand/teams","hooks_url":"https://api.github.com/repos/ehiggs/hanythingondemand/hooks","issue_events_url":"https://api.github.com/repos/ehiggs/hanythingondemand/issues/events{/number}","events_url":"https://api.github.com/repos/ehiggs/hanythingondemand/events","assignees_url":"https://api.github.com/repos/ehiggs/hanythingondemand/assignees{/user}","branches_url":"https://api.github.com/repos/ehiggs/hanythingondemand/branches{/branch}","tags_url":"https://api.github.com/repos/ehiggs/hanythingondemand/tags","blobs_url":"https://api.github.com/repos/ehiggs/hanythingondemand/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehiggs/hanythingondemand/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehiggs/hanythingondemand/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehiggs/hanythingondemand/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehiggs/hanythingondemand/statuses/{sha}","languages_url":"https://api.github.com/repos/ehiggs/hanythingondemand/languages","stargazers_url":"https://api.github.com/repos/ehiggs/hanythingondemand/stargazers","contributors_url":"https://api.github.com/repos/ehiggs/hanythingondemand/contributors","subscribers_url":"https://api.github.com/repos/ehiggs/hanythingondemand/subscribers","subscription_url":"https://api.github.com/repos/ehiggs/hanythingondemand/subscription","commits_url":"https://api.github.com/repos/ehiggs/hanythingondemand/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehiggs/hanythingondemand/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehiggs/hanythingondemand/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehiggs/hanythingondemand/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehiggs/hanythingondemand/contents/{+path}","compare_url":"https://api.github.com/repos/ehiggs/hanythingondemand/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehiggs/hanythingondemand/merges","archive_url":"https://api.github.com/repos/ehiggs/hanythingondemand/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehiggs/hanythingondemand/downloads","issues_url":"https://api.github.com/repos/ehiggs/hanythingondemand/issues{/number}","pulls_url":"https://api.github.com/repos/ehiggs/hanythingondemand/pulls{/number}","milestones_url":"https://api.github.com/repos/ehiggs/hanythingondemand/milestones{/number}","notifications_url":"https://api.github.com/repos/ehiggs/hanythingondemand/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehiggs/hanythingondemand/labels{/name}","releases_url":"https://api.github.com/repos/ehiggs/hanythingondemand/releases{/id}","created_at":"2014-03-20T20:22:21Z","updated_at":"2015-05-06T14:36:28Z","pushed_at":"2015-08-20T11:47:36Z","git_url":"git://github.com/ehiggs/hanythingondemand.git","ssh_url":"git@github.com:ehiggs/hanythingondemand.git","clone_url":"https://github.com/ehiggs/hanythingondemand.git","svn_url":"https://github.com/ehiggs/hanythingondemand","homepage":null,"size":1238,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"hpcugent:master","ref":"master","sha":"444e299afb28bd78509bb55671ebf11ccdf93e3d","user":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"repo":{"id":17631938,"name":"hanythingondemand","full_name":"hpcugent/hanythingondemand","owner":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hpcugent/hanythingondemand","description":"hanythingondemand provides a set of scripts to easily set up an ad-hoc Hadoop cluster through PBS jobs ","fork":false,"url":"https://api.github.com/repos/hpcugent/hanythingondemand","forks_url":"https://api.github.com/repos/hpcugent/hanythingondemand/forks","keys_url":"https://api.github.com/repos/hpcugent/hanythingondemand/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpcugent/hanythingondemand/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpcugent/hanythingondemand/teams","hooks_url":"https://api.github.com/repos/hpcugent/hanythingondemand/hooks","issue_events_url":"https://api.github.com/repos/hpcugent/hanythingondemand/issues/events{/number}","events_url":"https://api.github.com/repos/hpcugent/hanythingondemand/events","assignees_url":"https://api.github.com/repos/hpcugent/hanythingondemand/assignees{/user}","branches_url":"https://api.github.com/repos/hpcugent/hanythingondemand/branches{/branch}","tags_url":"https://api.github.com/repos/hpcugent/hanythingondemand/tags","blobs_url":"https://api.github.com/repos/hpcugent/hanythingondemand/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpcugent/hanythingondemand/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpcugent/hanythingondemand/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpcugent/hanythingondemand/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpcugent/hanythingondemand/statuses/{sha}","languages_url":"https://api.github.com/repos/hpcugent/hanythingondemand/languages","stargazers_url":"https://api.github.com/repos/hpcugent/hanythingondemand/stargazers","contributors_url":"https://api.github.com/repos/hpcugent/hanythingondemand/contributors","subscribers_url":"https://api.github.com/repos/hpcugent/hanythingondemand/subscribers","subscription_url":"https://api.github.com/repos/hpcugent/hanythingondemand/subscription","commits_url":"https://api.github.com/repos/hpcugent/hanythingondemand/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpcugent/hanythingondemand/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpcugent/hanythingondemand/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpcugent/hanythingondemand/issues/comments{/number}","contents_url":"https://api.github.com/repos/hpcugent/hanythingondemand/contents/{+path}","compare_url":"https://api.github.com/repos/hpcugent/hanythingondemand/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpcugent/hanythingondemand/merges","archive_url":"https://api.github.com/repos/hpcugent/hanythingondemand/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpcugent/hanythingondemand/downloads","issues_url":"https://api.github.com/repos/hpcugent/hanythingondemand/issues{/number}","pulls_url":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls{/number}","milestones_url":"https://api.github.com/repos/hpcugent/hanythingondemand/milestones{/number}","notifications_url":"https://api.github.com/repos/hpcugent/hanythingondemand/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpcugent/hanythingondemand/labels{/name}","releases_url":"https://api.github.com/repos/hpcugent/hanythingondemand/releases{/id}","created_at":"2014-03-11T13:48:31Z","updated_at":"2015-08-12T15:03:28Z","pushed_at":"2015-08-20T11:47:36Z","git_url":"git://github.com/hpcugent/hanythingondemand.git","ssh_url":"git@github.com:hpcugent/hanythingondemand.git","clone_url":"https://github.com/hpcugent/hanythingondemand.git","svn_url":"https://github.com/hpcugent/hanythingondemand","homepage":null,"size":1364,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":20,"forks":3,"open_issues":20,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48"},"html":{"href":"https://github.com/hpcugent/hanythingondemand/pull/48"},"issue":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/issues/48"},"comments":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/hpcugent/hanythingondemand/statuses/b6ac24046e1a2b5df67e119e04950f2b4dabffb9"}}}}