Commit Graph

11812 Commits (master)

Author SHA1 Message Date
Zaahir Moolla 0ad6de99b1 Fix Travis Builds: use --mirror-only option to prevent installing from backpan (#4478)
* use mirror only to prevent installing from backpan

* reverse order of mirrors
2017-09-06 13:01:56 -04:00
Rob Emery 85f28710a6 Colourcodes: new query patterns (#4453)
* ColorCodes: Cleaning out comments and some minor refactoring

* ColorCodes: Tabs -> spaces and failing test for #190

* ColorCodes: We need more control over the actual query handling so I want the raw query

* ColorCodes: red: \d green: \d blue: \d queries now work

* ColorCodes: refactoring out the need for capturing the inversion words

* ColorCodes: Removing unnecessary hash

* ColourCodes: Attempting to push as much limiting and protection as early as possible

* ColourCodes: Layout tinkering

* ColorCodes: Matches can be wider now we're planning to use named captures

* ColorCodes: Adding named captures for loop removal

* ColorCodes: Converting to use just the named captures; tests failing

* ColorCodes: need to map the type for cmyk

* ColorCodes: Layout

* ColorCodes: RGBA can be implemented as an alias now in the regex :D

* ColorCodes: Will now respond to bluishblack html not just html bluishblack!

* ColorCodes: This regex case seems to make no difference to passing tests or query patterns

* ColorCodes: Types are case sensitive!

* ColorCodes: Using the matches we can construct a colour without hacking the input query

* ColorCodes: We can use the matches for detecting inversion

* ColorCodes: Rearranging

* ColorCodes: Removing unused

* ColorCodes: Bit of cleaning

* ColorCodes: Don't need to do this in the else anymore, we can do it before!

* ColorCodes: show -> to flip the ternary

* ColorCodes: Adding tests for #3758

* ColourCodes: Switching to query_lc

* ColourCodes: Regex refactor
2017-09-05 19:54:36 -04:00
Zach Thompson 781856b4e0 SolarSystem: Use unicode superscripts, multiplication symbol (#4050)
* Use unicode superscripts, multiplication symbol

* Update tests with new unicode

* Put trans in sub
2017-09-05 17:43:43 -04:00
Rohit Upadhyay 50bb72dff7 Game2048: Fixed overtriggering (#4473)
* fixed overtriggering in Game2048

* Added two more tests to help fix issue #4473

* Added regex guard in handle function to fix #4473.

* modified regex guard for #4473

* Added a test to t/Game2048.t

* Removed trailing comma.
2017-09-05 14:00:32 -04:00
Zaahir Moolla fd2712079b Add back build status 2017-09-05 09:52:23 -04:00
Zaahir Moolla a61d2c8b91 Update CONTRIBUTING.md 2017-09-05 09:35:54 -04:00
PJ Hampton df205e2335 REPO: Update pr/readme template (#4474)
* Update PR template.

* Update readme.

* Update PULL_REQUEST_TEMPLATE.md

* Update README.md
2017-09-05 09:31:03 -04:00
jc86035 687f7de9f2 Conversions: Add light years, astronomical units, parsecs (#4438)
* Update conversions.js

* Update conversions.js

* Update conversions.js

* Update conversions.js

* Update triggers.yml

* Update triggers.yml

* Add some tests for new units

* ce

* Update Conversions.t
2017-09-02 10:54:22 +01:00
Marcos Campal 6052a49e7c v1259 2017-08-30 16:36:54 -04:00
Marcos Campal d4d93440ba v1257 2017-08-30 15:24:29 -04:00
PJ Hampton 74fb241903 Fix over triggering on dates. (#4463) 2017-08-29 15:33:26 -04:00
Irini Koutaki a9783ac3cf New Kaomoji Cheat Sheet (#4368)
* new cheat sheet for kaomoji

* correct json

* removed cheat sheet's name from aliases

* description updated

* expanded with more entries

* escape curly brackets
2017-08-29 15:41:08 +02:00
Rob Emery a46679a254 LHC: Limiting overtriggering (#4462)
* HasLHC: Adding failing tests for improper trigger type

* LHC: We want start to limit overtriggering and only if there isn't other information in the query
2017-08-28 18:09:06 -04:00
Ben Moon 9b128b8dbe Shuffle: Update to use Parse::List Role (#3619)
* Update list parsing/formatting to use role

* Remove tests that duplicate role testing
2017-08-28 18:06:55 -04:00
Ben Abrahamson 118350b3aa New Router Gateway Cheat Sheet (#4407)
* Added Router Gateway Reference

* Removed some conflicting aliases

* Changed ID

* Beautified and renamed the json file and fixed ID.

* Update and rename router-gateway.json to router-gateway-reference.json

* Update router-gateway-reference.json

* Added Generic and Fortigate
2017-08-28 20:11:47 +02:00
PJ Hampton d0b3a242db Fix overtriggering. (#4457) 2017-08-28 12:14:07 -04:00
Taite Clark 242793b659 New LHC Apocalypse Checker Instant Answer (#3597)
* Completed perl file, delivering simple response

* The start of a test file

* finish test file, add plain text result.
2017-08-28 16:32:56 +01:00
Vonter 14526e606f New Age of Empires Cheat Sheet (#4395)
* Age of Empires: add cheat sheet

* Age of Empires: changed aoe alias to aoe1
2017-08-28 16:26:53 +01:00
PJ Hampton 368bab09c0 JS Minifier: Added CSS support, Added Beautify support (#4154)
* Add css support for js minifier.

* Add support for prettifying.

* Fixed tests.

* Removed flag code.

* update triggers to include prettify for css.

* Add case insensitivity.

* Remove .fifty from html
2017-08-28 16:14:21 +01:00
suvadeet ca6fcc437d New Nursing Cheat Sheet (#4018)
* Add nursing.json file

* Update with suggested changes
2017-08-28 10:22:14 +01:00
Guillermo Urcera Martín 6f820e8434 New Urdf Cheat Sheet Goodie (#4113)
* first commit

* first commit

* Fixed conflicts again

* Applied changes suggested by @jophab

* Applied changes suggested by @jophab
2017-08-27 22:46:10 +01:00
Tiago Danin 694320533b Node.js Tutorials Cheat Sheet: Updated references (#4458)
* Updated references Node.js Tutorials Cheat Sheet

* Updated refs Node.js Tutorials Cheat Sheet #2
2017-08-27 22:42:14 +02:00
Philip Kirkbride a6bbd9c176 Phonetic: Convert to structured (#4354)
* Make phonetic goodies structured

* add title/subtitle format

* switch title and subtitle

* fix tests
2017-08-27 17:40:54 +01:00
Rob Emery a2b28cba96 AltCalendars: keys on ref is fatal under perl 5.24 (#4418) 2017-08-25 13:13:58 -04:00
Rob Emery 237fd9fa46 Unicode: Fixing 5.24 upgrade -- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^ \s* (?:U \+?|\\(?:u|x{ <-- HERE (?=.*}))) (?<codepoint> [a-f0 (#4427)
-9]{4,6})}? \s* $/ at lib/DDG/Goodie/Unicode.pm line 12
2017-08-25 12:46:36 -04:00
Aditya Tandon a8b453d410 Geometry: Adds geometry of cylinder and cone (#4144)
* adds geometry of cylinder and cone

correcting the formula

updating test

* tweaking cone svg a bit

* tweaking fil surface and fill volume svg

slight nit fix

switches class name to stroke special

updates test

* updates test

* syntax fix
2017-08-25 11:58:30 +01:00
anoadragon453 449b37251f RestructuredText Cheat Sheet: Fix typo (#4455)
`*emphasis` -> `*emphasis*`

Fixes #4454
2017-08-25 00:39:20 +01:00
Philip Kirkbride 6774080ae7 make Loan return a structured answer (#4358) 2017-08-24 00:27:28 +01:00
Philip Kirkbride 3105bc1be5 IDN: Structured Answer (#4356)
* idn structured answer, remove tabs

* make returned answer more readable
2017-08-24 00:23:50 +01:00
Jason Herman 817a8ee122 New XAML Goodie (#4307)
* xaml.json for cheatsheet

* Pull request feedback implemented
2017-08-24 00:13:12 +01:00
Aayush Kumar Singha 041e38b003 New Flask-Ask Cheat sheet (#4294)
* adding Flask-Ask Cheat sheet

* typo correction

* changes as suggested
2017-08-24 00:11:10 +01:00
PforPain eb58678da2 Cheat sheet for windows diskpart command (#4293)
* Cheat sheet for windows diskpart command

* diskpart.json

-> FAIL: The following sections were defined in 'section_order' but not used in 'sections': ('Commands to Manage Dynamic Disk')
 -> FAIL: The following sections were used in 'sections' but not defined in 'section_order:' ('Commands to Manage Dynamic Disks')
=============================
fixed the above ('s' was missing)

* Update diskpart.json

Correcting architecture preference
2017-08-24 00:07:07 +01:00
tossj 361af9e70c New Feedly Cheat Sheet (#4283)
* Added cheat sheet for Feedly keyboard shortcuts

* Updated Feedly cheat sheet source
2017-08-24 00:03:10 +01:00
122131 57033cca97 Minecraft: added minecraft 1.12 recipes (#4271)
* 1.12 changes

* fix image extension

* fix regex

* Fix tests

I made a PR after this one which made this goodie triggered when the British spelling of colour is used.

I added these two tests, which aren't compatible with your PR. I'm pushing these changes which should fix the test failures.
2017-08-23 23:59:04 +01:00
Palash Nigam 43b126fbe3 Lolcode Cheat Sheet (#4244)
* lolcode cheat sheet

* lolcode section order changed
2017-08-23 23:40:42 +01:00
Amit Yaron 56f97d75c4 New XLRD cheat sheet (#4232)
* New cheat sheet

* Changed id, remoed periods from 'val' fields, change source URL, removed 'xlrd' aliases.

* Changed the section name 'Worrkbooks' according to the list
2017-08-23 23:38:08 +01:00
Pablo Orduna 7e5699a777 New Raspberry Pi Distributions Cheat Sheet (#4227)
* add my IA

* Finished

* Final Commit

* fixes

* new aliases
2017-08-23 23:36:05 +01:00
Thibault 9a58227a44 Add New Haskell Cheat Sheet (#3711)
* Added Haskell cheat sheet

* Fixed JSON syntax

* Required changes

* New changes requested

* Redid 'Basic Operations' section according to requested changes

* Fixed indentation

* Requested changes

* Requested changes
2017-08-23 23:07:01 +01:00
Arvanitis Christos a34d091dec New Prolog Cheat Sheet (#4431)
* Initial Commit of cheatsheet

* Remove Whitespace

* Shorten cut predicate section

* Shorten cut predicate entry to minimum
2017-08-23 22:56:54 +01:00
Nalin Bhardwaj 894ef122c0 Timer: Triggering fixes (#4446)
* Adds join-word of

* Stops triggering on time calculations

* Comment fixes
2017-08-22 20:15:25 +01:00
Lev Kravinsky 4bf20c33b2 Geometry: Add Triangle Area (#4287)
* add triangle objectInfo and svg

* add tests for triangles & fix formula variable name

* add perimeter to triangle

* add height to triangle svg
2017-08-22 20:08:35 +01:00
PJ Hampton ad955d8469 Remove legacy IPS code. (#4451) 2017-08-21 16:09:09 -04:00
PJ Hampton 27e75cf8df Removed legacy HKDK. (#4448) 2017-08-21 16:08:54 -04:00
PJ Hampton 037aceb53c Removes canada post. (#4449) 2017-08-21 16:08:37 -04:00
PJ Hampton dea0663089 Remove legacy DHL code. (#4450) 2017-08-21 16:08:15 -04:00
PJ Hampton c932b6a7a5 Remove legacy laser ship code. (#4452) 2017-08-21 16:07:59 -04:00
PJ Hampton 138cfc5959 Calculator: patch overtriggering (#4439)
* Fix overtrigger on phone numbers.

* Prevent car model overtriggering.

* Stop ambigious overtriggering.

* Add extra test (mintsoft request)

* More handling of car searches

* Strip trailing spaces
2017-08-21 14:44:20 -04:00
Tiago Danin 648588ea03 Available HTTPS (in DuckDuckGo, DDD and Freenode) (#4444) 2017-08-20 21:20:40 +01:00
Abhilash Gupta bc26f9df7d Addition of Scapy cheat sheet goodie (#4063) 2017-08-20 12:37:57 +01:00
Philip Kirkbride 171ef55def Pi: correct parsing for max length (#4441)
* Pi: correct parsing for max length

* small style fix

* fix for pi 1000
2017-08-19 23:21:05 +01:00