Module: Hackspeak::Templates

Defined in:
lib/hackspeak/templates.rb

Constant Summary collapse

NOUNS_A =
[
  "GUI Interface",
  "GUI",
  "IP",
  "IP address",
  "IRC",
  "IPv6",
  "IDE",
  "environment",
  "public firewall",
  "packet",
  "command line",
  "layer four traceroute",
  "framework",
  "module",
  "mainframe",
  "bug",
  "hard drive",
  "ROM chip",
  "virus",
  "worm",
  "subsystem",
  "submodule",
  "chip",
  "chipset",
  "firmware",
  "software",
  "motherboard",
  "microcode",
  "network",
  "peripherals",
  "terminal",
  "batch processor",
  "processor",
  "encoding",
  "file",
  "backlog",
  "shell",
  "subshell",
  "stack",
  "algorithm",
  "function",
  "leak",
  "server",
]
NOUNS_B =
[
  "UNIX",
  "LINUX",
  "IPv6",
  "SQL",
  "Microsoft Windows",
  "IRC",
  "Visual Basic",
  "Internet Explorer 8",
  "Apache",
  "Ethernet",
  "HTTP Protocol",
  "FTP",
  "CPU",
  "BASIC",
  "LISP",
  "PSU",
  "RAM",
  "VGA",
  "JSON",
  "AJAX",
  "DOM",
  "GNU",
  "DDOS",
  "MVC",
  "HTMI",
  "COBOL",
  "analog",
  "digital",
  "HTMI",
  "binary",
  "hexadecimal",
  "beta",
  "gamma",
  "delta",
  "service",

]
ADJECTIVES =
[
  "analog",
  "digital",
  "off-the-grid",
  "HTMI",
  "binary",
  "hexadecimal",
  "beta",
  "gamma",
  "delta",
  "dynamic"
]
VERBS =
[
  "reroute",
  "disconnect",
  "reconnect",
  "trace",
  "track",
  "traceroute",
  "hack",
  "breach",
  "burn",
  "encrypt",
  "encode",
  "code",
  "port",
  "relay",
  "iterate",
  "destroy",
  "lisence",
  "debug",
  "ping",
  "cache",
  "execute",
  "search",
  "log",
  "backlog",
  "rollback",
  "undo",
  "target",
  "buffer",
  "parse",
  "interpret",
  "jack",
  "program",
  "compile",
  "reboot",
  "break",
  "crash"
]

Class Method Summary collapse

Class Method Details

.adjectiveObject



143
# File 'lib/hackspeak/templates.rb', line 143

def self.adjective; ADJECTIVES.sample; end

.noun_aObject



140
# File 'lib/hackspeak/templates.rb', line 140

def self.noun_a; NOUNS_A.sample; end

.noun_bObject



141
# File 'lib/hackspeak/templates.rb', line 141

def self.noun_b; NOUNS_B.sample; end

.phrasesObject



145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'lib/hackspeak/templates.rb', line 145

def self.phrases
  [
    "You think you can just #{verb} this #{noun_a} using only a #{noun_b} #{noun_a}? You dont have what it takes to #{verb} it.",

    "In all my years of experience, never have I seen someone #{verb} anyones #{noun_a} with #{noun_b}. Impressive.",

    "Quick! We need to #{verb} the hackers #{noun_a} before he #{verb}s the #{noun_b} #{noun_a}!",

    "If we dont #{verb} their #{noun_a}, well never be able to #{verb} the #{noun_a}...",

    "Ive got two words for you: #{verb.capitalize} #{noun_a}.",

    "Hurry, #{verb} the #{noun_a}. Shit. They got into our #{noun_a}. #{verb.capitalize} the #{noun_b} #{noun_a}, do it, now. Oh no.... Its over. Theyve managed to #{verb} our #{noun_b} #{noun_a}...",

    "Ill #{verb} a #{noun_a} using #{noun_b} to #{verb} the hackers #{noun_b} #{noun_a}.",

    "Any novice could tell the difference between #{verb}ing a #{noun_a}s #{noun_b} and a #{noun_b} #{noun_a}",

    "God damn it. My brother, #{noun_a.capitalize}#{verb.capitalize} got caught by the #{noun_b} #{verb}rs. And to think... hes only #{rand(4..60)} years old. I heard those guys can #{verb} #{noun_b} #{noun_a} without #{noun_b}. Were gonna need to #{verb} a #{noun_a} if we ever hope to see his #{noun_a} again...",

    "With the right combination of #{noun_a}s, we should be able to #{verb} the #{noun_a} even without #{noun_b}. Talk about #{adjective}!"
  ]
end

.verbObject



142
# File 'lib/hackspeak/templates.rb', line 142

def self.verb; VERBS.sample; end