Skip to content

Instantly share code, notes, and snippets.

Logan Rosen loganrosen

Block or report user

Report or block loganrosen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am loganrosen on github.
  • I am 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:

View gist:9996300
Error: value must be enumerable
Please report this bug:
/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'
View gist:8942119
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC00Dh9KXW0qtEnUS2QgRHggCPrXlTLhArSCW7w9YdcGiVqtCgw1ro/dt5pXuvaP/3zYgdhPA6MpVwW/1czh1CJqdIzEHkCeNMmoeQGCecPO5K3nlc/CwxF+5WD61ySa28pJ9im55IH4NhCdiEm/RyH0zD3jZ25r+wU94MS+ktIkNTVoVFX3CuA6kyT8ei85qC8eO7mmti2ZGmncCkLCEoi0A6LdcrLPdNumxBMXboVkgmE9JkQZW4jgJQ4cfG/iyoTFBr4SUdpslKdoVCuRY65Pg7uy2OMTPHcttQhB9EKC8IIP5ejZUhQO7OOew3s9FiMpelEgyvk3owyLGYRhgAd
View markuplanguage.rb
#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."
View simon.rb
SHOES_APP = File.expand_path(__FILE__)
require 'shoes'
Shoes.setup do
gem 'win32-sound'
require 'win32/sound' :width => 520, :height => 540 do
$nums = []
100.times do
View audiolib.rb
require 'fileutils'
class String
def to_hex_i
hex_string = ''
self.each_byte do |b|
hex_string << ("%02x" % b.ord)
View alphabetsnake.rb
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
You can’t perform that action at this time.