Skip to content

Commit 7166b9e

Browse files
added most of the old materials
1 parent 324fffc commit 7166b9e

308 files changed

Lines changed: 51957 additions & 14 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.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# for the Mac
2+
.DS_Store
3+
14
# Byte-compiled / optimized / DLL files
25
__pycache__/
36
*.py[cod]

build_gh_pages.sh

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/bin/bash
2+
3+
# simple script to build and push to gh-pages
4+
# designed to be run from master
5+
6+
# this version used a separate copy of the repo in a parallel dir
7+
# to keep the gh-pages branch nicely separate from the main branch.
8+
# this makes it easier to have the index.html in the root dir
9+
# -- to be nicely served by gh-pages
10+
11+
12+
GHPAGESDIR=../Python210CourseMaterials.gh-pages
13+
14+
# make sure gh-pages dir is there -- exit if not
15+
if [ ! -d $GHPAGESDIR ]; then
16+
echo "To build the gitHub pages, you must first create a parallel repo: $GHPAGESDIR"
17+
exit
18+
fi
19+
20+
if [ ! -d $GHPAGESDIR/.git ]; then
21+
echo "To build the gitHub pages, you must first create a parallel repo: $GHPAGESDIR"
22+
echo "It must be a git repo -- do a new git clone"
23+
exit
24+
fi
25+
26+
# make sure that the main branch is pushed, so that pages are in sync with master
27+
git push
28+
29+
# make sure the gh pages repo is there and in the right branch
30+
pushd $GHPAGESDIR
31+
git checkout gh-pages
32+
popd
33+
34+
# make the docs
35+
make html
36+
# copy to other repo (on the gh-pages branch)
37+
cp -fR build/html/* $GHPAGESDIR
38+
39+
pushd $GHPAGESDIR
40+
git add . # in case there are new files added
41+
git commit -a -m "updating rendered materials"
42+
git branch -u origin/gh-pages # make sure we're tracking origin
43+
git pull -s ours --no-edit # gotta pull before push.. yet maintain local updates
44+
git push
45+
popd
46+
47+
echo "Now verify the render on github.io at the following link:"
48+
echo "https://uwpce-pythoncert.github.io/Python210CourseMaterials/"
49+

canvas_api/canvas_api_notes.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Canvas API notes:
2+
3+
A few notes / links on how to work with Canvas via programming.
4+
5+
6+
7+
How to embed arbitrary html:
8+
9+
https://community.canvaslms.com/thread/3792
10+
11+
API intro / tutorial:
12+
13+
https://community.canvaslms.com/docs/DOC-14390-canvas-apis-getting-started-the-practical-ins-and-outs-gotchas-tips-and-tricks
14+
15+
Python Module for working with Canvas:
16+
17+
https://github.com/ucfopen/canvasapi
18+

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
sphinx
22
sphinx-rtd-theme
3+
ipython # for ipython code highlighting
4+
5+

source/_static/OPP.0108.gif

8.9 KB

source/_static/big_o.png

96.9 KB
41.8 KB

source/_static/coroutines_plot.png

114 KB

source/_static/dummy

Whitespace-only changes.

source/_static/flags.jpg

129 KB

0 commit comments

Comments
 (0)