Skip to content

Instantly share code, notes, and snippets.

View stevensyp's full-sized avatar
Focused

Steven Syp stevensyp

Focused
View GitHub Profile
@intellectronica
intellectronica / ArtiGist.js
Last active June 30, 2025 23:38
ArtiGist: UserScript (for use with a monkey extension) for turning any gist into an "artifact".
// ==UserScript==
// @name ArtiGist
// @version 0.5
// @description Launch single-page HTML apps from GitHub Gists.
// @author Eleanor Berger <eleanor@intellectronica.net> with Gemini CLI
// @match https://gist.github.com/*/*
// @match https://gist.githubusercontent.com/*/*
// @grant GM_xmlhttpRequest
// @grant GM_openInTab
// ==/UserScript==
@intellectronica
intellectronica / GEMINI.md
Last active September 16, 2025 06:38
Useful Custom Instructions for ~/.gemini/GEMINI.md

Default Instructions for Gemini CLI

Useful Command-Line Tools

GitHub

  • Use the gh command-line to interact with GitHub.

Markdown

  • Use the glow command-line to present markdown content.
@soitgoes-again
soitgoes-again / aistudio-script.user.js
Last active September 20, 2025 13:51
Google's AI Studio UserScript (TamperMonkey) - Attempt at fixing lag
// ==UserScript==
// @name AI Studio - Advanced Control Suite (History, UI, Lag Fix)
// @namespace http://tampermonkey.net/
// @version 4.0
// @description Advanced control for Google AI Studio: Chat history modes (Exchanges, Vibe), UI Hiding (Sidebars, System Instr.), Input Lag Fix, Dark Theme Popup.
// @author so it goes...again & Gemini
// @match https://aistudio.google.com/*
// @grant GM_addStyle
// @grant GM_setValue
// @grant GM_getValue
@joseph-crowley
joseph-crowley / shadcn.md
Created March 17, 2025 19:58
initial solution for shadcn llms.txt

Below is a compressed yet complete reference for quickly integrating each shadcn component. Assumption: you already have the files from your question in @/components/ui/*.tsx and can import them directly. All components accept typical React props plus any Radix/3rd-party props. Adjust styling and props as needed.Do not rewrite any of the code for the shadcn components.


1. Accordion

Import

import {
  Accordion,
  AccordionItem,
@CurtisAccelerate
CurtisAccelerate / EnableEdit
Created February 15, 2025 21:52
Enable Edit Button
Enabled edit ChatGPT Tamper Monkey
// ==UserScript==
// @name ChatGPT Edit Button Fix
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Force the hidden edit button to be visible on ChatGPT
// @author Your Name
// @match https://chatgpt.com/*
// @grant GM_addStyle
@Chrostolosto
Chrostolosto / ChatGPT Navigation Tool
Created February 12, 2025 11:12
Navigation buttons for faster scrolling through messages and visual separation of text boxes in ChatGPT
// ==UserScript==
// @name ChatGPT Navigation
// @namespace http://tampermonkey.net/
// @version 2.0
// @description Navigation buttons for faster scrolling through messages and visual separation of text boxes
// @author u/Chrostolosto
// @match *://chatgpt.com/*
// @grant none
// ==/UserScript==
@marckohlbrugge
marckohlbrugge / assistant.rb
Created January 12, 2025 22:56
Overview of my LLM-powered prototype. Very rough code.
# Add these gems to your Gemfile
gem "rails" # not strictly needed, but I use ActiveConcern, etc
gem "raix" # helpful gem to reduce code needed for function calling etc
gem "thor" # to make a CLI app (not needed if you make a web app)
gem "http" # my preferred gem to make API calls
# This is the main app (`app/models/ai_chat/cli.rb`)
module AIChat
class Cli
# Thor
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active October 15, 2025 11:39
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
// ==UserScript==
// @name Safari Compatible Script
// @namespace http://example.com/
// @version 0.2
// @description Adds a download button for audio in Safari-compatible way
// @match *://*/*
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_xmlhttpRequest
// ==/UserScript==
@ivanfioravanti
ivanfioravanti / mlx_whisper_realtime.py
Last active July 29, 2025 20:13
mlx-whisper real time audio
# Required packages:
# pip install SpeechRecognition mlx-whisper pyaudio
# Note: This script requires Apple Silicon Mac for MLX Whisper
import speech_recognition as sr
import numpy as np
import mlx_whisper
r = sr.Recognizer()
mic = sr.Microphone(sample_rate=16000)