Skip to content

Instantly share code, notes, and snippets.

FEMALE ANNOUNCER
Evacuation...
(waiting)
Complete! The cryogenic state of
Austin Powers is now completed.
Austin lies in a bed tilted up in an extreme angle � la Dr.
Frankenstein's lab. NURSE TECHNICIANS administer injections
and monitor electrodes, IV's, and other biological sensors.
@ceramicwhite
ceramicwhite / claude_3.5_sonnet_artifacts.xml
Last active July 16, 2024 01:41 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
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
@ceramicwhite
ceramicwhite / parse_keybag.py
Last active June 11, 2024 19:16 — forked from geekman/parse_keybag.py
extract & parse the BackupKeyBag from an iTunes Backup
#!/usr/bin/env python
#
# extracts and parse BackupKeyBag
#
# 2017.02.04 darell tan
#
# Update 2024.06.11 Jasper
import plistlib
import struct
@ceramicwhite
ceramicwhite / main.rs
Last active February 25, 2024 13:58
Steam Family Share Patch
// For Rust 2021
use std::fs;
use std::iter::zip;
static STEAMCLIENT_FILE_PATH: &str = "./steamclient.so";
static FUNCTION_OFFSETS_STRING: &str = "SharedLibraryLockStatus:
00244530: 55 89 e5 57 56 8d .. .. .. .. .. 53 e8 .. .. ..
00244540: .. 81 c3 .. .. .. .. 81 ec c4 00 00 00 89 bd 48
@ceramicwhite
ceramicwhite / README.md
Created November 4, 2023 02:20 — forked from MarMed/README.md
Routing plex traffic through an SSH tunnel

Routing plex traffic through an SSH tunnel

This guide creates a reverse SSH tunnel to route all Plex server traffic through it.

Step 2 is done on the tunnel, all other steps are done on the plex server.

1. Setup SSH keys (if you already have key based authenthication setup skip to step 2)

On plex server:

@ceramicwhite
ceramicwhite / setup.sh
Last active September 10, 2023 12:42
lambda labs vm python diff version setup
#!/bin/bash
# This script is used to set up Python + CUDA-enabled PyTorch on a
# Lambda Labs VM.
PYTHON_VERSION=3.10
DEBIAN_FRONTEND=noninteractive
while getopts "v:" opt; do
case ${opt} in