Nov17

Using This Template

This is a GitHub template repository for a code experimentation workspace with a built-in portfolio site.

Quick Start (After Creating from Template)

Using Python (works on all platforms):

python3 setup.py

Using Bash (Mac/Linux):

./setup.sh

The script will:

Option 2: Manual Setup

If you prefer to configure manually:

  1. Update docs/index.html (around line 495-497):
    const GITHUB_USER = 'your-username';
    const REPO_NAME = 'your-repo-name';
    
  2. Update README.md:
    • Replace all instances of https://kody-w.github.io/Nov17/ with your URL
  3. Update docs/README.md:
    • Replace all instances of https://kody-w.github.io/Nov17/ with your URL
  4. Update docs/DEPLOYMENT.md:
    • Replace all instances of https://kody-w.github.io/Nov17/ with your URL
    • Update the GitHub username and repo name examples

Enable GitHub Pages

After configuration:

  1. Go to your repository SettingsPages
  2. Under “Build and deployment”:
    • Source: Deploy from a branch
    • Branch: main
    • Folder: /docs
  3. Click Save

Your site will be live at: https://YOUR_USERNAME.github.io/YOUR_REPO/

What You Get

Directory Structure

.
├── experiments/     # Completed experiments with documentation
├── sandbox/         # Temporary testing area (git-ignored)
├── utils/           # Reusable utilities (timer, logger, quick_test)
├── templates/       # Quick-start templates for common tasks
├── docs/            # GitHub Pages portfolio site
└── .github/         # Workspace configuration

Utilities Included

Templates Included

Portfolio Features

Using the Workspace

1. Create an Experiment

Work in the sandbox/ directory first:

cd sandbox
# Create and test your code
python my_experiment.py

2. Use Utilities

from utils.timer import timer, Timer

@timer
def my_function():
    # your code here
    pass

# Or use context manager
with Timer("My operation"):
    # your code here
    pass

3. Move to Portfolio

When your experiment is complete:

mv sandbox/my_experiment.py experiments/2025-11-20_my_experiment.py

Add a docstring or comment at the top to describe what it does:

"""
Brief description of what this experiment does
"""
# or
# Brief description of what this experiment does

4. Portfolio Auto-Updates

Commit and push - the portfolio automatically:

No manual updates needed!

File Naming Convention

Use date-prefixed names for experiments:

This keeps experiments organized chronologically.

Customization

Change Colors

Edit CSS variables in docs/index.html:

:root {
    --primary-blue: #0078d4;
    --teal-accent: #40e0d0;
    /* ... customize other colors ... */
}

Update About Section

Edit the About section content in docs/index.html to describe your focus areas.

Add Custom Utilities

  1. Create new utility in utils/
  2. Add documentation to README.md
  3. Update the Utilities section in docs/index.html

Tips for Success

Getting Help

Cleanup

After setup, you can optionally:


Happy experimenting! 🚀