Skip to content

Instantly share code, notes, and snippets.

View HenriqueCarvalho's full-sized avatar

Henrique Carvalho HenriqueCarvalho

View GitHub Profile
<title>MySQL Database</title>
$user = 'root';
$password = 'root';
$db = 'sql_injection';
$host = 'localhost';
# STUDENT: Henrique Carvalho
# lyrical.rb is your first assignment. It takes a song's input and lets you
# see how many times a word occurs in the song.
# Save this file as lyrical.rb. Edit it with your text editor and run the tests
# in Terminal. The command to run the tests is:
# ruby lyrical.rb