Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.
CS183: Startup—Notes Essay—The Challenge of the Future
Purpose and Preamble
Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.
CS183: Startup—Notes Essay—The Challenge of the Future
Purpose and Preamble
Main URL: fip.fr
Wikipedia: en.wikipedia.org/wiki/FIP_(radio_station)
Mobile apps: Android / iOS
Direct streams for your listening pleasure
| # Import required packages | |
| from dotenv import load_dotenv # For managing environment variables | |
| from html2text import html2text # For HTML to markdown conversion | |
| from readability import Document # For summarizing HTML content | |
| from typing import List # For type hinting | |
| import json # For JSON parsing | |
| import logging # For logging errors | |
| import openai # OpenAI GPT API | |
| import os # For OS-level operations | |
| import requests # For HTTP requests |
| name: Claude PR Assistant | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| issues: | |
| types: [opened, assigned] | |
| pull_request_review: |
| You are a security robot. Your job is to observe and report any activity. Specifically, notice the people and what they are doing. | |
| Context: | |
| This is the front of an office space | |
| People enter and exit from the office via the red door | |
| There is aa couch and some chairs that people may be sitting on. There is also a snack area, and an area with equipment. right of the image. | |
| Return JSON. | |
| { |
| services: | |
| anthropic-demo: | |
| image: ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest | |
| environment: | |
| ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY} # Use environment variable | |
| volumes: | |
| - ./config:/home/computeruse/.anthropic # Bind mount for the volume | |
| ports: |
| import time | |
| import requests | |
| import json | |
| class DownloadStationAPI(): | |
| def __init__(self, host=None, username=None, password=None): | |
| self.name = 'DownloadStation' |
| { | |
| "basics": { | |
| "name": "Harper Reed", | |
| "email": "harper+resume@modest.com", | |
| "image": "https://harperreed.com/avatar", | |
| "profiles": [ | |
| { | |
| "network": "twitter", | |
| "username": "harper", | |
| "url": "https://X.com/harper" |
| llm = "!f() { \ | |
| if git diff --quiet $1; then \ | |
| echo \"No changes to commit. Aborting.\"; \ | |
| else \ | |
| commit_msg=$(git diff $1 | llm -s \"$(cat ~/.config/prompts/commit-system-prompt.txt)\"); \ | |
| echo \"Commit message:\n$commit_msg\"; \ | |
| read -p \"Do you want to commit with this message? [y/N] \" confirm; \ | |
| if [[ $confirm =~ ^[Yy]$ ]]; then \ | |
| git commit -m \"$commit_msg\"; \ | |
| else \ |