more bullshit
This commit is contained in:
parent
b14408f5c6
commit
e09ef984f0
2 changed files with 59 additions and 4 deletions
47
lib/bullshit
47
lib/bullshit
|
@ -6,6 +6,46 @@ interface
|
|||
singleton
|
||||
framework
|
||||
NoSQL
|
||||
cache
|
||||
self-signing
|
||||
template
|
||||
API
|
||||
service
|
||||
polling
|
||||
firewall
|
||||
standard
|
||||
GPU
|
||||
shader
|
||||
leveraged ^
|
||||
extended ^
|
||||
basic ^
|
||||
core
|
||||
hardware
|
||||
software
|
||||
DOM
|
||||
CSS
|
||||
descriptor
|
||||
method
|
||||
table
|
||||
package
|
||||
open-source ^
|
||||
module
|
||||
social ^
|
||||
component
|
||||
patented ^
|
||||
abstract ^
|
||||
stateless ^
|
||||
general-purpose |
|
||||
generic ^
|
||||
property |
|
||||
secure ^
|
||||
overflow-preventing ^
|
||||
self-healing ^
|
||||
ISO-certified ^
|
||||
encrypted ^
|
||||
proven ^
|
||||
open ^
|
||||
RESTful ^
|
||||
content-addressed ^
|
||||
asynchronous ^
|
||||
object-oriented ^
|
||||
|
@ -17,4 +57,11 @@ JSON *
|
|||
XML *
|
||||
YAML *
|
||||
XMPP *
|
||||
SOAP *
|
||||
HTML *
|
||||
AJAX *
|
||||
ORM *
|
||||
ACPI *
|
||||
solution $
|
||||
-oriented %
|
||||
-based %
|
||||
|
|
|
@ -6,8 +6,14 @@ function min(a, b){
|
|||
else
|
||||
return a
|
||||
}
|
||||
function suffix(){
|
||||
if(hassuffix = (rand() < 0.2))
|
||||
return suffixes[int(rand() * nsuffix)]
|
||||
return ""
|
||||
}
|
||||
$2 == "*" { protocol[nprotocol++] = $1; next }
|
||||
$2 == "$" { end[nend++] = $1; next }
|
||||
$2 == "%" { suffixes[nsuffix++] = $1; next }
|
||||
$2 == "^" { start[nstart++] = $1; next }
|
||||
$2 == "|" { noend[nword] = 1 }
|
||||
{ word[nword++] = $1; next }
|
||||
|
@ -15,14 +21,15 @@ END {
|
|||
srand()
|
||||
last = -1
|
||||
out = 0
|
||||
total = int(rand() * 7)
|
||||
total = int(rand() * 7) + 3
|
||||
n = int(rand() * min(total - out, 3))
|
||||
for(i = 0; i < n; i++)
|
||||
printf "%s ", start[int(rand() * nstart)]
|
||||
out += n
|
||||
hassuffix = 0
|
||||
n = int(rand() * min(total - out, 3))
|
||||
for(i = 0; i < n; i++)
|
||||
printf "%s ", word[last = int(rand() * nword)]
|
||||
printf "%s%s ", word[last = int(rand() * nword)], suffix()
|
||||
out += n
|
||||
if(rand() > 0.5){
|
||||
n = int(rand() * 3)
|
||||
|
@ -30,13 +37,14 @@ END {
|
|||
printf "%s %s", protocol[int(rand() * nprotocol)], (i != n-1) ? "over " : ""
|
||||
out += n
|
||||
last = -1
|
||||
hassuffix = 0
|
||||
}
|
||||
n = int(rand() * min(total - out, 3))
|
||||
if(out + n == 1 || last == -1)
|
||||
n += 2
|
||||
for(i = 0; i < n; i++)
|
||||
printf "%s ", word[last = int(rand() * nword)]
|
||||
if(rand() > 0.5 || (last >= 0 && noend[last]))
|
||||
printf "%s%s ", word[last = int(rand() * nword)], suffix()
|
||||
if(rand() > 0.5 || (last >= 0 && noend[last]) || hassuffix)
|
||||
printf "%s ", word[int(rand() * nend)]
|
||||
print ""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue