Giter Site home page Giter Site logo

dingo's Introduction

Dingo

Dingo generates copy. Because you're a real aussie and are too lazy to write your own.

It works by generating an infinite sequences of Australian flavoured copy.

API

dingo = Dingo.new

dingo.words(4)
=> ["mateship", "Woolies", "marbo", "sicky"]

dingo.sentences(1)
=> ["Acca dacca wranga red hot go herald sun mullet qantas."]

dingo.paragraphs(1)
=> ["Underdog roy & hg sam newman slow internet sunburn 52 beers in one flight.
    Little people riding horses richie benaud true blue battered sav doll bludger qantas.
    Grand final the 7 30 report liking soccer when we're in the world cup shaun micaleff bruce mcavaney cobber.
    Don burke's beard one hand one bounce woolies burke & wills reversing the ute one handed roy & hg."]

dingo.people(4)
=> ["eddie mcguire", "bruce mcavaney", "thorpey", "shaun micaleff", "tony"]

dingo.emails(2)
=> ["[email protected]", "[email protected]"]

all of the above can also be called as class methods.

Dingo.words(1)
Dingo.sentences(1)
Dingo.paragraphs(1)
Dingo.people(1)
Dingo.emails(1)

Configurables

Dingo.new(
  random: 12,
  source_words: ["Bush fires", "Resenting the monarchy"],
  source_people: ["Matey Cobber-Sheep", "Ragey McSportsdad"],
  sentence_length: 7,
  paragraph_length: 3
)

dingo's People

Contributors

jaredshay avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.