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
Ben Mays
470ce3c387
Cleaned up code and removed regex from trigger.
2012-05-02 15:05:09 -04:00
Michael Smith
58b8900ca2
add DDG::Goodie::DuckDuckGo, make HTMLEntities respond properly to control characters
2012-05-02 11:41:33 -06:00
yegg
eb6ad375b1
fix unitilized bug
2012-05-02 12:31:28 -04:00
Michael Smith
7c120ab501
fix tests and daysbetween
2012-05-01 21:49:55 -06:00
Michael Smith
f7cd676c95
fixes for new DDG (using strict)
2012-05-01 21:26:43 -06:00
Ben Mays
9cf8699e1c
Cleaned up code/comments.
2012-05-01 19:28:39 -04:00
Ben Mays
f76a9080c3
Cleaned up code/comments.
2012-05-01 19:26:52 -04:00
Ben Mays
347cb52489
Goodie which tests if a string is a palindrome. Format 'is <string> a[n] palindrome[?]'.
2012-05-01 19:25:27 -04:00
Cosimo Streppone
6f28e7a0f4
Added lookup by name to existing Unicode goodie
...
Now handles both raw "U+xxxx" queries (query_raw trigger),
and "unicode <...>" (start trigger). Any of these are valid:
* `U+590c`
* `unicode U+590C`
* `unicode white smiling face`
2012-05-01 23:51:31 +02:00
Michael Smith
418102d6da
better triggers for roman goodie
2012-04-26 20:18:47 -06:00
Michael Smith
afb68f8b5a
label output of reverse goodie ( closes #81 )
2012-04-24 08:33:59 -06:00
Iain Nash
fc5780132e
Adding on the perfix 'Unix Time Conversion: ' to the result
2012-04-24 00:52:16 -04:00
Iain Nash
13c3946986
Adding ddg UnixTime goodie
2012-04-23 23:05:49 -04:00
Michael Smith
58539765e2
more cleaning in CurrencyIn.pm, closes #77
2012-04-23 15:12:10 -06:00
Michael Smith
a01187fa06
clean up CurrencyIn
2012-04-23 14:12:31 -06:00
Michael Smith
1076b2e3df
remove weird utf-8 tabs
2012-04-23 12:25:51 -06:00
Michael Smith
5a02db55de
add support for english numbers in NLetterWords (issue #78 )
2012-04-23 12:15:39 -06:00
Dylan Lloyd
fa9e297e82
fixed erroneous rm in merge
2012-04-23 13:46:53 -04:00
Dylan Lloyd
fe8bfa1c00
Merge github.com:nospampleasemam/zeroclickinfo-goodies
2012-04-23 13:38:37 -04:00
Dylan Lloyd
9bbe1e11f4
tweaked NLetterWords response format
2012-04-23 13:21:11 -04:00
Michael Smith
02e0290ee7
damn you, period
2012-04-22 13:49:50 -06:00
Michael Smith
652295d80f
clean up binary goodie a bit and normalize output
2012-04-22 13:40:35 -06:00
Michael Smith
acc27ea809
fix variable scoping in DaysBetween
2012-04-21 18:13:32 -06:00
Michael Smith
2a4ca0d9eb
more tests for daysbetween, change trigger to start
2012-04-21 17:00:52 -06:00
Michael Smith
ff59b4d0a3
fix daysbetween trigger-stripping regex
2012-04-21 16:52:45 -06:00
Michael X
1f173befff
Fix abstract in DaysBetween
2012-04-21 16:41:19 -06:00
Dylan Lloyd
0110da4867
DaysBetween now returns a full sentence
2012-04-21 17:58:37 -04:00
Dylan Lloyd
fe1f7681a9
moved zci defs to top, chomp'd away newline
2012-04-21 17:19:03 -04:00
Dylan Lloyd
89224048e6
typo fix
2012-04-21 11:17:50 -04:00
Dylan Lloyd
c379db06c6
Merge Alchymistas CurrencyIn goodie
2012-04-21 11:13:52 -04:00
Dylan Lloyd
2e6e344338
Merge JetFaults days-between goodie
2012-04-21 11:04:58 -04:00
Jerry Reptak
ee77f7f2cc
Change trigger to include days between
2012-04-20 19:30:07 -04:00
Pavel Ondra
4d01ce2084
Implemented even more regular expressions...
2012-04-18 16:44:18 +02:00
Pavel Ondra
e7b9c53c2e
polishing...
2012-04-17 23:36:28 +03:00
Pavel Ondra
d757d9720e
Major changes - hash table loaded from currency.txt
2012-04-17 22:33:57 +02:00
Pavel Ondra
5e01d59732
Merge branch 'master' of github.com:Alchymista/zeroclickinfo-goodies
...
Conflicts:
lib/DDG/Goodie/CurrencyIn.pm
2012-04-17 22:31:06 +02:00
Pavel Ondra
a8be8326f7
Major changes - hash table loaded from currency.txt
2012-04-17 22:26:45 +02:00
Torsten Raudssus
8f262a3913
Microfixes
2012-04-17 04:42:21 +02:00
Dylan Lloyd
69bae4c3f1
NLetterWords now limited to max 30 words, randomized, no longer cached
2012-04-16 02:29:28 -04:00
Dylan Lloyd
543ec98443
Added NLetterWords Goodie
2012-04-16 01:58:41 -04:00
Hunter Lang
fde27928a7
Merge pull request #73 from moritz/base-trigger
...
Trigger the base plugin on "42 to hex"
2012-04-15 18:42:31 -07:00
Moritz Lenz
bb453fd6d4
[base] be less repetitive
2012-04-16 03:31:26 +02:00
Moritz Lenz
055c7459e0
"32 to hex" should trigger the base plugin too
2012-04-16 03:31:03 +02:00
Michael Smith
b657387752
fix issue #70
2012-04-15 15:01:03 -06:00
yegg
3e2e2b4bf7
Merge pull request #72 from moritz/unidecode
...
Unidecode plugin
2012-04-15 13:44:23 -07:00
yegg
0e9bd472ab
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-04-15 16:24:17 -04:00
yegg
469c2505a1
turn garble into anagram
2012-04-15 16:23:55 -04:00
Michael Smith
3314d8e750
fix average again (better input handling); moritz++
2012-04-15 14:22:13 -06:00
Michael Smith
4f226ce3b3
update triggers and regexps for average goodie
2012-04-15 14:04:53 -06:00
Moritz Lenz
44866c76f8
Unidecode plugin
2012-04-15 21:41:23 +02:00
Moritz Lenz
d1effe425c
simplify the reverse plugin
2012-04-15 21:21:14 +02:00
Michael Smith
87746a9f3e
HTMLEntities returns hex with link to Unicode goodie
2012-04-15 12:56:53 -06:00
mr.Shu
08704f2e08
Fixed regex; changed output format
2012-04-15 11:07:18 -04:00
mr.Shu
6171347a3c
Added ABSTRACT and 'aspect ratio' trigger
2012-04-15 11:07:18 -04:00
mr.Shu
784c3a40af
first version of AspectRatio
2012-04-15 11:07:18 -04:00
yegg
72d90ca599
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-04-15 11:04:42 -04:00
yegg
a9a5bb8bb5
fix up tests and update binary
2012-04-15 11:04:36 -04:00
Olivier
0994dbbf5e
As a warmup, more features for the Binary plugin and an extended test suite.
2012-04-15 10:59:48 -04:00
Pavel Ondra
5d98bac7cb
Just small polishing...
2012-04-14 16:00:24 +03:00
Pavel Ondra
af89cc229b
More effective way of dealing with {in|of|for} keywords implemented
2012-04-13 16:43:36 +02:00
Pavel Ondra
137f153e93
New search patterns are working, not only "currency in {country}"
2012-04-13 12:18:05 +02:00
Pavel Ondra
7136642fcc
New search patterns are working, not only "currency in {country}"
2012-04-13 12:14:37 +02:00
Jerry Reptak
d607ce288b
Goodie to tell the days between two dates, or current date and another date
2012-04-13 01:33:01 -04:00
Torsten Raudssus
5fa70aa025
Even more fixes... <sigh> ;)
2012-04-13 04:46:59 +02:00
Torsten Raudssus
a3bdaaf9ac
More fixes
2012-04-13 04:42:56 +02:00
Torsten Raudssus
3742f4bea8
Now binary returns a true value
2012-04-13 04:41:18 +02:00
Pavel Ondra
fa6abede1a
Hash included in file instead of external .txt file
2012-04-12 22:10:18 +02:00
Pavel Ondra
8259c0322e
added 'Currency in Country' module
2012-04-12 17:44:38 +02:00
Pavel Ondra
ce1ce44032
Added 'Currency in Country' module
2012-04-12 17:41:47 +02:00
Pavel Ondra
99ea8ee1d4
Currency in Country module added
2012-04-12 17:39:26 +02:00
hunterlang
2a0592a6ac
fixed %err links
2012-04-04 15:21:45 -04:00
hunterlang
8d3680a909
fixed arabic
2012-04-03 14:55:26 -04:00
hunterlang
1bd07abed9
add check to make sure ascii conversion succeeds
2012-04-02 17:37:56 -04:00
Hunter Lang
c452884baf
Merge pull request #62 from margolisj/master
...
Ascii Conversion
2012-04-02 14:33:09 -07:00
Michael Smith
b277f7f998
add decoder for HTML entities
2012-04-02 15:30:08 -06:00
Josh Margolis
5c70dc730f
Ascii plugin is ready to go
2012-03-30 12:30:25 -04:00
Michael Smith
d3858175e1
start using builtin share function
2012-03-25 12:09:28 -06:00
Robert Picard
0bb5cb204d
add the new files
2012-03-25 12:46:57 -04:00
Robert Picard
384a059a98
Update base32 plugin to do base64 encoding and decoding
2012-03-25 12:33:59 -04:00
hunterlang
ca83e76e1e
updated tests and goodies
2012-03-24 14:05:13 -04:00
hunterlang
6c7a13fb80
updated test suite
2012-03-22 20:56:19 -04:00
hunterlang
2804bc9a99
update percent-error to pass tests
2012-03-22 20:11:41 -04:00
hunterlang
f9c9ecb159
fix argument validation
2012-03-22 15:22:12 -04:00
Michael Smith
52282a3cbb
validate arguments to percenterror
2012-03-22 07:55:57 -06:00
Michael Smith
369366e92f
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-03-22 07:54:04 -06:00
hunterlang
cbcfc305de
apparently i can't read after 10pm
2012-03-21 00:08:12 -04:00
hunterlang
e4634819ea
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-03-20 23:46:05 -04:00
hunterlang
d760e75995
CamelCase to answer_type and update tests with regexp
2012-03-20 23:44:51 -04:00
Torsten Raudssus
20c6c8806f
Removed debugging
2012-03-21 02:28:42 +01:00
Michael Smith
add6ccdf17
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-03-18 19:20:52 -06:00
Hunter Lang
a9182244a5
context to chars goodie
2012-03-18 19:52:59 -04:00
Hunter Lang
5cfd799ab2
i hate our workflow getty
2012-03-18 19:36:42 -04:00
Hunter Lang
d52ed58039
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-03-18 19:32:18 -04:00
Hunter Lang
09a749fd90
damn, reverted
2012-03-18 19:32:02 -04:00
Torsten Raudssus
9b8b94da9a
Ok why i see this crap just 5 sec. after the release?
2012-03-19 00:20:58 +01:00
Hunter Lang
a91bce2110
Merge branch 'master' of github.com:duckduckgo/zeroclickinfo-goodies
2012-03-18 19:16:37 -04:00
Hunter Lang
9970738e01
expand trigger coverage, CamelCase anwswer_type
2012-03-18 19:16:16 -04:00
Torsten Raudssus
bb53f1c20f
Added text versions of the goodies
2012-03-19 00:09:03 +01:00
Torsten Raudssus
750e42089c
Hups
2012-03-18 22:36:39 +01:00
Torsten Raudssus
9629442e2d
Fixed dist-dir usage
2012-03-18 22:34:37 +01:00
Hunter Lang
5a10a709f9
fix percent-error triggers
2012-03-18 17:32:11 -04:00
hunter
16eb81fc56
fix guid goodie to reconcile internal tests
2012-03-18 16:33:29 -04:00
Gabriel Weinberg
598a4c29c4
Chars plugin
2012-03-18 13:39:12 -04:00
Derrick Schwabe
5ef4a2676b
Added relatively pointless garble plugin
2012-03-17 13:04:42 -05:00
Michael Smith
2d884f60f9
Merge branch 'CubePatterns' of https://github.com/rpicard/zeroclickinfo-goodies
2012-03-15 16:21:35 -06:00
Michael Smith
6311af78d7
Merge branch 'flip' of https://github.com/rpicard/zeroclickinfo-goodies
2012-03-15 16:19:23 -06:00
Michael Smith
8a7bcba5ba
Merge branch 'unicode' of https://github.com/moritz/zeroclickinfo-goodies
2012-03-15 16:18:48 -06:00
Michael Smith
621f26eb04
fix emtopx goodie (case sensitivity and backwards calculations)
2012-03-15 16:06:18 -06: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
Wayne A. Arthurton
aac345ac0a
Modified dice to allow for 4 digit dice count
2012-03-14 18:09:43 -04:00
Robert Picard
1398d3467f
first commit for flip text goodie
2012-03-14 17:40:36 -04:00
Robert Picard
3b1eae552a
make the comparison case insensitive
2012-03-13 18:30:11 -04:00
Robert Picard
68a480cc9d
Add commented explanation of goodie
2012-03-13 17:58:57 -04:00
Robert Picard
67310655b5
removed old file
2012-03-13 17:53:06 -04:00
Robert Picard
2e69a44bc1
Change the trigger to rcube instead of taking up the cube trigger
2012-03-13 17:50:34 -04:00
Robert Picard
c5f4d660be
add swap centers pattern
2012-03-13 16:32:15 -04:00
Robert Picard
b87896644d
changing code format
2012-03-13 16:11:31 -04:00
root
45a41b32f2
CubePatterns first draft
2012-03-13 00:29:59 -04:00
Torsten Raudssus
f318b774ba
Merge pull request #52 from moritz/fix-base-on-5.10
...
fix base to not use given/when
2012-03-12 09:24:02 -07:00
Moritz Lenz
292ff4b9fe
fix base to not use given/when
...
this seems to break on some weird 5.10.1 perls, which happen to be
the deployed platform
2012-03-12 16:57:25 +01:00
Torsten Raudssus
f3bdd4f50a
Removed Debugging
2012-03-12 13:00:50 +01:00
Moritz Lenz
f8d4ea08c9
[Unicode] make decomposition more robust
2012-03-11 09:40:10 +01:00
Moritz Lenz
5622b561cf
[Unicode] include UTF-8 bytes in the output
2012-03-11 09:39:45 +01:00
Moritz Lenz
5273fd466e
[Unicode] add decimal and HTML entity output
2012-03-10 21:20:09 +01:00
Moritz Lenz
465de3b3dd
implement Unicode info
...
currently this is fetched from Wolfram Alpha, but generating it locally is nicer.
This also returns slightly different information, including case folding,
Unicode block, script and decomposition information
2012-03-10 09:54:44 +01:00
Michael Smith
5edcf67032
revert change to reverse goodie
2012-03-08 12:22:41 -07:00
Michael Smith
3358cc44ff
make some plugins prettier
2012-03-08 11:48:56 -07:00
Moritz Lenz
e6ab84ce55
stylistic changes in Base.pm
...
no functional changes
2012-03-08 17:56:03 +01:00
Moritz Lenz
6fa0b36f91
make "in" or "as" optional in trigger
2012-03-08 09:10:58 +01:00
Moritz Lenz
cb23593f2f
rewrite Base.pm to use an "any" trigger instead of a regex
2012-03-08 09:03:18 +01:00
Moritz Lenz
7955f1bc85
base goody, for converting numbers into a base
2012-03-07 22:24:10 +01:00
Michael X
79fc5fbcc0
Merge pull request #49 from moollaza/master
...
Fixed up Capitalize, added SentenceCase, tested and both work.
2012-03-07 08:20:34 -08:00
Zaahir Moolla
30cec9eb8c
added back utf8
2012-03-07 10:37:40 -05:00
Zaahir Moolla
442c78f030
forgot to change filename...
2012-03-06 23:35:45 -05:00
Zaahir Moolla
4a66338fbe
forgot to change filename...
2012-03-06 23:35:08 -05:00
Zaahir Moolla
dc61d36aa2
renamed SentenceCase to TitleCase
2012-03-06 23:32:04 -05:00
Zaahir Moolla
c77c86e303
reverted Capitalize function, only cacheing has been added now
2012-03-06 23:25:57 -05:00
Zaahir Moolla
f341eccec6
added SentenceCase
2012-03-06 23:21:20 -05:00
Zaahir Moolla
7af15dbea5
fixed Capitalize, added cacheing
2012-03-06 21:54:04 -05:00
Michael Smith
87648c9736
re-added "Length: " prefix
2012-03-06 13:26:41 -07:00
Michael X
9d1a2d78a1
Merge pull request #47 from moritz/patch-1
...
"median" should trigger Average.pm
2012-03-05 14:09:03 -08:00
Hunter Lang
c4cceef0aa
tiny typo
2012-03-05 16:04:59 -05:00
Moritz Lenz
a5eab5b57c
"median" should trigger Average.pm
...
After all the median is also part of the output
2012-03-05 21:57:47 +01:00
Michael Smith
703a3cf18a
add capitalize goodie
2012-03-02 12:57:28 -07:00
Michael Smith
55802c5228
simplify reading HTML. doh.
2012-03-01 12:01:41 -07:00