Skip to content

Instantly share code, notes, and snippets.

View MrJarnould's full-sized avatar

Jacob Arnould MrJarnould

View GitHub Profile
@mberman84
mberman84 / oc.md
Created February 16, 2026 19:42
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)

@keerah
keerah / awquery.py
Last active February 9, 2026 23:38
ActivityWatch python script to query work apps usage/time track
# Script that computes how many hours was spent in a regex-specified "work" category for each day in a given time span.
# By Keerah.com, based on ActivityWatch example
# Output:
# Daily table with time and apps list sorted by the app usage
# App table by usage for entire period
# Verification of matches to make sure you measured nothing except the real work
# If you are getting unrelated matches you need to tighten your regex criteria
#
# To use it in Obsidian:
# Get Excecute Code extension for Obsidian
@0xc1c4da
0xc1c4da / lmql_babyagi.py
Created August 19, 2023 11:27
Basic BabyAGI Implementation in LMQL
import lmql
from dataclasses import dataclass
from typing import List
# Data Structures
@dataclass
class Task:
task: str
# result: str
@jcxia43
jcxia43 / monaco-editor-for-function-call.js
Last active July 18, 2024 17:54
Add the OpenAI function call schema validation to monaco-editor
// OpenAI function call guide: https://platform.openai.com/docs/guides/gpt/function-calling
// JSON Schema reference: https://json-schema.org/understanding-json-schema/
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
validate: true,
schemas: [
{
uri: "http://myserver/foo-schema.json",
fileMatch: ["*"],
schema: {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mfehrenbach
mfehrenbach / chrome-device-dimensions.md
Last active February 13, 2026 13:28
Modern device dimensions for Chrome DevTools.

Modern Device Dimensions for Chrome DevTools

These are modern “Emulated Devices” (a.k.a. responsive dimensions) for Chrome DevTools’ Mobile Device Viewport Mode.

They are specifically Apple devices, subtracting for recent Safari UI (as in window.innerWidth/Height), and cleverly sorted with some dark-arts unicode shenanigans. (This glitchy, unloved portion of the tools sorts lexicographically, because of course it would.) Ergonomics!

 

Note

Updated June 2025 with some notes from folks below! TL;DR: use Vibranium!

@0xdevalias
0xdevalias / chatgpt-api-export.md
Last active July 30, 2025 05:09
Exploring ChatGPT API's for exporting all history as markdown, etc.
@jdesrosiers
jdesrosiers / schema.json
Created June 26, 2022 21:52
Customizable refactor of draft-07 meta-schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/my-custom-draft-07/schema#",
"title": "Core schema meta-schema",
"allOf": [{ "$ref": "#/definitions/schema" }],
"$comment": "Add constraints here that should only apply to root schemas and not sub-schemas",
"definitions": {
"schema": {
@Pezmc
Pezmc / fake-scan-automator.sh
Last active September 30, 2024 02:59 — forked from andyrbell/scanner.sh
Make a pdf look scanned with macOS automator as a quick action
#!/bin/bash
# This script takes a PDF or list of PDFs and outputs a file(s)
# named <file>_scanned.pdf that looks like it has been scanned
#
# Requires imagemagic and popper to be installed (brew install imagemagick poppler)
#
# Accepts: a list of files
# Usage: ./<scriptfilename> pdf1.pdf pdf2.pdf
#
# To use as a macOS automator quick action you need to:
@syncom
syncom / mutt-with-gmail-gpg-macosx.md
Last active January 30, 2025 05:47
Configure Mutt to work with Gmail + GPG on MacOS X and Linux

Mutt (or NeoMutt) with Gmail and GPG, Mutiple Accounts

This note describes how to set up the Mutt or NeoMutt email client to work for Gmail and GnuPG, for two Gmail accounts. The method can be trivially extended to more than two accounts. The configuration should work for both macOS and Linux.

Software versions