Skip to content

Instantly share code, notes, and snippets.

View jph00's full-sized avatar
🦘
roo

Jeremy Howard jph00

🦘
roo
View GitHub Profile
@jph00
jph00 / tmux-launchd.md
Last active August 20, 2025 16:05 — forked from mrbuk/tmux-launchd.md
tmux launchd definition

Place file below in ~/Library/LaunchAgents/tmux.plist.

  • Install using launchctl bootstrap gui/$UID ~/Library/LaunchAgents/tmux.plist
  • Uninstall using launchctl bootout gui/$UID/tmux
  • Restart with launchctl kickstart gui/$UID/tmux
@jph00
jph00 / llmslop.md
Last active August 15, 2025 18:31
LLM signs, based on wikipedia

This is a list of phrases and formatting conventions typical of AI chatbots with real examples.

Language and tone

Undue emphasis on symbolism and importance

Words to watch: is/stands as/serves as a testament, plays a vital/significant role, underscores its importance, continues to captivate, leaves a lasting impact, watershed moment, key turning point, deeply rooted, profound heritage, steadfast dedication, stands as a, solidifies ...

LLM writing often puffs up the importance of the subject matter with reminders that it represents or contributes to a broader topic. There seems to be only a small repertoire of ways that it writes these reminders, so if they are otherwise appropriate it would be best to reword them anyway.

@jph00
jph00 / read_url.py
Last active June 9, 2025 22:07
Sample for import_gist
from httpx import get as xget
def read_url(url:str):
"Reads a url"
return xget(url, follow_redirects=True).text
@jph00
jph00 / aider-results.md
Last active June 11, 2025 02:50
Aider evals
Model % correct Cost Time per case
gemini-2.5-pro-preview-06-05 (32k think) 83.1% $49.88 200.3s
o3 (high) + gpt-4.1 82.7% ? 110.0s
o3 (high) 79.6% $22.20 113.8s
gemini-2.5-pro-preview-06-05 (default think) 79.1% $45.60 175.2s
Gemini 2.5 Pro Preview 05-06 76.9% $37.41 165.3s
Gemini 2.5 Pro Preview 03-25 72.9% $0.00 45.3s
claude-opus-4-20250514 (32k thinking) 72.0% $65.75 44.1s
o4-mini (high) 72.0% $19.64 176.5s
@jph00
jph00 / lesson4-2019-nlp.md
Last active June 8, 2025 21:20
Partial transcript of Lesson 4: Deep Learning 2019 - NLP; Tabular data; Collaborative filtering; Embeddings

(A cleaned up transcription of this video section.)

Introduction to ULMFiT

The problem we'll solve

This series of three steps here is what we're going to start by digging into. We're going to start out with a movie review like this one and decide whether it's positive or negative sentiment about the movie. That is the problem we have.

image

@jph00
jph00 / importtest.py
Last active June 29, 2025 02:43
Gist import test file
"This is a test module which makes some simple tools available."
__all__ = ["hi","whoami"]
testfoo='testbar'
def hi(
who:str # who to say hi to
):
"Say hi to `who`"
return f"Hello {who}"
@jph00
jph00 / example.py
Created February 27, 2025 01:18
My first gist via API
print('Hello from GitHub API!')

Organizing FastHTML Applications Across Multiple Files

Let's explore two main approaches to splitting FastHTML applications into multiple files: using Mount and using APIRouter. I'll explain the pros and cons of each and provide practical examples.

1. Using Mount - The "Mini-Apps" Approach

Mount is ideal when you want to create semi-independent sub-applications that could potentially be reused across different projects. Think of these as "mini-apps" that handle specific features.

# blog/routes.py
@jph00
jph00 / example.py
Created February 5, 2025 05:09
My first gist via API
print('Hello from GitHub API!')
@jph00
jph00 / suapi.md
Last active December 5, 2024 00:56
GCP Service Usage API

Service Usage API

  • On this page
  • Service: serviceusage.googleapis.com
    • Discovery document
    • Service endpoint
  • REST Resource: v2alpha
  • REST Resource: v2alpha.categories.categoryServices
  • REST Resource: v2alpha.consumerPolicies
  • REST Resource: v2alpha.operations