Skip to content

Commit a436f34

Browse files
committed
intial course website and content license
1 parent 2647680 commit a436f34

316 files changed

Lines changed: 24509 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text
2+
*.pdf filter=lfs diff=lfs merge=lfs -text
3+
*.jpg filter=lfs diff=lfs merge=lfs -text
4+
*.jpeg filter=lfs diff=lfs merge=lfs -text
5+
*.woff filter=lfs diff=lfs merge=lfs -text
6+
*.ttf filter=lfs diff=lfs merge=lfs -text
7+
*.woff2 filter=lfs diff=lfs merge=lfs -text
8+
*.eot filter=lfs diff=lfs merge=lfs -text

LICENSE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2013-2018 GitHub, Inc. and contributors
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
# Front End Masters - Two Day Python Workshop
1+
# Frontend Masters - Two Day Python Workshop
22

33
These are the resources for Nina Zakharenko's Two Day Intro to and Intermediate Python Course
44

5+
* [Watch Python Fundamentals on Frontend Masters](https://frontendmasters.com/courses/python/)
6+
57
The majority of the content can be found on the course website.
68

79
* [Course Website - learnpython.netlify.com](https://learnpython.netlify.com)
810
* [This Repo - git.io/python3](https://git.io/python3)
9-
* [Follow Nina on Twitter](https://twitter.com/nnja)
11+
* [Follow Nina on Twitter](https://twitter.com/nnja)
12+
13+
## License
14+
15+
The content of this project itself is licensed under the [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) license](https://creativecommons.org/licenses/by-nc-nd/4.0/), and the underlying source code used to format and display that content, along with the code exercises is licensed under the [MIT license](LICENSE.md).

website/.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text
2+
*.jpeg filter=lfs diff=lfs merge=lfs -text
3+
*.jpg filter=lfs diff=lfs merge=lfs -text
4+
*..eot filter=lfs diff=lfs merge=lfs -text
5+
*.svg filter=lfs diff=lfs merge=lfs -text
6+
*.eot filter=lfs diff=lfs merge=lfs -text
7+
*.ttf filter=lfs diff=lfs merge=lfs -text
8+
*.woff filter=lfs diff=lfs merge=lfs -text
9+
*.woff2 filter=lfs diff=lfs merge=lfs -text
10+
*.pdf filter=lfs diff=lfs merge=lfs -text

website/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Local setup instructions:
2+
3+
1. Install Hugo
4+
1. clone hugo learn theme from https://github.com/matcornic/hugo-theme-learn, update `themesdir` in config.toml
5+
1. `cd python` then, `hugo server -D` to run local server
6+
7+
Note: the file and folder names don't contribute to order, and may not always be accurate. Sorted by chapter and individual page weight.
8+
9+
If you move things around or delete chapters, you may have to restart the server for the chapters to appear correctly.
10+
11+
How to use the theme: https://learn.netlify.com/en/cont/
12+
More about theme shortcodes: https://learn.netlify.com/en/shortcodes/
13+
14+
use `git lfs` for tracking binary types.
15+
16+
```bash
17+
$ git lfs track "*.psd"
18+
git add .gitattributes
19+
```
20+
21+
Currently tracked types:
22+
- .png
23+
- .jpg
24+
- .jpeg
25+
- .pdf
26+
- .mp4
27+
- .gif

website/archetypes/default.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

website/config.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
baseURL = "/"
2+
languageCode = "en-US"
3+
defaultContentLanguage = "en"
4+
5+
title = "Nina Zakharenko - Introduction and Intermediate Python"
6+
theme = "nnja-theme-learn"
7+
themesdir = "themes"
8+
metaDataFormat = "yaml"
9+
defaultContentLanguageInSubdir= true
10+
ignoreFiles = [ "\\.pyc$", "__pycache__"]
11+
publishDir = "docs"
12+
13+
[params]
14+
# Change default color scheme with a variant one. Can be "red", "blue", "green".
15+
themeVariant = "blue"
16+
editURL = "https://github.com/nnja/python/edit/master/website/content/"
17+
description = "Course Materials by Nina Zakharenko for Introduction and Intermediate Python on Frontend Masters"
18+
author = "Nina Zakharenko"
19+
showVisitedLinks = true
20+
disableBreadcrumb = false
21+
disableNextPrev = false
22+
disableInlineCopyToClipBoard = true
23+
24+
25+
# For search functionality
26+
[outputs]
27+
home = [ "HTML", "RSS", "JSON"]
28+
29+
[Languages]
30+
[Languages.en]
31+
title = "Documentation for Hugo Learn Theme"
32+
weight = 1
33+
languageName = "English"
34+
35+
[[Languages.en.menu.shortcuts]]
36+
name = "<i class='fab fa-fw fa-github'></i> Github repo"
37+
identifier = "ds"
38+
url = "https://git.io/python3"
39+
weight = 10
40+
41+
[[Languages.en.menu.shortcuts]]
42+
name = "<i class='fab fa-twitter'></i> Follow Nina on Twitter"
43+
url = "https://twitter.com/nnja"
44+
weight = 20
45+
46+
[[Languages.en.menu.shortcuts]]
47+
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
48+
url = "/credits"
49+
weight = 30
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
date: 2019-01-24T09:14:14-08:00
3+
title: About Your Instructor
4+
weight: 1
5+
draft: false
6+
---
7+
8+
# <a href="https://twitter.com/nnja" target="_blank""><i class='fab fa-twitter'></i> @nnja</a>
9+
10+
{{< figure src="/images/me.jpg" width="20%" title="Nina Zakharenko" >}}
11+
</a>
12+
13+
Hi, I'm Nina Zakharenko. I'm a Senior Cloud Developer Advocate and Microsoft, focusing on Python. Before Microsoft, I wrote code for other cool companies like Reddit, Meetup, and HBO. In my spare time I like drinking scotch and tinkering with wearable electronics. I enjoy hiking and snowboarding from my home base in Portland, Oregon. I change my hair color regularly.
14+
15+
16+
I've been involved in the Python community for approximately 6 years. During that time I've spoken at multiple Python conferences on a variety of topics, including PyCon US, PyParis, DjangoCon, and even PyCon Russia in Moscow.
17+
18+
#### Stay in touch
19+
- <a href="https://twitter.com/nnja" target="_blank"><i class='fab fa-twitter'></i> @nnja</a>
20+
- <a href="https://linkedin.com/nnja" target="_blank"><i class='fab fa-linkedin'></i> LinkedIn</a>
21+
- <a href="https://github.com/nnja/" target="_blank"><i class='fab fa-github'></i> GitHub</a> where you can find the code for this site and my other projects
22+
23+
I occasionally blog on <a href="https://medium.com/@nnja" target="_blank"><i class='fab fa-medium'></i> Medium at @nnja</a>. You can find out more about me on my homepage [nnja.io](https://nnja.io).
24+
25+
#### Frontend Masters
26+
27+
Check out my other [Frontend Masters courses](https://frontendmasters.com/teachers/nina-zakharenko/), such as [Git In-Depth](https://frontendmasters.com/courses/git-in-depth/).
28+
29+
#### My Conference Talks
30+
31+
You can watch a selection of my talks on <a href="https://www.youtube.com/playlist?list=PLU2JOyCJmabDwN3KYNaxwhl9ZyA3E3PP9" target="_blank"><i class='fab fa-youtube'></i> YouTube</a>
32+
such as:
33+
34+
- [Elegant Solutions For Everyday Python Problems](https://www.youtube.com/watch?v=WiQqqB9MlkA) - PyCon 2018
35+
- [Memory Management in Python - The Basics](https://www.youtube.com/watch?v=F6u5rhUQ6dU) - PyCon 2016
36+
- [Code Review Skills for Pythonistas](https://www.youtube.com/watch?v=6L3ZVLtSeo8) - EuroPython 2018
37+
- [Five Things You Didn't Know Python Can Do](https://www.youtube.com/watch?v=WlGkBqBRsik) - All Things Open 2018
38+
- [Technical Debt - The Code Monster In Your Closet](https://www.youtube.com/watch?v=JKYktDRoRxw) - PyCon 2015
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: "Navigating The Course"
3+
date: 2019-02-04T00:13:49-08:00
4+
draft: false
5+
weight: 2
6+
---
7+
8+
The course content is free and open source, and hosted on GitHub. A link will be available *after the class* so that edits can be suggested via Pull Requests.
9+
10+
### Suggesting Changes to The Course Material
11+
12+
If you notice a typo or any other issues with the material *after the class*, please open a pull request on GitHub by clicking the "Edit this page" button on the top right corner of every course page.
13+
14+
<img src="{{"/images/snake-scaled.png" | relURL }}">
15+
16+
![Edit Page](/01-introduction/images/edit-page.png?classes=shadow&outline&width=10pc)
17+
18+
### Clearing History of Read Pages
19+
20+
Once a section is completed, a check mark will appear to the right of that section. To clear it, hit the "Clear History" button at the bottom of the table of contents on the left hand side.
21+
22+
![Clear History](/01-introduction/images/clear_history.png?classes=shadow&outline&width=10pc)
23+
24+
### Copying Code
25+
26+
To copy code and commands, click on the clipboard icon ((<i class='fa fa-clipboard-list'></i>) on the top right of any code box.
27+
28+
{{% notice tip %}}
29+
You can even copy code intended for the Python REPL. The prompt characters won't be copied over.
30+
{{% /notice %}}
31+
32+
Try it now by coping the code below.
33+
34+
```python
35+
def greeting():
36+
print("Hello, World!")
37+
```
38+
39+
### Searching
40+
41+
The whole course is searchable via the search bar on the top left.
42+
43+
![Search](/01-introduction/images/search.png?classes=shadow&outline&width=15pc)
44+
45+
### Navigation
46+
47+
View the course contents in the side bar on the left.
48+
49+
#### Arrows
50+
51+
The course can be navigated sequentially to the page before or after via the left and right arrows on each page.
52+
53+
![Navigate](/01-introduction/images/arrows.png?classes=shadow&outline&width=10pc)
54+
55+
{{% notice tip %}}
56+
You can also use the left and right keyboard arrows to navigate between pages.
57+
{{% /notice %}}
58+
59+
#### Breadcrumbs
60+
61+
Use the breadcrumb links on the floating header of each page to jump between related sections.
62+
63+
![Header](/01-introduction/images/header.png?classes=shadow&outline)
64+
65+
#### Table of Contents
66+
67+
Click on the "Table of Contents" Icon in the page header to jump between sections in the page.
68+
69+
![Table of Contents](/01-introduction/images/toc.png?classes=shadow&outline)
70+
71+
### Expanding Sections
72+
73+
Sometimes additional instructions or information will be available via the expand section arrow. Keep an eye out for this icon:
74+
75+
![Expand Section](/01-introduction/images/expand-section.png?classes=shadow&outline&width=7pc)
76+
77+
78+
{{% notice info %}}
79+
The course material is heavy in information and links. I suggest that you follow the links **after class** as a source of additional information, so that you don't get distracted from the important material.
80+
{{% /notice %}}

0 commit comments

Comments
 (0)