Skip to content

Instantly share code, notes, and snippets.

View AudreyJean's full-sized avatar

Deb AudreyJean

  • Northwest Washington, USA
View GitHub Profile
@AudreyJean
AudreyJean / beemp3_embeddable.html
Created March 2, 2012 00:27 — forked from DouglasAllen/beemp3_embeddable.html
One Day At A Time by Joe Walsh
<div>
<table width=320 border=0>
<tr>
<td>
<center>
<object width="320" height="200">
<param name="movie" value="http://www.youtube.com/v/CQVFpfVSUUU&&fs=1">
</param>
<param name="allowFullScreen" value="true">
</param>
@AudreyJean
AudreyJean / arrays2.rb
Created February 21, 2012 23:07 — forked from kotp/arrays2.rb
sort without using the built in SORT method
# a little program to accept a list of words, sort them without using the sort method, and output them in alphabetical order
i, j = 0, 0 # initialization of index variables
words, words2 = [], []
a_word = 'a' # dummy initialization to get into the until loop below
puts "Type a word and press <Enter> (Enter a blank line to quit):"
# Loop to accept an unspecified number of words-- creates original array
until a_word.empty?
a_word = gets.chomp
unless a_word.empty?
words.push a_word
@AudreyJean
AudreyJean / arrays2.rb
Created February 20, 2012 06:57
an edit to my arrays2 program
# a little program to accept a list of words, sort them without using the sort method, and output them in alphabetical order
j = 0
words = []
words2 = []
a_word = 'a' # dummy initialization to get into the until loop below
i = 0
puts "Type a word and press <Enter> (Enter a blank line to quit):"
# Loop to accept an unspecified number of words-- creates original array
until a_word.empty?
a_word = gets.chomp