Skip to content

Instantly share code, notes, and snippets.

View blackwatertepes's full-sized avatar
Relaxing

Tyler J. Kuhn blackwatertepes

Relaxing
View GitHub Profile
@blackwatertepes
blackwatertepes / jeopardy.txt
Created March 15, 2013 19:32
A super long list of jeopardy questions
This file has been truncated, but you can view the full file.
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
=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|
@blackwatertepes
blackwatertepes / gist:5138356
Created March 11, 2013 22:13
Layout Drill: Right-hand Navigation
.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;
}
@blackwatertepes
blackwatertepes / gist:5138355
Created March 11, 2013 22:13
Layout Drill: Right-hand Navigation
.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;
}
@blackwatertepes
blackwatertepes / gist:5138354
Created March 11, 2013 22:13
Layout Drill: Right-hand Navigation
.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;
}