This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3288-45 20002 IF THEY WERE SUPERHEROES (Alex: All of the correct responses will end in the letters "M-A-N"; example: Superman.) This 1940s Chicago Bears quarterback would have won games with incredible good fortune (Sid) Luckman 1600 $600 | |
3264-50 20003 THE MEDIA ON TV This title character was the crusty and tough city editor of the Los Angeles Tribune Lou Grant 1800 $800 | |
3032-28 20004 CYBER LIFE Mojo Nixon and the Rev. Horton Heat provided music for this CD-ROM game set in an Arkansas trailer park Redneck Rampage 500 $500 | |
3329-2 20005 THERE GOES THE EMPIRE This nation colonized part of Somalia in the 19th century and invaded Ethiopia in the 20th Italy 100 $100 | |
3279-3 20006 300 YEARS AGO In 1698, this comet discoverer took a ship called the Paramour Pink on the first purely scientific sea voyage Edmund Halley 100 $100 | |
3109-31 20007 FILM BIOGRAPHIES In a 1992 film Jack Nicholson portrayed this labor leader Jimmy Hoffa 1200 $200 | |
4973-40 20008 BEASTLY LIT 1930:Bird is the word for Dashiell Hammett in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=begin | |
INCOMPLETE: I realized last night (as I tried to not think about coding), how to fix at least the issue with the previous iteration. This one works partially, it just doesn't account for capitalization, punctuation, and | |
common words (the, of, etc.) | |
=end | |
def words_in_a_file (source_text, number) | |
file_as_a_string = File.open(source_text).read | |
word_count = Hash.new(0) | |
array_of_text = file_as_a_string.split | |
array_of_text.each do |word| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dasdasd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dasdasd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dasdasd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdfsdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdfsdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
/* | |
If you have a block-level element of a certain width, margin: 0 auto; | |
will how you center it inside its parent container. | |
See: http://bluerobot.com/web/css/center1.html | |
*/ | |
margin: 0 auto; | |
width: 720px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
/* | |
If you have a block-level element of a certain width, margin: 0 auto; | |
will how you center it inside its parent container. | |
See: http://bluerobot.com/web/css/center1.html | |
*/ | |
margin: 0 auto; | |
width: 720px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
/* | |
If you have a block-level element of a certain width, margin: 0 auto; | |
will how you center it inside its parent container. | |
See: http://bluerobot.com/web/css/center1.html | |
*/ | |
margin: 0 auto; | |
width: 720px; | |
} |