Skip to content

Instantly share code, notes, and snippets.

View verioussmith's full-sized avatar
🧙‍♂️
Cooking up new code magic

Verious Smith III verioussmith

🧙‍♂️
Cooking up new code magic
View GitHub Profile
@olafgeibig
olafgeibig / README.md
Last active September 19, 2025 04:09
Z.ai subscription with opencode

Z.ai subscription with opencode

Now Z.ai has an official solution to use the package. See below.

Create a custom provider

First we need to create a custom provider for the Z.ai anthropic API. Follow the instructions for adding a custom provider to opencode.

  • Name it zai-anthropic
  • Enter your API-key

Configure the custom-provider

Edit opencode.json and add this:

@lushkovsky-s
lushkovsky-s / dump_cursor_notepads.sh
Last active May 10, 2025 19:52
Dump Cursor notepads as JSON (Mac version)
WORKSPACE_ID=$(./get_cursor_workspace_id.sh <path>) sqlite3 "$HOME/Library/Application Support/Cursor/User/workspaceStorage/$WORKSPACE_ID/st
ate.vscdb" "SELECT value FROM ItemTable WHERE key = 'notepad.reactiveStorageId';" | python3 -c "import sys, json; pri
nt(json.dumps(json.loads(sys.stdin.read()), indent=2))" 2>/dev/null | jq '.notepads | to_entries[] | .value | {name:
.name, content: .text} '
@jatinkrmalik
jatinkrmalik / data.md
Last active January 20, 2025 06:23
RSS Feed/Blogs from @0xGlitchbyte
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active October 30, 2025 16:02
"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
import React, { useState, useEffect } from 'react';
import {
DollarSign,
Users,
Calculator,
Target,
ChevronRight,
Star,
TrendingUp,
Zap
@stenuto
stenuto / timelapse.sh
Created June 18, 2024 20:56
Timelapse script
#!/bin/bash
# Check if interval argument is provided
if [ -z "$1" ]; then
echo "Usage: $0 -int <interval_in_seconds>"
exit 1
fi
# Extract the interval value
interval=$2
@joshnuss
joshnuss / NOTES.md
Last active July 6, 2025 07:09
Converting a JavaScript SvelteKit app to TypeScript

Converting a JavaScript SvelteKit app to TypeScript

  • Install typescript, tslib, and svelte-check for dev mode
pnpm i -D typescript tslib svelte-check
  • Add a tsconfig.json
@verioussmith
verioussmith / beautiful-aurora-footer-lights.markdown
Created April 10, 2024 20:07
Beautiful Aurora Footer Lights
@devnoname120
devnoname120 / My macOS setup.md
Last active October 28, 2025 12:23
My macOS setup

ℹ️ Enable iCloud end-to-end encryption:

  • Nobody knows that, but iCloud actually supports end-to-end encryption (see “Advanced Data Protection for iCloud”) but it’s disabled by default. If you care about data privacy, you should turn it on.
    • System settingsApple IDiCloud → Set Advanced Data Protection to On.
    • System settingsApple IDiCloud → Disable Access iCloud Data on the Web.
  • It supports almost all the native Apple apps, with the notable exceptions of iCloud Mail, Contacts, and Calendars. See official data protection matrix for more info.

Table of Contents

@timvisee
timvisee / falsehoods-programming-time-list.md
Last active October 31, 2025 18:31
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).