This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by configure, which was | |
generated by GNU Autoconf 2.61. Invocation command line was | |
$ ./configure --prefix=/Users/davidd/.rvm/rubies/ruby-1.8.7-p352 --enable-shared --disable-install-doc | |
## --------- ## | |
## Platform. ## |
This file contains 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
[2011-07-28 09:48:14] ./configure --prefix=/Users/david/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/david/.rvm/usr | |
configure: WARNING: unrecognized options: --with-libyaml-dir | |
checking build system type... i386-apple-darwin11.0.0 | |
checking host system type... i386-apple-darwin11.0.0 | |
checking target system type... i386-apple-darwin11.0.0 | |
checking whether the C compiler works... no | |
configure: error: in `/Users/david/.rvm/src/ruby-1.9.2-p290': | |
configure: error: C compiler cannot create executables | |
See `config.log' for more details |
This file contains 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
board_size, snake_length, snake_positions, snake_vector, fruit_position = 15, 3, [[5,6],[5,5],[5,4]], [1,0], [rand(15), rand(15)] # set game board size, snake starting position, snake starting direction and fruit position | |
system "stty -icanon -echoke" # set console to non-canonical mode so it doesn't require end of line to get input | |
loop do # loop infinitely | |
if ( input = select([$stdin], nil, nil, 0.2) ) then if ( STDIN.getc.chr == "\e" ) then if ( STDIN.getc == ?[) then input = STDIN.getc end end end # get input | |
if ( input == ?A ) then snake_vector = [0,-1] elsif ( input == ?B ) then snake_vector = [0,1] elsif ( input == ?C ) then snake_vector = [1,0] elsif ( input == ?D ) then snake_vector = [-1,0] end # set snake movement direction based on input | |
snake_positions = (snake_positions.count < snake_length ? snake_positions.concat([[snake_positions.last[0] + snake_vector[0], snake_positions.last[1] + snake_vector[1]]]) : snake_positions.drop(1).concat([[snake_positions.last[0] + snake_vector[0], snake_pos |
This file contains 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
Go to: | |
https://forms.house.gov/price/webforms/contact_form.shtml | |
http://hagan.senate.gov/contact/ | |
http://burr.senate.gov/public/index.cfm?FuseAction=Contact.ContactForm | |
Write something up like this: | |
Dear [insert congress person's name here], |
This file contains 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
true |
This file contains 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
true |
This file contains 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
true |
This file contains 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
true |
This file contains 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
true |
This file contains 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
true |