Taking my own advice

Plugging away!

Plugging away!

Have you been wondering where in the world I went? Sometimes you just have to experience life while it is happening. That is exactly what I have been up to:)

I learned a lot of Ruby in a short amount of time and really needed to digest before blogging about it.

What I like the most about Ruby is that it is an Object Oriented Programming language (OOPL).

Here are a few small projects that I worked. Each project was scripted with Ruby and then ran using the terminal.

  • Always_three
  1. puts“Give me a number.”
  2. first_number=gets.to_i
  3.  
  4. def my_always_three_method(num1)
  5. (((num1+5)*2-4)/2-num1)
  6. end
  7. puts“Always” + my_always_three_method(first_number).to_
  • Numerology app
  1. puts ‘What is your birthdate? Please enter month, day, and year.’
  2. birthdate = gets
  3. def get_birth_path(birthdate)
  4. number = birthdate[0].to_i + birthdate[1].to_i +
  5. birthdate[2].to_i + birthdate[3].to_i +
  6. birthdate[4].to_i + birthdate[5].to_i +
  7. birthdate[6].to_i + birthdate[7].to_i +
  8. birthdate[8].to_i + birthdate[9].to_i
  9. number = number.to_s
  10. number = number[0].to_i + number[1].to_i
  11. if number > 9
  12. number = number[0].to_i + number[1].to_i
  13. end
  14. return number
  15. end
  16. def get_user_birth_message(path_number)
  17. case path_number
  18. when 1
  19. number_message = “Your numberology number is #{path_number}. \n One is
  20. the leader. The number one indicicates the ability to
  21. stand alone, and is a strong vibration. Ruled by the
  22. Sun.
  23. when 2
  24. number_message = “Your numberology number is #{path_number}. \n This is
  25. the meditor and peace-lover. The number Two indicates the
  26. desire for harmony. It is a gentle, considerate, and sensitive
  27. vibration. Ruled by the Moon.
  28. when 3
  29. number_message = “Your numberology number is #{path_number}. Number Three is a sociable, friendly, and outgoing vibration.
  30. Kind, positive, and optimistic, Three‘s enjoy life and have a good
  31. sense of humor. Ruled by Jupiter.
  32.    when 4
  33.    number_message = “Your numberology number is #{path_number}.This is the worker. Practical, with love of detail, Fours are
  34.    trustworthy, hard-working, and helpful. Ruled by Uranus.
  35.    when 5
  36.    number_message = “Your numberology number is #{path_number}.This is the freedom lover. The number Five is an intellectual
  37.    vibration. These are ‘idea’ people with a love of variety and the
  38.    ability to adapt to most situations. Ruled by Mercury.
  39.    when 6
  40.    number_message = “Your numberology number is #{path_number}.This is the peace lover. The number Six is a loving,
  41.    stable, and harmonious vibration. Ruled by Venus.
  42. when 7
  43. number_message = “Your numberology number is #{path_number}.This is a deep thinker. The number Seven is a spiritual
  44. vibration. These people are not very attached to material things,
  45. are introspective, and generally quiet. Ruled by Neptune.
  46. when 8
  47. number_message = “Your numberology number is #{path_number}.This is the manager. Number Eight is a strong, successful, and
  48. material vibration. Ruled by Saturn.
  49. when 9
  50. number_message = “Your numberology number is #{path_number}.This is the teacher. Number Nine is a tolerant, somewhat impractical,
  51. and sympathetic vibration. Ruled by Mars.
  52. else
  53. number_message = “I’v got nothing for you. You must be an alien!”
  54. end
  55. end
  56. path_number = get_birth_path (birthdate)
  57. number_message = get_user_birth_message(path_number)
  58. puts number_message
  • Fizzbuzz
  1. i=0
  2. for i in (1..100).each do
  3. if  i % 15 == 0
  4. print “FizzBuzz”
  5. elsif i % 3 == 0
  6. print “fizz”
  7. elsif i % 5 == 0
  8. print “Buzz”
  9. else
  10. puts i
  11. end
  12. i=1
  13. end


One of my last assignments for the Web-development course was to create an ‘advice web page’ with HTML and CSS for people who are learning to code.  Here is my advice for all the code newbies out there!

Erin's Advice

Erin’s Advice

After struggling to get this baby pushed to GitHub, I decided that the next step for me was to take a class on GitHub itself.

I understand the purpose of Git and GitHub,  but haven’t mastered using the platform. I am now signed up for this free course by Udacity.

Although the Web-Developer course through Skillcrush officially ended on February 6th. I have access to all the material forever! Just another reason I highly recommend using Skillcrush.

A very special Thank YOU for all the Skillcrush instructors and classmates!

Enjoying my Life!

Enjoying my Life!