Frontend course from Kottans
The course from Udacity was very useful and interesting for me.
First two modules was easy, 'cause I worked on Linux a little before.
The next two modules was not so easy, actually.
These request verbs of HTTP are:
- GET: fetch an existing resource. The URL contains all the necessary information the server needs to locate and return the resource.
- POST: create a new resource. POST requests usually carry a payload that specifies the data for the new resource.
- PUT: update an existing resource. The payload may contain the updated data for the resource.
- DELETE: delete an existing resource.
Status Codes:
- 1xx: Informational Messages
- 2xx: Successful (The most common code is 200 OK)
- 3xx: Redirection
- 4xx: Client Error (Yep, 404 the most common code)
- 5xx: Server Error (The most commonly used error code is 500 Internal Server Error)
HTTP
HTTP -> TCP -> IP
HTTPS (s - meaning secured)
HTTP -> SSL (Secure Sockets Layer) or TLS (Transport Layer Security) -> TCP -> IP
Summary it was interesting and useful indormation, but I think I will forget about 80% of this after a week.
Useful git commands:
- git shortlog - show autors and quantity of their commits
git shortlog displays an alphabetical list of names and the commit messages that go along with them. If we just want to see just the number of commits that each developer has made, we can add a couple of flags: -s to show just the number of commits (rather than each commit's message) and -n to sort them numerically (rather than alphabetically by author name).
-
git shortlog -s -n
-
git log --author="Author Name" - filter by author
How about we filter down to just the commits that reference the word "bug". We can do that with either of the following commands:
- git log --grep=bug
or - git log --grep bug
origin -> for fork repository
upstream -> for original repository (from what we make a fork)
-
git push origin master:newBranch - take data from master on local repository and add it on origin (ex. GitHub) to newBranch (if it doesn't exist, git makes it)
-
git push origin :foo - without first argument before ":" git just delete foo branch
-
git fetch origin :foo - git will make new branch "foo" in local repository
-
git pull origin foo = git fetch origin foo; git merge o/foo
-
git pull origin bar~1:bugFix = git fetch origin bar~1:bugFix; git merge bugFix
This two courses, especial second one give me a better understanding how to work with git and GitHub.
Udacity html course was superficial and not consistency. But courses from codeacademy was interesting and more useful. I refreshed knowledge about forms and how to use audio and video tags in HTML and learned a lot about grid in CSS.
It was cool, especially frog flexbox and last task. But there is no frog who can beat a panda!