├── share └── spice │ ├── zanran │ ├── zanran.css │ ├── footer.handlebars │ └── pdf.ico │ ├── lastfm │ ├── artist │ │ ├── lastfm_artist.css │ │ └── item.handlebars │ ├── artist_album │ │ ├── lastfm_artist_album.handlebars │ │ └── lastfm_artist_album_item.handlebars │ ├── artist_tracks │ │ ├── lastfm_artist_tracks.handlebars │ │ └── lastfm_artist_tracks_item.handlebars │ ├── top_tracks │ │ ├── lastfm_top_tracks.handlebars │ │ └── lastfm_top_tracks_item.handlebars │ └── song │ │ └── lastfm_song.handlebars │ ├── yacht_specs │ ├── yacht_specs.css │ └── skipwords.txt │ ├── chuck_norris │ ├── content.handlebars │ └── chuck_norris.js │ ├── bacon_ipsum │ └── content.handlebars │ ├── word_map │ └── content.handlebars │ ├── code_search │ └── content.handlebars │ ├── npm │ └── content.handlebars │ ├── yoga_asanas │ ├── footer.handlebars │ └── yoga_asanas.css │ ├── aur │ ├── aur.css │ ├── arrow_up.png │ └── footer.handlebars │ ├── homebrew │ └── content.handlebars │ ├── in_every_lang │ └── content.handlebars │ ├── pokemon │ └── data │ │ ├── content.handlebars │ │ └── pokemon_data.css │ ├── symbolab │ ├── symbolab.css │ ├── title_content.handlebars │ └── subtitle_content.handlebars │ ├── sublime_packages │ ├── skipwords.txt │ └── footer.handlebars │ ├── hayoo │ └── hayoo.css │ ├── equaldex │ └── equaldex.css │ ├── launch_library │ └── footer.handlebars │ ├── expand_url │ └── content.handlebars │ ├── rand_word │ ├── single_word.handlebars │ └── content.handlebars │ ├── wikinews │ ├── footer.handlebars │ └── wikinews.css │ ├── bible │ └── content.handlebars │ ├── thesaurus │ ├── title_content.handlebars │ ├── thesaurus.css │ └── content.handlebars │ ├── get_events │ ├── get_events.css │ ├── foot_back.handlebars │ └── foot_front.handlebars │ ├── hacker_news │ ├── hacker_news.css │ ├── arrow_up.png │ └── footer.handlebars │ ├── octopart │ ├── content.handlebars │ ├── pdf_small.jpg │ ├── octopart.css │ └── buy.handlebars │ ├── cocoapods │ └── footer.handlebars │ ├── dogo_news │ ├── dogo_news.css │ └── footer.handlebars │ ├── movie │ ├── fresh.png │ ├── rotten.png │ ├── fresh.retina.png │ ├── buy.handlebars │ ├── certified-fresh.png │ ├── rotten.retina.png │ ├── certified-fresh.retina.png │ └── subtitle_content.handlebars │ ├── reddit_search │ ├── reddit_search.css │ ├── arrow_up.png │ └── footer.handlebars │ ├── timer │ ├── alarm.mp3 │ └── timer_wrapper.handlebars │ ├── twitter │ └── skipwords.txt │ ├── urban_dictionary │ ├── content.handlebars │ └── urban_dictionary.css │ ├── alternative_to │ ├── alternative_to.css │ └── footer.handlebars │ ├── bbc │ ├── subtitle_content.handlebars │ ├── bbc.css │ └── buy.handlebars │ ├── dogo_books │ └── buy.handlebars │ ├── dogo_movies │ ├── buy.handlebars │ └── subtitle_content.handlebars │ ├── isslocation │ └── icon.png │ ├── launchbug │ └── content.handlebars │ ├── packagist │ ├── packagist.handlebars │ ├── footer.handlebars │ └── packagist.css │ ├── rain │ └── content.handlebars │ ├── riffsy │ └── loading.png │ ├── anime │ ├── hummingbird.png │ ├── buy.handlebars │ └── subtitle_content.handlebars │ ├── cryptocurrency │ ├── XCP.png │ ├── XMR.png │ ├── XPM.png │ ├── XPY.png │ ├── XRP.png │ ├── YBC.png │ ├── ZRC.png │ ├── assets │ │ ├── png │ │ │ └── 32 │ │ │ │ ├── AUR.png │ │ │ │ ├── BANX.png │ │ │ │ ├── BCN.png │ │ │ │ ├── BLK.png │ │ │ │ ├── BTC.png │ │ │ │ ├── BTCD.png │ │ │ │ ├── BTS.png │ │ │ │ ├── DGB.png │ │ │ │ ├── DOGE.png │ │ │ │ ├── DSH.png │ │ │ │ ├── FC2.png │ │ │ │ ├── FTC.png │ │ │ │ ├── GRC.png │ │ │ │ ├── IFC.png │ │ │ │ ├── KORE.png │ │ │ │ ├── LTC.png │ │ │ │ ├── MAID.png │ │ │ │ ├── MEC.png │ │ │ │ ├── MSC.png │ │ │ │ ├── MYR.png │ │ │ │ ├── NBT.png │ │ │ │ ├── NMC.png │ │ │ │ ├── NVC.png │ │ │ │ ├── NXT.png │ │ │ │ ├── OPAL.png │ │ │ │ ├── POT.png │ │ │ │ ├── PPC.png │ │ │ │ ├── PTS.png │ │ │ │ ├── QRK.png │ │ │ │ ├── SDC.png │ │ │ │ ├── SYNC.png │ │ │ │ ├── UTC.png │ │ │ │ ├── VIOR.png │ │ │ │ ├── VPN.png │ │ │ │ ├── WDC.png │ │ │ │ ├── XCP.png │ │ │ │ ├── XMR.png │ │ │ │ ├── XPM.png │ │ │ │ ├── XPY.png │ │ │ │ ├── XRP.png │ │ │ │ ├── YBC.png │ │ │ │ ├── ZRC.png │ │ │ │ ├── DOGED.png │ │ │ │ ├── GENERIC.png │ │ │ │ └── UNITY.png │ │ └── svg │ │ │ ├── NVC.svg │ │ │ ├── DOGED.svg │ │ │ └── MEC.svg │ └── item.handlebars │ ├── currency │ ├── assets │ │ ├── 32 │ │ │ ├── ggp.png │ │ │ ├── jep.png │ │ │ ├── sar.png │ │ │ ├── xaf.png │ │ │ ├── xag.png │ │ │ ├── xau.png │ │ │ ├── xbt.png │ │ │ ├── xcd.png │ │ │ ├── xdr.png │ │ │ ├── xof.png │ │ │ ├── xpd.png │ │ │ ├── xpf.png │ │ │ └── xpt.png │ │ ├── 64 │ │ │ ├── ggp.png │ │ │ ├── jep.png │ │ │ ├── sar.png │ │ │ ├── xaf.png │ │ │ ├── xag.png │ │ │ ├── xau.png │ │ │ ├── xbt.png │ │ │ ├── xcd.png │ │ │ ├── xdr.png │ │ │ ├── xof.png │ │ │ ├── xpd.png │ │ │ ├── xpf.png │ │ │ └── xpt.png │ │ ├── 96 │ │ │ ├── ggp.png │ │ │ ├── jep.png │ │ │ ├── sar.png │ │ │ ├── xaf.png │ │ │ ├── xag.png │ │ │ ├── xau.png │ │ │ ├── xbt.png │ │ │ ├── xcd.png │ │ │ ├── xdr.png │ │ │ ├── xof.png │ │ │ ├── xpd.png │ │ │ ├── xpf.png │ │ │ └── xpt.png │ │ └── xe.png │ └── item.handlebars │ ├── in_theaters │ ├── fresh.png │ ├── rotten.png │ ├── buy.handlebars │ ├── fresh.retina.png │ ├── rotten.retina.png │ ├── certified-fresh.png │ ├── certified-fresh.retina.png │ └── subtitle_content.handlebars │ ├── launchpad_project │ ├── launchpad_project.css │ └── footer.handlebars │ ├── newint │ ├── buy.handlebars │ ├── content.handlebars │ └── newint.css │ ├── quixey │ ├── quixey_logo.png │ └── buy.handlebars │ ├── rand_pos │ └── content.handlebars │ ├── recipes │ ├── yummly.com.ico │ ├── recipes_view_full.handlebars │ ├── recipes_ingredients.handlebars │ ├── recipes_subtitle.handlebars │ └── recipes_flavors.handlebars │ ├── coursebuffet │ ├── coursebuffet.css │ └── footer.handlebars │ ├── isbn │ └── buy.handlebars │ ├── mass_on_time │ ├── map-pin.png │ └── map-pin.svg │ ├── political_polls │ └── footer.handlebars │ ├── product_hunt │ ├── arrow_up.png │ ├── footer.handlebars │ └── product_hunt.css │ ├── pwned │ └── footer.handlebars │ ├── sun_rise_set │ ├── sunrise.png │ ├── sunset.png │ └── content.handlebars │ ├── fedora_project_package_db │ └── footer.handlebars │ ├── go_watch_it │ └── assets │ │ ├── hulu.png │ │ ├── sony.png │ │ ├── vhx.png │ │ ├── vudu.png │ │ ├── amazon.png │ │ ├── bestbuy.png │ │ ├── crackle.png │ │ ├── disney.png │ │ ├── hulu@2x.png │ │ ├── itunes.png │ │ ├── netflix.png │ │ ├── redbox.png │ │ ├── sony@2x.png │ │ ├── target.png │ │ ├── vhx-alt.png │ │ ├── vhx@2x.png │ │ ├── vudu@2x.png │ │ ├── walmart.png │ │ ├── youtube.png │ │ ├── amazon@2x.png │ │ ├── disney@2x.png │ │ ├── fandango.png │ │ ├── flixster.png │ │ ├── itunes@2x.png │ │ ├── redbox@2x.png │ │ ├── snagfilms.png │ │ ├── sony-alt.png │ │ ├── sundance.png │ │ ├── target@2x.png │ │ ├── xboxvideo.png │ │ ├── amazon-alt.png │ │ ├── amazonstore.png │ │ ├── bestbuy@2x.png │ │ ├── crackle-alt.png │ │ ├── crackle@2x.png │ │ ├── disney-alt.png │ │ ├── fandango@2x.png │ │ ├── flixster@2x.png │ │ ├── googleplay.png │ │ ├── itunes-alt.png │ │ ├── netflix@2x.png │ │ ├── snagfilms@2x.png │ │ ├── sony-alt@2x.png │ │ ├── sundance-alt.png │ │ ├── sundance@2x.png │ │ ├── targetticket.png │ │ ├── vhx-alt@2x.png │ │ ├── walmart@2x.png │ │ ├── xboxvideo@2x.png │ │ ├── youtube-alt.png │ │ ├── youtube@2x.png │ │ ├── amazon-alt@2x.png │ │ ├── amazonstore@2x.png │ │ ├── crackle-alt@2x.png │ │ ├── disney-alt@2x.png │ │ ├── googleplay-alt.png │ │ ├── googleplay@2x.png │ │ ├── itunes-alt@2x.png │ │ ├── snagfilms-alt.png │ │ ├── youtube-alt@2x.png │ │ ├── amazonstore-alt.png │ │ ├── googleplay-alt@2x.png │ │ ├── snagfilms-alt@2x.png │ │ ├── sundance-alt@2x.png │ │ ├── targetticket@2x.png │ │ └── amazonstore-alt@2x.png │ ├── color_picker │ ├── hue_gradient.png │ └── saturation_value_gradient.png │ ├── songkick │ ├── getartistid │ │ └── songkick_artist.handlebars │ └── geteventid │ │ ├── songkick_geteventid.css │ │ └── content.handlebars │ ├── flash_version │ ├── content.handlebars │ └── flash_version.js │ ├── rhymes │ ├── content.handlebars │ └── rhymes.css │ ├── quandl │ ├── fundamentals │ │ ├── quandl32x32.png │ │ └── content.handlebars │ ├── home_values │ │ ├── quandl32x32.png │ │ └── content.handlebars │ └── world_bank │ │ ├── quandl32x32.png │ │ └── content.handlebars │ ├── wgha │ └── footer.handlebars │ ├── deb_version │ └── deb_version.css │ ├── hearthstone │ ├── hearthstone.css │ └── hearthstone.handlebars │ ├── github │ ├── github.css │ └── footer.handlebars │ ├── haxelib │ ├── content.handlebars │ └── haxelib.js │ ├── medicine │ └── medicine_detail.handlebars │ ├── iplookup │ └── content.handlebars │ ├── maps │ ├── places │ │ └── maps_places.js │ ├── directions │ │ └── maps_directions.js │ └── maps │ │ └── maps_maps.js │ ├── shorten │ ├── shorten.handlebars │ └── shorten.css │ ├── whois │ ├── whois.css │ └── available.handlebars │ ├── similar_sites │ ├── list_content.handlebars │ └── similar_sites.css │ ├── sports │ ├── nfl │ │ └── games │ │ │ ├── head_totals.handlebars │ │ │ └── head_in_progress.handlebars │ ├── mlb │ │ └── games │ │ │ ├── head_totals.handlebars │ │ │ ├── head_in_progress.handlebars │ │ │ └── pitch_count.handlebars │ └── team_name.handlebars │ ├── transit │ ├── septa │ │ ├── content.handlebars │ │ └── train_item.handlebars │ ├── path │ │ ├── train_item.handlebars │ │ ├── stops.txt │ │ └── transit_path.css │ ├── njt │ │ └── train_item.handlebars │ └── switzerland │ │ └── train_item.handlebars │ ├── forecast │ ├── forecast_icons.handlebars │ └── forecast.handlebars │ ├── nutrition │ ├── nutrition.css │ └── content.handlebars │ ├── missing_kids │ ├── footer.handlebars │ └── missing_kids.css │ ├── search_code │ ├── search_code.handlebars │ └── triggers.txt │ ├── editor │ ├── editor.handlebars │ └── editor.css │ ├── ruby_gems │ └── footer.handlebars │ ├── brainy_quote │ └── content.handlebars │ ├── indeed_jobs │ └── footer.handlebars │ ├── plos │ ├── footer.handlebars │ └── plos.css │ ├── google_plus │ ├── triggers.txt │ └── google_plus.css │ ├── playing_cards │ └── playing_cards.css │ ├── statista │ ├── footer.handlebars │ └── statista.css │ ├── reddit_sub_search │ └── detail.handlebars │ ├── forvo │ └── forvo.handlebars │ ├── maven │ ├── maven.css │ └── content.handlebars │ ├── rx_info │ ├── triggerWords.txt │ ├── rx_info.handlebars │ ├── rx_info.css │ └── rx_info_description.handlebars │ ├── sound_cloud │ └── footer.handlebars │ ├── book │ ├── subtitle.handlebars │ ├── book.css │ └── content.handlebars │ ├── namecheap │ ├── namecheap.css │ └── namecheap.handlebars │ ├── detect_lang │ └── content.handlebars │ ├── seat_geek │ ├── README.md │ ├── events_by_city │ │ ├── footer.handlebars │ │ └── seat_geek_events_by_city.css │ ├── events_near_me │ │ ├── footer.handlebars │ │ └── seat_geek_events_near_me.css │ ├── events_by_artist │ │ ├── footer.handlebars │ │ └── seat_geek_events_by_artist.css │ ├── events_by_venue │ │ ├── footer.handlebars │ │ └── seat_geek_events_by_venue.css │ └── sports │ │ ├── footer.handlebars │ │ └── seat_geek_sports.css │ ├── time │ ├── content.handlebars │ └── time.css │ ├── tor_node │ ├── footer.handlebars │ └── tor_node.css │ ├── today_in_history │ └── content.handlebars │ ├── open_nic │ └── content.handlebars │ ├── bike_sharing │ ├── indego_phl │ │ └── footer.handlebars │ ├── bay_area_bike_share_ca │ │ └── footer.handlebars │ └── citi_bike_nyc │ │ └── content.handlebars │ ├── envato │ └── audio.handlebars │ ├── aqi │ └── list_content.handlebars │ ├── kwixer │ ├── kwixer.css │ └── buy.handlebars │ ├── people_in_space │ └── content.handlebars │ ├── dns │ ├── content.handlebars │ └── dns.css │ ├── parking │ ├── parking.css │ ├── item_back.handlebars │ └── item_front.handlebars │ ├── duck_say │ ├── content.handlebars │ └── duck_say.css │ ├── congress │ └── congress.css │ ├── github_status │ ├── github_status.css │ └── content.handlebars │ ├── is_it_up │ └── detail.handlebars │ ├── minecraft_status │ ├── minecraft_status.css │ └── content.handlebars │ ├── coupons │ └── coupons.css │ ├── xkcd │ └── display │ │ ├── xkcd_display.css │ │ └── content.handlebars │ ├── bitcoin │ └── content.handlebars │ ├── uv │ └── uv.handlebars │ ├── images │ └── images.js │ ├── videos │ └── videos.js │ ├── nxt_account │ └── nxt_account.css │ ├── stocks │ └── content.handlebars │ ├── economic_indicators │ └── data_sources.json │ ├── dictionary │ └── definition │ │ └── dictionary_definition.css │ └── stopwatch │ └── stopwatch.handlebars ├── template ├── share │ └── spice │ │ └── example │ │ ├── example.css │ │ └── example.handlebars ├── README.md └── t │ └── Example.t ├── .gitignore ├── t ├── Amazon.t ├── IndeedJobs.t ├── Book.t ├── Stocks.t ├── Wikinews.t ├── Hayoo.t ├── FlashVersion.t ├── Places.t ├── Bootic.t ├── Gifs.t ├── GooglePlus.t ├── RubyGems.t ├── CodeSearch.t ├── HackerNews.t ├── Newint.t ├── Haxelib.t ├── Octopart.t ├── RedditSearch.t ├── Statista.t ├── YachtSpecs.t ├── ISSLocation.t ├── Coderwall.t ├── ChuckNorris.t ├── MissingKids.t ├── Bible.t ├── SearchCode.t ├── WordMap.t ├── LaunchpadProject.t ├── BaconIpsum.t ├── Npm.t ├── Geometry.t ├── Aur.t ├── ExpandURL.t ├── PoliticalPolls.t ├── SoundCloud.t ├── Packagist.t ├── Recipes.t ├── DetectLang.t ├── MinecraftStatus.t ├── LastfmArtist.t ├── Congress.t ├── Tides.t ├── BrainyQuote.t ├── GithubStatus.t ├── MetaCPAN.t └── BikeSharing │ └── BayAreaBikeShareCA.t ├── lib └── DDG │ ├── SpiceBundle │ └── OpenSourceDuckDuckGo.pm │ ├── Spice │ ├── Hackage.pm │ ├── Geometry.pm │ ├── Pwned.pm │ ├── Maps │ │ ├── Maps.pm │ │ └── Places.pm │ ├── Symbolab.pm │ ├── Gifs.pm │ ├── FlashVersion.pm │ ├── RubyGems.pm │ ├── Coderwall.pm │ ├── Hayoo.pm │ ├── News.pm │ ├── Bootic.pm │ ├── Mtg.pm │ ├── RedditSearch.pm │ ├── Stopwatch.pm │ ├── Book.pm │ ├── Newint.pm │ └── Sports.pm │ └── Util │ └── SpiceConstants.pm └── README.md /share/spice/zanran/zanran.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /share/spice/lastfm/artist/lastfm_artist.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /share/spice/yacht_specs/yacht_specs.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /share/spice/chuck_norris/content.handlebars: -------------------------------------------------------------------------------- 1 | {{joke}} 2 | -------------------------------------------------------------------------------- /share/spice/bacon_ipsum/content.handlebars: -------------------------------------------------------------------------------- 1 | {{{content}}} 2 | -------------------------------------------------------------------------------- /share/spice/word_map/content.handlebars: -------------------------------------------------------------------------------- 1 | {{{wordmap_link}}} 2 | -------------------------------------------------------------------------------- /share/spice/code_search/content.handlebars: -------------------------------------------------------------------------------- 1 |
{{lines}}
2 | -------------------------------------------------------------------------------- /share/spice/npm/content.handlebars: -------------------------------------------------------------------------------- 1 |
$ npm install {{name}}
2 | -------------------------------------------------------------------------------- /share/spice/yoga_asanas/footer.handlebars: -------------------------------------------------------------------------------- 1 | {{{moreAt srcUrl srcName}}} 2 | -------------------------------------------------------------------------------- /share/spice/aur/aur.css: -------------------------------------------------------------------------------- 1 | .tile--aur .sub-title { 2 | margin-bottom: 0.25em; 3 | } -------------------------------------------------------------------------------- /share/spice/homebrew/content.handlebars: -------------------------------------------------------------------------------- 1 |
$ brew install {{formula}}
2 | -------------------------------------------------------------------------------- /share/spice/in_every_lang/content.handlebars: -------------------------------------------------------------------------------- 1 |
{{code}}
2 | -------------------------------------------------------------------------------- /share/spice/pokemon/data/content.handlebars: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /share/spice/symbolab/symbolab.css: -------------------------------------------------------------------------------- 1 | .zci--symbolab sup{ 2 | top: 0em; 3 | } 4 | -------------------------------------------------------------------------------- /template/share/spice/example/example.css: -------------------------------------------------------------------------------- 1 | .zci--<: $ia_id :> { 2 | 3 | } 4 | 5 | -------------------------------------------------------------------------------- /share/spice/sublime_packages/skipwords.txt: -------------------------------------------------------------------------------- 1 | about 2 | downloads? 3 | purchases? 4 | buy -------------------------------------------------------------------------------- /share/spice/hayoo/hayoo.css: -------------------------------------------------------------------------------- 1 | .tile--hayoo .tile__body { 2 | height: 13em; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /share/spice/yacht_specs/skipwords.txt: -------------------------------------------------------------------------------- 1 | club 2 | for sale 3 | for charter 4 | harbour 5 | crew -------------------------------------------------------------------------------- /share/spice/zanran/footer.handlebars: -------------------------------------------------------------------------------- 1 | Date: {{date}} 2 | -------------------------------------------------------------------------------- /template/README.md: -------------------------------------------------------------------------------- 1 | Instant Answer templates to be used in conjugation with DuckPAN 2 | 3 | -------------------------------------------------------------------------------- /share/spice/equaldex/equaldex.css: -------------------------------------------------------------------------------- 1 | .zci--equaldex .record__cell--key { 2 | width: auto; 3 | } -------------------------------------------------------------------------------- /share/spice/lastfm/artist_album/lastfm_artist_album.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} 2 | -------------------------------------------------------------------------------- /share/spice/lastfm/artist_tracks/lastfm_artist_tracks.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} -------------------------------------------------------------------------------- /share/spice/launch_library/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{url}} 3 |
4 | -------------------------------------------------------------------------------- /share/spice/expand_url/content.handlebars: -------------------------------------------------------------------------------- 1 | Expanded url: {{long-url}} 2 | -------------------------------------------------------------------------------- /share/spice/lastfm/artist_album/lastfm_artist_album_item.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} 2 | -------------------------------------------------------------------------------- /share/spice/lastfm/artist_tracks/lastfm_artist_tracks_item.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} -------------------------------------------------------------------------------- /share/spice/rand_word/single_word.handlebars: -------------------------------------------------------------------------------- 1 | {{word}} -------------------------------------------------------------------------------- /share/spice/wikinews/footer.handlebars: -------------------------------------------------------------------------------- 1 |
{{date_from}}
2 | -------------------------------------------------------------------------------- /share/spice/wikinews/wikinews.css: -------------------------------------------------------------------------------- 1 | .tile--c, .tile--m { 2 | width: 14em; 3 | height: 11em; 4 | } 5 | -------------------------------------------------------------------------------- /share/spice/bible/content.handlebars: -------------------------------------------------------------------------------- 1 | {{#if header}} 2 |
{{header}}
3 | {{/if}} 4 | {{text}} 5 | -------------------------------------------------------------------------------- /share/spice/thesaurus/title_content.handlebars: -------------------------------------------------------------------------------- 1 |

{{headerText}} {{query}}:

-------------------------------------------------------------------------------- /share/spice/get_events/get_events.css: -------------------------------------------------------------------------------- 1 | .tile--get_events { 2 | width: 14em; 3 | height: 14em; 4 | } 5 | -------------------------------------------------------------------------------- /share/spice/hacker_news/hacker_news.css: -------------------------------------------------------------------------------- 1 | .tile--hacker_news .tile__body.has-foot { 2 | height: 14em; 3 | } 4 | -------------------------------------------------------------------------------- /share/spice/octopart/content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{#if market_status}}

Market Status: {{market_status}}

{{/if}} -------------------------------------------------------------------------------- /share/spice/cocoapods/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{platforms}} 3 |
4 | 5 | -------------------------------------------------------------------------------- /share/spice/dogo_news/dogo_news.css: -------------------------------------------------------------------------------- 1 | .zci--dogo_news .tile--dogo_news .tile__foot { 2 | padding-bottom: 0.2em; 3 | } -------------------------------------------------------------------------------- /share/spice/movie/fresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/movie/fresh.png -------------------------------------------------------------------------------- /share/spice/reddit_search/reddit_search.css: -------------------------------------------------------------------------------- 1 | .tile--reddit_search .sub-title { 2 | margin-bottom: 0.25em; 3 | } 4 | -------------------------------------------------------------------------------- /share/spice/timer/alarm.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/timer/alarm.mp3 -------------------------------------------------------------------------------- /share/spice/twitter/skipwords.txt: -------------------------------------------------------------------------------- 1 | apis? 2 | developers? 3 | users? 4 | search(es)? 5 | analytics? 6 | company 7 | about -------------------------------------------------------------------------------- /share/spice/urban_dictionary/content.handlebars: -------------------------------------------------------------------------------- 1 | {{definition}} 2 | {{example}} 3 | -------------------------------------------------------------------------------- /share/spice/zanran/pdf.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/zanran/pdf.ico -------------------------------------------------------------------------------- /share/spice/alternative_to/alternative_to.css: -------------------------------------------------------------------------------- 1 | .zci--alternative_to .tile__hearts .ddgsi { 2 | vertical-align: top; 3 | } -------------------------------------------------------------------------------- /share/spice/aur/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/aur/arrow_up.png -------------------------------------------------------------------------------- /share/spice/bbc/subtitle_content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | Run Time: {{duration}} 3 |

4 | 5 | -------------------------------------------------------------------------------- /share/spice/dogo_books/buy.handlebars: -------------------------------------------------------------------------------- 1 | 2 | See Reviews and Ratings 3 | -------------------------------------------------------------------------------- /share/spice/dogo_movies/buy.handlebars: -------------------------------------------------------------------------------- 1 | 2 | See Reviews and Trailers 3 | -------------------------------------------------------------------------------- /share/spice/movie/rotten.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/movie/rotten.png -------------------------------------------------------------------------------- /share/spice/aur/footer.handlebars: -------------------------------------------------------------------------------- 1 | {{NumVotes}} {{#if Maintainer}} · {{Maintainer}}{{/if}} -------------------------------------------------------------------------------- /share/spice/isslocation/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/isslocation/icon.png -------------------------------------------------------------------------------- /share/spice/launchbug/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{condense description maxlen="200"}} 3 |
4 | -------------------------------------------------------------------------------- /share/spice/packagist/packagist.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} – {{{condense description maxlen="125"}}}
-------------------------------------------------------------------------------- /share/spice/rain/content.handlebars: -------------------------------------------------------------------------------- 1 |
It's{{#unless is_raining}} not{{/unless}} raining in {{location}} right now.
2 | -------------------------------------------------------------------------------- /share/spice/riffsy/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/riffsy/loading.png -------------------------------------------------------------------------------- /share/spice/anime/hummingbird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/anime/hummingbird.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/XCP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/XCP.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/XMR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/XMR.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/XPM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/XPM.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/XPY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/XPY.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/XRP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/XRP.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/YBC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/YBC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/ZRC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/ZRC.png -------------------------------------------------------------------------------- /share/spice/currency/assets/xe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/xe.png -------------------------------------------------------------------------------- /share/spice/in_theaters/fresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/in_theaters/fresh.png -------------------------------------------------------------------------------- /share/spice/in_theaters/rotten.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/in_theaters/rotten.png -------------------------------------------------------------------------------- /share/spice/launchpad_project/launchpad_project.css: -------------------------------------------------------------------------------- 1 | .tile--launchpad_project .tile__sub { 2 | text-transform: none; 3 | } 4 | -------------------------------------------------------------------------------- /share/spice/movie/fresh.retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/movie/fresh.retina.png -------------------------------------------------------------------------------- /share/spice/newint/buy.handlebars: -------------------------------------------------------------------------------- 1 | More at New Internationalist 2 | -------------------------------------------------------------------------------- /share/spice/octopart/pdf_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/octopart/pdf_small.jpg -------------------------------------------------------------------------------- /share/spice/quixey/quixey_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/quixey/quixey_logo.png -------------------------------------------------------------------------------- /share/spice/rand_pos/content.handlebars: -------------------------------------------------------------------------------- 1 | {{#concat words sep=", "}}{{word}}{{/concat}} -------------------------------------------------------------------------------- /share/spice/recipes/yummly.com.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/recipes/yummly.com.ico -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | DDG-* 2 | .build 3 | *.sw* 4 | *~ 5 | *.bak 6 | *# 7 | .jshintrc 8 | .DS_Store 9 | share/spice/meta/metadata.json 10 | -------------------------------------------------------------------------------- /share/spice/coursebuffet/coursebuffet.css: -------------------------------------------------------------------------------- 1 | .tile--coursebuffet .tile__title { 2 | white-space: normal; 3 | height: 2.5em; 4 | } 5 | -------------------------------------------------------------------------------- /share/spice/coursebuffet/footer.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{cb_sub_level_display}} / {{offeredvia}} 3 | -------------------------------------------------------------------------------- /share/spice/hacker_news/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/hacker_news/arrow_up.png -------------------------------------------------------------------------------- /share/spice/isbn/buy.handlebars: -------------------------------------------------------------------------------- 1 | More at Amazon 2 | -------------------------------------------------------------------------------- /share/spice/mass_on_time/map-pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/mass_on_time/map-pin.png -------------------------------------------------------------------------------- /share/spice/movie/buy.handlebars: -------------------------------------------------------------------------------- 1 | 2 | Reviews and Showtimes 3 | -------------------------------------------------------------------------------- /share/spice/movie/certified-fresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/movie/certified-fresh.png -------------------------------------------------------------------------------- /share/spice/movie/rotten.retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/movie/rotten.retina.png -------------------------------------------------------------------------------- /share/spice/political_polls/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | Last updated {{updateTime}} 3 |
4 | -------------------------------------------------------------------------------- /share/spice/product_hunt/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/product_hunt/arrow_up.png -------------------------------------------------------------------------------- /share/spice/pwned/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{date}} 4 |
5 | -------------------------------------------------------------------------------- /share/spice/sun_rise_set/sunrise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/sun_rise_set/sunrise.png -------------------------------------------------------------------------------- /share/spice/sun_rise_set/sunset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/sun_rise_set/sunset.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/ggp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/ggp.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/jep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/jep.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/sar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/sar.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xaf.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xag.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xau.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xbt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xbt.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xcd.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xdr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xdr.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xof.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xof.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xpd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xpd.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xpf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xpf.png -------------------------------------------------------------------------------- /share/spice/currency/assets/32/xpt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/32/xpt.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/ggp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/ggp.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/jep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/jep.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/sar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/sar.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xaf.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xag.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xau.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xbt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xbt.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xcd.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xdr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xdr.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xof.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xof.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xpd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xpd.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xpf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xpf.png -------------------------------------------------------------------------------- /share/spice/currency/assets/64/xpt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/64/xpt.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/ggp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/ggp.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/jep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/jep.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/sar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/sar.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xaf.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xag.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xau.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xbt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xbt.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xcd.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xdr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xdr.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xof.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xof.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xpd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xpd.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xpf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xpf.png -------------------------------------------------------------------------------- /share/spice/currency/assets/96/xpt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/currency/assets/96/xpt.png -------------------------------------------------------------------------------- /share/spice/fedora_project_package_db/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | Status: {{status}} 3 |
4 | -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/hulu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/hulu.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sony.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sony.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/vhx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/vhx.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/vudu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/vudu.png -------------------------------------------------------------------------------- /share/spice/in_theaters/buy.handlebars: -------------------------------------------------------------------------------- 1 | 2 | Reviews and Showtimes 3 | -------------------------------------------------------------------------------- /share/spice/lastfm/top_tracks/lastfm_top_tracks.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} by {{artist.name}} 2 | -------------------------------------------------------------------------------- /share/spice/reddit_search/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/reddit_search/arrow_up.png -------------------------------------------------------------------------------- /share/spice/color_picker/hue_gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/color_picker/hue_gradient.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazon.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/bestbuy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/bestbuy.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/crackle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/crackle.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/disney.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/disney.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/hulu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/hulu@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/itunes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/itunes.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/netflix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/netflix.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/redbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/redbox.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sony@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sony@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/target.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/target.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/vhx-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/vhx-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/vhx@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/vhx@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/vudu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/vudu@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/walmart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/walmart.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/youtube.png -------------------------------------------------------------------------------- /share/spice/in_theaters/fresh.retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/in_theaters/fresh.retina.png -------------------------------------------------------------------------------- /share/spice/in_theaters/rotten.retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/in_theaters/rotten.retina.png -------------------------------------------------------------------------------- /share/spice/lastfm/top_tracks/lastfm_top_tracks_item.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} by {{artist.name}} 2 | -------------------------------------------------------------------------------- /share/spice/songkick/getartistid/songkick_artist.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{displayName}} 3 |
4 | -------------------------------------------------------------------------------- /share/spice/flash_version/content.handlebars: -------------------------------------------------------------------------------- 1 | {{#if installed}} 2 | You're using {{raw}}. 3 | {{else}} 4 | You don't have Flash installed. 5 | {{/if}} -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazon@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/disney@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/disney@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/fandango.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/fandango.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/flixster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/flixster.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/itunes@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/itunes@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/redbox@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/redbox@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/snagfilms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/snagfilms.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sony-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sony-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sundance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sundance.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/target@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/target@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/xboxvideo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/xboxvideo.png -------------------------------------------------------------------------------- /share/spice/in_theaters/certified-fresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/in_theaters/certified-fresh.png -------------------------------------------------------------------------------- /share/spice/movie/certified-fresh.retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/movie/certified-fresh.retina.png -------------------------------------------------------------------------------- /share/spice/rhymes/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#concat words sep=", " conj=" and "}}{{word}}{{/concat}} 3 |
4 | 5 | -------------------------------------------------------------------------------- /share/spice/symbolab/title_content.handlebars: -------------------------------------------------------------------------------- 1 |

{{{solution}}}

2 | -------------------------------------------------------------------------------- /share/spice/urban_dictionary/urban_dictionary.css: -------------------------------------------------------------------------------- 1 | .ud__example { 2 | display: block; 3 | padding-top: .5em; 4 | font-style: italic; 5 | } 6 | -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazon-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazon-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazonstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazonstore.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/bestbuy@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/bestbuy@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/crackle-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/crackle-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/crackle@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/crackle@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/disney-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/disney-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/fandango@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/fandango@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/flixster@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/flixster@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/googleplay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/googleplay.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/itunes-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/itunes-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/netflix@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/netflix@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/snagfilms@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/snagfilms@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sony-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sony-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sundance-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sundance-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sundance@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sundance@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/targetticket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/targetticket.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/vhx-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/vhx-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/walmart@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/walmart@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/xboxvideo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/xboxvideo@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/youtube-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/youtube-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/youtube@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/youtube@2x.png -------------------------------------------------------------------------------- /share/spice/quandl/fundamentals/quandl32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/quandl/fundamentals/quandl32x32.png -------------------------------------------------------------------------------- /share/spice/quandl/home_values/quandl32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/quandl/home_values/quandl32x32.png -------------------------------------------------------------------------------- /share/spice/quandl/world_bank/quandl32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/quandl/world_bank/quandl32x32.png -------------------------------------------------------------------------------- /share/spice/thesaurus/thesaurus.css: -------------------------------------------------------------------------------- 1 | .zci--thesaurus .thesaurus--part { 2 | color: #777; 3 | } 4 | 5 | .zci--thesaurus h1 { 6 | font-weight: 400; 7 | } -------------------------------------------------------------------------------- /share/spice/wgha/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{ellipsis location 40}}
{{ellipsis area 40}}
{{created_at}} 3 |
4 | -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/AUR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/AUR.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/BANX.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/BANX.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/BCN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/BCN.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/BLK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/BLK.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/BTC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/BTC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/BTCD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/BTCD.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/BTS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/BTS.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/DGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/DGB.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/DOGE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/DOGE.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/DSH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/DSH.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/FC2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/FC2.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/FTC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/FTC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/GRC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/GRC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/IFC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/IFC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/KORE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/KORE.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/LTC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/LTC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/MAID.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/MAID.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/MEC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/MEC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/MSC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/MSC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/MYR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/MYR.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/NBT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/NBT.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/NMC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/NMC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/NVC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/NVC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/NXT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/NXT.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/OPAL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/OPAL.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/POT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/POT.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/PPC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/PPC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/PTS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/PTS.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/QRK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/QRK.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/SDC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/SDC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/SYNC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/SYNC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/UTC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/UTC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/VIOR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/VIOR.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/VPN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/VPN.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/WDC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/WDC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/XCP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/XCP.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/XMR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/XMR.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/XPM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/XPM.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/XPY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/XPY.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/XRP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/XRP.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/YBC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/YBC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/ZRC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/ZRC.png -------------------------------------------------------------------------------- /share/spice/deb_version/deb_version.css: -------------------------------------------------------------------------------- 1 | .zci--deb_version .record__cell--key { 2 | /* separate the columns a bit more */ 3 | padding-right: 2.5em; 4 | } 5 | -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazon-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazon-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazonstore@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazonstore@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/crackle-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/crackle-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/disney-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/disney-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/googleplay-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/googleplay-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/googleplay@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/googleplay@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/itunes-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/itunes-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/snagfilms-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/snagfilms-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/youtube-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/youtube-alt@2x.png -------------------------------------------------------------------------------- /share/spice/hearthstone/hearthstone.css: -------------------------------------------------------------------------------- 1 | .zci--hearthstone b { 2 | font-weight: normal; 3 | } 4 | 5 | .zci--hearthstone i { 6 | font-style: normal; 7 | } -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/DOGED.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/DOGED.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/GENERIC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/GENERIC.png -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/png/32/UNITY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/cryptocurrency/assets/png/32/UNITY.png -------------------------------------------------------------------------------- /share/spice/github/github.css: -------------------------------------------------------------------------------- 1 | .tile--github .star.starIcon { 2 | margin-top: -5px; 3 | } 4 | 5 | .tile--github .tile__sub { 6 | text-transform: none; 7 | } 8 | -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazonstore-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazonstore-alt.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/googleplay-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/googleplay-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/snagfilms-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/snagfilms-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/sundance-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/sundance-alt@2x.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/targetticket@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/targetticket@2x.png -------------------------------------------------------------------------------- /share/spice/in_theaters/certified-fresh.retina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/in_theaters/certified-fresh.retina.png -------------------------------------------------------------------------------- /share/spice/color_picker/saturation_value_gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/color_picker/saturation_value_gradient.png -------------------------------------------------------------------------------- /share/spice/go_watch_it/assets/amazonstore-alt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jadijadi/zeroclickinfo-spice/HEAD/share/spice/go_watch_it/assets/amazonstore-alt@2x.png -------------------------------------------------------------------------------- /share/spice/haxelib/content.handlebars: -------------------------------------------------------------------------------- 1 |
{{{condense desc maxlen="255"}}}{{#if license}} ({{license}} License){{/if}}
2 |
 $ haxelib install {{{name}}}
-------------------------------------------------------------------------------- /share/spice/packagist/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{favers}} • {{downloads}} Downloads 3 |
-------------------------------------------------------------------------------- /share/spice/launchpad_project/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{owner}} 4 |
5 | -------------------------------------------------------------------------------- /share/spice/medicine/medicine_detail.handlebars: -------------------------------------------------------------------------------- 1 |
{{title}}
2 |

3 | {{description}} 4 |

5 |

6 | details... 7 |

-------------------------------------------------------------------------------- /template/share/spice/example/example.handlebars: -------------------------------------------------------------------------------- 1 | {{name}} 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /share/spice/bbc/bbc.css: -------------------------------------------------------------------------------- 1 | .tile--bbc .tile__title { 2 | height: 2.5em; 3 | } 4 | 5 | .tile--bbc .tile__source, 6 | .tile--bbc:hover .tile__source { 7 | color: #aaa; 8 | } 9 | -------------------------------------------------------------------------------- /share/spice/get_events/foot_back.handlebars: -------------------------------------------------------------------------------- 1 | {{#and url meta.sourceName}} 2 | {{{moreAt url meta.formattedSourceName dynamicMoreAtText=5 iconPlaceholder="true"}}} 3 | {{/and}} 4 | -------------------------------------------------------------------------------- /share/spice/iplookup/content.handlebars: -------------------------------------------------------------------------------- 1 |
Blacklists: 2 | {{#concat blacklists sep=", " conj=" and "}}{{this}}{{/concat}} 3 |
-------------------------------------------------------------------------------- /share/spice/rhymes/rhymes.css: -------------------------------------------------------------------------------- 1 | .zci--rhymes .rhymes--query { 2 | color: #999; 3 | } 4 | 5 | .zci--rhymes .rhymes--words { 6 | font-size: 1.2em; 7 | font-weight: 200; 8 | } -------------------------------------------------------------------------------- /share/spice/maps/places/maps_places.js: -------------------------------------------------------------------------------- 1 | DDG.require('maps',function(){ 2 | ddg_spice_maps_places = function(places) { 3 | DDG.duckbar.add_local(places); 4 | }; 5 | }); 6 | -------------------------------------------------------------------------------- /share/spice/recipes/recipes_view_full.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 | View Full Recipe 4 | -------------------------------------------------------------------------------- /share/spice/shorten/shorten.handlebars: -------------------------------------------------------------------------------- 1 | 2 |

{{sourceURL}} - Shortened Link

3 | -------------------------------------------------------------------------------- /share/spice/whois/whois.css: -------------------------------------------------------------------------------- 1 | .zci--whois .record__cell--value { 2 | white-space: nowrap; 3 | } 4 | 5 | .zci--whois.has-chomp-expanded .record__cell--value { 6 | white-space: normal; 7 | } -------------------------------------------------------------------------------- /share/spice/similar_sites/list_content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{name}} 3 | -------------------------------------------------------------------------------- /share/spice/github/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{watchers}} · Updated {{pushed_at}} 4 |
5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /share/spice/symbolab/subtitle_content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | Solution for: {{problem}} 3 |

4 | -------------------------------------------------------------------------------- /share/spice/thesaurus/content.handlebars: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /t/Amazon.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | use_ok('DDG::Spice::Amazon'); 9 | 10 | done_testing; 11 | 12 | -------------------------------------------------------------------------------- /share/spice/lastfm/artist/item.handlebars: -------------------------------------------------------------------------------- 1 |
2 |

3 | {{ellipsis summary 200}} 4 |

5 |

6 |

7 |
8 | -------------------------------------------------------------------------------- /share/spice/rand_word/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#each this}} 3 |
{{word}}
4 | {{/each}} 5 |
6 | -------------------------------------------------------------------------------- /share/spice/songkick/geteventid/songkick_geteventid.css: -------------------------------------------------------------------------------- 1 | .zci--songkick .songkick-event .songkick-event-kicker { 2 | color: #777; 3 | } 4 | 5 | .zci--songkick .tile__body { 6 | height: 11em; 7 | } -------------------------------------------------------------------------------- /share/spice/sports/nfl/games/head_totals.handlebars: -------------------------------------------------------------------------------- 1 | {{#unless has_ended}} 2 |
3 |
T/O
4 |
5 | {{/unless}} 6 | -------------------------------------------------------------------------------- /share/spice/transit/septa/content.handlebars: -------------------------------------------------------------------------------- 1 |
{{ellipsis orig_line 68}} ({{orig_train}})
2 |
Arriving: {{orig_departure_time}} ({{SEPTA_delay orig_delay}})
-------------------------------------------------------------------------------- /share/spice/forecast/forecast_icons.handlebars: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /share/spice/nutrition/nutrition.css: -------------------------------------------------------------------------------- 1 | .nutrition__header.zci__header { 2 | font-size: 1.75em; 3 | font-weight: normal; 4 | } 5 | .nutrition__portion.frm__select { 6 | margin-left: -2px; 7 | } 8 | -------------------------------------------------------------------------------- /t/IndeedJobs.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | use_ok('DDG::Spice::IndeedJobs'); 9 | 10 | done_testing; 11 | 12 | -------------------------------------------------------------------------------- /share/spice/maps/directions/maps_directions.js: -------------------------------------------------------------------------------- 1 | DDG.require('maps',function(){ 2 | ddg_spice_maps_directions = function(directions) { 3 | DDG.duckbar.add_directions(directions); 4 | } 5 | }); 6 | -------------------------------------------------------------------------------- /share/spice/missing_kids/footer.handlebars: -------------------------------------------------------------------------------- 1 |
Age Now: {{age}}
2 |
Missing from: {{city}}, {{state}}
3 |
Contact: {{contact}}
4 | -------------------------------------------------------------------------------- /share/spice/pokemon/data/pokemon_data.css: -------------------------------------------------------------------------------- 1 | .zci--pokemon .pokemon__description { 2 | margin-bottom: 10px; 3 | } 4 | 5 | .zci--pokemon .zci__header__sub { 6 | display: block; 7 | padding-left: 0; 8 | } -------------------------------------------------------------------------------- /share/spice/search_code/search_code.handlebars: -------------------------------------------------------------------------------- 1 | {{#if synopsis}} 2 |
{{synopsis}}
3 | {{/if}} 4 | {{#stripHTML description}} 5 | {{this}} 6 | {{/stripHTML}} 7 | [Reference] 8 | -------------------------------------------------------------------------------- /share/spice/whois/available.handlebars: -------------------------------------------------------------------------------- 1 | This domain may be available! To register, try 2 | {{#keys domainRegistrars}} 3 | {{key}} 4 | {{/keys}} -------------------------------------------------------------------------------- /share/spice/editor/editor.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 |

{{title}}

4 |
5 |
6 |
-------------------------------------------------------------------------------- /share/spice/ruby_gems/footer.handlebars: -------------------------------------------------------------------------------- 1 | {{#if licenses}} 2 |
{{licenses}} Licence
3 | {{else}} 4 |
 
5 | {{/if}} 6 |
{{download_count}} downloads
7 | -------------------------------------------------------------------------------- /share/spice/dogo_news/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{source}} 3 |
4 |
5 | {{relative_time}} 6 |
-------------------------------------------------------------------------------- /share/spice/hearthstone/hearthstone.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#if card_description}} 3 |
{{{card_description}}}
4 | {{/if}} 5 |
6 | -------------------------------------------------------------------------------- /share/spice/sports/mlb/games/head_totals.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
H
3 |
E
4 |
5 | -------------------------------------------------------------------------------- /lib/DDG/SpiceBundle/OpenSourceDuckDuckGo.pm: -------------------------------------------------------------------------------- 1 | package DDG::SpiceBundle::OpenSourceDuckDuckGo; 2 | # ABSTRACT: The open source Spice Bundle of DuckDuckGo 3 | 4 | # This package is only a namespace/version holder 5 | 6 | 1; 7 | -------------------------------------------------------------------------------- /share/spice/alternative_to/footer.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{Votes}} {{#if Platforms}} • {{AlternativeTo_getPlatform Platforms}}{{/if}} 3 | 4 | -------------------------------------------------------------------------------- /share/spice/brainy_quote/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{ellipsis q 150}} 4 |
5 |
6 | {{person}} 7 |
8 |
9 | -------------------------------------------------------------------------------- /share/spice/octopart/octopart.css: -------------------------------------------------------------------------------- 1 | .detail--octopart .btn__datasheet { 2 | margin-right: 2px; 3 | background-color: #e5e5e5; 4 | } 5 | 6 | .is-mobile .detail--octopart .detail__body.detail__body--pr { 7 | padding-top: 1em; 8 | } 9 | -------------------------------------------------------------------------------- /share/spice/songkick/geteventid/content.handlebars: -------------------------------------------------------------------------------- 1 |
{{artist}}
2 |
Venue: {{ellipsis venue 30}}
3 |
When: {{start.date}} {{#if start.time}}({{start.time}}){{/if}}
-------------------------------------------------------------------------------- /share/spice/newint/content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | 3 | NI {{number}} - {{release_date}} 4 | 5 |

6 |

{{{condense editors_letter_html maxlen="400"}}}

7 | -------------------------------------------------------------------------------- /share/spice/transit/path/train_item.handlebars: -------------------------------------------------------------------------------- 1 |
{{departure_time}}
2 |
3 | {{#if cancelled}}N/A{{else}}Arrives {{arrival_time}}{{/if}}
4 | {{line}}
5 |
6 | -------------------------------------------------------------------------------- /share/spice/anime/buy.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{#if mal_id}} 3 | 4 | View on MyAnimeList 5 | 6 | {{/if}} 7 | 8 | -------------------------------------------------------------------------------- /share/spice/indeed_jobs/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{formattedLocationFull}} 3 |
4 |
5 | 6 | {{formattedRelativeTime}} 7 |
-------------------------------------------------------------------------------- /share/spice/plos/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{PLOS_year publicationDate}} · {{issue}} 4 |
5 | -------------------------------------------------------------------------------- /share/spice/sports/mlb/games/head_in_progress.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ordinal score.pitch_count.inning}} 4 | 5 | -------------------------------------------------------------------------------- /share/spice/product_hunt/footer.handlebars: -------------------------------------------------------------------------------- 1 |
{{domainName}}
2 | {{votes}} · {{plural comments singular="Comment" plural="Comments"}} 3 | -------------------------------------------------------------------------------- /share/spice/reddit_search/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
{{subTitle}}
3 | {{data.score}} · {{plural data.num_comments singular="Comment" plural="Comments"}} 4 |
5 | -------------------------------------------------------------------------------- /share/spice/google_plus/triggers.txt: -------------------------------------------------------------------------------- 1 | g plus 2 | g plus profile 3 | g plus user 4 | g+ 5 | g+ profile 6 | g+ user 7 | google plus 8 | google plus profile 9 | google plus user 10 | google+ 11 | google+ profile 12 | google+ user 13 | gplus 14 | gplus profile 15 | gplus user -------------------------------------------------------------------------------- /share/spice/timer/timer_wrapper.handlebars: -------------------------------------------------------------------------------- 1 | {{!-- timers get added programmatically --}} 2 | 3 |
4 | {{#unless isMobile}}+{{else}}Add Timer{{/unless}} 5 |
6 | -------------------------------------------------------------------------------- /share/spice/anime/subtitle_content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{#if episode_count}} 3 | Episode: {{episode_count}} 4 | | 5 | {{/if}} 6 | Duration: {{episode_length}} minutes 7 | 8 | 9 | -------------------------------------------------------------------------------- /share/spice/octopart/buy.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#if datasheet}} 3 | Datasheet 4 | {{/if}} 5 | Authorized Distributors 6 |
7 | -------------------------------------------------------------------------------- /share/spice/playing_cards/playing_cards.css: -------------------------------------------------------------------------------- 1 | .zci--playing_cards .tile--playing_cards { 2 | width: 9em; 3 | background-color: transparent; 4 | outline-color: transparent; 5 | border: transparent; 6 | } 7 | 8 | .zci--playing_cards .tile { 9 | outline: none; 10 | } 11 | -------------------------------------------------------------------------------- /share/spice/statista/footer.handlebars: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /share/spice/bbc/buy.handlebars: -------------------------------------------------------------------------------- 1 | {{#if programme.is_available_mediaset_pc_sd}} 2 | 3 | 4 | Watch 5 | 6 | {{/if}} 7 | -------------------------------------------------------------------------------- /share/spice/reddit_sub_search/detail.handlebars: -------------------------------------------------------------------------------- 1 | {{#rt "Title"}} {{title}}{{/rt}} 2 | {{#rv "Description" val="public_description"}} {{{redditSub_unescape public_description}}} {{/rv}} 3 | {{#rd "Subscribers"}} {{redditSub_formatSubscribers subscribers}} {{/rd}} 4 | -------------------------------------------------------------------------------- /share/spice/forvo/forvo.handlebars: -------------------------------------------------------------------------------- 1 | {{original}} 2 | ({{standard_pronunciation.langname}}, {{forvo_sex standard_pronunciation.sex}}) 3 | 4 | -------------------------------------------------------------------------------- /share/spice/maven/maven.css: -------------------------------------------------------------------------------- 1 | .zci--maven tr { 2 | border-bottom: 1px solid #dedede; 3 | } 4 | 5 | .zci--maven tr:last-of-type { 6 | border-bottom: none; 7 | } 8 | 9 | .zci--maven td { 10 | padding:2px 0; 11 | } 12 | 13 | .zci--maven th, 14 | .zci--maven td { 15 | padding-right: 15px; 16 | } -------------------------------------------------------------------------------- /share/spice/rx_info/triggerWords.txt: -------------------------------------------------------------------------------- 1 | white 2 | clear 3 | black 4 | gray 5 | brown 6 | tan 7 | red 8 | pink 9 | orange 10 | peach 11 | yellow 12 | green 13 | blue 14 | purple 15 | round 16 | oblong 17 | oval 18 | square 19 | rectangle 20 | diamond 21 | 3 sided 22 | 5 sided 23 | 6 sided 24 | 7 sided 25 | 8 sided -------------------------------------------------------------------------------- /share/spice/transit/path/stops.txt: -------------------------------------------------------------------------------- 1 | Grove Street 2 | 9th Street 3 | Exchange Place 4 | Christopher Street 5 | 14th Street 6 | Journal Square 7 | World Trade Center 8 | Newport 9 | Harrison 10 | Hoboken 11 | Newark Penn Station 12 | 33rd Street 13 | 23rd Street 14 | pavonia 15 | wtc 16 | jsq 17 | nwk -------------------------------------------------------------------------------- /share/spice/recipes/recipes_ingredients.handlebars: -------------------------------------------------------------------------------- 1 | {{#if ingredientDetails}} 2 |
3 | Ingredients: 4 | 9 |
10 | {{else}} 11 |   12 | {{/if}} -------------------------------------------------------------------------------- /share/spice/rx_info/rx_info.handlebars: -------------------------------------------------------------------------------- 1 | {{{formatTitle heading el="h5" className="c-detail__title" classNameSec="c-detail__title--rx_info" noSub="true" href=url}}} 2 |
{{labeler}}
3 |
4 | {{{include 'DDH.rx_info.rx_info_description'}}} 5 |
6 | -------------------------------------------------------------------------------- /share/spice/sound_cloud/footer.handlebars: -------------------------------------------------------------------------------- 1 | {{#if hearts}} 2 | 3 | 4 | {{numFormat hearts}} 5 | 6 | {{/if}} 7 | 8 | {{durationFormat duration}} 9 | 10 | 11 | -------------------------------------------------------------------------------- /share/spice/sports/nfl/games/head_in_progress.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{score.textCurrent}} {{score.clock}} 3 | 4 | {{#with score.possession}} 5 | {{#if down}}{{ordinal down}} & {{yfd}},{{/if}} {{side}} {{yard_line}} 6 | {{/with}} 7 | -------------------------------------------------------------------------------- /share/spice/book/subtitle.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#if image_url}} 3 | 4 | {{/if}} 5 | {{#if rating}} 6 | {{rating}}% 7 | {{/if}} 8 |
9 | 10 |
11 | by {{author}} 12 |
-------------------------------------------------------------------------------- /share/spice/namecheap/namecheap.css: -------------------------------------------------------------------------------- 1 | @media (max-width: 600px) { 2 | .zci--namecheap table { 3 | table-layout: fixed; 4 | width: 100%; 5 | } 6 | 7 | .zci--namecheap table td { 8 | word-wrap: break-word; 9 | } 10 | } 11 | 12 | .zci--namecheap .zci__more-at { 13 | padding-top: 0.75em; 14 | } -------------------------------------------------------------------------------- /share/spice/dogo_movies/subtitle_content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{#if runtime}} 3 | Run Time: {{runtime}} 4 | {{/if}} 5 | {{#and runtime mpaa}} 6 | 7 | {{/and}} 8 | {{#if mpaa}} 9 | {{mpaaText}} 10 | {{/if}} 11 | 12 | -------------------------------------------------------------------------------- /share/spice/sublime_packages/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{unique_installs}} 4 | 5 | 6 | {{last_modified}} 7 | 8 |
9 | -------------------------------------------------------------------------------- /share/spice/detect_lang/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 | This text is {{#if first.isReliable}} definitely {{else}} probably {{/if}} {{DetectLang_expandLang first.language}} ({{DetectLang_toPercent first.confidence}}){{#if second}}, but it could also be {{DetectLang_expandLang second.language}} ({{DetectLang_toPercent second.confidence}}){{/if}}. 3 |
4 | -------------------------------------------------------------------------------- /share/spice/seat_geek/README.md: -------------------------------------------------------------------------------- 1 | Currently there's no straightforward way to share assets between submodules, so some code in this IA (specifically the Handlebars template, the CSS file and the normalize method) is duplicated across four submodules. 2 | 3 | If you're adding changes to one of these, don't forget it might need to be done for all four of them! 4 | -------------------------------------------------------------------------------- /share/spice/time/content.handlebars: -------------------------------------------------------------------------------- 1 |
Time in {{placeName}}, {{country}}
2 |
{{time.hours}}:{{time.minutes}} {{time.amPM}}
3 |
4 |
{{dayName}}
5 |
{{monthName}} {{day}}, {{year}}
6 |
-------------------------------------------------------------------------------- /share/spice/tor_node/footer.handlebars: -------------------------------------------------------------------------------- 1 | {{#if running}} 2 | ▲ {{uptime}} 3 | {{else}} 4 | ▼ {{downtime}} 5 | {{/if}} 6 | 7 | {{#if bandwidth}} 8 | {{bandwidth}} 9 | {{/if}} 10 | -------------------------------------------------------------------------------- /share/spice/book/book.css: -------------------------------------------------------------------------------- 1 | .zci--book .recommended_by, .zci--book .rating-wrap { 2 | font-weight: 600; 3 | } 4 | 5 | .zci--book .recommend_line { 6 | margin-top: 0.85em; 7 | } 8 | 9 | .zci--book .subtitle { 10 | margin-top: 15px; 11 | } 12 | 13 | .zci--book .rating-wrap { 14 | padding-right: 10px; 15 | font-size: 2em; 16 | float: right; 17 | } -------------------------------------------------------------------------------- /share/spice/recipes/recipes_subtitle.handlebars: -------------------------------------------------------------------------------- 1 | {{sourceDisplayName}} 2 | {{{starRating rating}}} 3 | {{#cuisine}} 4 | 5 | Cuisine: {{.}} 6 | {{/cuisine}} 7 | {{#cookingTime}} 8 | 9 | Cooking Time: {{.}} minutes 10 | {{/cookingTime}} -------------------------------------------------------------------------------- /share/spice/seat_geek/events_by_city/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{place}} 4 |
5 |
6 | {{city}} 7 |
8 | {{#if price}} 9 |
{{price}}
10 | {{else}} 11 |
Price N/A
12 | {{/if}} 13 |
-------------------------------------------------------------------------------- /share/spice/seat_geek/events_near_me/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{place}} 4 |
5 |
6 | {{city}} 7 |
8 | {{#if price}} 9 |
{{price}}
10 | {{else}} 11 |
Price N/A
12 | {{/if}} 13 |
-------------------------------------------------------------------------------- /t/Book.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Book)], 10 | 'book reviews moonwalking with einstein' => test_spice( 11 | '/js/spice/book/moonwalking%20with%20einstein', 12 | caller => 'DDG::Spice::Book' 13 | ), 14 | ); 15 | 16 | done_testing; 17 | -------------------------------------------------------------------------------- /t/Stocks.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Stocks )], 10 | 'stock quote AAPL' => test_spice( 11 | '/js/spice/stocks/AAPL', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Stocks', 14 | ), 15 | ); 16 | 17 | done_testing; 18 | -------------------------------------------------------------------------------- /share/spice/seat_geek/events_by_artist/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{place}} 4 |
5 |
6 | {{city}} 7 |
8 | {{#if price}} 9 |
{{price}}
10 | {{else}} 11 |
Price N/A
12 | {{/if}} 13 |
-------------------------------------------------------------------------------- /share/spice/seat_geek/events_by_venue/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{place}} 4 |
5 |
6 | {{city}} 7 |
8 | {{#if price}} 9 |
{{price}}
10 | {{else}} 11 |
Price N/A
12 | {{/if}} 13 |
-------------------------------------------------------------------------------- /share/spice/today_in_history/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
{{{year}}}
3 |
4 | 5 | {{#if canExpand}} 6 |
{{{text}}}
7 |
{{{text}}}
8 | {{else}} 9 |
{{{text}}}
10 | {{/if}} -------------------------------------------------------------------------------- /t/Wikinews.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Wikinews )], 10 | 'wikinews' => test_spice( 11 | '/js/spice/wikinews/', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Wikinews', 14 | ), 15 | ); 16 | 17 | done_testing; 18 | 19 | -------------------------------------------------------------------------------- /share/spice/missing_kids/missing_kids.css: -------------------------------------------------------------------------------- 1 | .tile--missing_kids .tile__title { 2 | padding-bottom: 0px; 3 | margin-bottom: 0px; 4 | height: 1.1em; 5 | } 6 | 7 | .tile--missing_kids .tile__media { 8 | height: 20em; 9 | } 10 | 11 | .tile--missing_kids .tile__body { 12 | height: 9em; 13 | } 14 | 15 | .tile--missing_kids .tile__foot { 16 | max-height: 4em; 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /t/Hayoo.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Hayoo )], 10 | 'hayoo Prelude map' => test_spice( 11 | '/js/spice/hayoo/Prelude%20map', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Hayoo' 14 | ), 15 | ); 16 | 17 | done_testing; 18 | 19 | -------------------------------------------------------------------------------- /t/FlashVersion.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::FlashVersion )], 10 | 'flash version' => test_spice( 11 | '/js/spice/flash_version/', 12 | call_type => 'self', 13 | caller => 'DDG::Spice::FlashVersion' 14 | ), 15 | ); 16 | 17 | done_testing; 18 | 19 | -------------------------------------------------------------------------------- /share/spice/open_nic/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
{{ip}}
3 |
{{#ifunit}} {{miles}} miles {{else}} {{kilometers}} km {{/ifunit}}
4 |
{{stat}} % reliability
5 |
{{loc}}
6 |
-------------------------------------------------------------------------------- /share/spice/tor_node/tor_node.css: -------------------------------------------------------------------------------- 1 | .tile--tor_node .tile__subtitle { 2 | margin-bottom: 0; 3 | } 4 | 5 | .tile--tor_node .tile__content { 6 | margin: 1.181em 0; 7 | } 8 | 9 | .tile--tor_node .tile__icon { 10 | border: 1px solid #ddd; 11 | border-radius: 100%; 12 | margin-top: 1px; 13 | 14 | /* remove bg-color and padding completely */ 15 | background-color: transparent; 16 | padding: 0; 17 | } -------------------------------------------------------------------------------- /share/spice/seat_geek/sports/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{place}} 4 |
5 |
6 | {{city}} 7 |
8 | {{#if price}} 9 |
{{price}}
10 | {{else}} 11 |
Price N/A
12 | {{/if}} 13 |
-------------------------------------------------------------------------------- /share/spice/hacker_news/footer.handlebars: -------------------------------------------------------------------------------- 1 |
{{date_from}}
2 |
{{post_domain}}
3 |
4 | {{points}} · {{plural num_comments singular="Comment" plural="Comments"}} 5 |
-------------------------------------------------------------------------------- /share/spice/bike_sharing/indego_phl/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Bikes

4 |

{{bikesAvailable}}

5 |
6 | 7 |
8 |

Docks

9 |

{{docksAvailable}}

10 |
11 |
-------------------------------------------------------------------------------- /share/spice/packagist/packagist.css: -------------------------------------------------------------------------------- 1 | .tile--packagist .tile__title__sub { 2 | text-transform: none; 3 | } 4 | 5 | .tile--packagist .tile__body { 6 | height: 13.5em; 7 | } 8 | 9 | .tile--packagist .tile__content { 10 | height: 6em; 11 | } 12 | 13 | .tile--packagist .tile__footer { 14 | color: #aaa; 15 | line-height: 1em; 16 | } 17 | 18 | .tile--packagist .tile__footer .ddgsi { 19 | vertical-align: top; 20 | } -------------------------------------------------------------------------------- /share/spice/plos/plos.css: -------------------------------------------------------------------------------- 1 | .tile--plos .tile__title { 2 | white-space: nowrap; 3 | overflow: hidden; 4 | text-overflow: ellipsis; 5 | } 6 | 7 | .tile--plos .tile__body { 8 | height: 14em; 9 | } 10 | 11 | .tile--plos .tile__content { 12 | height: 6.4em; 13 | } 14 | 15 | .tile--plos .one-line { 16 | line-height: 16px; 17 | } 18 | 19 | .tile--plos .tile__footer img { 20 | margin-top: -0.17em; 21 | } 22 | -------------------------------------------------------------------------------- /share/spice/bike_sharing/bay_area_bike_share_ca/footer.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Bikes

4 |

{{availableBikes}}

5 |
6 |
7 |

Docks

8 |

{{availableDocks}}

9 |
10 |
-------------------------------------------------------------------------------- /share/spice/envato/audio.handlebars: -------------------------------------------------------------------------------- 1 |
2 | ${{price}} 3 | by {{user}} 4 |
5 |
6 | {{{starRating rating}}} 7 | {{{reviewCount sales null true true}}} 8 |
9 |
10 | {{durationFormat duration}} 11 |
12 | -------------------------------------------------------------------------------- /share/spice/get_events/foot_front.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{#with venue}} 3 | {{#if name}}{{name}}
{{/if}} 4 | {{#if steet}}{{street}}
{{/if}} 5 | {{#with address}} 6 | {{#if city}}{{city}}{{/if}} 7 | {{~#and city zip~}}, {{/and}} 8 | {{#if zip}}{{zip}}{{/if}} 9 | {{/with}} 10 | {{/with}} 11 |
12 | -------------------------------------------------------------------------------- /share/spice/recipes/recipes_flavors.handlebars: -------------------------------------------------------------------------------- 1 | {{#if flavors}} 2 |
3 | 13 |
14 | {{else}} 15 |   16 | {{/if}} -------------------------------------------------------------------------------- /share/spice/yoga_asanas/yoga_asanas.css: -------------------------------------------------------------------------------- 1 | .zci--yoga_asanas img { 2 | max-width: none; 3 | } 4 | 5 | .zci--yoga_asanas .tile__media__img { 6 | height: 125%; 7 | position: absolute; 8 | bottom: -10px; 9 | left: 50%; 10 | transform: translate(-50%,0); 11 | -webkit-transform: translate(-50%, 0); 12 | -ms-transform: translate(-50%, 0); 13 | } 14 | 15 | .zci--yoga_asanas .tile__media { 16 | height: 14em; 17 | } 18 | -------------------------------------------------------------------------------- /share/spice/aqi/list_content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ParameterName}} 4 | {{AQI}} 5 | {{Category.Name}} 6 | as of {{DateObserved}} {{HourObserved}}:00 {{LocalTimeZone}} 7 | 8 | -------------------------------------------------------------------------------- /share/spice/kwixer/kwixer.css: -------------------------------------------------------------------------------- 1 | .zci--kwixer .btn.btn--primary { 2 | margin-top: 1em; 3 | } 4 | 5 | @media only screen 6 | and (max-device-width: 400px) { 7 | .zci--kwixer .detail--kwixer p.starring { 8 | max-height: 2.5em; 9 | overflow-y: hidden; 10 | text-overflow: ellipsis; 11 | } 12 | 13 | .zci--kwixer .detail--kwixer p { 14 | padding-top: 0.2em; 15 | padding-bottom: 0.2em; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /share/spice/people_in_space/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 |
6 |
7 | 8 |
9 |
10 | {{name}} 11 | {{daysElapsed}} days 12 |
-------------------------------------------------------------------------------- /share/spice/quixey/buy.handlebars: -------------------------------------------------------------------------------- 1 | 2 | {{#each editions}} 3 | 4 | {{#with this.platforms.[0]}} 5 | 6 | {{/with}} 7 | {{Quixey_platform_name}} 8 | {{#if ../hasPricerange}} 9 | - {{Quixey_qprice cents}} 10 | {{/if}} 11 | 12 | {{/each}} 13 | 14 | -------------------------------------------------------------------------------- /share/spice/lastfm/song/lastfm_song.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#with track}} 3 |
4 | Artist: 5 | {{artist.name}} 6 |
7 |
8 | Album: 9 | {{album.title}} 10 |
11 |
12 | Listen: 13 | {{#listen artist.name album.title}}{{title}}{{/listen}} 14 |
15 | {{/with}} 16 |
-------------------------------------------------------------------------------- /t/Places.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Maps::Places )], 10 | 'nearest primos' => test_spice( 11 | '/js/spice/maps/places/nearest%20primos', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Maps::Places', 14 | is_cached => 0, 15 | ), 16 | 'local time' => undef, 17 | ); 18 | 19 | done_testing; 20 | 21 | -------------------------------------------------------------------------------- /share/spice/transit/path/transit_path.css: -------------------------------------------------------------------------------- 1 | .zci--path .tile--path { 2 | text-align: center; 3 | width: 13em; 4 | } 5 | 6 | @media screen and (max-device-width: 640px) and (orientation: portrait){ 7 | .is-mobile .zci--path .tile--path { 8 | width: 48%; 9 | } 10 | } 11 | 12 | .tile--path .path__time { 13 | font-size: 2.3em; 14 | font-weight: 300; 15 | } 16 | 17 | .tile--path .path__details { 18 | margin-top: 5px; 19 | margin-bottom: 5px; 20 | } 21 | -------------------------------------------------------------------------------- /share/spice/google_plus/google_plus.css: -------------------------------------------------------------------------------- 1 | .tile--google_plus .tile__media { 2 | height: 10em; 3 | } 4 | 5 | .tile--google_plus .tile__media__img { 6 | margin-top: 20px; 7 | border-radius: 100%; 8 | } 9 | 10 | .tile--google_plus .tile__title { 11 | text-align: center; 12 | vertical-align: middle; 13 | font-weight: 400; 14 | display: table-cell; 15 | width: 150px; 16 | } 17 | 18 | .tile--google_plus .tile__body { 19 | padding-bottom: 20px; 20 | } -------------------------------------------------------------------------------- /lib/DDG/Spice/Hackage.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Hackage; 2 | # ABSTRACT: Search for information about Hackage packages 3 | 4 | use DDG::Spice; 5 | 6 | triggers startend => 'haskell', 'hoogle', 'hackage'; 7 | 8 | spice to => 'https://www.haskell.org/hoogle/?mode=json&hoogle=$1&count=30'; 9 | spice wrap_jsonp_callback => 1; 10 | 11 | handle remainder => sub { 12 | if ($_) { 13 | $_ =~ s/\s?packages?\s?//g; 14 | return $_; 15 | } 16 | return; 17 | }; 18 | 19 | 1; 20 | -------------------------------------------------------------------------------- /share/spice/sports/team_name.handlebars: -------------------------------------------------------------------------------- 1 | 4 |
5 | 6 | {{location}} 7 | {{name}} 8 | 9 |
10 |
{{short_name}}
11 | -------------------------------------------------------------------------------- /t/Bootic.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Bootic )], 10 | 'bootic watches' => test_spice( 11 | '/js/spice/bootic/watches', 12 | caller => 'DDG::Spice::Bootic', 13 | ), 14 | 'bootic irobot' => test_spice( 15 | '/js/spice/bootic/irobot', 16 | caller => 'DDG::Spice::Bootic', 17 | ), 18 | ); 19 | 20 | done_testing; 21 | 22 | -------------------------------------------------------------------------------- /share/spice/similar_sites/similar_sites.css: -------------------------------------------------------------------------------- 1 | .zci--similar_sites img { 2 | vertical-align: middle; 3 | } 4 | 5 | .zci--similar_sites .c-list__content{ 6 | margin-top: 0; 7 | } 8 | 9 | .zci--similar_sites .c-list__items, 10 | .zci--similar_sites .c-list__item { 11 | border-color: transparent; 12 | } 13 | 14 | .zci--similar_sites .c-list__item a { 15 | font-size: 1.15em; 16 | line-height: 1.2em; 17 | font-weight: 400; 18 | vertical-align: middle; 19 | margin-left: 10px; 20 | } 21 | -------------------------------------------------------------------------------- /share/spice/dns/content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{#each records}} 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {{/each}} 18 |
TTLClassTypePriorityData
{{ttl}}{{class}}{{type}}{{priority}}{{data}}
19 | -------------------------------------------------------------------------------- /share/spice/editor/editor.css: -------------------------------------------------------------------------------- 1 | .zci--editor .ace_editor { 2 | height: 20em; 3 | } 4 | 5 | .zci--editor .ace-eclipse .ace_gutter { 6 | background-color: #f2f2f2; 7 | border-right: 1px solid #d0d0d0; 8 | } 9 | 10 | .zci--editor .ace-monokai .ace_gutter { 11 | background-color: #292929; 12 | color: white; 13 | } 14 | 15 | .zci--editor .ace-monokai { 16 | background-color: #1f1f1f; 17 | } 18 | 19 | .zci--editor .ace-monokai .ace_marker-layer .ace_active-line { 20 | background: #3d3d3d; 21 | } 22 | -------------------------------------------------------------------------------- /share/spice/parking/parking.css: -------------------------------------------------------------------------------- 1 | #zci-parking .tile--parking .tile__media__img { 2 | margin-top: -20%; 3 | min-width: 100%; 4 | } 5 | 6 | #zci-parking .tile__subtitle { 7 | font-size: .95em; 8 | } 9 | 10 | #zci-parking .tile--parking__foot__back{ 11 | height: 2.2em; 12 | max-height: none; 13 | text-align: center; 14 | } 15 | 16 | #zci-parking .reserve-btn--parking{ 17 | margin: 0; 18 | left: 0; 19 | padding: .1em 0; 20 | font-size: .95em; 21 | border: 0; 22 | width: 100%; 23 | } -------------------------------------------------------------------------------- /t/Gifs.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Gifs)], 10 | 'giphy cat' => test_spice( 11 | '/js/spice/gifs/cat', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Gifs' 14 | ), 15 | 'giphy cat gifs' => test_spice( 16 | '/js/spice/gifs/cat', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Gifs' 19 | ), 20 | ); 21 | 22 | done_testing; 23 | -------------------------------------------------------------------------------- /share/spice/book/content.handlebars: -------------------------------------------------------------------------------- 1 | {{{ellipsis description 170}}} 2 | 3 |
4 | 5 | -{{source}} 6 | 7 |
8 | 9 |
10 | Recommended by: 11 | 12 | {{#concat recommendedBy sep="," conj=" and "~}} 13 | {{this.source}} 14 | {{~/concat}} 15 | 16 |
17 | 18 | -------------------------------------------------------------------------------- /t/GooglePlus.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::GooglePlus )], 10 | 'g+ dax' => test_spice( 11 | '/js/spice/google_plus/dax', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::GooglePlus' 14 | ), 15 | 'google+ duckduckgo' => test_spice( 16 | '/js/spice/google_plus/duckduckgo', 17 | caller => 'DDG::Spice::GooglePlus', 18 | ), 19 | ); 20 | 21 | done_testing; 22 | 23 | -------------------------------------------------------------------------------- /t/RubyGems.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::RubyGems )], 10 | 'cucumber rubygem' => test_spice( 11 | '/js/spice/ruby_gems/cucumber', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::RubyGems' 14 | ), 15 | 'rubygems cucumber' => test_spice( 16 | '/js/spice/ruby_gems/cucumber', 17 | caller => 'DDG::Spice::RubyGems', 18 | ), 19 | ); 20 | 21 | done_testing; 22 | 23 | -------------------------------------------------------------------------------- /share/spice/duck_say/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
{{text}}
3 |
{{text_tablet}}
4 |
{{text_phone}}
5 |
\ ⌒ 6 | \ ___/ • ) 7 | '---, / 8 | ▷.◁____/") 9 | \ \) / 10 | \_____/ 11 | _|_|
12 |
-------------------------------------------------------------------------------- /t/CodeSearch.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::CodeSearch )], 10 | 'perl code' => test_spice( 11 | '/js/spice/code_search/lang%3Aperl%20', 12 | caller => 'DDG::Spice::CodeSearch' 13 | ), 14 | 'javascript console.log example' => test_spice( 15 | '/js/spice/code_search/lang%3Ajavascript%20console.log', 16 | caller => 'DDG::Spice::CodeSearch' 17 | ), 18 | ); 19 | 20 | done_testing; 21 | 22 | -------------------------------------------------------------------------------- /t/HackerNews.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::HackerNews )], 10 | 'hn duckduckgo' => test_spice( 11 | '/js/spice/hacker_news/duckduckgo', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::HackerNews' 14 | ), 15 | 'hn postgresql' => test_spice( 16 | '/js/spice/hacker_news/postgresql', 17 | caller => 'DDG::Spice::HackerNews', 18 | ), 19 | ); 20 | 21 | done_testing; 22 | 23 | -------------------------------------------------------------------------------- /t/Newint.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | 6 | use Test::More; 7 | use DDG::Test::Spice; 8 | 9 | ddg_spice_test( 10 | [ 11 | 'DDG::Spice::Newint' 12 | ], 13 | 'gold newint' => test_spice( 14 | '/js/spice/newint/gold', 15 | call_type => 'include', 16 | caller => 'DDG::Spice::Newint', 17 | ), 18 | 'newint' => test_spice( 19 | '/js/spice/newint/', 20 | call_type => 'include', 21 | caller => 'DDG::Spice::Newint', 22 | ), 23 | ); 24 | 25 | done_testing; 26 | -------------------------------------------------------------------------------- /t/Haxelib.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Haxelib )], 10 | 'haxelib openfl' => test_spice( 11 | '/js/spice/haxelib/openfl', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Haxelib' 14 | ), 15 | 'nodejs haxe library' => test_spice( 16 | '/js/spice/haxelib/nodejs', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Haxelib' 19 | ), 20 | ); 21 | 22 | done_testing; 23 | 24 | -------------------------------------------------------------------------------- /t/Octopart.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Octopart )], 10 | 'atmega datasheet' => test_spice( 11 | '/js/spice/octopart/atmega', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Octopart' 14 | ), 15 | 'ne555 specs' => test_spice( 16 | '/js/spice/octopart/ne555', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Octopart' 19 | ), 20 | ); 21 | 22 | done_testing; 23 | 24 | -------------------------------------------------------------------------------- /t/RedditSearch.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::RedditSearch )], 10 | 'reddit duckduckgo' => test_spice( 11 | '/js/spice/reddit_search/duckduckgo', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::RedditSearch' 14 | ), 15 | 'reddit baking' => test_spice( 16 | '/js/spice/reddit_search/baking', 17 | caller => 'DDG::Spice::RedditSearch', 18 | ), 19 | ); 20 | 21 | done_testing; 22 | 23 | -------------------------------------------------------------------------------- /share/spice/search_code/triggers.txt: -------------------------------------------------------------------------------- 1 | apache 2 | apache2 3 | apple ios 4 | brainfuck 5 | clojure 6 | cobol 7 | emacs 8 | fossil 9 | ftp code 10 | git 11 | hello world 12 | hg 13 | hresult 14 | http code 15 | ios 16 | java 17 | jquery 18 | kernel error 19 | linux command 20 | linux kernel error 21 | mercurial 22 | mysql error 23 | mysql function 24 | nt status 25 | osx 26 | perl 27 | perl var 28 | perl5 29 | perl5 var 30 | php 31 | python 32 | smarty 33 | sql server 34 | sql server function 35 | svn 36 | underscore 37 | underscore.js 38 | vb6 39 | win32 error 40 | windows command; -------------------------------------------------------------------------------- /share/spice/transit/septa/train_item.handlebars: -------------------------------------------------------------------------------- 1 |
{{departure_time}}
2 |
3 | {{#if cancelled}}N/A{{else}}Arrives {{arrival_time}}{{/if}}
4 | {{line}}
5 | Train {{orig_train}} 6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
{{status}}
14 |
-------------------------------------------------------------------------------- /t/Statista.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Statista )], 10 | 'fifa statistics' => test_spice( 11 | '/js/spice/statista/fifa', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Statista', 14 | ), 15 | 'statistics on divorce' => test_spice( 16 | '/js/spice/statista/divorce', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Statista', 19 | ), 20 | ); 21 | 22 | done_testing; 23 | -------------------------------------------------------------------------------- /t/YachtSpecs.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | spice is_cached => 1; 9 | 10 | ddg_spice_test( 11 | [qw( DDG::Spice::YachtSpecs)], 12 | 'yacht maluhea' => test_spice( 13 | '/js/spice/yacht_specs/maluhea', 14 | call_type => 'include', 15 | caller => 'DDG::Spice::YachtSpecs' 16 | ), 17 | 'custom line yacht maluhea' => undef, 18 | 'private yacht maluhea' => undef, 19 | 'yacht club' => undef, 20 | 'yacht crew' => undef 21 | ); 22 | 23 | done_testing; 24 | 25 | -------------------------------------------------------------------------------- /share/spice/maven/content.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{#each response.docs}} 8 | 9 | 10 | 11 | 12 | 13 | {{/each}} 14 |
groupIDartifactIdversion
{{g}}{{a}}{{latestVersion}}
15 | -------------------------------------------------------------------------------- /share/spice/congress/congress.css: -------------------------------------------------------------------------------- 1 | .tile--congress{ 2 | width: 10em; 3 | height: 17em; 4 | } 5 | 6 | .tile--congress .tile__media--pr .tile__media__img { 7 | max-height: 125%; 8 | } 9 | 10 | .tile--congress .tile__body { 11 | height:5em; 12 | } 13 | 14 | .tile--congress .tile__media { 15 | margin-top: 1.4em; 16 | height: 110px; 17 | width: 110px; 18 | border-radius: 100%; 19 | } 20 | 21 | .tile--congress .tile__title { 22 | vertical-align: middle; 23 | font-weight: 400; 24 | display: table-cell; 25 | width: 150px; 26 | text-align: center; 27 | } 28 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Geometry.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Geometry; 2 | # ABSTRACT: Provides a formula shower / calculator for geometry 3 | 4 | use DDG::Spice; 5 | 6 | primary_example_queries 'geometry square'; 7 | secondary_example_queries 'formula for circle area', 'geometry cube volume size: 4'; 8 | triggers startend => 'geometry', 'formula', 'calc'; 9 | 10 | name 'Geometry'; 11 | description 'Little calculator and formula shower for geometric formulas'; 12 | category 'formulas'; 13 | 14 | spice call_type => 'self'; 15 | 16 | handle query_lc => sub { 17 | return call; 18 | }; 19 | 20 | 1; 21 | -------------------------------------------------------------------------------- /share/spice/bike_sharing/citi_bike_nyc/content.handlebars: -------------------------------------------------------------------------------- 1 |

{{title}}

2 |
3 |
4 |

Bikes

5 |

{{availableBikes}}

6 |
7 |
8 |

Docks

9 |

{{availableDocks}}

10 |
11 |
12 |
13 | Updated {{lastCommunication}} 14 |
-------------------------------------------------------------------------------- /share/spice/github_status/github_status.css: -------------------------------------------------------------------------------- 1 | .zci--github_status .ghstatus--header { 2 | font-size: 1.5em; 3 | margin-bottom: 0; 4 | padding-bottom: 0; 5 | } 6 | 7 | .zci--github_status .ghstatus--good { 8 | color: #4b9e4d; 9 | } 10 | 11 | .zci--github_status .ghstatus--minor { 12 | color: #f1a031; 13 | } 14 | 15 | .zci--github_status .ghstatus--major { 16 | color: #de5833; 17 | } 18 | 19 | .zci--github_status .ghstatus--message { 20 | font-size: 1em; 21 | margin-top: 0; 22 | margin-bottom: 0; 23 | padding-top: 0; 24 | padding-bottom: 0.75em; 25 | } 26 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Pwned.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Pwned; 2 | 3 | use strict; 4 | use DDG::Spice; 5 | 6 | primary_example_queries 'pwned test@gmail.com'; 7 | description 'Search for pwned email addresses'; 8 | name 'Pwned'; 9 | 10 | triggers startend => ('pwned', 'have i been pwned'); 11 | 12 | spice to => 'https://haveibeenpwned.com/api/v2/breachedaccount/$1'; 13 | spice wrap_jsonp_callback => 1; 14 | spice error_fallback => 'Email address not found'; 15 | 16 | handle remainder_lc => sub { 17 | return $_ if $_ =~ /\b([a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,})\b/; 18 | return; 19 | }; 20 | 21 | 1; 22 | -------------------------------------------------------------------------------- /share/spice/is_it_up/detail.handlebars: -------------------------------------------------------------------------------- 1 | {{#if_value status_code 1}} 2 |
{{this.domain}} seems up.
3 |

It took us {{response_time}} seconds to get a {{response_code}} response from {{response_ip}}.

4 | {{else}} 5 |
{{this.domain}} seems down.
6 |

We did not get a response from it.

7 | {{/if_value}} 8 | -------------------------------------------------------------------------------- /share/spice/minecraft_status/minecraft_status.css: -------------------------------------------------------------------------------- 1 | .zci--minecraft_status .mcstatus--header { 2 | font-size: 1.5em; 3 | margin-bottom: 0; 4 | padding-bottom: 0; 5 | } 6 | 7 | .zci--minecraft_status .mcstatus--good { 8 | color: #4b9e4d; 9 | } 10 | 11 | .zci--minecraft_status .mcstatus--minor { 12 | color: #f1a031; 13 | } 14 | 15 | .zci--minecraft_status .mcstatus--major { 16 | color: #de5833; 17 | } 18 | 19 | .zci--minecraft_status .mcstatus--message { 20 | font-size: 1em; 21 | margin-top: 0; 22 | margin-bottom: 0; 23 | padding-top: 0; 24 | padding-bottom: 0.75em; 25 | } 26 | -------------------------------------------------------------------------------- /share/spice/quandl/fundamentals/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |

3 | 4 | {{header}} 5 | 6 |

7 |
8 | {{subheader}} as of {{to_date}} 9 |
10 |
11 |
12 | {{value}} 13 | {{change_percent}}% 14 |
15 |
16 |
-------------------------------------------------------------------------------- /t/ISSLocation.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::ISSLocation )], 10 | 'iss location' => test_spice( 11 | '/js/spice/isslocation/', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::ISSLocation', 14 | is_unsafe => 0 15 | ), 16 | 'iss position' => test_spice( 17 | '/js/spice/isslocation/', 18 | call_type => 'include', 19 | caller => 'DDG::Spice::ISSLocation', 20 | is_unsafe => 0 21 | ), 22 | ); 23 | 24 | done_testing; 25 | -------------------------------------------------------------------------------- /share/spice/coupons/coupons.css: -------------------------------------------------------------------------------- 1 | /* 2 | Created on : Dec 17, 2015, 3:40:46 PM 3 | Author : ingo.wachsmuth@sparheld.de 4 | */ 5 | 6 | 7 | .zci--coupons .tile--coupons .tile__media { 8 | width: auto; 9 | height: auto; 10 | padding: 24px; 11 | } 12 | 13 | .zci--coupons .tile--coupons .tile__content { 14 | height: 2em; 15 | } 16 | 17 | .zci--coupons .tile--coupons .tile__body { 18 | padding-top: 0px; 19 | padding-left: 24px; 20 | padding-right: 24px; 21 | padding-bottom: 24px; 22 | } 23 | 24 | .zci--coupons .tile--coupons .tile__content .tile__content--sm { 25 | height: 2em; 26 | } -------------------------------------------------------------------------------- /share/spice/kwixer/buy.handlebars: -------------------------------------------------------------------------------- 1 | {{#if ResourceYear}} 2 |

3 | Released in: {{ResourceYear}} 4 |

5 | {{/if}} 6 | {{#if ResourceDetails2}} 7 |

8 | Starring: {{{formatDetail ResourceDetails2}}} 9 |

10 | {{/if}} 11 | {{#if ResourceDetails}} 12 |

13 | Director: {{{formatDetail ResourceDetails}}} 14 |

15 | {{/if}} 16 | {{#if ResourceGenre}} 17 |

18 | Genres: {{{formatDetail ResourceGenre}}} 19 |

20 | {{/if}} 21 | 22 | Reviews 23 | 24 | -------------------------------------------------------------------------------- /share/spice/quandl/home_values/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |

3 | 4 | {{header}} 5 | 6 |

7 |
8 | {{subheader}} as of {{to_date}} 9 |
10 |
11 |
12 | {{value}} 13 | {{change_percent}}% 14 |
15 |
16 |
17 | -------------------------------------------------------------------------------- /share/spice/newint/newint.css: -------------------------------------------------------------------------------- 1 | .zci--newint .editor { 2 | font-weight: bold; 3 | } 4 | 5 | @media only screen 6 | and (max-device-width: 480px) { 7 | 8 | .zci--newint .editors-letter { 9 | max-height: 3.4em; 10 | overflow-y: hidden; 11 | text-overflow: ellipsis; 12 | } 13 | 14 | .zci--newint .magazine-information { 15 | display: none; 16 | } 17 | 18 | } 19 | 20 | @media only screen 21 | and (max-device-width: 480px) and (orientation: portrait) { 22 | 23 | .zci--newint .more-information { 24 | position: absolute; 25 | bottom: 1.05em; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /share/spice/quandl/world_bank/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |

3 | 4 | {{header}} 5 | 6 |

7 |
8 | {{subheader}} as of {{to_date}} 9 |
10 |
11 |
12 | {{value}} 13 | {{change_percent}}% 14 |
15 |
16 |
17 | 18 | -------------------------------------------------------------------------------- /share/spice/statista/statista.css: -------------------------------------------------------------------------------- 1 | .tile--statista .statista__badge { 2 | height: 10px; 3 | border-radius: 5px; 4 | padding: 0 5px; 5 | display: inline-block; 6 | margin-right: .25em; 7 | } 8 | 9 | .tile--statista .statista__premium { 10 | background-color: #f1a031; 11 | } 12 | 13 | .tile--statista .statista__free { 14 | background-color: #589e4d; 15 | } 16 | 17 | .tile--statista .statista__footer { 18 | padding-top: 16px; 19 | } 20 | 21 | .tile--statista .tile__foot { 22 | padding-bottom: 1em; 23 | } 24 | 25 | .tile--statista .tile__body.has-foot { 26 | padding-bottom: 2.8em; 27 | } 28 | -------------------------------------------------------------------------------- /t/Coderwall.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | ['DDG::Spice::Coderwall'], 10 | 'coderwall jagtalon' => test_spice( 11 | '/js/spice/coderwall/jagtalon', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Coderwall' 14 | ), 15 | 'motersen coderwall' => test_spice( 16 | '/js/spice/coderwall/motersen', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Coderwall' 19 | ), 20 | 'jagtalon coderwall motersen' => undef 21 | ); 22 | 23 | done_testing; 24 | 25 | -------------------------------------------------------------------------------- /share/spice/rx_info/rx_info.css: -------------------------------------------------------------------------------- 1 | .tile--rx_info img { 2 | margin-top: -20px; 3 | } 4 | 5 | .detail__media.detail__media--rx_info { 6 | width: 30%; 7 | margin-right: 1em; 8 | text-align: center; 9 | } 10 | 11 | .c-detail__title--rx_info { 12 | padding-bottom: 0; 13 | } 14 | 15 | .c-detail__labeler--rx_info { 16 | color: #888888; 17 | } 18 | 19 | .c-detail__ingredients__title--rx_info { 20 | font-size: 1.15em; 21 | } 22 | 23 | .c-detail__ingredients__snippet--rx_info { 24 | color: #666666; 25 | } 26 | 27 | .c-detail__desc__attribution--rx_info { 28 | color: #999999; 29 | font-size: 12px; 30 | } 31 | -------------------------------------------------------------------------------- /share/spice/namecheap/namecheap.handlebars: -------------------------------------------------------------------------------- 1 |
2 | The domain {{domainName}} 3 | {{#if domainAvailable}} 4 | {{! The domain name can registered through Namecheap. }} 5 | is available! Register this domain at Namecheap. 6 | {{else}} 7 | {{! The domain name can be obtained through DomainAgents. }} 8 | is not available. Make an offer to the owner at DomainAgents. 9 | {{/if}} 10 |
-------------------------------------------------------------------------------- /share/spice/time/time.css: -------------------------------------------------------------------------------- 1 | .zci--time .time { 2 | display: inline-block; 3 | font-size: 3.75em; 4 | line-height: 1; 5 | padding:.2em 0.4em 0.2em 0; 6 | font-weight: 300; 7 | } 8 | 9 | .zci--time .time__date { 10 | display: inline-block; 11 | line-height: 1.25; 12 | font-weight: 300; 13 | } 14 | 15 | .zci--time .c-base__links { 16 | margin-top: 0.25em; 17 | } 18 | 19 | @media (max-width: 345px) { 20 | .is-mobile .zci--time .c-base__links { 21 | margin-top: 0.75em; 22 | } 23 | } 24 | 25 | @media (max-width: 244px) { 26 | .zci--time .time { 27 | font-size: 2.75em; 28 | } 29 | } -------------------------------------------------------------------------------- /t/ChuckNorris.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::ChuckNorris )], 10 | 'chuck norris facts' => test_spice( 11 | '/js/spice/chuck_norris/', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::ChuckNorris', 14 | is_unsafe => 1 15 | ), 16 | 'chuck norris jokes' => test_spice( 17 | '/js/spice/chuck_norris/', 18 | call_type => 'include', 19 | caller => 'DDG::Spice::ChuckNorris', 20 | is_unsafe => 1 21 | ), 22 | ); 23 | 24 | done_testing; 25 | 26 | -------------------------------------------------------------------------------- /share/spice/seat_geek/sports/seat_geek_sports.css: -------------------------------------------------------------------------------- 1 | .zci--seat_geek_sports .price { 2 | font-weight: 600; 3 | } 4 | 5 | .zci--seat_geek_sports .price, 6 | .zci--seat_geek_sports .noprice { 7 | margin-top: 1.75em; 8 | height: 1.1em; 9 | float: left; 10 | } 11 | 12 | .zci--seat_geek_sports .seat_geek-sports { 13 | font-size: 1.1em; 14 | } 15 | 16 | .zci--seat_geek_sports .where { 17 | height: 1.4em; 18 | } 19 | 20 | .zci--seat_geek_sports .where.city, 21 | .zci--seat_geek_sports .where.place { 22 | width: 9.3em; 23 | } 24 | 25 | .is-mobile .zci--seat_geek_sports .where.city { 26 | width: 7em; 27 | } 28 | -------------------------------------------------------------------------------- /share/spice/xkcd/display/xkcd_display.css: -------------------------------------------------------------------------------- 1 | .zci--xkcd .xkcd--container { 2 | margin-bottom: 0.5em; 3 | max-width: 100%; 4 | padding-right: 0.5em; 5 | } 6 | 7 | .zci--xkcd .xkcd--img { 8 | display: block; 9 | margin: 1em 0 0.5em; 10 | } 11 | 12 | .zci--xkcd .xkcd--buttons { 13 | display: inline-block; 14 | } 15 | 16 | .zci--xkcd .xkcd--buttons a:visited { 17 | color: #4495d4; 18 | } 19 | 20 | .zci--xkcd .xkcd--date { 21 | color: #888; 22 | display: inline-block; 23 | margin-right: 0.5em; 24 | } 25 | 26 | .zci--xkcd .xkcd--buttons .tile-nav--sm { 27 | font-size: 12px; 28 | text-decoration: none; 29 | } -------------------------------------------------------------------------------- /share/spice/forecast/forecast.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 |
6 |
7 |
8 |
9 |
10 | °F / °C 11 |
12 |
13 | 14 |
15 |
16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /share/spice/dns/dns.css: -------------------------------------------------------------------------------- 1 | .zci--dns .zci__table { 2 | margin-bottom: 2px; 3 | } 4 | 5 | .zci--dns .zci__table__tr { 6 | border-bottom: 1px solid #dedede; 7 | } 8 | 9 | .zci--dns .zci__table__tr:last-of-type { 10 | border-bottom: none; 11 | } 12 | 13 | .zci--dns .zci__table__tr td { 14 | padding: 2px 0; 15 | } 16 | .is-mobile .zci--dns .zci__table__tr td { 17 | font-size: 75%; 18 | } 19 | 20 | .zci--dns .zci__table__tr th, 21 | .zci--dns .zci__table__tr td { 22 | padding-right: 15px; 23 | } 24 | .is-mobile .zci--dns .zci__table__tr th, 25 | .zci--dns .zci__table__tr td { 26 | padding-right: 10px; 27 | } 28 | -------------------------------------------------------------------------------- /share/spice/github_status/content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | {{! checks if the status is either good, minor, or major }} 3 | {{#GithubStatus_ifCond status "good"}} 4 | The status of GitHub is {{status}}. 5 | {{else}} 6 | {{#GithubStatus_ifCond status "minor"}} 7 | GitHub is experiencing {{status}} issues. 8 | {{else}} 9 | GitHub is experiencing {{status}} issues. 10 | {{/GithubStatus_ifCond}} 11 | {{/GithubStatus_ifCond}} 12 |

{{body}}
13 | 14 | -------------------------------------------------------------------------------- /t/MissingKids.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::MissingKids)], 10 | 11 | # primary example 12 | 'Missing kid' => test_spice( 13 | '/js/spice/missing_kids/PA', 14 | call_type => 'include', 15 | caller => 'DDG::Spice::MissingKids', 16 | ), 17 | 18 | 'Missing children' => test_spice( 19 | '/js/spice/missing_kids/PA', 20 | call_type => 'include', 21 | caller => 'DDG::Spice::MissingKids', 22 | ), 23 | 24 | 25 | 'missing' => undef, 26 | 27 | ); 28 | 29 | 30 | 31 | 32 | done_testing; -------------------------------------------------------------------------------- /share/spice/shorten/shorten.css: -------------------------------------------------------------------------------- 1 | .zci--shorten input.tag { 2 | -webkit-user-select: text; 3 | -khtml-user-select: text; 4 | -moz-user-select: text; 5 | -ms-user-select: text; 6 | user-select: text; 7 | line-height: 1.2; 8 | border-radius: 3px; 9 | color: #333; 10 | font-size: 1.2em; 11 | font-weight: 600; 12 | vertical-align: middle; 13 | text-align: left; 14 | padding-left: 10px; 15 | margin-left: -10px; 16 | height: 28px; 17 | width: 228px; 18 | background-color: #e0e0e0; 19 | border: 0 none; 20 | } 21 | 22 | .zci--shorten .zci__subheader, .zci__header__sub { 23 | margin-top: 2px; 24 | color: #999; 25 | } -------------------------------------------------------------------------------- /t/Bible.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Bible )], 10 | 'james 1:26' => test_spice( 11 | '/js/spice/bible/james%201%3A26', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Bible' 14 | ), 15 | 'genesis 15:7' => test_spice( 16 | '/js/spice/bible/genesis%2015%3A7', 17 | caller => 'DDG::Spice::Bible', 18 | ), 19 | 'bible genesis 26:4' => test_spice( 20 | '/js/spice/bible/genesis%2026%3A4', 21 | caller => 'DDG::Spice::Bible', 22 | ), 23 | ); 24 | 25 | done_testing; 26 | 27 | -------------------------------------------------------------------------------- /t/SearchCode.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::SearchCode )], 10 | 'perl next' => test_spice( 11 | '/js/spice/search_code/perl%20next', 12 | caller => 'DDG::Spice::SearchCode' 13 | ), 14 | 'underscore.js bind' => test_spice( 15 | '/js/spice/search_code/underscore.js%20bind', 16 | caller => 'DDG::Spice::SearchCode', 17 | ), 18 | 'php print_r' => test_spice( 19 | '/js/spice/search_code/php%20print_r', 20 | caller => 'DDG::Spice::SearchCode', 21 | ), 22 | ); 23 | 24 | done_testing; 25 | 26 | -------------------------------------------------------------------------------- /t/WordMap.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::WordMap )], 10 | 'similar to sound' => test_spice( 11 | '/js/spice/word_map/sound', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::WordMap', 14 | ), 15 | 'similar to sound' => test_spice( 16 | '/js/spice/word_map/sound', 17 | caller => 'DDG::Spice::WordMap', 18 | ), 19 | 'words like sound' => test_spice( 20 | '/js/spice/word_map/sound', 21 | caller => 'DDG::Spice::WordMap', 22 | ), 23 | ); 24 | 25 | done_testing; 26 | 27 | -------------------------------------------------------------------------------- /share/spice/maps/maps/maps_maps.js: -------------------------------------------------------------------------------- 1 | DDG.require('maps',function(){ 2 | ddg_spice_maps_maps = function(response) { 3 | 4 | if (!response || !response.features || !response.features.length) { return Spice.failed('maps_maps'); } 5 | 6 | // Mapbox sends back a bunch of places, just want the first one for now 7 | response = response.features[0]; 8 | 9 | if (response.relevance < 0.9) { 10 | return Spice.failed('maps_maps'); 11 | } 12 | 13 | Spice.add({ 14 | data: response, 15 | id: "maps_maps", 16 | name: "maps", 17 | model: "Place" 18 | }); 19 | 20 | }; 21 | }); 22 | -------------------------------------------------------------------------------- /share/spice/bitcoin/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#with buy}} 3 |
4 |
5 | {{title}} 6 | {{formatted_price}} 7 |
8 |
9 | {{/with}} 10 | {{#with sell}} 11 |
12 |
13 | {{title}} 14 | {{formatted_price}} 15 |
16 |
17 | {{/with}} 18 |
19 | -------------------------------------------------------------------------------- /share/spice/movie/subtitle_content.handlebars: -------------------------------------------------------------------------------- 1 | {{#if ratings.critics_rating}} 2 | 3 | Rotten Tomatoes© Score 4 | 5 | 6 | 7 | 8 | {{ratings.critics_score}}% {{ratings.critics_rating}} 9 | 10 | {{/if}} 11 | 12 | 13 | {{#if runtime}} 14 | Run Time: {{movie_time runtime}} 15 | {{/if}} 16 | {{#and runtime mpaa_rating}} 17 | 18 | {{/and}} 19 | {{#if mpaa_rating}} 20 | {{mpaa_rating}} 21 | {{/if}} 22 | 23 | -------------------------------------------------------------------------------- /share/spice/minecraft_status/content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | {{! checks if the status is either good, minor, or major }} 3 | {{#MinecraftStatus_ifCond status 'good'}} 4 | The status of Minecraft is {{status}}. 5 | {{else}} 6 | {{#MinecraftStatus_ifCond status 'minor'}} 7 | Minecraft is experiencing {{status}} issues. 8 | {{else}} 9 | Minecraft is experiencing {{status}} issues. 10 | {{/MinecraftStatus_ifCond}} 11 | {{/MinecraftStatus_ifCond}} 12 |

{{message}}
13 | 14 | -------------------------------------------------------------------------------- /share/spice/seat_geek/events_by_artist/seat_geek_events_by_artist.css: -------------------------------------------------------------------------------- 1 | .zci--seat_geek_events_by_artist .price { 2 | font-weight: 600; 3 | } 4 | 5 | .zci--seat_geek_events_by_artist .price, 6 | .zci--seat_geek_events_by_artist .noprice { 7 | margin-top: 1.75em; 8 | float: left; 9 | } 10 | 11 | .zci--seat_geek_events_by_artist .seat_geek-artist { 12 | font-size: 1.1em; 13 | } 14 | 15 | .zci--seat_geek_events_by_artist .where { 16 | height: 1.4em; 17 | } 18 | 19 | .zci--seat_geek_events_by_artist .where.city, 20 | .zci--seat_geek_events_by_artist .where.place { 21 | width: 9.3em; 22 | } 23 | 24 | .is-mobile .zci--seat_geek_events_by_artist .where.city { 25 | width: 7em; 26 | } -------------------------------------------------------------------------------- /share/spice/uv/uv.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{uvIndexName}} 4 |
5 |
6 |

{{riskTitle}}

7 |

{{city}}, {{state}}

8 |
9 |
10 |
11 | {{protection}} 12 |
13 | -------------------------------------------------------------------------------- /share/spice/mass_on_time/map-pin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /share/spice/parking/item_back.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{ellipsis displayName 33}} 4 |
5 | {{#if price}} 6 | {{price}} 7 | {{/if}} 8 | {{#if address_lines}} 9 | 10 | {{#each address_lines}} 11 | {{.}}
12 | {{/each}} 13 |
14 | {{/if}} 15 |
16 | Reserve Parking 17 |
18 |
19 | -------------------------------------------------------------------------------- /t/LaunchpadProject.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::LaunchpadProject)], 10 | 'launchpad project bookworm' => test_spice( 11 | '/js/spice/launchpad_project/bookworm', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::LaunchpadProject' 14 | ), 15 | 'lp project elementary' => test_spice( 16 | '/js/spice/launchpad_project/elementary', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::LaunchpadProject' 19 | ), 20 | 21 | 'launchpad bookworm' => undef, 22 | 'lp bug' => undef 23 | ); 24 | 25 | done_testing; 26 | 27 | -------------------------------------------------------------------------------- /share/spice/seat_geek/events_by_city/seat_geek_events_by_city.css: -------------------------------------------------------------------------------- 1 | .zci--seat_geek_events_by_city .price { 2 | font-weight: 600; 3 | } 4 | 5 | .zci--seat_geek_events_by_city .price, 6 | .zci--seat_geek_events_by_city .noprice { 7 | margin-top: 1.75em; 8 | height: 1.1em; 9 | float: left; 10 | } 11 | 12 | .zci--seat_geek_events_by_city .seat_geek-artist { 13 | font-size: 1.1em; 14 | } 15 | 16 | .zci--seat_geek_events_by_city .where { 17 | height: 1.4em; 18 | } 19 | 20 | .zci--seat_geek_events_by_city .where.city, 21 | .zci--seat_geek_events_by_city .where.place { 22 | width: 9.3em; 23 | } 24 | 25 | .is-mobile .zci--seat_geek_events_by_city .where.city { 26 | width: 7em; 27 | } 28 | -------------------------------------------------------------------------------- /share/spice/seat_geek/events_near_me/seat_geek_events_near_me.css: -------------------------------------------------------------------------------- 1 | .zci--seat_geek_events_near_me .price { 2 | font-weight: 600; 3 | } 4 | 5 | .zci--seat_geek_events_near_me .price, 6 | .zci--seat_geek_events_near_me .noprice { 7 | margin-top: 1.75em; 8 | height: 1.1em; 9 | float: left; 10 | } 11 | 12 | .zci--seat_geek_events_near_me .seat_geek-artist { 13 | font-size: 1.1em; 14 | } 15 | 16 | .zci--seat_geek_events_near_me .where { 17 | height: 1.4em; 18 | } 19 | 20 | .zci--seat_geek_events_near_me .where.city, 21 | .zci--seat_geek_events_near_me .where.place { 22 | width: 9.3em; 23 | } 24 | 25 | .is-mobile .zci--seat_geek_events_near_me .where.city { 26 | width: 7em; 27 | } 28 | -------------------------------------------------------------------------------- /t/BaconIpsum.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | spice is_cached => 1; 9 | 10 | ddg_spice_test( 11 | [qw( DDG::Spice::BaconIpsum)], 12 | 'baconipsum 6' => test_spice( 13 | '/js/spice/bacon_ipsum/6', 14 | call_type => 'include', 15 | caller => 'DDG::Spice::BaconIpsum' 16 | ), 17 | 'baconipsum 12' => test_spice( 18 | '/js/spice/bacon_ipsum/12', 19 | call_type => 'include', 20 | caller => 'DDG::Spice::BaconIpsum' 21 | ), 22 | 'what is baconipsum' => undef, 23 | 'baconipsum website' => undef, 24 | 'baconipsum leh' => undef, 25 | ); 26 | 27 | done_testing; 28 | 29 | 30 | -------------------------------------------------------------------------------- /t/Npm.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Npm )], 10 | 'npm underscore' => test_spice( 11 | '/js/spice/npm/underscore', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Npm', 14 | ), 15 | 'nodejs underscore' => test_spice( 16 | '/js/spice/npm/underscore', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Npm', 19 | ), 20 | 'npm install underscore' => test_spice( 21 | '/js/spice/npm/underscore', 22 | call_type => 'include', 23 | caller => 'DDG::Spice::Npm', 24 | ), 25 | ); 26 | 27 | done_testing; 28 | -------------------------------------------------------------------------------- /share/spice/in_theaters/subtitle_content.handlebars: -------------------------------------------------------------------------------- 1 | {{#if ratings.critics_rating}} 2 | 3 | Rotten Tomatoes© Score 4 | 5 | 6 | 7 | 8 | {{ratings.critics_score}}% {{ratings.critics_rating}} 9 | 10 | {{/if}} 11 | 12 | 13 | {{#if runtime}} 14 | Run Time: {{InTheaters_time runtime}} 15 | {{/if}} 16 | {{#and runtime mpaa_rating}} 17 | 18 | {{/and}} 19 | {{#if mpaa_rating}} 20 | {{mpaa_rating}} 21 | {{/if}} 22 | 23 | 24 | -------------------------------------------------------------------------------- /share/spice/rx_info/rx_info_description.handlebars: -------------------------------------------------------------------------------- 1 | {{#if active}} 2 |
Active Ingredients
3 | 4 |
5 | {{active}} 6 |
7 | {{/if}} 8 | 9 | {{#if inactive}} 10 |
Inactive Ingredients
11 | 12 |
13 | {{inactive}} 14 |
15 | {{/if}} 16 | 17 |
18 | Image Source: National Library of Medicine Office of High Performance Computing and Communications 19 |
20 | -------------------------------------------------------------------------------- /share/spice/seat_geek/events_by_venue/seat_geek_events_by_venue.css: -------------------------------------------------------------------------------- 1 | .zci--seat_geek_events_by_venue .price { 2 | font-weight: 600; 3 | } 4 | 5 | .zci--seat_geek_events_by_venue .price, 6 | .zci--seat_geek_events_by_venue .noprice { 7 | margin-top: 1.75em; 8 | height: 1.1em; 9 | float: left; 10 | } 11 | 12 | .zci--seat_geek_events_by_venue .seat_geek-artist { 13 | font-size: 1.1em; 14 | } 15 | 16 | .zci--seat_geek_events_by_venue .where { 17 | height: 1.4em; 18 | } 19 | 20 | .zci--seat_geek_events_by_venue .where.city, 21 | .zci--seat_geek_events_by_venue .where.place { 22 | width: 9.3em; 23 | } 24 | 25 | .is-mobile .zci--seat_geek_events_by_venue .where.city { 26 | width: 7em; 27 | } 28 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Maps/Maps.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Maps::Maps; 2 | # ABSTRACT: Map of current cocation 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | spice to => 'http://api.mapbox.com/v4/geocode/mapbox.places/$1.json?access_token={{ENV{DDG_SPICE_MAPBOX_KEY}}}'; 8 | spice is_cached => 0; 9 | spice proxy_cache_valid => "418 1d"; 10 | spice wrap_jsonp_callback => 1; 11 | 12 | my %generic_map_queries = map {$_ => 0} ('map', 'maps', 'current location'); 13 | 14 | triggers any => keys(%generic_map_queries); 15 | 16 | handle query_lc => sub { 17 | # force generic 18 | return if !exists($generic_map_queries{$_}); 19 | 20 | my $location = $loc->loc_str; 21 | return $location if $location; 22 | return; 23 | }; 24 | 25 | 1; 26 | 27 | -------------------------------------------------------------------------------- /share/spice/images/images.js: -------------------------------------------------------------------------------- 1 | (function(env){ 2 | "use strict"; 3 | env.ddg_spice_images = function(apiResult) { 4 | 5 | if (!apiResult || !apiResult.results || !apiResult.results.length) { 6 | return Spice.failed('images'); 7 | } 8 | 9 | Spice.add({ 10 | id: 'images', 11 | name: 'Images', 12 | allowMultipleCalls: true, 13 | data: apiResult.results, 14 | meta: { 15 | next: apiResult.next 16 | }, 17 | templates: { 18 | group: 'images' 19 | }, 20 | relevancy: { 21 | dup: 'image' 22 | } 23 | }); 24 | 25 | } 26 | }(this)); 27 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Symbolab.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Symbolab; 2 | 3 | use DDG::Spice; 4 | 5 | spice is_cached => 1; 6 | 7 | name "Symbolab"; 8 | description "Get a solution to a math problem from symbolab.com"; 9 | primary_example_queries "compute integral of x^2", "solve x+2>3x"; 10 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Symbolab.pm"; 11 | 12 | spice to => 'https://www.symbolab.com/ddg?query=$1'; 13 | spice wrap_jsonp_callback => 1; 14 | 15 | triggers startend => "calculate", "solve", "compute"; 16 | handle remainder => sub { 17 | if ($_ =~ /[\^\*\=\+\-\/\\]/ or $_ =~ /\b(sin|cos|tan|cot|csc|sec|ln|log|sqrt|integral)/i) { 18 | return $_; 19 | } 20 | return; 21 | }; 22 | 23 | 1; 24 | -------------------------------------------------------------------------------- /t/Geometry.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Geometry )], 10 | 'geometry square' => test_spice( 11 | '/js/spice/geometry/', 12 | call_type => 'self', 13 | caller => 'DDG::Spice::Geometry' 14 | ), 15 | 'area rectangle formula' => test_spice( 16 | '/js/spice/geometry/', 17 | call_type => 'self', 18 | caller => 'DDG::Spice::Geometry' 19 | ), 20 | 'calc volume of a cube with size = 5' => test_spice( 21 | '/js/spice/geometry/', 22 | call_type => 'self', 23 | caller => 'DDG::Spice::Geometry' 24 | ) 25 | ); 26 | 27 | done_testing; 28 | 29 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Gifs.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Gifs; 2 | # ABSTRACT: Search for gifs 3 | 4 | use strict; 5 | use DDG::Spice; 6 | use Text::Trim; 7 | 8 | name "Gifs"; 9 | description "Animated Gifs"; 10 | primary_example_queries "funny cat gifs"; 11 | source "Giphy"; 12 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Gifs.pm"; 13 | attribution github => ['https://github.com/bsstoner','bsstoner']; 14 | 15 | triggers startend => "giphy", "giphy"; 16 | 17 | spice to => 'http://api.giphy.com/v1/gifs/search?q=$1&api_key={{ENV{DDG_SPICE_GIPHY_APIKEY}}}'; 18 | spice wrap_jsonp_callback => 1; 19 | 20 | handle remainder => sub { 21 | s/\bgifs?\b//; 22 | trim; 23 | return $_ if $_; 24 | return; 25 | }; 26 | 27 | 1; 28 | -------------------------------------------------------------------------------- /share/spice/currency/item.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | 6 |
7 | Flag of {{toCurrencySymbol}} 8 |
9 |
{{toCurrencySymbol}}
10 |
{{convertedAmount}}
11 |
{{#if initial}}{{currencyName}}{{else}}{{rate}}{{/if}}
12 |
13 |
14 | -------------------------------------------------------------------------------- /template/t/Example.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | spice is_cached => 1; 9 | 10 | ddg_spice_test( 11 | [qw( DDG::Spice::<: $ia_package_name :>)], 12 | # At a minimum, be sure to include tests for all: 13 | # - primary_example_queries 14 | # - secondary_example_queries 15 | 'example query' => test_spice( 16 | '/js/spice/<: $ia_id :>/query', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::<: $ia_package_name :>' 19 | ), 20 | # Try to include some examples of queries on which it might 21 | # appear that your answer will trigger, but does not. 22 | 'bad example query' => undef, 23 | ); 24 | 25 | done_testing; 26 | 27 | -------------------------------------------------------------------------------- /share/spice/sports/mlb/games/pitch_count.handlebars: -------------------------------------------------------------------------------- 1 | {{#with score.pitch_count}} 2 | 3 | B 4 | 5 | 6 | S 7 | 8 | 9 | O 10 | 11 | {{/with}} 12 | -------------------------------------------------------------------------------- /t/Aur.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | spice is_cached => 1; 9 | 10 | ddg_spice_test( 11 | [ 12 | 'DDG::Spice::Aur' 13 | ], 14 | 'aur zsh' => test_spice( 15 | '/js/spice/aur/zsh', 16 | call_type => 'include', 17 | caller => 'DDG::Spice::Aur' 18 | ), 19 | 'Arch Package ssh' => test_spice( 20 | '/js/spice/aur/ssh', 21 | call_type => 'include', 22 | caller => 'DDG::Spice::Aur' 23 | ), 24 | 'Arch linux package python2' => test_spice( 25 | '/js/spice/aur/python2', 26 | call_type => 'include', 27 | caller => 'DDG::Spice::Aur' 28 | ), 29 | 30 | ); 31 | 32 | done_testing; 33 | 34 | -------------------------------------------------------------------------------- /t/ExpandURL.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | my %q = ( 9 | 'http://bit.ly/a' => 'bit.ly%2Fa', 10 | 'http://bit.ly/aBc' => 'bit.ly%2FaBc', 11 | 'expand bit.ly/lolcatz' => 'bit.ly%2Flolcatz', 12 | 'https://4sq.com/foo' => '4sq.com%2Ffoo', 13 | 14 | 'expand ddg.gg' => 'ddg.gg', 15 | 'expand http://t.co/abc123' => 't.co%2Fabc123', 16 | 'expand http://t.co/3BjGmvnowY' => 't.co%2F3BjGmvnowY', 17 | ); 18 | 19 | ddg_spice_test( 20 | [qw( DDG::Spice::ExpandURL)], 21 | map { 22 | $_ => test_spice( '/js/spice/expand_url/'.$q{$_}, caller => 'DDG::Spice::ExpandURL' ) 23 | } keys %q, 24 | ); 25 | 26 | done_testing; 27 | -------------------------------------------------------------------------------- /lib/DDG/Spice/FlashVersion.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::FlashVersion; 2 | # ABSTRACT: Shows installed flash version 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | primary_example_queries "flash version"; 8 | description "Shows the flash version"; 9 | name "Flash Version"; 10 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/FlashVersion.pm"; 11 | topics "everyday", "programming"; 12 | category "software"; 13 | attribution github => ['https://github.com/Getty','Torsten Raudssus'], 14 | twitter => ['https://twitter.com/raudssus','Torsten Raudssus']; 15 | 16 | triggers startend => "flash"; 17 | 18 | spice call_type => 'self'; 19 | 20 | handle query_lc => sub { 21 | return $_ eq 'flash version' ? call : (); 22 | }; 23 | 24 | 1; 25 | -------------------------------------------------------------------------------- /lib/DDG/Util/SpiceConstants.pm: -------------------------------------------------------------------------------- 1 | package DDG::Util::SpiceConstants; 2 | # ABSTRACT: Constants for spices 3 | 4 | use strict; 5 | use warnings; 6 | 7 | # regex for allowed TLDS (grabbed from DDG core repo, in /lib/DDG/Util/Constants.pm) 8 | use constant TLD_REGEX => qr/(?:c(?:o(?:m|op)?|at?|[iykgdmnxruhcfzvl])|o(?:rg|m)|n(?:et?|a(?:me)?|[ucgozrfpil])|e(?:d?u|[gechstr])|i(?:n(?:t|fo)?|[stqldroem])|m(?:o(?:bi)?|u(?:seum)?|i?l|[mcyvtsqhaerngxzfpwkd])|g(?:ov|[glqeriabtshdfmuywnp])|b(?:iz?|[drovfhtaywmzjsgbenl])|t(?:r(?:avel)?|[ncmfzdvkopthjwg]|e?l)|k[iemygznhwrp]|s[jtvberindlucygkhaozm]|u[gymszka]|h[nmutkr]|r[owesu]|d[kmzoej]|a(?:e(?:ro)?|r(?:pa)?|[qofiumsgzlwcnxdt])|p(?:ro?|[sgnthfymakwle])|v[aegiucn]|l[sayuvikcbrt]|j(?:o(?:bs)?|[mep])|w[fs]|z[amw]|f[rijkom]|y[eut]|qa)/i; 9 | 10 | 1; 11 | -------------------------------------------------------------------------------- /share/spice/transit/njt/train_item.handlebars: -------------------------------------------------------------------------------- 1 |
{{departure_time}}
2 |
3 | {{#if cancelled}}N/A{{else}}Arrives {{arrival_time}}{{/if}}
4 | {{line}}
5 | Train {{train}} 6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
{{status}}
14 | {{#if track}} 15 |
Track {{track}}
16 | {{else}} 17 |
Track N/A
18 | {{/if}} 19 |
20 | -------------------------------------------------------------------------------- /t/PoliticalPolls.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | use URI::Encode; 8 | 9 | my $uri = URI::Encode->new({encode_reserved => 0}); 10 | 11 | ddg_spice_test( 12 | [qw( DDG::Spice::PoliticalPolls )], 13 | # Good examples 14 | 'election polls' => test_spice( 15 | '/js/spice/political_polls/election', 16 | call_type => 'include', 17 | caller => 'DDG::Spice::PoliticalPolls' 18 | ), 19 | 'us polls' => test_spice( 20 | '/js/spice/political_polls/us', 21 | call_type => 'include', 22 | caller => 'DDG::Spice::PoliticalPolls' 23 | ), 24 | # Empty remainder 25 | 'voting' => undef, 26 | 'election' => undef 27 | ); 28 | 29 | done_testing; 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DuckDuckHack Spice Instant Answers [![Build Status](https://travis-ci.org/duckduckgo/zeroclickinfo-spice.png?branch=bttf)](https://travis-ci.org/duckduckgo/zeroclickinfo-spice) 2 | 3 | Join us on Slack! [Request invite](mailto:QuackSlack@duckduckgo.com?subject=AddMe) 4 | 5 | This repository contains all the Spice instant answers. If you are developing a Spice instant answer you will need to fork this repository. 6 | 7 | **If you would like to contribute to DuckDuckHack, please start by reading the [DuckDuckHack Documentation](https://duck.co/duckduckhack/ddh-intro).** 8 | 9 | ------ 10 | 11 | ### Spice Instant Answer Example 12 | ![App Search Example](https://raw.githubusercontent.com/duckduckgo/duckduckgo-documentation/master/duckduckhack/assets/spice_readme_example.png) 13 | -------------------------------------------------------------------------------- /lib/DDG/Spice/RubyGems.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::RubyGems; 2 | # ABSTRACT: Search for RubyGems 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | name 'RubyGems'; 8 | description 'Returns a list of matching ruby packages in rubygems.org'; 9 | primary_example_queries 'rubygems cucumber'; 10 | topics 'programming'; 11 | category 'programming'; 12 | attribution github => ['https://github.com/koosha--', 'koosha--'], 13 | twitter => ['https://twitter.com/_koosha_', 'koosha--']; 14 | 15 | triggers startend => 'rubygem', 'rubygems', 'ruby gems', 'ruby gem', 'gem install', 'gem'; 16 | spice to => 'https://rubygems.org/api/v1/search.json?query=$1'; 17 | spice wrap_jsonp_callback => 1; 18 | 19 | handle remainder => sub { 20 | return $_ if length $_; 21 | return; 22 | }; 23 | 24 | 1; 25 | -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/svg/NVC.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /share/spice/cryptocurrency/item.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | 6 |
7 | Flag of {{toCurrencySymbol}} 8 |
9 |
{{toCurrencySymbol}}
10 |
{{convertedAmount}}
11 |
{{#if initial}}{{currencyName}}{{else}}{{rate}}{{/if}}
12 |
13 |
14 | -------------------------------------------------------------------------------- /share/spice/sun_rise_set/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 | @{{location}}, {{country}} on {{current_date}} 3 |
4 |
5 | 6 | 7 | 8 | 9 | {{sunrise_time}} 10 | 11 | 12 | 13 | 14 | 15 | {{sunset_time}} 16 | 17 |
18 | -------------------------------------------------------------------------------- /t/SoundCloud.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::SoundCloud )], 10 | 'soundcloud ray bradbury' => test_spice( 11 | 'ray%20bradbury', 12 | call_type => 'self', 13 | caller => 'DDG::Spice::SoundCloud', 14 | ), 15 | 'sc kavinsky' => test_spice( 16 | 'kavinsky', 17 | call_type => 'self', 18 | caller => 'DDG::Spice::SoundCloud', 19 | ), 20 | 'sc the new yorker' => test_spice( 21 | 'the%20new%20yorker', 22 | caller => 'DDG::Spice::SoundCloud', 23 | call_type => 'self', 24 | ), 25 | ); 26 | 27 | alt_to_test('DDG::Spice::SoundCloud', ['sound_cloud_result']); 28 | 29 | done_testing; 30 | -------------------------------------------------------------------------------- /share/spice/nutrition/content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | {{currentPortion.amount}}{{uom}} 3 | {{#if label}} 4 | {{label}} 5 | {{/if}} 6 |

7 |
8 | {{#if portions}} 9 |
10 | 15 |
16 | {{else}} 17 | {{#if currentPortion}} 18 |
{{currentPortion.name}}
19 | {{/if}} 20 | {{/if}} 21 |
22 | -------------------------------------------------------------------------------- /t/Packagist.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | spice is_cached => 1; 9 | 10 | ddg_spice_test( 11 | [qw( DDG::Spice::Packagist)], 12 | 'packagist laravel' => test_spice( 13 | '/js/spice/packagist/laravel', 14 | call_type => 'include', 15 | caller => 'DDG::Spice::Packagist' 16 | ), 17 | 'composer package laravel' => test_spice( 18 | '/js/spice/packagist/laravel', 19 | call_type => 'include', 20 | caller => 'DDG::Spice::Packagist', 21 | ), 22 | 'composer install laravel' => test_spice( 23 | '/js/spice/packagist/laravel', 24 | call_type => 'include', 25 | caller => 'DDG::Spice::Packagist', 26 | ) 27 | ); 28 | 29 | done_testing; -------------------------------------------------------------------------------- /share/spice/transit/switzerland/train_item.handlebars: -------------------------------------------------------------------------------- 1 |
{{departure_time}}
2 |
3 | {{#if cancelled}}N/A{{else}}Arrives {{arrival_time}}{{/if}}
4 | {{transfers}}
5 | Train {{name}} 6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
{{status}}
14 | {{#if platform}} 15 |
Platform {{platform}}
16 | {{else}} 17 |
Platform N/A
18 | {{/if}} 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /share/spice/flash_version/flash_version.js: -------------------------------------------------------------------------------- 1 | (function(env) { 2 | "use strict"; 3 | 4 | env.ddg_spice_flash_version = function() { 5 | 6 | if(!FlashDetect) { 7 | return Spice.failed('flash_version'); 8 | } 9 | 10 | // Display the plugin. 11 | Spice.add({ 12 | data: { 13 | installed: FlashDetect.installed, 14 | raw: FlashDetect.raw 15 | }, 16 | id: 'flash_version', 17 | name: 'Software', 18 | meta: { 19 | sourceName: 'Adobe', 20 | sourceUrl: 'https://get.adobe.com/flashplayer/', 21 | sourceIcon: true 22 | }, 23 | templates: { 24 | group: 'base', 25 | options: { 26 | content: Spice.flash_version.content, 27 | moreAt: true 28 | } 29 | } 30 | }); 31 | }; 32 | }(this)); 33 | 34 | ddg_spice_flash_version(); 35 | -------------------------------------------------------------------------------- /share/spice/videos/videos.js: -------------------------------------------------------------------------------- 1 | (function(env) { 2 | "use strict"; 3 | env.ddg_spice_videos = function(apiResult) { 4 | 5 | if (!apiResult || !apiResult.results || !apiResult.results.length) { 6 | return Spice.failed('videos'); 7 | } 8 | 9 | Spice.add({ 10 | id: 'videos', 11 | name: 'Videos', 12 | allowMultipleCalls: true, 13 | data: apiResult.results, 14 | model: 'Video', 15 | meta: { 16 | next: apiResult.next, 17 | searchTerm: apiResult.query 18 | }, 19 | templates: { 20 | group: 'videos' 21 | }, 22 | relevancy: { 23 | dup: 'id' 24 | } 25 | }); 26 | } 27 | }(this)); 28 | -------------------------------------------------------------------------------- /t/Recipes.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Recipes )], 10 | 'tofu ginger recipe' => test_spice( 11 | '/js/spice/recipes/tofu%20ginger', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Recipes', 14 | ), 15 | 'tofu ginger' => test_spice( 16 | '/js/spice/recipes/tofu%20ginger', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::Recipes', 19 | ), 20 | 'ginger recipes' => test_spice( 21 | '/js/spice/recipes/ginger', 22 | call_type => 'include', 23 | caller => 'DDG::Spice::Recipes', 24 | ), 25 | 'ginger' => undef, # No results for a single ingredient alone 26 | ); 27 | 28 | done_testing; 29 | -------------------------------------------------------------------------------- /share/spice/parking/item_front.handlebars: -------------------------------------------------------------------------------- 1 |
2 | {{#if image}} 3 |
4 | {{title}} 5 |
6 | {{else}} 7 | @ 8 | {{/if}} 9 |
10 |
{{num}}
11 |
12 |
{{ellipsis name 33}}
13 |
{{ellipsis subtitle 16}}
14 |
15 |
{{distance}}
16 |
{{price}}
17 |
18 |
19 | -------------------------------------------------------------------------------- /t/DetectLang.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | 6 | use Test::More; 7 | use DDG::Test::Spice; 8 | 9 | ddg_spice_test( 10 | [ qw(DDG::Spice::DetectLang) ], 11 | 'detect language something' => test_spice( 12 | '/js/spice/detect_lang/something', 13 | call_type => 'include', 14 | caller => 'DDG::Spice::DetectLang' 15 | ), 16 | 'detect language こんにちは' => test_spice( 17 | '/js/spice/detect_lang/%C3%A3%C2%81%C2%93%C3%A3%C2%82%C2%93%C3%A3%C2%81%C2%AB%C3%A3%C2%81%C2%A1%C3%A3%C2%81%C2%AF', 18 | caller => 'DDG::Spice::DetectLang', 19 | ), 20 | 'what language is como estas' => test_spice( 21 | '/js/spice/detect_lang/como%20estas', 22 | caller => 'DDG::Spice::DetectLang', 23 | ), 24 | ); 25 | 26 | done_testing; 27 | -------------------------------------------------------------------------------- /t/MinecraftStatus.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::MinecraftStatus )], 10 | 'minecraft status' => test_spice( 11 | '/js/spice/minecraft_status/status', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::MinecraftStatus' 14 | ), 15 | 'mc status' => test_spice( 16 | '/js/spice/minecraft_status/status', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::MinecraftStatus' 19 | ), 20 | 'is minecraft up' => test_spice( 21 | '/js/spice/minecraft_status/is%20up', 22 | call_type => 'include', 23 | caller => 'DDG::Spice::MinecraftStatus' 24 | ), 25 | 'mcstatus' => undef 26 | ); 27 | 28 | done_testing; 29 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Coderwall.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Coderwall; 2 | # ABSTRACT: Shows coderwall user information 3 | 4 | use DDG::Spice; 5 | 6 | name "Coderwall"; 7 | source "Coderwall"; 8 | icon_url "/i/coderwall.com.ico"; 9 | description "Display information on coderwall user"; 10 | primary_example_queries "coderwall jagtalon"; 11 | secondary_example_queries "motersen coderwall"; 12 | category "ids"; 13 | topics "programming", "social"; 14 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Coderwall.pm"; 15 | attribution github => ["motersen", "Moritz Petersen"]; 16 | 17 | triggers startend => "coderwall"; 18 | 19 | spice to => 'https://coderwall.com/$1.json?full=true&callback={{callback}}'; 20 | 21 | handle remainder => sub { 22 | return $_ if $_; 23 | return; 24 | }; 25 | 26 | 1; 27 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Hayoo.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Hayoo; 2 | # ABSTRACT: Spice to search Haskell APIs 3 | 4 | use DDG::Spice; 5 | 6 | primary_example_queries "hayoo Prelude map"; 7 | description "Search Haskell APIs"; 8 | name "Hayoo"; 9 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Hayoo.pm"; 10 | icon_url "/i/hackage.haskell.org.ico"; 11 | topics "programming", "sysadmin"; 12 | category "programming"; 13 | attribution github => ['https://github.com/headprogrammingczar','headprogrammingczar']; 14 | 15 | triggers start => "hayoo", "hayoo api"; 16 | 17 | spice to => 'http://hayoo.fh-wedel.de/json?query=$1'; 18 | spice wrap_jsonp_callback => 1; 19 | 20 | spice proxy_cache_valid => "200 1d"; 21 | 22 | handle remainder => sub { 23 | return $_ if $_; 24 | return; 25 | }; 26 | 27 | 1; 28 | -------------------------------------------------------------------------------- /t/LastfmArtist.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [ 10 | 'DDG::Spice::Lastfm::Artist' 11 | ], 12 | 'weezer band' => test_spice( 13 | '/js/spice/lastfm/artist/weezer/all', 14 | call_type => 'include', 15 | caller => 'DDG::Spice::Lastfm::Artist', 16 | ), 17 | 18 | # have to implement the front-end method for these to work 19 | # needed method - ddg_spice_lastfm_artist_similar 20 | 'bands similar to incubus' => undef, 21 | 'similar artists ben folds' => undef, 22 | '30 seconds to mars similar bands' => undef, 23 | 24 | 'watch band' => undef, 25 | 'apple watch bands' => undef, 26 | 'android wear watch bands' => undef, 27 | ); 28 | 29 | done_testing; 30 | -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/svg/DOGED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /t/Congress.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::Congress )], 10 | 'ny representatives' => test_spice( 11 | '/js/spice/congress/house/NY', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::Congress' 14 | ), 15 | 'new york senators' => test_spice( 16 | '/js/spice/congress/senate/NY', 17 | caller => 'DDG::Spice::Congress', 18 | ), 19 | 'florida representatives' => test_spice( 20 | '/js/spice/congress/house/FL', 21 | caller => 'DDG::Spice::Congress', 22 | ), 23 | 'house california' => test_spice( 24 | '/js/spice/congress/house/CA', 25 | caller => 'DDG::Spice::Congress', 26 | ), 27 | ); 28 | 29 | done_testing; 30 | -------------------------------------------------------------------------------- /share/spice/product_hunt/product_hunt.css: -------------------------------------------------------------------------------- 1 | .tile.tile--producthunt { 2 | width: 16em; 3 | } 4 | 5 | .tile--producthunt .tile__body.has-foot { 6 | padding-bottom: 0.7em; 7 | height: 14em; 8 | } 9 | 10 | .tile--producthunt .tile__title { 11 | font-weight: 400; 12 | margin-top: -0.2em; 13 | margin-bottom: 0; 14 | } 15 | 16 | .tile--producthunt .tile__content { 17 | height: 4em; 18 | overflow: hidden; 19 | margin-top: 7px; 20 | margin-bottom: 10px; 21 | } 22 | 23 | .is-mobile .tile--producthunt .tile__content { 24 | height: 4.6em; 25 | } 26 | 27 | .tile--producthunt .tile__domain { 28 | color: #aaa; 29 | margin-bottom: 0.25em; 30 | } 31 | 32 | .tile--producthunt .tile__votes { 33 | color: #333; 34 | } 35 | 36 | .dark-header .tile--producthunt a { 37 | color: #999; 38 | } 39 | -------------------------------------------------------------------------------- /share/spice/xkcd/display/content.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 |

{{title}}

4 |

{{month}} {{day}}, {{year}}

5 |
6 | {{#xkcd_previousNum num}} 7 | Prev 8 | {{/xkcd_previousNum}} 9 | 10 | 11 | {{#if has_next}} 12 | {{#xkcd_nextNum num}} 13 | Next 14 | {{/xkcd_nextNum}} 15 | 16 | {{/if}} 17 | Explain 18 |
19 |
20 | {{title}} 21 |
-------------------------------------------------------------------------------- /share/spice/duck_say/duck_say.css: -------------------------------------------------------------------------------- 1 | .zci--duck_say .duck_say__body { 2 | font-family: Consolas, Menlo, Monaco, monospace; 3 | margin: 1em 0; 4 | } 5 | .zci--duck_say .duck_say__pre { 6 | white-space: pre; 7 | } 8 | .zci--duck_say .duck_say__bowtie { 9 | color: rgb(70, 154, 40); 10 | } 11 | 12 | .zci--duck_say .duck_say--phone, 13 | .zci--duck_say .duck_say--tablet { 14 | display: none; 15 | } 16 | 17 | @media (max-width: 600px) { 18 | .zci--duck_say .duck_say--monitor { 19 | display: none; 20 | } 21 | .zci--duck_say .duck_say--tablet { 22 | display: block; 23 | } 24 | } 25 | 26 | @media (max-width: 450px) { 27 | .zci--duck_say .duck_say--tablet { 28 | display: none; 29 | } 30 | .zci--duck_say .duck_say--phone { 31 | display: block; 32 | } 33 | } 34 | 35 | 36 | -------------------------------------------------------------------------------- /t/Tides.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | spice is_cached => 1; 9 | 10 | ddg_spice_test( 11 | [qw( DDG::Spice::Tides)], 12 | 'tides' => test_spice( 13 | '/js/spice/tides/40.1246%2C-75.5385', #phoenixville PA 14 | call_type => 'include', 15 | caller => 'DDG::Spice::Tides' 16 | ), 17 | 'tide 02201' => test_spice( 18 | '/js/spice/tides/02201', 19 | call_type => 'include', 20 | caller => 'DDG::Spice::Tides' 21 | ), 22 | 'when is high tide?' => test_spice( 23 | '/js/spice/tides/40.1246%2C-75.5385', 24 | call_type => 'include', 25 | caller => 'DDG::Spice::Tides' 26 | ), 27 | 'tide charts' => undef, 28 | 'xtide' => undef 29 | ); 30 | 31 | done_testing; 32 | 33 | -------------------------------------------------------------------------------- /lib/DDG/Spice/News.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::News; 2 | # ABSTRACT: Show current news from different sources. 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | primary_example_queries "news america", "obama news", "internet news"; 8 | description "Shows the current news about a topic."; 9 | name "News"; 10 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/News.pm"; 11 | topics "everyday"; 12 | category "time_sensitive"; 13 | attribution github => ["https://github.com/duckduckgo/", "DuckDuckGo"], 14 | twitter => ["https://twitter.com/duckduckgo", "DuckDuckGo"]; 15 | 16 | triggers start => '///***never trigger***///'; 17 | 18 | spice to => 'https://duckduckgo.com/news.js?q=$1&cb={{callback}}'; 19 | 20 | 21 | handle query_lc => sub { 22 | return $_ if $_; 23 | return; 24 | }; 25 | 26 | 1; 27 | -------------------------------------------------------------------------------- /t/BrainyQuote.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | 6 | use Test::More; 7 | use DDG::Test::Spice; 8 | 9 | ddg_spice_test( 10 | [qw( DDG::Spice::BrainyQuote )], 11 | 12 | 'lincoln quote' => test_spice( 13 | '/js/spice/brainy_quote/lincoln', 14 | call_type => 'include', 15 | caller => 'DDG::Spice::BrainyQuote', 16 | ), 17 | 18 | 'buddha quote' => test_spice( 19 | '/js/spice/brainy_quote/buddha', 20 | call_type => 'include', 21 | caller => 'DDG::Spice::BrainyQuote', 22 | ), 23 | 24 | 'microsoft stock quote' => undef, 25 | 'stock quote duckduckgo' => undef, 26 | 'quote' => undef 27 | ); 28 | 29 | # This function call is expected by Test::More. It makes sure the program 30 | # doesn't exit before all the tests have been run. 31 | done_testing; -------------------------------------------------------------------------------- /t/GithubStatus.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::GithubStatus )], 10 | 'github status' => test_spice( 11 | '/js/spice/github_status/status', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::GithubStatus' 14 | ), 15 | 'github system status' => test_spice( 16 | '/js/spice/github_status/system%20status', 17 | call_type => 'include', 18 | caller => 'DDG::Spice::GithubStatus' 19 | ), 20 | 'github' => test_spice( 21 | '/js/spice/github_status/github', 22 | call_type => 'include', 23 | caller => 'DDG::Spice::GithubStatus' 24 | ), 25 | 'what is github' => undef, 26 | 'about github' => undef 27 | ); 28 | 29 | done_testing; 30 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Bootic.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Bootic; 2 | # ABSTRACT: Search for products on Bootic. 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | primary_example_queries "bootic watches"; 8 | secondary_example_queries "bootic irobot"; 9 | description "Search Bootic."; 10 | name "Bootic"; 11 | icon_url "/i/www.bootic.com.ico"; 12 | source "Bootic"; 13 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Bootic.pm"; 14 | category "entertainment"; 15 | topics "special_interest"; 16 | attribution github => ['https://github.com/sparky','sparky']; 17 | 18 | triggers any => 'bootic'; 19 | spice to => 'http://www.bootic.com/cgi-bin/api/search/products?output=json&callback={{callback}}&pretty_name=1&limit=48&smart=1&q=$1'; 20 | 21 | handle remainder => sub { 22 | return $_ if $_; 23 | return; 24 | }; 25 | 26 | 1; 27 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Mtg.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Mtg; 2 | # ABSTRACT: Information on 'Magic The Gathering' cards 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | name "Mtg Card Search"; 8 | description "Returns information about Magic The Gathering Cards"; 9 | primary_example_queries "mtg nullify", "mtg Boros Reckoner"; 10 | 11 | category "entertainment"; 12 | topics "entertainment", "gaming"; 13 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/mtg/lib/DDG/Spice/Mtg.pm"; 14 | attribution github => ["https://github.com/puskin94", "puskin"]; 15 | 16 | triggers start => 'mtg', 'magic card', 'magic cards', 'magic the gathering'; 17 | spice to => 'http://api.mtgdb.info/cards/$1'; 18 | spice wrap_jsonp_callback => 1; 19 | 20 | handle remainder => sub { 21 | $_ =~ s/\://; 22 | return $_ if $_; 23 | return; 24 | }; 25 | 26 | 1; 27 | 28 | -------------------------------------------------------------------------------- /share/spice/nxt_account/nxt_account.css: -------------------------------------------------------------------------------- 1 | .zci--nxt_account .zci__body .zci__more-at{ 2 | padding-top: 1em; 3 | } 4 | .zci--nxt_account .record .record__cell__value { 5 | word-wrap: break-word; 6 | padding: 0.4em; 7 | } 8 | 9 | .zci--nxt_account .record .record__cell__key { 10 | padding: 0.4em; 11 | width: 150px; 12 | } 13 | 14 | .is-mobile .zci--nxt_account .record .record__cell__value { 15 | max-width: 150px; 16 | text-overflow: ellipsis; 17 | } 18 | 19 | .zci--nxt_account .record .record__body{ 20 | width: 100%; 21 | } 22 | 23 | .is-mobile .zci--nxt_account .record .record__cell__key { 24 | width: auto; 25 | overflow: hidden; 26 | text-overflow: ellipsis; 27 | } 28 | 29 | @media screen and (max-width: 700px) { 30 | .zci--nxt_account .zci__img-wrap{ 31 | display: none; 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /share/spice/stocks/content.handlebars: -------------------------------------------------------------------------------- 1 |

2 | 3 | {{Security.Name}} 4 | 5 |

6 |
7 | {{Security.Symbol}} 8 | as of {{date}} {{time}} 9 | ET 10 | {{#if marketClosed}} 11 | 12 | Markets are closed 13 | {{/if}} 14 |
15 |
16 | {{quote}} 17 | {{change}} 18 | 19 | {{change_percent}}% 20 |
21 | -------------------------------------------------------------------------------- /lib/DDG/Spice/RedditSearch.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::RedditSearch; 2 | # ABSTRACT: Search for Reddit 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | name "Reddit Search"; 8 | description "Search Reddit posts"; 9 | source "Reddit"; 10 | primary_example_queries "reddit baking"; 11 | category "forums"; 12 | topics "geek", "social"; 13 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/RedditSearch.pm"; 14 | icon_url "/i/www.reddit.com.ico"; 15 | attribution web => ['http://dylansserver.com','Dylan Lloyd'], 16 | email => ['dylan@dylansserver.com','Dylan Lloyd']; 17 | 18 | triggers any => "reddit"; 19 | spice to => 'http://www.reddit.com/search.json?q=$1&restrict_sr=true&sort=relevance&jsonp=ddg_spice_reddit'; 20 | 21 | handle remainder => sub { 22 | return $_ if $_; 23 | return; 24 | }; 25 | 26 | 1; 27 | -------------------------------------------------------------------------------- /share/spice/economic_indicators/data_sources.json: -------------------------------------------------------------------------------- 1 | { 2 | "gdp": { 3 | "display_name": "Gross Domestic Product", 4 | "indicator_id": "NY.GDP.MKTP.CD", 5 | "display_url": "http://data.worldbank.org/indicator/NY.GDP.MKTP.CD", 6 | "source_type": "WORLD_BANK_INDICATOR" 7 | }, 8 | "per_capita_income": { 9 | "display_name": "Per Capita Income", 10 | "indicator_id": "NY.GNP.PCAP.PP.CD", 11 | "display_url": "http://data.worldbank.org/indicator/NY.GNP.PCAP.PP.CD", 12 | "source_type": "WORLD_BANK_INDICATOR" 13 | }, 14 | "growth_rate": { 15 | "display_name": "Annual Growth Rate", 16 | "indicator_id": "NY.GDP.MKTP.KD.ZG", 17 | "display_url": "http://data.worldbank.org/indicator/NY.GDP.MKTP.KD.ZG", 18 | "source_type": "WORLD_BANK_INDICATOR" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /t/MetaCPAN.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | 6 | use Test::More; 7 | use DDG::Test::Spice; 8 | 9 | ddg_spice_test( 10 | [ qw(DDG::Spice::MetaCPAN) ], 11 | create_tests('App::DuckPAN' => '/js/spice/meta_cpan/App%3A%3ADuckPAN' ), 12 | create_tests('App-DuckPAN' => '/js/spice/meta_cpan/App%3A%3ADuckPAN' ), 13 | create_tests('WWW::DuckDuckGo' => '/js/spice/meta_cpan/WWW%3A%3ADuckDuckGo'), 14 | ); 15 | 16 | sub create_tests { 17 | my $lib = shift; 18 | my $call = shift; 19 | my @triggers = ( 'cpan', 'cpanm', 'meta cpan', 'metacpan' ); 20 | my $caller = 'DDG::Spice::MetaCPAN'; 21 | my @tests; 22 | 23 | push @tests, "$_ $lib" => test_spice($call, caller => 'DDG::Spice::MetaCPAN') 24 | foreach @triggers; 25 | 26 | return @tests; 27 | } 28 | 29 | done_testing; 30 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Stopwatch.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Stopwatch; 2 | # ABSTRACT: Shows a stopwatch 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | name 'Stopwatch'; 8 | description 'Displays a stopwatch'; 9 | primary_example_queries 'stopwatch'; 10 | category 'special'; 11 | topics 'everyday', 'science', 'words_and_games'; 12 | code_url 'https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Stopwatch.pm'; 13 | attribution twitter => 'mattr555', 14 | github => ['https://github.com/mattr555/', 'Matt Ramina']; 15 | 16 | triggers startend => ['stopwatch', 'stop watch']; 17 | 18 | #in real code this should just be spice call_type => 'self' 19 | #for now, it lets me test on DuckPAN 20 | spice call_type => 'self'; 21 | 22 | handle remainder => sub { 23 | return '' if ($_ eq '' || $_ eq 'online'); 24 | return; 25 | }; 26 | 27 | 1; 28 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Book.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Book; 2 | # ABSTRACT: Book reviews 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | primary_example_queries "book reviews moonwalking with einstein"; 8 | description "Shows critic rating and a sample review of a book from publications like NY Times, NPR, Guardian."; 9 | name "iDreambooks"; 10 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Book.pm"; 11 | category "reference"; 12 | topics "entertainment", "everyday"; 13 | 14 | spice to => 'http://idreambooks.com/api/books/reviews.json?api_key={{ENV{DDG_SPICE_BOOK_APIKEY}}}&bpq=10&q=$1'; 15 | 16 | triggers startend => "idreambooks", "book reviews", "book review"; 17 | 18 | spice wrap_jsonp_callback => 1; 19 | spice is_cached => 1; 20 | 21 | handle remainder => sub { 22 | return $_ if $_; 23 | return; 24 | }; 25 | 26 | 1; 27 | 28 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Maps/Places.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Maps::Places; 2 | # ABSTRACT: Nearby museums, restaurants, ... 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | spice to => 'https://duckduckgo.com/local.js?q=$1&cb={{callback}}'; 8 | 9 | # no caching. 10 | spice proxy_cache_valid => "418 1d"; 11 | spice is_cached => 0; 12 | 13 | my $chains_re = share('chains_re')->slurp; 14 | my $places_re = qr/(local|near|near me|around|around me|here|locally|nearby|close|closest|nearest|locations?|restaurants?)/; 15 | triggers query_lc => qr/(^$chains_re$|^$places_re|$places_re$)/s; 16 | 17 | my %skip_remainders = map {$_ => 0} ('current', 'time'); 18 | 19 | handle query_lc => sub { 20 | my $query = $_; 21 | foreach my $qw (split(/\s/, $query)) { 22 | return if exists($skip_remainders{$qw}); 23 | } 24 | return $query if $query; 25 | }; 26 | 27 | 1; 28 | 29 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Newint.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Newint; 2 | # ABSTRACT: Returns a list of New Internationalist magazines. 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | name "newint"; 8 | description "List all New Internationalist magazines or search for a particular issue."; 9 | primary_example_queries "newint"; 10 | secondary_example_queries "newint gold"; 11 | category "reference"; 12 | topics "everyday", "entertainment"; 13 | attribution github => ["https://github.com/sighmon", "Simon Loffler"], 14 | twitter => ["https://twitter.com/sighmon", "Simon Loffler"]; 15 | 16 | triggers startend => "newint", "new internationalist magazine", "new internationalist"; 17 | 18 | spice to => 'https://digital.newint.com.au/issues.json?utf8=✓&query=$1'; 19 | spice wrap_jsonp_callback => 1; 20 | 21 | handle remainder => sub { 22 | return lc $_; 23 | }; 24 | 25 | 1; 26 | -------------------------------------------------------------------------------- /share/spice/dictionary/definition/dictionary_definition.css: -------------------------------------------------------------------------------- 1 | .zci--dictionary_definition ul { 2 | margin-bottom: 0.25em; 3 | display: table; 4 | } 5 | 6 | .zci--dictionary_definition ul li { 7 | display: table-row; 8 | } 9 | 10 | .zci--dictionary_definition .zci__def__definition { 11 | overflow: hidden; 12 | display: table-cell; 13 | } 14 | 15 | .zci--dictionary_definition .zci__more-at { 16 | display: inline-block; 17 | } 18 | 19 | .zci--dictionary_definition .zci__def__links { 20 | padding-bottom: 0.37em; 21 | } 22 | 23 | .zci--dictionary_definition .zci__def__word { 24 | font-weight: 600; 25 | } 26 | 27 | .zci__def__part-of-speech { 28 | font-style: italic; 29 | padding-right: 1em; 30 | display: table-cell; 31 | min-width: 1em; 32 | } 33 | 34 | .zci--dictionary_definition .play-btn__err{ 35 | margin-left: 0.75em; 36 | } -------------------------------------------------------------------------------- /t/BikeSharing/BayAreaBikeShareCA.t: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Test::More; 6 | use DDG::Test::Spice; 7 | 8 | ddg_spice_test( 9 | [qw( DDG::Spice::BikeSharing::BayAreaBikeShareCA )], 10 | 'bike share san francisco' => test_spice( 11 | '/js/spice/bike_sharing/bay_area_bike_share_ca/san%20francisco', 12 | call_type => 'include', 13 | caller => 'DDG::Spice::BikeSharing::BayAreaBikeShareCA', 14 | is_cached => 0, 15 | ), 16 | 'bike share stations near san jose' => test_spice( 17 | '/js/spice/bike_sharing/bay_area_bike_share_ca/san%20jose', 18 | call_type => 'include', 19 | caller => 'DDG::Spice::BikeSharing::BayAreaBikeShareCA', 20 | is_cached => 0, 21 | ), 22 | 'bike share' => undef, 23 | 'bike sharing new york' => undef, 24 | ); 25 | 26 | done_testing; 27 | -------------------------------------------------------------------------------- /share/spice/haxelib/haxelib.js: -------------------------------------------------------------------------------- 1 | (function(env){ 2 | env.ddg_spice_haxelib = function(response) { 3 | "use strict"; 4 | 5 | if((!response || response.err)) { 6 | return Spice.failed('haxelib'); 7 | } 8 | 9 | Spice.add({ 10 | id: 'haxelib', 11 | name: "Software", 12 | data: response.info, 13 | meta: { 14 | sourceIconUrl : 'http://haxe.org/favicon.ico', 15 | sourceUrl : 'http://lib.haxe.org/p/' + encodeURIComponent(response.info.name), 16 | sourceName : 'Haxelib' 17 | }, 18 | templates: { 19 | group: 'base', 20 | options: { 21 | content: Spice.haxelib.content, 22 | moreAt: true 23 | } 24 | } 25 | }); 26 | } 27 | }(this)); 28 | -------------------------------------------------------------------------------- /share/spice/stopwatch/stopwatch.handlebars: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | TOTAL: 5 | 00:00.00 6 |
7 | 11 |
12 |
13 | 14 | 18 |
19 | 20 |
21 | -------------------------------------------------------------------------------- /share/spice/chuck_norris/chuck_norris.js: -------------------------------------------------------------------------------- 1 | (function(env) { 2 | "use strict"; 3 | env.ddg_spice_chuck_norris = function(api_result) { 4 | 5 | if (!api_result || api_result.type !== 'success') { 6 | return Spice.failed('chuck_norris'); 7 | } 8 | 9 | Spice.add({ 10 | id: "chuck_norris", 11 | name: "Answer", 12 | data : api_result.value, 13 | meta: { 14 | sourceUrl : 'http://www.icndb.com/the-jokes-2/', 15 | sourceName : 'Internet Chuck Norris Database' 16 | }, 17 | templates: { 18 | group: 'base', 19 | options: { 20 | content: Spice.chuck_norris.content, 21 | moreAt: true 22 | } 23 | } 24 | }); 25 | } 26 | }(this)); 27 | -------------------------------------------------------------------------------- /lib/DDG/Spice/Sports.pm: -------------------------------------------------------------------------------- 1 | package DDG::Spice::Sports; 2 | # ABSTRACT: Sports Library 3 | 4 | use strict; 5 | use DDG::Spice; 6 | 7 | primary_example_queries "nfl games"; 8 | secondary_example_queries "mlb games"; 9 | description "Shared Sports Library."; 10 | name "Sports"; 11 | code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Sports.pm"; 12 | topics "everyday", "entertainment"; 13 | category "entertainment"; 14 | attribution github => ["https://github.com/duckduckgo/", "DuckDuckGo"], 15 | twitter => ["https://twitter.com/duckduckgo", "DuckDuckGo"]; 16 | 17 | spice to => 'https://duckduckgo.com/sports.js?q=$1&callback={{callback}}'; 18 | 19 | triggers start => '///***never trigger***///'; 20 | 21 | handle remainder => sub { 22 | return $_; 23 | # return $_ if $_ && !exists $skip{lc $_}; 24 | return; 25 | }; 26 | 27 | 1; 28 | -------------------------------------------------------------------------------- /share/spice/cryptocurrency/assets/svg/MEC.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | --------------------------------------------------------------------------------