https://github.com/qrush/mwrc
sandbox/playground for my MWRC 2011 talk
https://github.com/qrush/mwrc
Last synced: 7 months ago
JSON representation
sandbox/playground for my MWRC 2011 talk
- Host: GitHub
- URL: https://github.com/qrush/mwrc
- Owner: qrush
- Created: 2011-03-02T02:32:47.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-03-17T23:00:32.000Z (over 15 years ago)
- Last Synced: 2024-12-28T12:22:39.323Z (over 1 year ago)
- Language: Ruby
- Homepage: http://bit.ly/redis-behind-the-keys
- Size: 1.13 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
= MWRC 2011
Scripts and more for MWRC 2011!
= THE TALK
http://bit.ly/redis-behind-the-keys
= NOTICE
You've entered an untested playground/sandbox for my talk. Just a heads up!
= What's in here
.
├── compl1.rb < Antirez's autocomplete script, I was trying to figure out how it worked.
├── dump.rdb < redis-server dump file that contains tweets from the past 3 weeks of many speakers from #mwrc!
├── female-names.txt < data for antirez's autocomplete script
├── perms < permissions example from the talk
│ ├── executable < executable file for file perms test
│ ├── first.rb < File.stat/mode example
│ ├── normal.txt < blank file
│ ├── permify.rb < wrote an OO wrapper around getbit/setbit, how stupid am i?
│ └── public.txt < another blank file with different perms
├── reaper.rb < how I got everyone's twitter user ID using the twitter api & curl
├── twroll.rb < experiment/syntax highlight script. run after loading dump.rdb to see fun stats!
├── user_ids.txt < everyone's twitter user ids
└── watch.rb < twitterstream daemon to run and listen for tweets
= Stats
Did this as an experiment to show set operations. Here's some example output from twroll.rb:
unique words
9055
top 3 twitters
{"objo"=>"310", "jtimberman"=>"340", "elight"=>"353"}
top words
["the",
"708",
"to",
"650",
"a",
"564",
"I",
"461",
"of",
"371",
"and",
"330",
"for",
"318",
"is",
"313",
"in",
"288",
"you",
"265"]
dirty words
"tweets:frequency:zedshaw"
{"fuck"=>"2"}
"tweets:frequency:dojo4"
{}
"tweets:frequency:bobbywilson0"
{}
"tweets:frequency:wayneeseguin"
{}
"tweets:frequency:jtimberman"
{"fuck"=>"2"}
"tweets:frequency:geemus"
{}
"tweets:frequency:qrush"
{}
"tweets:frequency:cwyckoff"
{}
"tweets:frequency:brynary"
{}
"tweets:frequency:jimweirich"
{}
"tweets:frequency:mattyoho"
{}
"tweets:frequency:prestonism"
{}
"tweets:frequency:igrigorik"
{}
"tweets:frequency:mjijackson"
{}
"tweets:frequency:emullet"
{}
"tweets:frequency:objo"
{"shit"=>"2", "ass"=>"4"}
"tweets:frequency:elight"
{"ass"=>"2", "piss"=>"2"}
"tweets:frequency:AndyMaleh"
{}
"tweets:frequency:devlindaley"
{}
"tweets:frequency:wycats"
{}