{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/28365538","id":28365538,"diff_hunk":"@@ -0,0 +1,82 @@\n+#!/usr/bin/env perl\n+\n+use strict;\n+use warnings;\n+use Test::More;\n+use DDG::Test::Goodie;\n+\n+zci answer_type => \"cheat_sheet_cheat_sheet\";\n+zci is_cached   => 1;\n+\n+my @list = [{\n+    text => 'CronTab',\n+    url => 'https://duckduckgo.com/?q=crontab+help&ia=answer'\n+},\n+{\n+    text => 'GIMP',\n+    url => 'https://duckduckgo.com/?q=gimp+cheat+sheet&ia=answer'\n+},\n+{\n+    text => 'RegEx',\n+    url => 'https://duckduckgo.com/?q=regex&ia=answer'","path":"t/CheatSheetCheatSheet.t","position":21,"original_position":21,"commit_id":"f747cae9380694a034276c170aa26b9985f22299","original_commit_id":"f747cae9380694a034276c170aa26b9985f22299","user":{"login":"mintsoft","id":978048,"avatar_url":"https://avatars.githubusercontent.com/u/978048?v=3","gravatar_id":"","url":"https://api.github.com/users/mintsoft","html_url":"https://github.com/mintsoft","followers_url":"https://api.github.com/users/mintsoft/followers","following_url":"https://api.github.com/users/mintsoft/following{/other_user}","gists_url":"https://api.github.com/users/mintsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mintsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mintsoft/subscriptions","organizations_url":"https://api.github.com/users/mintsoft/orgs","repos_url":"https://api.github.com/users/mintsoft/repos","events_url":"https://api.github.com/users/mintsoft/events{/privacy}","received_events_url":"https://api.github.com/users/mintsoft/received_events","type":"User","site_admin":false},"body":"I'd probably change this search query to \"regex cheatsheet\" as it might not default to the cheatsheet in the future ","created_at":"2015-04-14T20:13:17Z","updated_at":"2015-04-14T20:13:17Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1088#discussion_r28365538","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/28365538"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1088#discussion_r28365538"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088","id":32638131,"html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1088","diff_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1088.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1088.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1088","number":1088,"state":"open","locked":false,"title":"Cheat sheet of cheat sheets on DuckDuckGo","user":{"login":"ngzhian","id":1749303,"avatar_url":"https://avatars.githubusercontent.com/u/1749303?v=3","gravatar_id":"","url":"https://api.github.com/users/ngzhian","html_url":"https://github.com/ngzhian","followers_url":"https://api.github.com/users/ngzhian/followers","following_url":"https://api.github.com/users/ngzhian/following{/other_user}","gists_url":"https://api.github.com/users/ngzhian/gists{/gist_id}","starred_url":"https://api.github.com/users/ngzhian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngzhian/subscriptions","organizations_url":"https://api.github.com/users/ngzhian/orgs","repos_url":"https://api.github.com/users/ngzhian/repos","events_url":"https://api.github.com/users/ngzhian/events{/privacy}","received_events_url":"https://api.github.com/users/ngzhian/received_events","type":"User","site_admin":false},"body":"**What does your Instant Answer do?**\r\nShows a list of cheat sheets available on DuckDuckGo\r\n\r\n**What problem does your Instant Answer solve (Why is it better than organic links)?**\r\nSo many great cheat sheets available, how do you discover them? With a cheat sheet of course!\r\n\r\n**What is the data source for your Instant Answer? (Provide a link if possible)**\r\nThe list of cheat sheets are currently hard coded in the file for simplicity. The list was originally provided by @zekiel , thank you!\r\n\r\n**Why did you choose this data source?**\r\nBecause simple :)\r\n\r\n**Are there any other alternative (better) data sources?**\r\nYes! The [Instant Answers index](https://duck.co/ia) probably has the most updated list of live cheat sheets. The issue is how to identify which ones are cheat sheets. Maybe we can crawl that page and find all IAs that matches `s/cheat ?sheet/i`.\r\n\r\n**What are some example queries that trigger this Instant Answer?**\r\n`duckduckgo cheat sheets`\r\n`ddg cheat sheets`\r\nnote the plural.\r\n\r\n**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**\r\nAnyone who feels lost in the world of cheat sheets :relieved: \r\n\r\n**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**\r\nn/a\r\n\r\n**Which existing Instant Answers will this one supercede/overlap with?**\r\nn/a\r\n\r\n**Are you having any problems? Do you need our help with anything?**\r\nn/a\r\n\r\n**Where did you hear about DuckDuckHack? (For first time contributors)**\r\nn/a\r\n\r\n**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**\r\n![cs](https://cloud.githubusercontent.com/assets/1749303/6994150/94906d70-dadc-11e4-85ad-dd1ae41dac54.PNG)\r\n\r\n## Checklist\r\nPlease place an 'X' where appropriate.\r\n\r\n```\r\n- [X] Added metadata and attribution information (https://duck.co/duckduckhack/metadata)\r\n- [X] Wrote test file and added to t/ directory (https://duck.co/duckduckhack/goodie_tests)\r\n- [X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)\r\n- [X] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)\r\n- [X] Tested cross-browser compatibility\r\n\r\n    Please let us know which browsers/devices you've tested on:\r\n    - Windows 8\r\n        - [X] Google Chrome\r\n        - [X] Firefox\r\n        - [] Opera\r\n        - [] IE 10\r\n\r\n    - Windows 7\r\n        - [] Google Chrome\r\n        - [] Firefox\r\n        - [] Opera\r\n        - [] IE 8\r\n        - [] IE 9\r\n        - [] IE 10\r\n\r\n    - Windows XP\r\n        - [] IE 7\r\n        - [] IE 8\r\n\r\n    - Mac OSX\r\n        - [] Google Chrome\r\n        - [] Firefox\r\n        - [] Opera\r\n        - [] Safari\r\n\r\n    - iOS (iPhone)\r\n        - [] Safari Mobile\r\n        - [] Google Chrome\r\n        - [] Opera\r\n\r\n    - iOS (iPad)\r\n        - [] Safari Mobile\r\n        - [] Google Chrome\r\n        - [] Opera\r\n\r\n    - Android\r\n        - [] Firefox\r\n        - [] Native Browser\r\n        - [] Google Chrome\r\n        - [] Opera\r\n```\r\nhttps://duck.co/ideas/idea/5108/cheat-sheet-for-cheat-sheets","created_at":"2015-04-04T19:11:49Z","updated_at":"2015-04-14T20:13:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59ef64d0b6adc4efb0349bf2233d995c5828214e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1088/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/f747cae9380694a034276c170aa26b9985f22299","head":{"label":"ngzhian:cheatsheetcheatsheet","ref":"cheatsheetcheatsheet","sha":"f747cae9380694a034276c170aa26b9985f22299","user":{"login":"ngzhian","id":1749303,"avatar_url":"https://avatars.githubusercontent.com/u/1749303?v=3","gravatar_id":"","url":"https://api.github.com/users/ngzhian","html_url":"https://github.com/ngzhian","followers_url":"https://api.github.com/users/ngzhian/followers","following_url":"https://api.github.com/users/ngzhian/following{/other_user}","gists_url":"https://api.github.com/users/ngzhian/gists{/gist_id}","starred_url":"https://api.github.com/users/ngzhian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngzhian/subscriptions","organizations_url":"https://api.github.com/users/ngzhian/orgs","repos_url":"https://api.github.com/users/ngzhian/repos","events_url":"https://api.github.com/users/ngzhian/events{/privacy}","received_events_url":"https://api.github.com/users/ngzhian/received_events","type":"User","site_admin":false},"repo":{"id":33412989,"name":"zeroclickinfo-goodies","full_name":"ngzhian/zeroclickinfo-goodies","owner":{"login":"ngzhian","id":1749303,"avatar_url":"https://avatars.githubusercontent.com/u/1749303?v=3","gravatar_id":"","url":"https://api.github.com/users/ngzhian","html_url":"https://github.com/ngzhian","followers_url":"https://api.github.com/users/ngzhian/followers","following_url":"https://api.github.com/users/ngzhian/following{/other_user}","gists_url":"https://api.github.com/users/ngzhian/gists{/gist_id}","starred_url":"https://api.github.com/users/ngzhian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngzhian/subscriptions","organizations_url":"https://api.github.com/users/ngzhian/orgs","repos_url":"https://api.github.com/users/ngzhian/repos","events_url":"https://api.github.com/users/ngzhian/events{/privacy}","received_events_url":"https://api.github.com/users/ngzhian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ngzhian/zeroclickinfo-goodies","description":"DuckDuckGo instant answer plugins based on Perl functions","fork":true,"url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/ngzhian/zeroclickinfo-goodies/releases{/id}","created_at":"2015-04-04T17:01:02Z","updated_at":"2015-04-04T19:04:06Z","pushed_at":"2015-04-14T13:29:29Z","git_url":"git://github.com/ngzhian/zeroclickinfo-goodies.git","ssh_url":"git@github.com:ngzhian/zeroclickinfo-goodies.git","clone_url":"https://github.com/ngzhian/zeroclickinfo-goodies.git","svn_url":"https://github.com/ngzhian/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":9552,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"duckduckgo:master","ref":"master","sha":"55ab3aaf72980a4834322212a51a3aeb902864e3","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":2164979,"name":"zeroclickinfo-goodies","full_name":"duckduckgo/zeroclickinfo-goodies","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies","description":"DuckDuckGo instant answer plugins based on Perl functions","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/releases{/id}","created_at":"2011-08-06T13:26:05Z","updated_at":"2015-04-10T21:57:28Z","pushed_at":"2015-04-14T18:31:43Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-goodies.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-goodies.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-goodies.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":27537,"stargazers_count":257,"watchers_count":257,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":781,"mirror_url":null,"open_issues_count":86,"forks":781,"open_issues":86,"watchers":257,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1088"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1088"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1088/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1088/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/f747cae9380694a034276c170aa26b9985f22299"}}}}