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!

Advertisements

Ruby my dear,

For starters, I ingested a lot of history on Ruby. Thank you Skillcrush! It is a fascinating language and I can see why there is such demand for it. Here is another article stating so.

 

I was first taught how to access the terminal. I started out using my Chromebook in which case I had to download Codio and ‘fire up’ the terminal. When the iMac arrived I was able to access the terminal via spotlight, searching for ‘terminal’. I then practiced using the most common terminal commands. The screen capture below represents the coolest terminal command!

Coolest Command EVER!

Coolest Command EVER!

YES! That is Star Wars, and yes you can sit and watch the entire result if you wish. #Geek

 

Mid-week it was time to install Ruby. I was feeling pretty lucky since my iMac came with the updated Ruby already on it. But then I found out that all UNIX products come with Ruby installed. Thank you Apple!

 

Installing “Ruby is the hardest step in learning it.” At least, according to the programming community.

 

Since I took the Codeschool Ruby course last week, learning Objects, Strings, Methods, Arrays, Hashes was familiar.  That being said, I needed to practice, practice, practice!

 

Below is another screen capture, this time of my work with IRB (Ruby) in the terminal.

Screenshot 2015-01-17 at 9.49.10 PM

I also was introduced to NIL, or nothing.

 

Last but not least I am reading my very first programming book. It is called _Why’s poignant guide to Ruby and it’s written by a “mystery guy” or x-mystery guy. His name is _Why. It is really funny and hard to put down.

 

Ruby and I are off to a great start!


P.S.  I seem to be finding my balance:)

Ruby is a gem right?

Perfect weather for coding.

Perfect weather for coding.

So it is a cold.. ahem …FREEZING snow day! After playing in the snow with my kids. I decided it was time to read up on the famous Ruby.

 

After all, this is the perfect weather condition for a programmer/blogger/learner/stay at home mom/right?

 

First off.. The intent of Ruby was to make programming (more) simple.

The person who came up with this programming language was Yukihiro Matsumoto aka Matz in 1993.

Fun fact: Twitter was created using Ruby. Who doesn’t love Twitter?

I am really excited about learning Ruby above all the other languages. It is one of the most demanded languages.

http://www.sitepoint.com/best-programming-language-learn-2014/

IMG_3279

Ruby on rails is what I plan to focus on.

There is a community call Rails Girls that I follow on twitter.

 

NO! Ruby is not just a gem.

Finding balance

IMG_2983

WOW! December was an awkward month for me.  It was so difficult to balance home life with Hacking my Education.  Every time I sat down to learn the material I was interrupted by a snotty nosed little boy or girl:)

 

Of course trying to prepare for Christmas day took a huge chunk of my time as well.  I finally finished my lesson on JavaScript, JQuery, and API’s.

 

During ‘the most wonderful time of the year’  I successfully created a ‘text to Pig Latin’ converter.  I did this by using Arrays.

 

An array is a data type that store a group of things.  I found learning arrays to be very easy and useful.

 

I also learned how to loop through an array using FizzBuzz.  This is a test that software companies use to evaluate the potential developer.

 

Here is a screenshot of the project where I used different color shades.  When you hover, click, or double-click the object, it will change according to the code, and the text will change prompting the user with a new message.

Looking through the shades.

Looking through the shades.

 

Below I posted ‘The Magic 8 Ball’ project.  This was one of my favorite toys as a kid.  I never thought I would be creating a virtual one, but I successfully did.

Screenshot 2014-12-30 at 7.21.02 AM

My Magic 8 Ball

A List of #geek terms for ya!

 

DOM, JSON, API, AJAX

 

Hope every one had a Merry Christmas.  I am still trying to sort through all the goodies Santa dropped off.  This may take me months!

 

I am looking forward to starting 2015.  I plan to complete more reading and begin a new programming language called Ruby.

 

Wish me luck with finding balance!

I always loved extra credit

 

