{"action":"created","issue":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/672","repository_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code","labels_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/672/comments","events_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/672/events","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/672","id":327931486,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNjA1MzA3","number":672,"title":"Add toHash snippet","user":{"login":"skatcat31","id":13894696,"node_id":"MDQ6VXNlcjEzODk0Njk2","avatar_url":"https://avatars1.githubusercontent.com/u/13894696?v=4","gravatar_id":"","url":"https://api.github.com/users/skatcat31","html_url":"https://github.com/skatcat31","followers_url":"https://api.github.com/users/skatcat31/followers","following_url":"https://api.github.com/users/skatcat31/following{/other_user}","gists_url":"https://api.github.com/users/skatcat31/gists{/gist_id}","starred_url":"https://api.github.com/users/skatcat31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatcat31/subscriptions","organizations_url":"https://api.github.com/users/skatcat31/orgs","repos_url":"https://api.github.com/users/skatcat31/repos","events_url":"https://api.github.com/users/skatcat31/events{/privacy}","received_events_url":"https://api.github.com/users/skatcat31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-30T23:13:48Z","updated_at":"2018-05-31T16:08:40Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/pulls/672","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/672","diff_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/672.diff","patch_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/672.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n<!--- Add the prefix [FIX: #(issue number)], [FEATURE] or [ENHANCEMENT] to the Title -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nA thing I've found myself using a LOT recently to create single pass closures so that I can grab a referenced object based on an identifier in another array. Useful for unfolding loops so you only have to loop over a data set once before referencing them later\r\n\r\n## What does your PR belong to?\r\n- [ ] Website\r\n- [x] Snippets\r\n- [ ] General / Things regarding the repository (like CI Integration)\r\n- [ ] Tests\r\n\r\n## Types of changes\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] Enhancement (non-breaking improvement of a snippet)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project. -- I may have to many spaces in my code formatting... I keep forgetting how semi standard sets that...\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have checked that the changes are working properly\r\n- [x] I have checked that there isn't any PR doing the same\r\n- [x] I have read the **CONTRIBUTING** document.\r\n"},"comment":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/comments/393584583","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/672#issuecomment-393584583","issue_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/672","id":393584583,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU4NDU4Mw==","user":{"login":"skatcat31","id":13894696,"node_id":"MDQ6VXNlcjEzODk0Njk2","avatar_url":"https://avatars1.githubusercontent.com/u/13894696?v=4","gravatar_id":"","url":"https://api.github.com/users/skatcat31","html_url":"https://github.com/skatcat31","followers_url":"https://api.github.com/users/skatcat31/followers","following_url":"https://api.github.com/users/skatcat31/following{/other_user}","gists_url":"https://api.github.com/users/skatcat31/gists{/gist_id}","starred_url":"https://api.github.com/users/skatcat31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatcat31/subscriptions","organizations_url":"https://api.github.com/users/skatcat31/orgs","repos_url":"https://api.github.com/users/skatcat31/repos","events_url":"https://api.github.com/users/skatcat31/events{/privacy}","received_events_url":"https://api.github.com/users/skatcat31/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T16:08:40Z","updated_at":"2018-05-31T16:08:40Z","author_association":"COLLABORATOR","body":"The name is to show that an iterator passed in returns a hash(keyed data store)\r\n\r\nI could probably clean up the description and add an explination"}}
{"actor":{"display_login":"skatcat31"}}