My aim is to solve problems and make beautiful things with code.
This ruby program will prompt the user for a temperature in degrees Celcius and let the user know what the corresponding temperature is in Fahrenheit.
puts "Please enter degrees in Celcius:"
celcius = gets.chomp.to_f
def convert(celcius)
return celcius * 9/5 + 32
end
puts "Enter a number:"
number = gets.chomp.to_i
def convert(number)
return number % 10
end
def convert100(number)
return number % 100
end
if convert(number) == 1 && convert100(number)
!= 11 && convert100(number) != 12 &&
convert100(number) != 13
puts "That's the #{number}st item!"
elsif convert(number) == 2 &&
convert100(number) != 11
&& convert100(number) != 12 &&
convert100(number) != 13
puts"That's the #{number}nd item!"
elsif convert(number) == 3 &&
convert100(number) != 11
&& convert100(number) != 12 &&
convert100(number) != 13
puts "That's the #{number}rd item!"
else
puts "That's the #{number}th item!"
end
This ruby program will convert a plain number to the ordinal of the number. So for example, if the user enters 2, it will display 2nd, if the user enters 3, it will display 3rd, etc.
This ruby program is an adaptation of a classic technical interview problem which displays sequences of the Foobar pattern.
puts "How many digits would you like to see?"
digits = Array.new(gets.chomp.to_i){|index| index +1}
def foo(number)
return number % 3
end
def bar(number)
return number % 5
end
digits.each do |number|
if foo(number) == 0 && bar(number) == 0
puts "Foobar"
elsif foo(number) == 0
puts "Foo"
elsif bar(number) == 0
puts "Bar"
else
puts "#{number}"
end
end
A database-powered quote generator with a mobile-first design, using the Ruby on Rails framework, HTML, and CSS. Uses Git and Github for version control, and launched on Heroku.
A Yelp clone that integrates with the Google Maps API and includes features like user comments, star ratings, image uploading, and user authentication.
A two-sided, video-streaming marketplace platform that features credit card payment capabilities, user role management, complex user interfaces, and advanced database relationships.
An Instagram clone that was built using industry-standard, test-driven development following numerous red/green/refactor cycles.
This single-page to-do application features a fluid user interface that– by using JavaScript– allows users to rapidly add dynamic content.
Worked on an Agile software development team building a chess application. Under the guidance of a senior software engineer, we had weekly Agile team meetings for code reviews, sprint planning, and feature assignments.
I have developed proficiency and expertise in the following programming languages and comfort with the following tools.
Currently entertaining new opportunities. Please get in touch via email: