aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-11-20 11:17:15 +0000
committerNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-11-20 11:17:15 +0000
commitaad6a3bff2ef3914f7d7c5da5a0ec4d65fdee0ac (patch)
tree7cb778daaf50f18d31a91de169620171f825738d
Initial commitHEADmaster
-rw-r--r--Readme.textile3
-rw-r--r--adjectives1
-rw-r--r--nouns1
-rw-r--r--superlatives1
-rwxr-xr-xthing.rb16
5 files changed, 22 insertions, 0 deletions
diff --git a/Readme.textile b/Readme.textile
new file mode 100644
index 0000000..1b5438c
--- /dev/null
+++ b/Readme.textile
@@ -0,0 +1,3 @@
+h1. Thing
+
+p. This generates new best things.
diff --git a/adjectives b/adjectives
new file mode 100644
index 0000000..2966f67
--- /dev/null
+++ b/adjectives
@@ -0,0 +1 @@
+$adjectives = ["adorable", "adventurous", "aggressive", "agreeable", "alert", "alive", "amused", "angry", "annoyed", "annoying", "anxious", "arrogant", "ashamed", "attractive", "average", "awful", "bad", "beautiful", "better", "bewildered", "black", "bloody", "blue", "blue-eyed", "blushing", "bored", "brainy", "brave", "breakable", "bright", "busy", "calm", "careful", "cautious", "charming", "cheerful", "clean", "clear", "clever", "cloudy", "clumsy", "colorful", "combative", "comfortable", "concerned", "condemned", "confused", "cooperative", "courageous", "crazy", "creepy", "crowded", "cruel", "curious", "cute", "dangerous", "dark", "dead", "defeated", "defiant", "delightful", "depressed", "determined", "different", "difficult", "disgusted", "distinct", "disturbed", "dizzy", "doubtful", "drab", "dull", "eager", "easy", "elated", "elegant", "embarrassed", "enchanting", "encouraging", "energetic", "enthusiastic", "envious", "evil", "excited", "expensive", "exuberant", "fair", "faithful", "famous", "fancy", "fantastic", "fierce", "filthy", "fine", "foolish", "fragile", "frail", "frantic", "friendly", "frightened", "funny", "gentle", "gifted", "glamorous", "gleaming", "glorious", "good", "gorgeous", "graceful", "grieving", "grotesque", "grumpy", "handsome", "happy", "healthy", "helpful", "helpless", "hilarious", "homeless", "homely", "horrible", "hungry", "hurt", "ill", "important", "impossible", "inexpensive", "innocent", "inquisitive", "itchy", "jealous", "jittery", "jolly", "joyous", "kind", "lazy", "light", "lively", "lonely", "long", "lovely", "lucky", "magnificent", "misty", "modern", "motionless", "muddy", "mushy", "mysterious", "nasty", "naughty", "nervous", "nice", "nutty", "obedient", "obnoxious", "odd", "old-fashioned", "open", "outrageous", "outstanding", "panicky", "perfect", "plain", "pleasant", "poised", "poor", "powerful", "precious", "prickly", "proud", "puzzled", "quaint", "real", "relieved", "repulsive", "rich", "scary", "selfish", "shiny", "shy", "silly", "sleepy", "smiling", "smoggy", "sore", "sparkling", "splendid", "spotless", "stormy", "strange", "stupid", "successful", "super", "talented", "tame", "tender", "tense", "terrible", "testy", "thankful", "thoughtful", "thoughtless", "tired", "tough", "troubled", "ugliest", "ugly", "uninterested", "unsightly", "unusual", "upset", "uptight", "vast", "victorious", "vivacious", "wandering", "weary", "wicked", "wide-eyed", "wild", "witty", "worried", "worrisome", "wrong", "zany", "zealous"]
diff --git a/nouns b/nouns
new file mode 100644
index 0000000..2e04503
--- /dev/null
+++ b/nouns
@@ -0,0 +1 @@
+$nouns = ["ability", "abroad", "abuse", "access", "accident", "account", "act", "action", "active", "activity", "actor", "ad", "addition", "address", "administration", "adult", "advance", "advantage", "advertising", "advice", "affair", "affect", "afternoon", "age", "agency", "agent", "agreement", "air", "airline", "airport", "alarm", "alcohol", "alternative", "ambition", "amount", "analysis", "analyst", "anger", "angle", "animal", "annual", "answer", "anxiety", "anybody", "anything", "anywhere", "apartment", "appeal", "appearance", "apple", "application", "appointment", "area", "argument", "arm", "army", "arrival", "art", "article", "aside", "ask", "aspect", "assignment", "assist", "assistance", "assistant", "associate", "association", "assumption", "atmosphere", "attack", "attempt", "attention", "attitude", "audience", "author", "average", "award", "awareness", "baby", "back", "background", "bad", "bag", "bake", "balance", "ball", "band", "bank", "bar", "base", "baseball", "basis", "basket", "bat", "bath", "bathroom", "battle", "beach", "bear", "beat", "beautiful", "bed", "bedroom", "beer", "beginning", "being", "bell", "belt", "bench", "bend", "benefit", "bet", "beyond", "bicycle", "bid", "big", "bike", "bill", "bird", "birth", "birthday", "bit", "bite", "bitter", "black", "blame", "blank", "blind", "block", "blood", "blow", "blue", "board", "boat", "body", "bone", "bonus", "book", "boot", "border", "boss", "bother", "bottle", "bottom", "bowl", "box", "boy", "boyfriend", "brain", "branch", "brave", "bread", "break", "breakfast", "breast", "breath", "brick", "bridge", "brief", "brilliant", "broad", "brother", "brown", "brush", "buddy", "budget", "bug", "building", "bunch", "burn", "bus", "business", "button", "buy", "buyer", "cabinet", "cable", "cake", "calendar", "call", "calm", "camera", "camp", "campaign", "can", "cancel", "cancer", "candidate", "candle", "candy", "cap", "capital", "car", "card", "care", "career", "carpet", "carry", "case", "cash", "cat", "catch", "category", "cause", "celebration", "cell", "chain", "chair", "challenge", "champion", "championship", "chance", "change", "channel", "chapter", "character", "charge", "charity", "chart", "check", "cheek", "chemical", "chemistry", "chest", "chicken", "child", "childhood", "chip", "chocolate", "choice", "church", "cigarette", "city", "claim", "class", "classic", "classroom", "clerk", "click", "client", "climate", "clock", "closet", "clothes", "cloud", "club", "clue", "coach", "coast", "coat", "code", "coffee", "cold", "collar", "collection", "college", "combination", "combine", "comfort", "comfortable", "command", "comment", "commercial", "commission", "committee", "common", "communication", "community", "company", "comparison", "competition", "complaint", "complex", "computer", "concentrate", "concept", "concern", "concert", "conclusion", "condition", "conference", "confidence", "conflict", "confusion", "connection", "consequence", "consideration", "consist", "constant", "construction", "contact", "contest", "context", "contract", "contribution", "control", "conversation", "convert", "cook", "cookie", "copy", "corner", "cost", "count", "counter", "country", "county", "couple", "courage", "course", "court", "cousin", "cover", "cow", "crack", "craft", "crash", "crazy", "cream", "creative", "credit", "crew", "criticism", "cross", "cry", "culture", "cup", "currency", "current", "curve", "customer", "cut", "cycle", "dad", "damage", "dance", "dare", "dark", "data", "database", "date", "daughter", "day", "dead", "deal", "dealer", "dear", "death", "debate", "debt", "decision", "deep", "definition", "degree", "delay", "delivery", "demand", "department", "departure", "dependent", "deposit", "depression", "depth", "description", "design", "designer", "desire", "desk", "detail", "development", "device", "devil", "diamond", "diet", "difference", "difficulty", "dig", "dimension", "dinner", "direction", "director", "dirt", "disaster", "discipline", "discount", "discussion", "disease", "dish", "disk", "display", "distance", "distribution", "district", "divide", "doctor", "document", "dog", "door", "dot", "double", "doubt", "draft", "drag", "drama", "draw", "drawer", "drawing", "dream", "dress", "drink", "drive", "driver", "drop", "drunk", "due", "dump", "dust", "duty", "ear", "earth", "ease", "east", "eat", "economics", "economy", "edge", "editor", "education", "effect", "effective", "efficiency", "effort", "egg", "election", "elevator", "emergency", "emotion", "emphasis", "employ", "employee", "employer", "employment", "end", "energy", "engine", "engineer", "engineering", "entertainment", "enthusiasm", "entrance", "entry", "environment", "equal", "equipment", "equivalent", "error", "escape", "essay", "establishment", "estate", "estimate", "evening", "event", "evidence", "exam", "examination", "example", "exchange", "excitement", "excuse", "exercise", "exit", "experience", "expert", "explanation", "expression", "extension", "extent", "external", "extreme", "eye", "face", "fact", "factor", "fail", "failure", "fall", "familiar", "family", "fan", "farm", "farmer", "fat", "father", "fault", "fear", "feature", "fee", "feed", "feedback", "feel", "feeling", "female", "few", "field", "fight", "figure", "file", "fill", "film", "final", "finance", "finding", "finger", "finish", "fire", "fish", "fishing", "fix", "flight", "floor", "flow", "flower", "fly", "focus", "fold", "following", "food", "foot", "football", "force", "forever", "form", "formal", "fortune", "foundation", "frame", "freedom", "friend", "friendship", "front", "fruit", "fuel", "fun", "function", "funeral", "funny", "future", "gain", "game", "gap", "garage", "garbage", "garden", "gas", "gate", "gather", "gear", "gene", "general", "gift", "girl", "girlfriend", "give", "glad", "glass", "glove", "go", "goal", "god", "gold", "golf", "good", "government", "grab", "grade", "grand", "grandfather", "grandmother", "grass", "great", "green", "grocery", "ground", "group", "growth", "guarantee", "guard", "guess", "guest", "guidance", "guide", "guitar", "guy", "habit", "hair", "half", "hall", "hand", "handle", "hang", "harm", "hat", "hate", "head", "health", "hearing", "heart", "heat", "heavy", "height", "hell", "hello", "help", "hide", "high", "highlight", "highway", "hire", "historian", "history", "hit", "hold", "hole", "holiday", "home", "homework", "honey", "hook", "hope", "horror", "horse", "hospital", "host", "hotel", "hour", "house", "housing", "human", "hunt", "hurry", "hurt", "husband", "ice", "idea", "ideal", "if", "illegal", "image", "imagination", "impact", "implement", "importance", "impress", "impression", "improvement", "incident", "income", "increase", "independence", "independent", "indication", "individual", "industry", "inevitable", "inflation", "influence", "information", "initial", "initiative", "injury", "insect", "inside", "inspection", "inspector", "instance", "instruction", "insurance", "intention", "interaction", "interest", "internal", "international", "internet", "interview", "introduction", "investment", "invite", "iron", "island", "issue", "it", "item", "jacket", "job", "join", "joint", "joke", "judge", "judgment", "juice", "jump", "junior", "jury", "keep", "key", "kick", "kid", "kill", "kind", "king", "kiss", "kitchen", "knee", "knife", "knowledge", "lab", "lack", "ladder", "lady", "lake", "land", "landscape", "language", "laugh", "law", "lawyer", "lay", "layer", "lead", "leader", "leadership", "leading", "league", "leather", "leave", "lecture", "leg", "length", "lesson", "let", "letter", "level", "library", "lie", "life", "lift", "light", "limit", "line", "link", "lip", "list", "listen", "literature", "living", "load", "loan", "local", "location", "lock", "log", "long", "look", "loss", "love", "low", "luck", "lunch", "machine", "magazine", "mail", "main", "maintenance", "major", "make", "male", "mall", "man", "management", "manager", "manner", "manufacturer", "many", "map", "march", "mark", "market", "marketing", "marriage", "master", "match", "mate", "material", "math", "matter", "maximum", "maybe", "meal", "meaning", "measurement", "meat", "media", "medicine", "medium", "meet", "meeting", "member", "membership", "memory", "mention", "menu", "mess", "message", "metal", "method", "middle", "midnight", "might", "milk", "mind", "mine", "minimum", "minor", "minute", "mirror", "miss", "mission", "mistake", "mix", "mixture", "mobile", "mode", "model", "mom", "moment", "money", "monitor", "month", "mood", "morning", "mortgage", "most", "mother", "motor", "mountain", "mouse", "mouth", "move", "movie", "mud", "muscle", "music", "nail", "name", "nasty", "nation", "national", "native", "natural", "nature", "neat", "necessary", "neck", "negative", "negotiation", "nerve", "net", "network", "news", "newspaper", "night", "nobody", "noise", "normal", "north", "nose", "note", "nothing", "notice", "novel", "number", "nurse", "object", "objective", "obligation", "occasion", "offer", "office", "officer", "official", "oil", "one", "opening", "operation", "opinion", "opportunity", "opposite", "option", "orange", "order", "ordinary", "organization", "original", "other", "outcome", "outside", "oven", "owner", "pace", "pack", "package", "page", "pain", "paint", "painting", "pair", "panic", "paper", "parent", "park", "parking", "part", "particular", "partner", "party", "pass", "passage", "passenger", "passion", "past", "path", "patience", "patient", "pattern", "pause", "pay", "payment", "peace", "peak", "pen", "penalty", "pension", "percentage", "perception", "performance", "period", "permission", "permit", "person", "personal", "personality", "perspective", "phase", "philosophy", "phone", "photo", "phrase", "physical", "physics", "piano", "pick", "picture", "pie", "piece", "pin", "pipe", "pitch", "pizza", "place", "plan", "plane", "plant", "plastic", "plate", "platform", "play", "player", "pleasure", "plenty", "poem", "poet", "poetry", "point", "police", "policy", "politics", "pollution", "pool", "pop", "population", "position", "positive", "possession", "possibility", "possible", "post", "pot", "potato", "potential", "pound", "power", "practice", "preference", "preparation", "presence", "present", "presentation", "president", "press", "pressure", "price", "pride", "priest", "primary", "principle", "print", "prior", "priority", "private", "prize", "problem", "procedure", "process", "produce", "product", "profession", "professional", "professor", "profile", "profit", "program", "progress", "project", "promise", "promotion", "prompt", "proof", "property", "proposal", "protection", "psychology", "public", "pull", "punch", "purchase", "purple", "purpose", "push", "put", "quality", "quantity", "quarter", "queen", "question", "quiet", "quit", "quote", "race", "radio", "rain", "raise", "range", "rate", "ratio", "raw", "reach", "reaction", "read", "reading", "reality", "reason", "reception", "recipe", "recognition", "recommendation", "record", "recording", "recover", "red", "reference", "reflection", "refrigerator", "refuse", "region", "register", "regret", "regular", "relation", "relationship", "relative", "release", "relief", "remote", "remove", "rent", "repair", "repeat", "replacement", "reply", "report", "representative", "republic", "reputation", "request", "requirement", "research", "reserve", "resident", "resist", "resolution", "resolve", "resort", "resource", "respect", "respond", "response", "responsibility", "rest", "restaurant", "result", "return", "reveal", "revenue", "review", "revolution", "reward", "rice", "rich", "ride", "ring", "rip", "rise", "risk", "river", "road", "rock", "role", "roll", "roof", "room", "rope", "rough", "round", "routine", "row", "royal", "rub", "ruin", "rule", "run", "rush", "sad", "safe", "safety", "sail", "salad", "salary", "sale", "salt", "sample", "sand", "sandwich", "satisfaction", "save", "savings", "scale", "scene", "schedule", "scheme", "school", "science", "score", "scratch", "screen", "screw", "script", "sea", "search", "season", "seat", "second", "secret", "secretary", "section", "sector", "security", "selection", "self", "sell", "senior", "sense", "sensitive", "sentence", "series", "serve", "service", "session", "set", "setting", "sex", "shake", "shame", "shape", "share", "she", "shelter", "shift", "shine", "ship", "shirt", "shock", "shoe", "shoot", "shop", "shopping", "shot", "shoulder", "show", "shower", "sick", "side", "sign", "signal", "signature", "significance", "silly", "silver", "simple", "sing", "singer", "single", "sink", "sir", "sister", "site", "situation", "size", "skill", "skin", "skirt", "sky", "sleep", "slice", "slide", "slip", "smell", "smile", "smoke", "snow", "society", "sock", "soft", "software", "soil", "solid", "solution", "somewhere", "son", "song", "sort", "sound", "soup", "source", "south", "space", "spare", "speaker", "special", "specialist", "specific", "speech", "speed", "spell", "spend", "spirit", "spiritual", "spite", "split", "sport", "spot", "spray", "spread", "spring", "square", "stable", "staff", "stage", "stand", "standard", "star", "start", "state", "statement", "station", "status", "stay", "steak", "steal", "step", "stick", "still", "stock", "stomach", "stop", "storage", "store", "storm", "story", "strain", "stranger", "strategy", "street", "strength", "stress", "stretch", "strike", "string", "strip", "stroke", "structure", "struggle", "student", "studio", "study", "stuff", "stupid", "style", "subject", "substance", "success", "suck", "sugar", "suggestion", "suit", "summer", "sun", "supermarket", "support", "surgery", "surprise", "surround", "survey", "suspect", "sweet", "swim", "swimming", "swing", "switch", "sympathy", "system", "table", "tackle", "tale", "talk", "tank", "tap", "target", "task", "taste", "tax", "tea", "teach", "teacher", "teaching", "team", "tear", "technology", "telephone", "television", "tell", "temperature", "temporary", "tennis", "tension", "term", "test", "text", "thanks", "theme", "theory", "thing", "thought", "throat", "ticket", "tie", "till", "time", "tip", "title", "today", "toe", "tomorrow", "tone", "tongue", "tonight", "tool", "tooth", "top", "topic", "total", "touch", "tough", "tour", "tourist", "towel", "tower", "town", "track", "trade", "tradition", "traffic", "train", "trainer", "training", "transition", "transportation", "trash", "travel", "treat", "tree", "trick", "trip", "trouble", "truck", "trust", "truth", "try", "tune", "turn", "twist", "two", "type", "uncle", "understanding", "union", "unique", "unit", "university", "upper", "upstairs", "use", "user", "usual", "vacation", "valuable", "value", "variation", "variety", "vast", "vegetable", "vehicle", "version", "video", "view", "village", "virus", "visit", "visual", "voice", "volume", "wait", "wake", "walk", "wall", "war", "warning", "wash", "watch", "water", "wave", "way", "weakness", "wealth", "wear", "weather", "web", "wedding", "week", "weekend", "weight", "weird", "welcome", "west", "western", "wheel", "whereas", "while", "white", "whole", "wife", "will", "win", "wind", "window", "wine", "wing", "winner", "winter", "wish", "witness", "woman", "wonder", "wood", "word", "work", "worker", "working", "world", "worry", "worth", "wrap", "writer", "writing", "yard", "year", "yellow", "yesterday", "you", "young", "youth", "zone"]
diff --git a/superlatives b/superlatives
new file mode 100644
index 0000000..ccdd675
--- /dev/null
+++ b/superlatives
@@ -0,0 +1 @@
+$superlatives = ["angriest", "best", "biggest", "bravest", "brightest", "broadest", "calmest", "coldest", "coolest", "curliest", "darkest", "dirtiest", "driest", "dullest", "earliest", "easiest", "farthest", "finest", "freshest", "hardest", "heaviest", "last", "latest", "least", "lightest", "longest", "loveliest", "most", "most anxious", "most embarrassed", "most evil", "most famous", "most immense", "most nervous", "most perfect", "newest", "oldest", "quickest", "richest", "saddest", "simplest", "smallest", "smartest", "softest", "sweetest", "thinnest", "worst"]
diff --git a/thing.rb b/thing.rb
new file mode 100755
index 0000000..97e932f
--- /dev/null
+++ b/thing.rb
@@ -0,0 +1,16 @@
+#!/usr/bin/env ruby
+
+load "superlatives"
+load "nouns"
+load "adjectives"
+
+def flip(bias = 0.5)
+ return rand < bias
+end
+
+adjectives = [
+ flip(0.25) ? " #{$adjectives.sample}" : "",
+ flip(0.75) ? " #{$adjectives.sample}" : ""
+]
+
+puts "The #{$superlatives.sample}#{adjectives[0]} thing since#{adjectives[1]} #{$nouns.sample}."