You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week4/MAKEME.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,25 +17,29 @@ _Deadline Monday_
17
17
18
18
Give one of your fellow students in Github feedback about their homework of the previous week: create an issue in their repo, telling them what they did great and what they can improve.
19
19
20
-
## Step 3: Git branching homework
20
+
## Step 3: Git homework
21
21
22
22
_Deadline Wednesday_
23
23
24
-
1) Use the `unmeshvrije/MyFirst` repository (the one you cloned) for this homework.
24
+
Git homework for this week:
25
25
26
-
2) Make a branch.
26
+
Pair up with another student in your class. The homework requires two people to work together. Let us call them admin and user.
27
27
28
-
3) Name it YOUR-GITHUB-NAME-dev
28
+
1. admin creates a new repository on github called “animals” (without quotes).
29
+
2. admin adds a file called “zoo.txt” with some animal generally found in a zoo.
30
+
3. admin commits and pushes his changes (in master branch)
31
+
4. admin adds user as a collaborator (find out how to add a collaborator to a git repository)
32
+
5. user clones a repository from admin (find out how to clone a repository. Note that `git init` is not required when you clone a repository)
33
+
6. user makes a new branch called user-dev
34
+
7. user adds another file called “pets.txt” with some animals generally found in a home.
35
+
8. user commits and pushes his branch to remote
36
+
9. admin pulls the branch crated by user (find out how to pull changes from the repository)
37
+
10. admin submits the link to his github repository (named animal), where unmesh should be able to see the collaborator’s (i.e. user’s) branch along with his commits.
29
38
30
-
4) Create a file commands.txt in your branch.
39
+
Note:
31
40
32
-
5) Add bash commands that you have learnt with descriptions
41
+
The *user* is *not supposed to fork* the admin’s repository. *admin* is supposed to add user as a collaborator and *user* should just *clone* the repository (i.e. *user* will only have the local copy of the repository). Only *admin* will have the *github* server copy of the repository. Of course, admin will have its local copy of the repository too.
33
42
34
-
6) Then git add, commit and push them in a remote branch.
35
-
36
-
**Do not merge the changes to master branch.**
37
-
38
-
**Do not make any changes to master branch.**
39
43
40
44
## Step 3: Some Challenges
41
45
Let's practice working with Objects and Arrays. Go to FreeCodeCamp and complete all challenges under "Object Oriented and Functional Programming" and the _first four challenges_ under "Basic Algorithm Scripting", up until 'Find the longest word in a string.'
- Read about Asynchronous vs. Synchronous programming: http://www.hongkiat.com/blog/synchronous-asynchronous-javascript/
17
+
#### Design patterns
20
18
-[Learning JavaScript Design Patterns](https://addyosmani.com/resources/essentialjsdesignpatterns/book/#detailnamespacing) up to and including chapter 3
-[JavaScript Variable Scope and Hoisting Explained](http://javascriptissexy.com/javascript-variable-scope-and-hoisting-explained/)
23
-
24
-
### This Sunday we have a test :boom:
25
-
If you feel you need preparation for the test we recommend to do the following:
26
-
27
-
- Take a look at the topics listed in the [README](https://github.com/HackYourFuture) of this repo (up to and including week 5).
28
-
- Review all the _REVIEW.md_ files in every week.
29
-
- Look up the concepts you are struggling with in your __Smarter Way to Learn JavaScript__ book :books:.
30
-
- It's also useful to go through the reading material and homework of the last weeks.
31
19
20
+
#### Git work flow
21
+
- Check out this video of Daan to see how we use Git Workflow to hand in Homework (from now on): https://www.youtube.com/watch?v=-o0yomUVVpU&index=2&list=PLVYDhqbgYpYUGxRdtQdYVE5Q8h3bt6SIA
32
22
33
23
_Please go through the material and come to class prepared!_
Copy file name to clipboardExpand all lines: Week6/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,18 @@
2
2
3
3
```
4
4
In week seven we will discuss the following topics:
5
-
• Git Workflow :muscle:
6
-
• Map, reduce filter
7
-
• Arrow functions
5
+
• (Object Oriented Programming)
6
+
• Code flow (order of execution)
7
+
• Async VS Sync
8
8
```
9
9
10
10
### Here are resources that we like you to read as a preparation for the coming lecture:
11
11
12
-
Some nice resources about map, filter, reduce
13
-
-:dizzy:[Fun fun functional](https://www.youtube.com/playlist?list=PL0zVEGEvSaeEd9hlmCXrk5yUyqUag-n84):dizzy: Check the first 3-4 videos.
14
-
- Wes Bos' awesome free tutorials. Just make a free account and do Array Cardio #1[here](https://javascript30.com/)
12
+
#### Async VS Sync
13
+
- Read about Asynchronous vs. Synchronous programming: http://www.hongkiat.com/blog/synchronous-asynchronous-javascript/
15
14
16
-
- Check out this video of Daan to see how we use Git Workflow to hand in Homework (from now on): https://www.youtube.com/watch?v=-o0yomUVVpU&index=2&list=PLVYDhqbgYpYUGxRdtQdYVE5Q8h3bt6SIA
15
+
#### Closures and async code
16
+
-[Why closures are helpful with async code](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript)
17
17
18
18
_Please go through the material and come to class prepared!_
-[Why closures are helpful with async code](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript)
0 commit comments