Skip to content

Instantly share code, notes, and snippets.

#require 'fox16'
#include Fox
#
#puts "Welcome to ELM."
#
## regexp for bold text: <\*\w*\*>
## italic text: \</\w*\/>
## underline: <_\w*_>
#
#randomstring = "Logan _underlines_ stuff and is kind of /italic/ and he *bolds* stuff."
SHOES_APP = File.expand_path(__FILE__)
require 'shoes'
begin
Shoes.setup do
gem 'win32-sound'
end
require 'win32/sound'
Shoes.app :width => 520, :height => 540 do
$nums = []
100.times do
@loganrosen
loganrosen / alphabetsnake.rb
Created December 6, 2010 23:05
AlphabetSnake
alphabet = ("A".."Z").to_a
reversealphabet = alphabet.reverse
puts "Please enter the number of rows: "
rows = gets.chomp.to_i
puts "Please enter the number of columns: "
columns = gets.chomp.to_i
totalspaces = rows.to_i*columns.to_i
require 'fileutils'
class String
def to_hex_i
hex_string = ''
self.each_byte do |b|
hex_string << ("%02x" % b.ord)
end
hex_string.hex
end

Keybase proof

I hereby claim:

  • I am loganrosen on github.
  • I am loganrosen (https://keybase.io/loganrosen) on keybase.
  • I have a public key whose fingerprint is 8E30 4BC7 4759 E47B E6AB 789D 04E7 F142 F1ED 1345

To claim this, I am signing this object:

Error: value must be enumerable
Please report this bug:
https://github.com/Homebrew/homebrew/wiki/troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:281:in `|'
/usr/local/Library/Homebrew/options.rb:87:in `|'
/usr/local/Library/Homebrew/formula_installer.rb:320:in `effective_build_options_for'
/usr/local/Library/Homebrew/formula_installer.rb:296:in `expand_dependencies'
/usr/local/Library/Homebrew/dependency.rb:102:in `action'
/usr/local/Library/Homebrew/dependency.rb:100:in `catch'
/usr/local/Library/Homebrew/dependency.rb:100:in `action'
@loganrosen
loganrosen / gist:8942119
Created February 11, 2014 19:20
SSH pubkey
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC00Dh9KXW0qtEnUS2QgRHggCPrXlTLhArSCW7w9YdcGiVqtCgw1ro/dt5pXuvaP/3zYgdhPA6MpVwW/1czh1CJqdIzEHkCeNMmoeQGCecPO5K3nlc/CwxF+5WD61ySa28pJ9im55IH4NhCdiEm/RyH0zD3jZ25r+wU94MS+ktIkNTVoVFX3CuA6kyT8ei85qC8eO7mmti2ZGmncCkLCEoi0A6LdcrLPdNumxBMXboVkgmE9JkQZW4jgJQ4cfG/iyoTFBr4SUdpslKdoVCuRY65Pg7uy2OMTPHcttQhB9EKC8IIP5ejZUhQO7OOew3s9FiMpelEgyvk3owyLGYRhgAd logatronico@gmail.com