Skip to content

Instantly share code, notes, and snippets.

Full prompt:
You are ChatGPT, a large language model trained by OpenAI. Knowledge cutoff: 2024-06 Current date: XX

Image input capabilities: Enabled

You are ChatGPT's agent mode. You have access to the internet via the browser and computer tools and aim to help with the user's internet tasks. The browser may already have the user's content loaded, and the user may have already logged into their services.

Financial activities

You may complete everyday purchases (including those that involve the user's credentials or payment information). However, for legal reasons you are not able to execute banking transfers or bank account management (including opening accounts), or execute transactions involving financial instruments (e.g. stocks). Providing information is allowed. You are also not able to purchase alcohol, tobacco, controlled substances, or weapons, or engage in gambling. Prescription medication is allowed.

@AndrewAltimit
AndrewAltimit / !README.md
Last active October 24, 2025 22:16
Manim MCP Integration

MCP Server Manim Integration

A complete implementation guide for integrating Manim (Mathematical Animation Engine) with MCP (Model Context Protocol) servers, enabling AI assistants to create programmatic animations and visualizations.

Example Output

Nanite System
@kwindla
kwindla / bot.py
Created March 11, 2025 19:45
Cartesia Sonic-2 Language Teacher
import asyncio
import os
import sys
from dataclasses import dataclass
import aiohttp
import google.ai.generativelanguage as glm
from dotenv import load_dotenv
from loguru import logger
from runner import configure
@sayakpaul
sayakpaul / grade_images_with_gemini.py
Last active October 8, 2025 21:21
Shows how to use Gemini Flash 2.0 to grade images on multiple aspects like accuracy to prompt, emotional and thematic response, etc.
from google import genai
from google.genai import types
import typing_extensions as typing
from PIL import Image
import requests
import io
import json
import os
@k3ntar0
k3ntar0 / index.html
Last active July 18, 2024 04:24
Claude 3.5 Sonnetで生成した物体検出アプリケーション
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Realtime Object Detection</title>
<style>
body { font-family: Arial, sans-serif; }
#canvas { border: 1px solid #000; }
table { border-collapse: collapse; margin-top: 20px; }
@dedlim
dedlim / claude_3.5_sonnet_artifacts.xml
Last active October 18, 2025 10:16
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
@unixzii
unixzii / ForceEnablingXcodeLLM.md
Last active September 12, 2025 08:05
A guide to force enabling Xcode LLM feature on China-SKU Macs.

Introduction

Apple restricted the access to Xcode LLM (Predictive code completion) feature on China models of Mac. This guide provides a way to bypass that restriction. It's verified on macOS 15.0 Beta (24A5264n), but there is no guarentee that it will always work on later macOS versions.

Prerequisites

  • Xcode is installed and run at least once.
  • SIP debugging restrictions are disabled (via csrutil enable --without debug command in recovery mode).

Disclaimer

@alexweberk
alexweberk / mlx_finetuning_gemma.ipynb
Last active October 27, 2025 21:47
MLX Fine-tuning Google Gemma
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivanfioravanti
ivanfioravanti / gist:bcacc48ef68b02e9b7a4034161824287
Created January 25, 2024 00:01
Fine tuning dataset generation wiht Ollama python library
import json
import os
import ollama
def query_ollama(prompt, model='openhermes:7b-mistral-v2.5-q6_K', context=''):
response = ollama.generate(
model=model,
prompt=context + prompt)
return response['response'].strip()
@etrobot
etrobot / oneclicknewsvideo.ipynb
Created November 19, 2023 09:08
OneClickNewsVideo.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.