From 241bf5dd4965acfc365922e0c6efac27368f339e Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Tue, 25 Jan 2022 18:02:28 +0000 Subject: [PATCH 01/23] Setting up GitHub Classroom Feedback From 75e1dab0c8ecb6303e393a9ff99e0cb44ddb81ea Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Tue, 25 Jan 2022 13:18:05 -0500 Subject: [PATCH 02/23] day 1 kwl update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31be144..72ef48b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ | Topic | Know | Want to Know | Learned | | ------| ------- | ------ | ------- | -| Git | _ | _ | _ | +| Git | dfgdfagdfh | _ | _ | | GitHub | _ | _ | _ | | Terminal | _ | _ | _ | | IDE | _ | _ | _ | From 26db0a52bb9f761365f90ad3eb167865a461dc16 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Tue, 25 Jan 2022 13:19:32 -0500 Subject: [PATCH 03/23] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 72ef48b..bf93e93 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ | Topic | Know | Want to Know | Learned | | ------| ------- | ------ | ------- | | Git | dfgdfagdfh | _ | _ | -| GitHub | _ | _ | _ | +| GitHub | sdfsd | _ | _ | | Terminal | _ | _ | _ | | IDE | _ | _ | _ | | text editors | _ | _ | _ | From 4505b01e8f70de238f5abf06ef08289818a34885 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Tue, 25 Jan 2022 13:23:48 -0500 Subject: [PATCH 04/23] add name --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bf93e93..23e372e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # KWL Chart +Sarah Brown From e9c08c111e2a08e8a3866032e2d5a4b4389c5199 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Tue, 25 Jan 2022 13:29:10 -0500 Subject: [PATCH 05/23] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 23e372e..28ff1ed 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Sarah Brown | Topic | Know | Want to Know | Learned | | ------| ------- | ------ | ------- | | Git | dfgdfagdfh | _ | _ | -| GitHub | sdfsd | _ | _ | +| GitHub | sdsd | _ | _ | | Terminal | _ | _ | _ | | IDE | _ | _ | _ | | text editors | _ | _ | _ | From 6c9bb4c673a3f74fb5ebcf107014b6bef0feee42 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:04:12 -0400 Subject: [PATCH 06/23] Rename README.md to chart.md --- README.md => chart.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README.md => chart.md (100%) diff --git a/README.md b/chart.md similarity index 100% rename from README.md rename to chart.md From d63211c12162e03564235ac0b2b925d0618848d0 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:04:33 -0400 Subject: [PATCH 07/23] Create README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..339b2ca --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# kwl-chart-brownsarahm +kwl-chart-brownsarahm created by GitHub Classroom + + +example for demoing in class From 2f2068c255adea0ea413f6c121d1953447d4d35e Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:05:45 -0400 Subject: [PATCH 08/23] Create toc.yml --- toc.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 toc.yml diff --git a/toc.yml b/toc.yml new file mode 100644 index 0000000..6933ad4 --- /dev/null +++ b/toc.yml @@ -0,0 +1,6 @@ +format: jb-book +root: chart +parts: + - caption: Prepare for class + chapters: + - file: terminal From f859019b348964a78ed99db63a65f795022f00fd Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:06:45 -0400 Subject: [PATCH 09/23] Create terminal.md --- terminal.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 terminal.md diff --git a/terminal.md b/terminal.md new file mode 100644 index 0000000..2e6b810 --- /dev/null +++ b/terminal.md @@ -0,0 +1,5 @@ +# Terminal + +Orgnanziing my download fold was ... + +Using `history` i foudn that i used the follwing commands. From 8bf4690739ebfcb956062878ec4f7e0ae0ae9a40 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:08:02 -0400 Subject: [PATCH 10/23] Create _config.yml --- _config.yml | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..4985d4a --- /dev/null +++ b/_config.yml @@ -0,0 +1,90 @@ +####################################################################################### +# A default configuration that will be loaded for all jupyter books +# Users are expected to override these values in their own `_config.yml` file. +# This is also the "master list" of all allowed keys and values. + +####################################################################################### +# Book settings +title : SP 22 Example KWL # The title of the book. Will be placed in the left navbar. +author : Professor Brown # The author of the book +copyright : "2022" # Copyright year to be placed in the footer +logo : "" # A path to the book logo +# Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb") +exclude_patterns : [_build, Thumbs.db, .DS_Store, "**.ipynb_checkpoints"] +# Auto-exclude files not in the toc +only_build_toc_files : false + +####################################################################################### +# Execution settings +execute: + execute_notebooks : auto # Whether to execute notebooks at build time. Must be one of ("auto", "force", "cache", "off") + cache : "" # A path to the jupyter cache that will be used to store execution artifacts. Defaults to `_build/.jupyter_cache/` + exclude_patterns : [] # A list of patterns to *skip* in execution (e.g. a notebook that takes a really long time) + timeout : 30 # The maximum time (in seconds) each notebook cell is allowed to run. + run_in_temp : false # If `True`, then a temporary directory will be created and used as the command working directory (cwd), + # otherwise the notebook's parent directory will be the cwd. + allow_errors : false # If `False`, when a code cell raises an error the execution is stopped, otherwise all cells are always run. + stderr_output : show # One of 'show', 'remove', 'remove-warn', 'warn', 'error', 'severe' + +####################################################################################### +# Parse and render settings +parse: + myst_enable_extensions: # default extensions to enable in the myst parser. See https://myst-parser.readthedocs.io/en/latest/using/syntax-optional.html + # - amsmath + - colon_fence + # - deflist + - dollarmath + # - html_admonition + # - html_image + - linkify + # - replacements + # - smartquotes + - substitution + - tasklist + myst_url_schemes: [mailto, http, https] # URI schemes that will be recognised as external URLs in Markdown links + myst_dmath_double_inline: true # Allow display math ($$) within an inline context + +####################################################################################### +# HTML-specific settings +html: + favicon : "" # A path to a favicon image + use_edit_page_button : false # Whether to add an "edit this page" button to pages. If `true`, repository information in repository: must be filled in + use_repository_button : false # Whether to add a link to your repository button + use_issues_button : false # Whether to add an "open an issue" button + use_multitoc_numbering : true # Continuous numbering across parts/chapters + extra_navbar : Powered by Jupyter Book # Will be displayed underneath the left navbar. + extra_footer : "" # Will be displayed underneath the footer. + google_analytics_id : "" # A GA id that can be used to track book views. + home_page_in_navbar : true # Whether to include your home page in the left Navigation Bar + baseurl : "" # The base URL where your book will be hosted. Used for creating image previews and social links. e.g.: https://mypage.com/mybook/ + comments: + hypothesis : false + utterances : false + +####################################################################################### +# LaTeX-specific settings +latex: + latex_engine : pdflatex # one of 'pdflatex', 'xelatex' (recommended for unicode), 'luatex', 'platex', 'uplatex' + use_jupyterbook_latex : true # use sphinx-jupyterbook-latex for pdf builds as default + +####################################################################################### +# Launch button settings +launch_buttons: + notebook_interface : classic # The interface interactive links will activate ["classic", "jupyterlab"] + binderhub_url : https://mybinder.org # The URL of the BinderHub (e.g., https://mybinder.org) + jupyterhub_url : "" # The URL of the JupyterHub (e.g., https://datahub.berkeley.edu) + thebe : false # Add a thebe button to pages (requires the repository to run on Binder) + colab_url : "" # The URL of Google Colab (https://colab.research.google.com) + +repository: + url : https://github.com/introcompsys/kwl-chart-brownsarahm/ # The URL to your book's repository + path_to_book : "" # A path to your book's folder, relative to the repository root. + branch : master # Which branch of the repository should be used when creating links + +####################################################################################### +# Advanced and power-user settings +sphinx: + extra_extensions : # A list of extra extensions to load by Sphinx (added to those already used by JB). + local_extensions : # A list of local extensions to load by sphinx specified by "name: path" items + recursive_update : false # A boolean indicating whether to overwrite the Sphinx config (true) or recursively update (false) + config : # key-value pairs to directly over-ride the Sphinx configuration From e5d155dfa1171906a60549c5c2a9a77f6628d3b4 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:08:16 -0400 Subject: [PATCH 11/23] Rename toc.yml to _toc.yml --- toc.yml => _toc.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename toc.yml => _toc.yml (100%) diff --git a/toc.yml b/_toc.yml similarity index 100% rename from toc.yml rename to _toc.yml From 2d8b4b74510566c9dc432998f30f6b8d810a0dd2 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:39:23 -0400 Subject: [PATCH 12/23] Create publish.yml --- .github/workflows/publish.yml | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..6b16da6 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,37 @@ +name: deploy-book + +on: + push: + branches: + - main + + +jobs: + deploy-book: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + # Install dependencies + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + + - name: Install dependencies + run: | + pip install -r requirements.txt + + # Build book + - name: Build the book + run: | + jupyter-book build . --builder pdfhtml + mv _build/pdf/book.pdf _build/html/coursemanual.pdf + jupyter-book build . + + # Push the book's html to github-pages + - name: GitHub Pages action + uses: peaceiris/actions-gh-pages@v3.6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./_build/html From 3bde8461224de9359430ecfc01fd248172f5a41c Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 12:42:30 -0400 Subject: [PATCH 13/23] Create requirements.txt --- requirements.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..953ee62 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,12 @@ +jupyter-book +matplotlib +numpy +pyppeteer +pandas +lxml +seaborn +xlrd +sklearn +keras +sphinx_fontawesome +sphinx_panels From 1f8b519e4ae753b045542e402412daba8a565415 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 28 Apr 2022 14:51:02 -0400 Subject: [PATCH 14/23] Update requirements.txt --- requirements.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 953ee62..345e737 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,9 +4,5 @@ numpy pyppeteer pandas lxml -seaborn -xlrd -sklearn -keras sphinx_fontawesome sphinx_panels From 1f94df17e94d4f0cdd67663d928d38585e5bb7af Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Wed, 4 May 2022 17:09:03 -0400 Subject: [PATCH 15/23] Create checker.yml --- .github/workflows/checker.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/checker.yml diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml new file mode 100644 index 0000000..4a38585 --- /dev/null +++ b/.github/workflows/checker.yml @@ -0,0 +1,20 @@ +on: + milestone: + types: [created] + +jobs: + check-contents: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + # Install dependencies + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + + - name: Install dependencies + run: | + pip install +git:https://github.com/introcompsys/courseutils@main + kwlfilecheck From 4ab93a9a77ebe910672dc31a7d026986144884ff Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Wed, 4 May 2022 17:11:24 -0400 Subject: [PATCH 16/23] add actual cehcking of repo --- .github/workflows/checker.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml index 4a38585..ba993c5 100644 --- a/.github/workflows/checker.yml +++ b/.github/workflows/checker.yml @@ -16,5 +16,10 @@ jobs: - name: Install dependencies run: | - pip install +git:https://github.com/introcompsys/courseutils@main - kwlfilecheck + pip install git+https://github.com/introcompsys/courseutils@main + for file in $(kwlfilechecker) + do + if ! test -f $file; then + echo $file + fi + done From b3bfe594cb96e6487b0aafc124939d1eb63572a4 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Wed, 4 May 2022 17:18:40 -0400 Subject: [PATCH 17/23] split and fix typo --- .github/workflows/checker.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml index ba993c5..7c53b73 100644 --- a/.github/workflows/checker.yml +++ b/.github/workflows/checker.yml @@ -14,10 +14,14 @@ jobs: with: python-version: 3.8 - - name: Install dependencies + - name: Install checker run: | pip install git+https://github.com/introcompsys/courseutils@main - for file in $(kwlfilechecker) + + + - name: Run loop + run: | + for file in $(kwlfilecheck) do if ! test -f $file; then echo $file From cad47ab407a4907ba2437ed1239bd8fff54c0a6b Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Wed, 4 May 2022 18:57:45 -0400 Subject: [PATCH 18/23] call new fx --- .github/workflows/checker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml index 7c53b73..116affb 100644 --- a/.github/workflows/checker.yml +++ b/.github/workflows/checker.yml @@ -19,7 +19,7 @@ jobs: pip install git+https://github.com/introcompsys/courseutils@main - - name: Run loop + - name: Bash version run: | for file in $(kwlfilecheck) do @@ -27,3 +27,6 @@ jobs: echo $file fi done + + - name: Counter + run: kwlfilecount From 8063d0cd8eb37552a8e9000426d1c4daaced2529 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Wed, 4 May 2022 19:21:32 -0400 Subject: [PATCH 19/23] use more versions --- .github/workflows/checker.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml index 116affb..267f5bf 100644 --- a/.github/workflows/checker.yml +++ b/.github/workflows/checker.yml @@ -28,5 +28,9 @@ jobs: fi done - - name: Counter + - name: Counter Prepare only run: kwlfilecount + + + - name: Counter More Practice and prepare + run: kwlfilecount --practice From eed4ee2e2fc3bbf1442041370a95f656b81803c5 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 5 May 2022 18:02:42 -0400 Subject: [PATCH 20/23] make manula --- .github/workflows/checker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml index 267f5bf..cc56010 100644 --- a/.github/workflows/checker.yml +++ b/.github/workflows/checker.yml @@ -1,6 +1,5 @@ on: - milestone: - types: [created] + workflow_dispatch jobs: check-contents: From eee26cc33ea591116d7997da3faa87b0e225b407 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 5 May 2022 20:50:53 -0400 Subject: [PATCH 21/23] add new function --- .github/workflows/checker.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml index cc56010..2b479a0 100644 --- a/.github/workflows/checker.yml +++ b/.github/workflows/checker.yml @@ -33,3 +33,8 @@ jobs: - name: Counter More Practice and prepare run: kwlfilecount --practice + + + + - name: Counter for extra files (eg deeper) + run: kwlextracount From ba01aadbee58c2713d487ec67c8dff1d1dea6fff Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 5 May 2022 20:52:32 -0400 Subject: [PATCH 22/23] Create interesting_topic_expt.md --- interesting_topic_expt.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 interesting_topic_expt.md diff --git a/interesting_topic_expt.md b/interesting_topic_expt.md new file mode 100644 index 0000000..781040c --- /dev/null +++ b/interesting_topic_expt.md @@ -0,0 +1 @@ +a deeper exploration From 7a2cc07e59b1d304db79e7192038e129a98e40a4 Mon Sep 17 00:00:00 2001 From: Sarah Brown Date: Thu, 12 May 2022 15:46:11 -0400 Subject: [PATCH 23/23] Create activity.md --- activity.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 activity.md diff --git a/activity.md b/activity.md new file mode 100644 index 0000000..f08ed5c --- /dev/null +++ b/activity.md @@ -0,0 +1 @@ +as assigned prepare for class 2.