Skip to content

pull request 9/12 website #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 77 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
e258806
commiting index.md --> adding moving image and text
zoeqinhe Aug 30, 2024
0e7b3a7
Changed style to cayman
zoeqinhe Sep 1, 2024
b2d2d94
Commiting all changes to website 9/5
zoeqinhe Sep 5, 2024
2abde1f
Committing all 9/5 (mario animation)
zoeqinhe Sep 5, 2024
e5945f9
Mario functions 9/5
zoeqinhe Sep 6, 2024
1855987
Made the dropdown menu
zoeqinhe Sep 6, 2024
7bfef1a
Made the dropdown menu
zoeqinhe Sep 6, 2024
130a68e
added cat picture
zoeqinhe Sep 6, 2024
1421f6e
commit all 9/8
zoeqinhe Sep 9, 2024
2f9e502
cleaning up about page and buttons 9/9
zoeqinhe Sep 9, 2024
da92129
picture gallery on about.md 9/10
zoeqinhe Sep 10, 2024
b2f26c4
notebook 9/12
zoeqinhe Sep 12, 2024
e54c584
toggle
zoeqinhe Sep 13, 2024
0bbfc6a
changed color to purple 9/16
zoeqinhe Sep 16, 2024
975cb03
cookie and music added 9/17
zoeqinhe Sep 17, 2024
a413e81
sound effects added to cookie clicker
zoeqinhe Sep 17, 2024
fec8d17
9/18 commit
zoeqinhe Sep 18, 2024
411f6f2
added reflection page and stars to the titles
zoeqinhe Sep 19, 2024
84bc5cd
fixed the javascript notebook 9/19
zoeqinhe Sep 19, 2024
597d2ba
embedded another spotify playlist
zoeqinhe Sep 23, 2024
c3ea756
changed home page desc to class of 2026
zoeqinhe Sep 23, 2024
41da96f
HACKS
zoeqinhe Oct 8, 2024
c1d6ada
hakcs
zoeqinhe Oct 15, 2024
92966b4
Hacks commit 10/15
zoeqinhe Oct 16, 2024
7235557
try again
zoeqinhe Oct 16, 2024
794ffc6
addded hwk button
zoeqinhe Oct 16, 2024
8d41484
test
zoeqinhe Nov 4, 2024
94e7370
hth
zoeqinhe Nov 7, 2024
06f1e66
commit
zoeqinhe Nov 12, 2024
93c8487
SPRINT 3 REF
zoeqinhe Nov 19, 2024
a0cffa7
SDA
zoeqinhe Dec 11, 2024
e5b522c
tyh
zoeqinhe Dec 11, 2024
a28ed25
student panel information page
zoeqinhe Jan 14, 2025
93f0375
test
zoeqinhe Jan 15, 2025
58efa44
test
zoeqinhe Jan 15, 2025
42a6b4e
test
zoeqinhe Jan 15, 2025
766e575
Update jekyll-gh-pages.yml
zoeqinhe Jan 16, 2025
3ae8e94
Update jekyll-gh-pages.yml 2
zoeqinhe Jan 16, 2025
858c4e6
updated jekyll-gh-pages.yml from portfolio_2025
ZoeQHe Jan 16, 2025
7107cef
test
ZoeQHe Jan 21, 2025
b6bdf73
test
ZoeQHe Jan 21, 2025
7348f6c
test
ZoeQHe Jan 21, 2025
1ae1910
test
ZoeQHe Jan 21, 2025
7982a0a
test
ZoeQHe Jan 21, 2025
472d7bf
test
ZoeQHe Jan 21, 2025
5613008
c
ZoeQHe Jan 24, 2025
98414d6
s
ZoeQHe Mar 5, 2025
25421db
test for all
ZoeQHe Mar 12, 2025
db57768
Create jekyll.yml
zoeqinhe Mar 14, 2025
07790b4
test
ZoeQHe Mar 14, 2025
3bcf8f7
Update jekyll-gh-pages.yml
zoeqinhe Mar 14, 2025
2da5d2c
Update _config.yml
zoeqinhe Mar 14, 2025
24b7602
test
ZoeQHe Mar 14, 2025
2159bc9
pip install numpy
ZoeQHe Mar 14, 2025
c796a74
venv change
ZoeQHe Mar 14, 2025
ce7b8b8
changed titanic data
ZoeQHe Mar 14, 2025
6fbaa79
pip install flask_restful
ZoeQHe Mar 14, 2025
c2d4949
sprint 7 blog
ZoeQHe Mar 14, 2025
9633113
Added license
ZoeQHe Mar 31, 2025
2050f95
added LICENSE.txt
ZoeQHe Mar 31, 2025
646b9ac
test
ZoeQHe Apr 4, 2025
07b6b29
a
ZoeQHe Apr 4, 2025
6c8e24b
commit all
ZoeQHe Apr 8, 2025
36a2aac
hwk
ZoeQHe Apr 9, 2025
80fb908
cybersequrity panel
ZoeQHe Apr 10, 2025
b6effec
cyber panel
ZoeQHe Apr 10, 2025
c762e78
pictures for cyber panel
ZoeQHe Apr 10, 2025
7c815e6
hwk 7
ZoeQHe Apr 11, 2025
5504214
typo
ZoeQHe Apr 11, 2025
ca82e4a
update all notes
ZoeQHe Apr 23, 2025
89ee831
d
ZoeQHe Apr 23, 2025
a7538bc
cookie
ZoeQHe Apr 23, 2025
a5e249a
c
ZoeQHe Apr 23, 2025
fc2c1cf
dnoe
ZoeQHe Apr 23, 2025
68d7a25
commiit
ZoeQHe Apr 23, 2025
7b54474
h
ZoeQHe Apr 24, 2025
b60b062
j
ZoeQHe Apr 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 21 additions & 12 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Set this to your desired Ruby version
bundler-cache: true
- name: Install Jekyll and dependencies
run: |
gem install bundler
bundle install
- name: Install Python dependencies
run: |
pip install nbconvert
# Add any other necessary package installations here
python -m venv venv # Create virtual environment
source venv/bin/activate # Activate the virtual environment
pip install -r requirements.txt # Install Python packages