Hope you all had a great Thanksgiving week!

 

I spent the week hanging out with my kids and didn’t focus too much on coding. My family and all the good food had my attention.

 

I did find a little bit of time to work on the extra credit project.:)

 

The task was to create my own resume using html and css. We had the option to download a file of background images from skillcrush or create our own. I decided to be a little more original and did so myself.  Uploading my work to Photobucket was necessary to complete the project.

A layout was provided by the instructors, which made the task easier.

 

I prepared my resume and proceeded to download specific Google fonts, changing the colors as desired.

 

Here was the challenging part.  Are you familiar with the ‘cute’ little icons that are commonly used?

They are called Sprites and they look like this.

sprites

 

I really struggled with how to make them work.  And by ‘work’, I mean change when the mouse pointer hovers over them.  They require a bit of work to achieve that goal.  However, I was able to figure it out and add them to my resume. #awesomesauce

 

I plan on linking my resume to www.momcoder.com, but for now here is a screenshot!

My beautiful resume!

My beautiful resume!

This was a fun creative project and I really enjoyed every minute of it!

Now I am off to learn Javascript.

A Love/Hate relationship with CSS

Colorful Ride

Colorful Ride

This week I have been coding using CSS. I have learned how to change font- family, color, background, add links and images to my website. Those were the simple things. I wanted to go the extra mile and took it upon myself to learn how to create navigation bar ;).

 

At the beginning of the week I was having a hard time understanding some properties of CSS.  It took me two days before anything actually made sense. I’m pretty sure it was because my 8 month old daughter is crawling now – at least that is my excuse and I am sticking to it. I realize this is just the first of many more challenges to come. I have to keep reminding myself that “I’m learning a new language”.

 

Class & Id’s along with floating are by far the most complicated CSS commands. However, I have met some great classmates on Mightybell that help me out if I get stuck. For the record I did get them to work. It just took me longer than I had hoped.:)

cross browser say what? #geektalk

 

Boiler plates over here, boiler plates over there…. aaahhh! One of my many assignment this week was to fix a ‘cross browser’ issue. To do this I was provided a Cross-browser boilerplate and told to add it to my code. If any issues arose I had to fix them. #troubleshooting already are we?

 

My thoughts on CSS thus far are.

 

CSS is cool but it’s mean. I have a love/hate relationship with it and as my instructor at Skillcrush.com said “CSS…It’s complicated”!

 

Finally, I wanted to share a great article on “which programming language you should learn first”.

Geekette

Okay guys this is where I start speaking in geek. If that is not trending yet; it will be!   

One of my assignments this week was to download two types of boilerplates. One is for HTML and the other for CSS. The next task was to install shiftedit.net. This is a live editor, which means I am able to see what the website looks like while I am coding .  

I chose shiftedit because it is compatible with my Google chromebook.  My mentor @sorriv recommended the Chromebook for programming.  I save the code to my Google drive and that gives me the ability to code wherever I go.  #awesomesauce

I have also taken an HTML quiz which I scored 100% on! 

My very own website is in the making.  Coded by me, myself, and I! Right now I’m going back in forth using html and css. I love being able to design and create a site that I can call my own. 

If coding interest you I highly recommend using Skillcrush.  Here are some of their perks..

  • Skill crush uses Mightybell as the “chat room” to connect everyone taking this course. (I am in the  Web Development Blueprint.)  
  • I have met people from all over the world taking this course.
  • A few classmates who are also SAHM!  
  • We get to discuss class material and make post using <code>.
  • Last but not least they put together a spotify music playlist to listen to while you code. Hacker style;)

I use W3Schools.com as well, they provide a ton of free information.

 

So everyone I am off to “my happy place”.

I have found a “new love”.

It’s name is code.

It is addicting.

I am becoming a Geekette!  

Geekette

Geekette

 

Let me leave you with a short history lesson of the very first geekette.

The Forgotten Female Programmers Who Created Modern Tech