Random updates

This commit is contained in:
RussellChamp committed 2015-05-01 08:41:46 -05:00
1 parent f0f375a9b1
commit f250a7192b
7 files changed
+184 -13

No files matched your search

+9 -8
View File
@@ -1,25 +1,26 @@
krowbar&^%207&^%1427290628
krowbar&^%219&^%1430329472
karlen&^%271&^%1426779321
endorphant&^%473&^%1428280534
endorphant&^%525&^%1430357885
jumblesale&^%24&^%1426171214
marcus&^%234&^%1428325792
marcus&^%406&^%1430485408
papa&^%48&^%1423148291
epicmorphism&^%5&^%1421937744
audy&^%66&^%1424228886
audy&^%71&^%1429709970
kc&^%18&^%1422326056
vilmibm&^%9&^%1423247508
cmr&^%18&^%1422919247
cmr&^%86&^%1430441692
imt&^%519&^%1424087616
cndorphant&^%788&^%1424094192
rain&^%17&^%1422310975
sl2c&^%91&^%1424847521
selfsame&^%1&^%1422230012
bear&^%182&^%1425850622
bear&^%187&^%1429911340
coaxial&^%8&^%1422325983
joe&^%8&^%1422325983
hardmath123&^%4&^%1422325983
leni&^%3&^%1422325983
cel&^%10&^%1424492545
cel&^%11&^%1430162676
quote_bots&^%3&^%1424737471
bave&^%1&^%1427591141
scellef&^%5&^%1428094504
scellef&^%13&^%1428707074
cndorphbot&^%2&^%1430329439
+2
View File
@@ -11,3 +11,5 @@
1426016256&^%endorphant&^%http://tilde.town/~wiki/ircbots.html
1426298989&^%endorphant&^%http://tilde.town/~wiki/ircbots.html | txtminebot had a data wipe for a feature push | !golem
1426455418&^%endorphant&^%http://tilde.town/~wiki/ircbots.html | !golem
1429088209&^%jumblesale&^%
1429628571&^%endorphant&^%http://tilde.town/~wiki/ircbots.html
+16
View File
@@ -64,3 +64,19 @@
1426781957&^%krowbar&^%html + cheeses
1427275885&^%jumblesale&^%pugtalk
1428024389&^%vilmibm&^%let's talk about html, feels, and pugs
1428586760&^%krowbar&^%how do you respond when people don't answer direct questions?
1428903500&^%vilmibm&^%pugs pugs pugs pugs pugs pugs pugs baby pubgs
1428906211&^%vilmibm&^%pugs pugs pugs pugs pugs pugs pugs baby pgs
1428906215&^%vilmibm&^%pugs pugs pugs pugs pugs pugs pugs baby pugs
1428955163&^%krowbar&^%bugs hugs jugs lugs mugs pugs rugs baby tugs
1429088231&^%jumblesale&^%pugs pugs pugs pugs pugs pugs pugs pugs pugs
1429244214&^%hardmath123&^%Server's out of space. Don't panic (yet!).
1429519412&^%karlen&^%vilmibm made space for us all in his heart and server
1429709634&^%krowbar&^%How geographically close are you to where you grew up? What made you decide to stay or leave?
1429867870&^%jumblesale&^%pugs pugs pugs pugs pugs there's no space left
1430197818&^%vilmibm&^%gotta have space-spa-space-spa-space
1430241746&^%krowbar&^%What is the first piece of software you can remember buying?
1430244931&^%krowbar&^%Tilde.town hard drive expansion fund: Let your intereste be know at ~krowbar/public_html/donators.html
1430244952&^%krowbar&^%Tilde.town hard drive expansion fund: Let your interest be known at ~krowbar/public_html/donators.html
1430257496&^%vilmibm&^%donate to tilde.town / new disk! https://www.patreon.com/nathanielksmith | check out ~krowbar/public_html/donators.html
1430258808&^%vilmibm&^%downtime tonight for new disk! | donate to tilde.town! https://www.patreon.com/nathanielksmith | ~krowbar/public_html/donators.html
+6 -5
View File
@@ -1,13 +1,14 @@
krowbar&^%22&^%29
krowbar&^%22&^%35
um&^%11&^%8
kc&^%0&^%22
marcus&^%4&^%1
khoi&^%1&^%0
karlen&^%0&^%9
jumblesale&^%4&^%3
karlen&^%0&^%10
jumblesale&^%6&^%6
dan&^%1&^%0
datagrok&^%0&^%1
papa&^%1&^%0
vilmibm&^%1&^%12
vilmibm&^%1&^%18
selfsame&^%1&^%0
endorphant&^%0&^%6
endorphant&^%0&^%7
hardmath123&^%0&^%1
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
import fileinput
import random
import sys
import argparse
parser = argparse.ArgumentParser(description='Print some random dictionary words.')
parser.add_argument('-d', dest='dictionary', metavar='DICT',
help='supply a dictionary', default='/usr/share/dict/american-english-large')
parser.add_argument('-c', dest='count', type=int,
help='specify how many words you want per line', default=10)
parser.add_argument('-l', dest='lines', type=int,
help='specify how many lines of random words you want', default=1)
parser.add_argument('--no-appos', action='store_true',
help='remove words with appostrophes')
parser.add_argument('--no-proper', action='store_true',
help='remove words that start with a capital letter')
args = parser.parse_args()
#print args
with open(args.dictionary, "r") as wordsfile:
words = wordsfile.readlines()
if(args.no_appos):
words[:] = [word for word in words if word.find('\'') == -1]
if(args.no_proper):
words[:] = [word for word in words if not word[0].isupper()]
for _ in range(0, args.lines):
print ' '.join([w.strip("\n") for w in random.sample(words, args.count)])