- name: Execute conversion script
run: python scripts/convert_notebooks.py
run: |
source venv/bin/activate # Activate virtual environment
python scripts/convert_notebooks.py # Run your Python script
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
run: |
bundle exec jekyll build # Build your Jekyll site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
Expand All @@ -54,4 +63,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
65 changes: 65 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Binary file added Fortune_cookie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2025 Zoe Qinhe

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Configuration, override port with usage: make PORT=4200
PORT ?= 4100
REPO_NAME ?= student_2025
REPO_NAME ?= zoehe_2025
LOG_FILE = /tmp/jekyll$(PORT).log

SHELL = /bin/bash -c
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Nighthawk Pages is a project designed to support students in their Computer Science and Software Engineering education. It offers a wide range of resources including tech talks, code examples, and educational blogs.

GitHub Pages can be customized by the blogger to support computer science learnings as the student works through the pathway of using Javascript, Python/Flask, Java/Spring.
GitHub Pages can be customized by the blogger to support computer science learnings as the student works through the pathway of using Javascript, python/Flask, Java/Spring.

## Student Requirements

Expand Down Expand Up @@ -31,7 +31,7 @@ The Apache license has its roots in Fastpages. Thus, it carries its license for

### Key Features

- **Code Examples**: Provides practical coding examples in JavaScript, including a platformer game, and frontend code for user databases using Python and Java backends.
- **Code Examples**: Provides practical coding examples in JavaScript, including a platformer game, and frontend code for user databases using python and Java backends.
- **Educational Blogs**: Offers instructional content on various topics such as developer tools setup, deployment on AWS, SQL databases, machine learning, and data structures. It utilizes Jupyter Notebooks for interactive lessons and coding challenges.
- **Tools and Integrations**: Features GitHub actions for blog publishing, Utterances for blog commenting, local development support via Makefile and scripts, and styling with the Minima Theme and SASS. It also includes a new integration with GitHub Projects and Issues.

Expand All @@ -55,16 +55,16 @@ The absolutes in setup up...
**Update `_config.yml`**: You need to modify the `_config.yml` file to reflect your repository's name. This configuration is crucial because it ensures that your project's styling is correctly applied, making your deployed site look as intended rather than unstyled or broken.

```text
github_repo: "student_2025"
baseurl: "/student_2025"
github_repo: "zoehe_2025"
baseurl: "/zoehe_2025"
```

**Set Repository Name in Makefile**: Adjust the `REPO_NAME` variable in your Makefile to match your GitHub repository's name. This action facilitates the automatic updating of posts and notebooks on your local development server, improving the development process.

```make
# Configuration, override port with usage: make PORT=4200
PORT ?= 4100
REPO_NAME ?= student_2025
REPO_NAME ?= zoehe_2025
LOG_FILE = /tmp/jekyll$(PORT).log
```

