24 Commits

Author SHA1 Message Date
Rob Emery
56c5ea4a5e Goodies: Enabling use strict on all goodies 2015-02-22 20:09:29 +00:00
Chris Wilson
98ee343205 Update Case for Factors, FlipText, Fortune, GUID, GenerateMAC, GreatestCommonFactor 2015-01-09 19:01:04 +11:00
Matt Miller
37c69da9c7 FlipText: use structured answer. 2014-11-15 21:33:00 +02:00
Matt Miller
5481cf4ebc Fix minor code layout issues.
Reducing scroll spam from dzil by:

- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.

Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00
Zaahir Moolla
4c170fa4ec reorder return logic 2014-08-20 15:18:51 +00:00
moollaza
13bd64bc88 simplify FlipText Goodie using Text::UpsideDown, allows better handling of unicode/utf8 2014-08-08 15:39:42 +00:00
jagtalon
19b7425488 FlipText: Add "text" to the trigger word.
"flip", "mirror", "spin", and "rotate" are all very common words, and this instant answer comes up often for queries such as "flip flops". While we don't have a way of setting individual goodies with low priority (all goodies have high priority at the moment), it's important that we control the query space of each one. So in this case, adding a "text" as a requirement will prevent it from triggering on "flip flop", "back flip", etc.
2014-06-03 18:38:32 +00:00
moollaza
9ce5e659d0 updated FlipText metadata for goodies page 2013-05-24 20:46:40 -04:00
Dylan Lloyd
5fba0cd131 added metadata to FlipText.pm 2012-11-06 17:31:52 -05:00
Dylan Lloyd
21871b9c11 make FlipText reversable
https://github.com/duckduckgo/zeroclickinfo-goodies/issues/121
2012-09-15 13:56:56 -04:00
Robert Picard
674adb6cb0 Add "spin" and "rotate" as triggers for FlipText 2012-09-15 12:09:21 -04:00
Robert Picard
0722a20ccc Flip and mirror both mirror now
There aren't hex codes for characters that aren't mirrored, i.e. just
flipped upside-down, so the "flip" trigger wasn't really working.
2012-05-14 20:52:54 -04:00
Michael Smith
8fc7f4030b add "0-click" to DuckDuckGo.pm and fix weird bug in FlipText 2012-05-03 18:00:05 -06:00
Robert Picard
0e04078a5e Update FlipText so it doesn't reverse with the "flip" trigger. Now it includes a "mirror" trigger which will flip and reverse it. 2012-05-02 17:38:13 -04:00
Michael Smith
f7cd676c95 fixes for new DDG (using strict) 2012-05-01 21:26:43 -06:00
yegg
a9a5bb8bb5 fix up tests and update binary 2012-04-15 11:04:36 -04:00
hunterlang
cbcfc305de apparently i can't read after 10pm 2012-03-21 00:08:12 -04:00
hunterlang
d760e75995 CamelCase to answer_type and update tests with regexp 2012-03-20 23:44:51 -04:00
Robert Picard
8f36147f56 Don't need to initialize to an empty string 2012-03-15 12:51:16 -04:00
Robert Picard
dc4d01ca35 comment out the 5 (doesn't really look like a 5) 2012-03-15 12:43:39 -04:00
Robert Picard
3bd3c83a22 add some commented explanations 2012-03-15 12:06:16 -04:00
Robert Picard
787b637ebd moved charmap hash outside of sub 2012-03-15 02:14:10 -04:00
Robert Picard
caaa97c6fa added a full charmap, reversed the string, and got it all working (for now) 2012-03-15 02:00:32 -04:00
Robert Picard
1398d3467f first commit for flip text goodie 2012-03-14 17:40:36 -04:00