Friday, March 27, 2015

Day 84: The Odin Project Prep Work, Basics

I'm going through The Odin Project's prep work, so I can take the coding challenge!  I started the day going over part 14 of the Basics section, which went over many things, among them POP (point of presence), which allows a device to connect to the ISP, and NAP (Network Access Points), which connect to the Internet Backbone.  There were a couple of short videos going over internet basics like servers, routers, and http, for example.  

I then went over the Command Line, which I'm familiar with due to a Treehouse course I took earlier, but it's great to brush up.  In the command line, capitalization matters, so Documents and documents are not the same.  When naming files in the command line, we should not use spaces, because in order to do so, "My Folder Name" must become "My\ Folder\ Name," which is not ideal.  If we type in "man ls" we get the manual for the ls (list directory contents) command.  Pressing "q" will exit back to the prior part of the command line, if you are in the manual.  The "ls" command will list the folders in the current directory, "ls -a" will show the hidden folders as well, and "ls -l" will show more details on each folder.  The "ls -la" command combines the prior two (you can do this with other commands as well).

The "open" command will open whatever folder it is followed by, so if you follow open with a space and then a "." it will open the current folder (it will open it in the familiar Finder window).  "." represents the current directory, and ".." represents the directory one level up, so if you are currently in ~/Documents/name then ".." represents ~/Documents.  The tilde (~) represents the home directory.  When typing in the command line, the tab key can autocomplete the file name for you.  We went over some shortcuts, like cmd t, which opens a new command line tab.  The cd command will change directories, for example cd .. will take you up one directory, or if you enter a directory after that, it can also take you up one directory and then to the other directory.  "cd" by itself or cd ~ will take you back to your home directory.  Piping "|" and redirection ">" was mentioned briefly.

I opened .bash_profile in the Sublime Text 2 editor by using the subl ~/.bash_profile command.  I had to use a quick fix from Stack Exchange after getting an error message in order to get that to work.  The instructions then had us make some modifications to the bash using the .bash_profile file.


The next section I studied went over web dev terminology.  Next, we went over installations, which, thanks to my having already started on The Odin Project's curriculum earlier, I was already familiar with.  I updated Chrome, The installfest mentioned Nitrous.io, which is a hosted environment, and recommended it for Windows users.  I am not a Windows user at the moment, but I did open a Nitrous.io account anyways, just to familiarize myself with it.  

I went down to the test_app folder I had previously created, entered the heroku open command, and a browser tab opened with the app I had created a while back!   It's at:

https://mighty-beyond-7728.herokuapp.com/drinks

I tried it out, and it works just fine, just like I left it!  Great!  i then checked what version of Ruby i have installed, and it's 2.1.3, and my rails version is 4.1.6.  I replaced these preferences that came with sublime:

{
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
"font_size": 13.0
}

With some recommended preferences.  Next we went over Git, which I've used before (I uploaded my Google Homepage project to GitHub earlier).  I took these screenshots:








Just to save for later reference.  In some cases, we would use git add -A if we want to add untracked files (usually brand new ones or deleted files).  However, git add . will add all files in the current directory, and git add nameoffile.filetype will add a specific file.  We went over forking, which is basically making a copy of another repository onto your GitHub account.  You would then clone the repository down to your system to work on it.  A "Remote" is an online repository that you'll be pushing and pulling code from.

I closed out the day on part 20 of the Basics section, which is Git Calisthenics, and I'm looking forward to tomorrow, when I plan on finishing the Basics section and starting on the next section, Design.

SUMMARY OF CODING SKILLS

Total Treehouse Points: 5,385

Treehouse Points by Subject Matter (Miscellaneous not included): 
HTML:                                663 
CSS:                                1,599 
Design:                            1,193 
Development Tools:            747 
Javascript:                      1,120

Treehouse Ranking (%): "You have more total points than 94% of all students."

Treehouse Badge(s) Earned Today:



Treehouse Courses Completed:
How to Make a Website
HTML
CSS Foundations
CSS Layout Techniques
Aesthetic Foundations
Design Foundations
Adobe Photoshop Foundations
Adobe Illustrator Foundations (66% complete, switched focus from web design to web dev)
Git Basics
Introduction to Programming
Javascript Basics

Codecademy (& other) Courses Completed:
HTML and CSS (Codecademy) 

Books Read or in Progress:

Completed: "Head First HTML and CSS," by E. Robson & E. Freeman
In Progress: "Eloquent JavaScript," by Marijn Haverbeke (On pg 27)
In Progress: "Head First Javascript," by Eric Freeman and Elisabeth Robson (On pg 56)
In Progress: "A Smarter Way to Learn Javascript," by Mark Myers (on pg 33)

My Progress on The Odin Project:
1.  Introduction to Web Development             100% Complete
2.  Web Development 101                                29% Complete
3.  Ruby Programming                                       0% Complete
4.  Ruby on Rails                                               0% Complete
5.  HTML5 and CSS3                                           0% Complete
6.  Javascript and JQuery                                  0% Complete
7.  Getting Hired as a Web Developer                 0% Complete

Hours Spent Coding Today: 7
Total Hours Coding: 406

No comments:

Post a Comment