# Vince Casbarro

## LEARNER

I am a speech-language pathologist working in the acute care and outpatient settings, finding the intersection of innovative problem solving, evidence-based patient care, and the art of empathy.

I strive to be a life-long learner, and to that end I am diving into the world of web development.

Photo by Kody Dahl on Unsplash

### Code Snippets

#### Temperature Conversion

This ruby program will prompt the user for a temperature in degrees Celsius and let the user know what the corresponding temperature is in Fahrenheit.

``````#prompt
puts "Enter degrees in Celsius:"
celsius=gets.to_f

#method
def celsius_to_farenheit(c)
c*1.8+32
end

#output
puts "That is #{celsius_to_farenheit(celsius)} degrees Farenheit."``````

``````#prompt
puts "Enter a number you want to make an ordinal:"
number = gets.to_i

#methods
def last_digit(number)
number % 10
end

def last_two_digits(number)
number % 100
end

def ordinateur(number)
if last_two_digits(number) >= 11 && last_two_digits(number) <= 13
return "th"

elsif last_digit(number) == 1
return "st"

elsif last_digit(number) == 2
return "nd"

elsif last_digit(number) == 3
return "rd"

else
return "th"

end
end

#output
puts "That's the #{number}#{ordinateur(number)} item!"``````

#### Ordinal Challenge

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.

#### Foobar

This ruby program is an adaptation of a classic technical interview problem which displays sequences of the Foobar pattern.

``````#prompt
puts "How many items do you want to see?"
number_of_items = gets.to_i

#methods
def remainder_is_zero(dividend, divisor)
if dividend % divisor == 0
return true
else
return false
end
end

def foobar(number)
foobar_array = []
element_number = 1

while element_number <= number
if remainder_is_zero(element_number, 3) && remainder_is_zero(element_number, 5)
foobar_array << "foobar"
elsif remainder_is_zero(element_number, 3)
foobar_array << "foo"
elsif remainder_is_zero(element_number, 5)
foobar_array << "bar"
else
foobar_array << element_number
end
element_number = element_number + 1
end

puts foobar_array
end

#output
puts foobar(number_of_items)``````

### Web Apps

This section is a placeholder while I get started until I start producing my own work!

#### webapp one

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.

#### Yelp Clone

A Yelp clone that integrates with the Google Maps API and includes features like user comments, star ratings, image uploading, and user authentication.

#### Two-Sided Market Place

A two-sided, video-streaming marketplace platform that features credit card payment capabilities, user role management, complex user interfaces, and advanced database relationships.

#### Test Driven Development

An Instagram clone that was built using industry-standard, test-driven development following numerous red/green/refactor cycles.

#### Single Page To-Do Application

This single-page to-do application features a fluid user interface thatâ€“ by using JavaScriptâ€“ allows users to rapidly add dynamic content.

#### Agile Team Project

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.

### Skills & Tools

Vince is developing proficiency and expertise in the following programming languages and comfort with the following tools.

### Contact

Currently entertaining new opportunities. Please get in touch via email: