Skip to content

Instantly share code, notes, and snippets.

View mikelaaron's full-sized avatar

Michael Aaron mikelaaron

View GitHub Profile
@seanoliver
seanoliver / dailyqueries.edn
Created October 4, 2022 17:26
Logseq Daily Journal Queries
:default-queries
{:journals
[{:title "🔨 NOW"
:query [:find (pull ?h [*])
:where
[?h :block/marker ?marker]
[(contains? #{"NOW" "DOING"} ?marker)]]
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/priority "Z")) result))
@levelsio
levelsio / gist:5bc87fd1b1ffbf4a705047bebd9b4790
Last active January 9, 2026 15:38
Secret of Monkey Island: Amsterdam (by @levelsio) or how to create your own ChatGPT image+text-based adventure game
# 2023-11-27 MIT LICENSE
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com.
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town.
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same!
Send me your ChatGPT text adventure game on X, I'd love to try it!
@Madhav-MKNC
Madhav-MKNC / coding-agent.py
Last active August 23, 2025 10:42
All the code you need to create a powerful agent that can create and edit any file on your computer using the new text_editor tool in the Anthropic API.
import anthropic
import os
import sys
from termcolor import colored
from dotenv import load_dotenv
class ClaudeAgent:
def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000):
"""Initialize the Claude agent with API key and model."""
@mikelaaron
mikelaaron / git-status-all.sh
Last active January 27, 2026 04:00
Bash script to check git status across all repos in a folder at once. Shows uncommitted changes, untracked files, commits to push/pull, and sync status. Run gitstatus from anywhere.
#!/bin/bash
# Git Status Overview for All Repos
#
# After saving this file, run these commands to set it up:
# chmod +x /path/to/git-status-all.sh
# echo 'alias gitstatus="/path/to/git-status-all.sh /your/projects/folder"' >> ~/.zshrc
# source ~/.zshrc
BOLD='\033[1m' RED='\033[0;31m' GREEN='\033[0;32m'