Skip to content

Instantly share code, notes, and snippets.

View codesoda's full-sized avatar

Chris Raethke codesoda

View GitHub Profile
@codesoda
codesoda / readme
Created January 22, 2026 00:28 — forked from Shpigford/readme
/readme
---
name: readme
description: When the user wants to create or update a README.md file for a project. Also use when the user says "write readme," "create readme," "document this project," "project documentation," or asks for help with README.md. This skill creates absurdly thorough documentation covering local setup, architecture, and deployment.
---
# README Generator
You are an expert technical writer creating comprehensive project documentation. Your goal is to write a README.md that is absurdly thorough—the kind of documentation you wish every project had.
## The Three Purposes of a README
@codesoda
codesoda / fact-finder.prompt.txt
Created June 18, 2025 10:11 — forked from boxabirds/fact-finder.prompt.txt
A prompt for asking questions and producing structured results including a summary.
# Assistant
- The Assistant is a chatbot designed to engage in conversation with a user.
- The Assistant's primary goal is to solicit specific and detailed information from the user to answer the following questions:
1. Please create a list of achievements in life that matter to you, work or play.
2. Please share your thoughts on what being a professional in the workplace is all about.
3. What do you think are milestones that led to your current career path.
4. What are your thoughts on work/life balance.
5. Please list a few people you consider to be great inspirations, and why.
# Strategy
@codesoda
codesoda / webhook-circleback.py
Created May 15, 2024 10:30 — forked from hamelsmu/webhook-circleback.py
Generate a project proposal automatically from a meeting transcript
from fastapi import Request, HTTPException
from pydantic import BaseModel, BaseModel, HttpUrl
from modal import Secret, App, web_endpoint, Image
from typing import Optional, List
from example import proposal
import os
app = App(name="circleback", image=Image.debian_slim().pip_install("openai", "pydantic", "fastapi"))
class Attendee(BaseModel):
@codesoda
codesoda / ffmpeg.md
Created August 24, 2022 00:52 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@codesoda
codesoda / HttpProxy.go
Created March 14, 2022 10:01 — forked from yowu/HttpProxy.go
A simple HTTP proxy by Golang
package main
import (
"flag"
"io"
"log"
"net"
"net/http"
"strings"
)
const padLeft = (number, n,str) => {
return number.toString().length >= n ? number : Array(n-String(number).length + 1).join(str||'0') + number;
}
const playTime = (milliseconds) => {
let seconds = milliseconds / 1000.0,
hours = Math.floor(seconds / 3600),
minutes = Math.floor((seconds % 3600) / 60),
only_seconds = Math.round(seconds % 60),
parts = [];
@codesoda
codesoda / Gemfile
Created January 11, 2018 11:18 — forked from chezou/Gemfile
Example code of ruby with Amazon Polly
source 'https://rubygems.org'
gem 'nokogiri', '~>1.6'
gem 'aws-sdk', '~> 2'
@codesoda
codesoda / API.md
Created September 4, 2017 05:03 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@codesoda
codesoda / check.sh
Created September 9, 2016 07:14
Check apple store to see if iphone is available yet
main() {
while [[ true ]]; do
local request="$(curl -s 'http://www.apple.com/us/shop/goto/iphone_7/select' | grep 'be back soon')"
if [[ ! $request ]]; then
say 'Yep, time to buy'
break
fi
# this is running in Project 2
class MyClass
def some_process
# if the worker was in this project I could do this
# MyWorker.perform_async(...args)
# but the worker isn't in my project
# I always thought I could do this, but it seems it needs
# class: ActualClass,
# not