|

|
|

|
|
|
|
|
|
# Session 1: Tools-I
|
|
# Session 1: Tools-I
|
|
|
|
|
... | @@ -43,19 +43,17 @@ |
... | @@ -43,19 +43,17 @@ |
|
|
|
|
|
In the **Programming in Network Environment** subject we will learn how to create programs capable of **communicating** one to other through Internet
|
|
In the **Programming in Network Environment** subject we will learn how to create programs capable of **communicating** one to other through Internet
|
|
|
|
|
|

|
|

|
|
|
|
|
|
But first, we need to learn about the tools we are going to use: [Github](https://github.com/), [Python](https://www.python.org/), [Firefox](https://www.mozilla.org/es-ES/firefox/new/) and [Pycharm](https://www.jetbrains.com/es-es/pycharm/download) (Community Edition)
|
|
But first, we need to learn about the tools we are going to use: [Github](https://github.com/), [Python](https://www.python.org/), [Firefox](https://www.mozilla.org/es-ES/firefox/new/) and [Pycharm](https://www.jetbrains.com/es-es/pycharm/download) (Community Edition)
|
|
|
|
|
|
|
|
|
|
## Introduction to Github
|
|
## Introduction to Github
|
|
|
|
|
|
Modern **programming projects** have thousand of lines of code and hundred of **developers** working on them. It is necessary to use **powerful tools** to manage it: [The revision control systems](https://en.wikipedia.org/wiki/Repository_(version_control)). The projects are located into a what we call a **repository**
|
|
Modern **programming projects** have thousand of lines of code and hundred of **developers** working on them. It is necessary to use **powerful tools** to manage it: [The revision control systems](https://en.wikipedia.org/wiki/Repository\_(version_control)). The projects are located into a what we call a **repository**
|
|
|
|
|
|
|
|
|
|
Currently, the two most used controls systems are [Github](https://github.com/) and [GitLab](https://gitlab.com/). Both are based on the **opensource** engine called [git](https://es.wikipedia.org/wiki/Git), developed in 2005 by [Linux Torvalds](https://es.wikipedia.org/wiki/Linus_Torvalds), the creator of the [Linux Kernel](https://en.wikipedia.org/wiki/Linux_kernel)
|
|
Currently, the two most used controls systems are [Github](https://github.com/) and [GitLab](https://gitlab.com/). Both are based on the **opensource** engine called [git](https://es.wikipedia.org/wiki/Git), developed in 2005 by [Linux Torvalds](https://es.wikipedia.org/wiki/Linus_Torvalds), the creator of the [Linux Kernel](https://en.wikipedia.org/wiki/Linux_kernel)
|
|
|
|
|
|

|
|
\
|
|

|
|

|
|
|
|
|
|
In this **subject** we will focus on the use of **Github**
|
|
In this **subject** we will focus on the use of **Github**
|
... | @@ -63,10 +61,8 @@ In this **subject** we will focus on the use of **Github** |
... | @@ -63,10 +61,8 @@ In this **subject** we will focus on the use of **Github** |
|
### Our Github's account
|
|
### Our Github's account
|
|
|
|
|
|
* Create your account on [Github](https://github.com/). Do not forget to send your **real name** and your **username** in the post in Aula Virtual
|
|
* Create your account on [Github](https://github.com/). Do not forget to send your **real name** and your **username** in the post in Aula Virtual
|
|
|
|
|
|
* Once you have your account, Github will enable a link to your profile. This is my link (username: Obijuan):
|
|
* Once you have your account, Github will enable a link to your profile. This is my link (username: Obijuan):
|
|
|
|
* **Link**: https://github.com/obijuan
|
|
* **Link**: [https://github.com/obijuan](https://github.com/obijuan)
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -96,7 +92,7 @@ Let's see now this other file: [logo-urjc.svg](https://github.com/Obijuan/3D-par |
... | @@ -96,7 +92,7 @@ Let's see now this other file: [logo-urjc.svg](https://github.com/Obijuan/3D-par |
|
|
|
|
|

|
|

|
|
|
|
|
|
As this is a **text file** (the SVG files are written in plain text), instead of the Download button there is a **RAW Button**. If we want to download it, just click with the **right mouse button** and select the *save link as* option
|
|
As this is a **text file** (the SVG files are written in plain text), instead of the Download button there is a **RAW Button**. If we want to download it, just click with the **right mouse button** and select the _save link as_ option
|
|
|
|
|
|
If we enter the **STL** folder and click on the file [urjc-coin.stl](https://github.com/Obijuan/3D-parts/blob/master/2017-10-09-urjc-logo/stl/urjc-coin.stl), as it is a 3D design, Github will render it and allow us to **rotate** it and **change the point of view**
|
|
If we enter the **STL** folder and click on the file [urjc-coin.stl](https://github.com/Obijuan/3D-parts/blob/master/2017-10-09-urjc-logo/stl/urjc-coin.stl), as it is a 3D design, Github will render it and allow us to **rotate** it and **change the point of view**
|
|
|
|
|
... | @@ -114,11 +110,11 @@ If you want to **access the wiki**, just click on the **wiki tab** |
... | @@ -114,11 +110,11 @@ If you want to **access the wiki**, just click on the **wiki tab** |
|
|
|
|
|

|
|

|
|
|
|
|
|
The wiki's link is also available: [https://github.com/Obijuan/3D-parts/wiki](https://github.com/Obijuan/3D-parts/wiki). It allows us to access it as if a standar. It looks like this:
|
|
The wiki's link is also available: https://github.com/Obijuan/3D-parts/wiki. It allows us to access it as if a standar. It looks like this:
|
|
|
|
|
|

|
|

|
|
|
|
|
|
Now we can browse normally. The documentation that you are reading now, from the Programming in Network Environment subject, is located **its own wiki page** at Github 🙂
|
|
Now we can browse normally. The documentation that you are reading now, from the Programming in Network Environment subject, is located **its own wiki page** at Github :slight_smile:
|
|
|
|
|
|
From the [3D parts wiki](https://github.com/Obijuan/3D-parts/wiki), enter to the this design: [URJC Keyring/coin](https://github.com/Obijuan/3D-parts/wiki/Llavero-moneda-URJC). It is located on the same folder we saw before, but now you are looking at the wiki, that is easier for the users
|
|
From the [3D parts wiki](https://github.com/Obijuan/3D-parts/wiki), enter to the this design: [URJC Keyring/coin](https://github.com/Obijuan/3D-parts/wiki/Llavero-moneda-URJC). It is located on the same folder we saw before, but now you are looking at the wiki, that is easier for the users
|
|
|
|
|
... | @@ -268,7 +264,7 @@ Let's **commit** that change. Click on the **green tick** in the upper right cor |
... | @@ -268,7 +264,7 @@ Let's **commit** that change. Click on the **green tick** in the upper right cor |
|
|
|
|
|

|
|

|
|
|
|
|
|
Everytime you commit a change, you should write a comment. In this case we can write *my first change*. Then click on the **commit** button
|
|
Everytime you commit a change, you should write a comment. In this case we can write _my first change_. Then click on the **commit** button
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -395,7 +391,7 @@ print("Hello world!!") |
... | @@ -395,7 +391,7 @@ print("Hello world!!") |
|
|
|
|
|
In the **hello.py tab** type start typing in the **code**
|
|
In the **hello.py tab** type start typing in the **code**
|
|
|
|
|
|
When the editor detects you have written the first letters, *pr*, it shows below some of the functions that matches. You can continue typing or pressing the **TAB key** for accepting the first choice
|
|
When the editor detects you have written the first letters, _pr_, it shows below some of the functions that matches. You can continue typing or pressing the **TAB key** for accepting the first choice
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -501,7 +497,7 @@ The only way of **mastering** something is practicing, practicing and practicing |
... | @@ -501,7 +497,7 @@ The only way of **mastering** something is practicing, practicing and practicing |
|
|
|
|
|
### Ex-1: hello.py
|
|
### Ex-1: hello.py
|
|
|
|
|
|
* Add another **print()** statement to the *hello.py* program
|
|
* Add another **print()** statement to the _hello.py_ program
|
|
* Add some **comments**
|
|
* Add some **comments**
|
|
* Make sure you get a **green tick**
|
|
* Make sure you get a **green tick**
|
|
* **Run** the program
|
|
* **Run** the program
|
... | @@ -531,8 +527,8 @@ The session is finished. Make sure, during this week, that everything in this li |
... | @@ -531,8 +527,8 @@ The session is finished. Make sure, during this week, that everything in this li |
|
* [ ] Exercise 2 done!
|
|
* [ ] Exercise 2 done!
|
|
* [ ] Exercise 3 done!
|
|
* [ ] Exercise 3 done!
|
|
|
|
|
|
|
|
|
|
# Credits
|
|
# Credits
|
|
|
|
|
|
* [Juan González-Gómez](https://github.com/Obijuan) (Obijuan)
|
|
* [Juan González-Gómez](https://github.com/Obijuan) (Obijuan)
|
|
* [Alvaro del Castillo](https://github.com/acs). He designed and created the original content of this subject. Thanks a lot :-)
|
|
* [Alvaro del Castillo](https://github.com/acs). He designed and created the original content of this subject. Thanks a lot :-)
|
|
|
|
|
... | | ... | |