{"action":"created","issue":{"url":"https://api.github.com/repos/inegm/ebpython/issues/2","labels_url":"https://api.github.com/repos/inegm/ebpython/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/inegm/ebpython/issues/2/comments","events_url":"https://api.github.com/repos/inegm/ebpython/issues/2/events","html_url":"https://github.com/inegm/ebpython/issues/2","id":115072015,"number":2,"title":"Unable to push the repository with Metronome","user":{"login":"danielanez","id":15223853,"avatar_url":"https://avatars.githubusercontent.com/u/15223853?v=3","gravatar_id":"","url":"https://api.github.com/users/danielanez","html_url":"https://github.com/danielanez","followers_url":"https://api.github.com/users/danielanez/followers","following_url":"https://api.github.com/users/danielanez/following{/other_user}","gists_url":"https://api.github.com/users/danielanez/gists{/gist_id}","starred_url":"https://api.github.com/users/danielanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielanez/subscriptions","organizations_url":"https://api.github.com/users/danielanez/orgs","repos_url":"https://api.github.com/users/danielanez/repos","events_url":"https://api.github.com/users/danielanez/events{/privacy}","received_events_url":"https://api.github.com/users/danielanez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T14:59:51Z","updated_at":"2015-11-04T15:02:55Z","closed_at":null,"body":"Hello,\r\n\r\nI've been having trouble pushing the repository back to Github.\r\nI''ve successfully pulled the repository. I've placed the Metronome.py file in the finder's ...../ebpython folder, and then tried to push it back by typing \r\ngit push\r\non the Terminal, but the system gives me this error:\r\n\r\nremote: Permission to inegm/ebpython.git denied to danielanez.\r\nfatal: unable to access 'https://github.com/inegm/ebpython.git/': The requested URL returned error: 403\r\n\r\nFor now I'm going to share the Metronome.py 's  content in another Issue, so that if someone (Lena) wants to work in it, it's available.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/inegm/ebpython/issues/comments/153754753","html_url":"https://github.com/inegm/ebpython/issues/2#issuecomment-153754753","issue_url":"https://api.github.com/repos/inegm/ebpython/issues/2","id":153754753,"user":{"login":"danielanez","id":15223853,"avatar_url":"https://avatars.githubusercontent.com/u/15223853?v=3","gravatar_id":"","url":"https://api.github.com/users/danielanez","html_url":"https://github.com/danielanez","followers_url":"https://api.github.com/users/danielanez/followers","following_url":"https://api.github.com/users/danielanez/following{/other_user}","gists_url":"https://api.github.com/users/danielanez/gists{/gist_id}","starred_url":"https://api.github.com/users/danielanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielanez/subscriptions","organizations_url":"https://api.github.com/users/danielanez/orgs","repos_url":"https://api.github.com/users/danielanez/repos","events_url":"https://api.github.com/users/danielanez/events{/privacy}","received_events_url":"https://api.github.com/users/danielanez/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T15:02:54Z","updated_at":"2015-11-04T15:02:54Z","body":"This is the function-based metronome's code Ismael did in yesterday's lesson:\r\n\r\nplaylist = [(90, 4, 4, 2), (90, 4, 4, 2), (105, 7, 8, 3), (75, 5, 8, 3), (105, 7, 8, 4), (75, 5, 8, 4), (90, 4, 4, 2), (90, 4, 4, 2)]\r\n\r\ndef playbar(tempo, num, den, down):\r\n    ms = (60000 / tempo) * 4 / den\r\n    for i in range(num):\r\n        if i is num:\r\n            state = \"loud\"\r\n        elif i is down:\r\n            state = \"med\"\r\n        else:\r\n            state = \"normal\"\r\n        print \"Beat {0} {1}, waiting {2} ms\".format(i, state, ms)\r\n\r\nfor bar in playlist:\r\n\tplaybar(*bar)\r\n\tprint \"Done\"\r\n"}}