Expand All @@ -88,8 +88,8 @@ Quick start. A quick start below is a reminder, but is dependent on your knowle
Run these commands to obtain the project, then locate into the project directory with the terminal, install an extensive set of tools, and make.

```bash
git clone <this-repo> # git clone https://github.com/nighthawkcoders/student_2025.git
cd <repo-dir>/scripts # cd student_2025
git clone <this-repo> # git clone https://github.com/nighthawkcoders/zoehe_2025.git
cd <repo-dir>/scripts # cd zoehe_2025
```

#### Windows WSL and/or Ubuntu Users
Expand Down Expand Up @@ -132,7 +132,7 @@ Start the preview server in the terminal,
The terminal output from `make` shows the server address. "Cmd" or "Ctl" click the http location to open the preview server in a browser. Here is an example Server address message, click on the Server address to load:...

```text
http://0.0.0.0:4100/student_2025/
http://0.0.0.0:4100/zoehe_2025/
```

### Regeneration of web application
Expand All @@ -146,7 +146,7 @@ Save on ".ipynb" or ".md" file activiates "regeneration". An example terminal me

### Other "make" commands

Terminal messages are generated from background processes. At any time, click return or enter in a terminal window to obtain a prompt. Once you have the prompt you can use the terminal as needed for other tasks. Always return to the root of project `cd ~/vscode/student_2025` for all "make" actions.
Terminal messages are generated from background processes. At any time, click return or enter in a terminal window to obtain a prompt. Once you have the prompt you can use the terminal as needed for other tasks. Always return to the root of project `cd ~/vscode/zoehe_2025` for all "make" actions.

#### Stop the preview server

Expand Down Expand Up @@ -245,7 +245,7 @@ In the front matter, you can also define things like a title and description for
toc: true
comments: true
layout: post
title: Jupyter Python Sample
title: Jupyter python Sample
description: Example Blog!!! This shows code and notes from hacks.
type: ccc
courses: { csa: {week: 5} }
Expand Down
14 changes: 7 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Nighthawk Pages
description: "Class of 2025"
owner_name: John Mortensen
github_username: nighthawkcoders
github_repo: "student_2025"
baseurl: "/student_2025"
owner_name: Zoe He
github_username: zoeqinhe
github_repo: "zoehe_2025"
baseurl: "/zoehe_2025"
future: true
remote_theme: jekyll/minima
minima:
Expand All @@ -13,14 +13,14 @@ minima:
- { platform: x, user_url: "https://x.com/NighthawkCoding/" }
- { platform: youtube, user_url: "https://www.youtube.com/@nighthawkcodingsociety2868" }
# remote_theme: pages-themes/[email protected]
# remote_theme: pages-themes/[email protected]
# remote_theme: pages-themes/[email protected]
# remote_theme: pages-themes/[email protected]
remote_theme: pages-themes/[email protected]
# remote_theme: pages-themes/[email protected]
plugins:
- jekyll-remote-theme
header_pages:
- navigation/kasm.md
- navigation/blog.md
- navigation/search.md
- navigation/about.md
- README4YML.md
- navigation/logintoolkit.md
65 changes: 65 additions & 0 deletions _data/mario_metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Metadata to describe animations in sprite file images/mario_animations.png
- Rest:
row: 0
col: 0
frames: 15
- RestL:
row: 1
col: 0
frames: 15
- Walk:
row: 2
col: 0
frames: 8
- Tada:
row: 2
col: 11
frames: 3
- WalkL:
row: 3
col: 0
frames: 8
- TadaL:
row: 3
col: 11
frames: 3
- Run1:
row: 4
col: 0
frames: 15
- Run1L:
row: 5
col: 0
frames: 15
- Run2:
row: 6
col: 0
frames: 15
- Run2L:
row: 7
col: 0
frames: 15
- Puff:
row: 8
col: 0
frames: 15
- PuffL:
row: 9
col: 0
frames: 15
- Cheer:
row: 10
col: 0
frames: 15
- CheerL:
row: 11
col: 0
frames: 15
- Flip:
row: 12
col: 0
frames: 15
- FlipL:
row: 13
col: 0
frames: 15
10 changes: 9 additions & 1 deletion _includes/utterances.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@
theme="github-light"
crossorigin="anonymous"
async>
</script>
</script>
<script src="https://utteranc.es/client.js"
repo="nighthawkcoders/portfolio_2025"
issue-term="title"
label="blogpost-comment"
theme="github-light"
crossorigin="anonymous"
async>
</script>
Loading