Skip to content

Instantly share code, notes, and snippets.

View stevebrownlee's full-sized avatar
🦁
Ready to roar

Steve Brownlee stevebrownlee

🦁
Ready to roar
View GitHub Profile
@stevebrownlee
stevebrownlee / scenario.md
Created October 21, 2025 23:55
Mock interview scenario

Mock Interview Scenario: React Component Design

Context

You're building a simple task management feature for a productivity app. Users should be able to view tasks, mark them as complete, and add new tasks.

Your Task

Design and plan the implementation for three React components using TypeScript:

@stevebrownlee
stevebrownlee / example.tsx
Last active October 21, 2025 23:52
React component design using TypeScript
import React, { useState } from 'react';
// Types/Interfaces
interface Task {
id: string;
title: string;
completed: boolean;
}
interface TaskItemProps {
@stevebrownlee
stevebrownlee / XUNIT_AUTH.md
Created September 25, 2025 14:39
Xunit Tests with authentication

Integration Tests with Cookie Authentication and Role Authorization

Overview

Setting up integration tests for your .NET minimal API with Identity Framework cookie authentication requires creating a test server, seeding test users with appropriate roles, and authenticating requests in your tests.

1. Test Project Setup

First, ensure your test project has the necessary packages:

@stevebrownlee
stevebrownlee / CS_DEGREE.md
Created September 23, 2025 18:01
overview of CS degrees
Course Name Concepts Covered Year Covered Prerequisites
Introduction to Programming Programming fundamentals, variables, control structures, functions, basic problem solving, introduction to a programming language (Python/Java) Year 1, Fall None (entry-level course)
Object-Oriented Programming Classes, objects, inheritance, polymorphism, encapsulation, abstract data types, basic data structures (arrays, lists) Year 1, Spring Introduction to Programming
Discrete Mathematics Logic, sets, functions, relations, graph theory, combinatorics, mathematical induction, proof techniques Year 1-2 Calculus I (may be concurrent)
Data Structures & Algorithms Big O notation, time/space complexity, linked lists, stacks, queues, trees, hash tables, sorting algorithms, searching algorithms Year 2, Spring Object-Oriented Programming, Discrete Mathematics
Computer Architecture Assembly la
@stevebrownlee
stevebrownlee / DASHBOARD.md
Created August 28, 2025 18:03
Context engineering competition one

Section 1 Project: Personal Dashboard Builder

Project Overview

Teams will build a simple personal dashboard web application using Cursor IDE and GPT 4.1. This project is designed to demonstrate the critical importance of context in AI-assisted development.

Learning Objectives

  • Practice prompt engineering fundamentals
  • Get comfortable with Cursor IDE features
  • Understand LLM capabilities and limitations
@stevebrownlee
stevebrownlee / rooflow.sh
Last active September 30, 2025 15:59
Bash function for setting up RooFlow and Conport
rooflow() {
curl -L -o install_rooflow.sh https://raw.githubusercontent.com/GreatScottyMac/RooFlow/main/config/install_rooflow.sh
chmod +x install_rooflow.sh
./install_rooflow.sh
rm install_rooflow.sh
rm generate_mcp_yaml.py
echo '
.roo/
.roomodes
context_portal/
@stevebrownlee
stevebrownlee / CANDYSHOP.md
Created August 7, 2025 14:09
C# inheritance workshop requirements

C# Candy Shop Workshop - Requirements Document

Project Overview

Build a console application for a candy shop that demonstrates object-oriented programming concepts through inheritance and composition patterns.

Business Requirements

Candy Inventory System

  • The shop sells different types of candy: chocolates, gummies, and hard candies
@stevebrownlee
stevebrownlee / space-constant.js
Created July 21, 2025 21:00
Basic space/time complexity implementations
// Exercise 4: O(1) Space - Constant Memory
// Finding the largest number WITHOUT creating new arrays
// Test data
const small = [3, 1, 4, 1, 5, 9, 2];
const medium = Array.from({length: 100}, () => Math.floor(Math.random() * 1000));
const large = Array.from({length: 10000}, () => Math.floor(Math.random() * 1000));
// O(1) space function - only uses a few variables
function findLargest(arr) {
@stevebrownlee
stevebrownlee / AI.md
Last active September 10, 2025 11:44
Outline of agentic AI and generative AI toolset
@stevebrownlee
stevebrownlee / LEARNING_PLATFORM_DEVELOPMENT.md
Last active October 9, 2025 18:41
Outline for testing and debugging large scale codebase

Exploring a Large Codebase

Week 1: Docker Containers and API Testing Introduction

Overall Goals

  • Get students comfortable with Docker containers as a development environment
  • Introduce the concept of unit testing in the context of APIs
  • Teach the fundamentals of mocking in unit tests
  • Integrating agentic AI to help with code generation and testing
  • Have students write their first unit tests for the learn-ops-api