Skip to content

Instantly share code, notes, and snippets.

@velvet-shark
velvet-shark / openclaw-50-day-prompts.md
Last active March 15, 2026 22:54
OpenClaw after 50 days: all prompts for 20 real workflows (companion to YouTube video)

OpenClaw after 50 days: all prompts

Companion prompts for the video: OpenClaw after 50 days: 20 real workflows (honest review)

These are the actual prompts I use for each use case shown in the video. Copy-paste them into your agent and adjust for your setup. Most will work as-is or the agent will ask you clarifying questions.

Each prompt describes the intent clearly enough that the agent can figure out the implementation details. You don't need to hand-hold it through every step.

My setup: OpenClaw running on a VPS, Discord as primary interface (separate channels per workflow), Obsidian for notes (markdown-first), Coolify for self-hosted services.

@rashidmya
rashidmya / @\@types\mongodb.ts
Last active March 15, 2026 22:53
nextjs-typescript-mongoose example
import { Mongoose } from 'mongoose';
/* eslint-disable no-var */
declare global {
var mongoose: {
promise: Promise<Mongoose> | null;
conn: Mongoose | null;
};
}
@elevenchars
elevenchars / fridanotes.md
Last active March 15, 2026 22:52
My notes on injecting a frida gadget into an apk
@alexfazio
alexfazio / codex-exec-experiments.md
Created March 14, 2026 17:21
Codex CLI exec mode experiments: 81 flag/feature tests with raw outputs

Codex CLI Exec Mode Experiments

Date: 2026-03-13 CLI Version: 0.114.0 Total Experiments: 81

Raw experiment outputs from testing various codex exec flag combinations.

Note: Some experiment outputs include MCP (Model Context Protocol) server startup messages (e.g., mcp: flywheel starting, mcp: exa ready). These are from the author's local Codex configuration and do not affect experiment results. Your output may differ depending on your configured MCP servers.

import { Stop } from "@/typings";
import { proxyRequest } from "@/modules/Proxy";
import db, { stopTable } from "@/db";
import { eq } from "drizzle-orm";
import ensureRealtimeData, {
ERealtimeItineraryStop,
EStopTime,
RealtimeCityData,
RealtimeRoute,
RealtimeTrip,
@productdevbook
productdevbook / drizzle-orm.md
Last active March 15, 2026 22:42
Drizzle ORM PostgreSQL Best Practices Guide (2025)

Drizzle ORM PostgreSQL Best Practices Guide (2025)

Latest Drizzle ORM features and optimal schema patterns

Major 2025 Update: PostgreSQL now recommends identity columns over serial types. Drizzle has fully embraced this change.

import { pgTable, integer, text, timestamp, varchar } from 'drizzle-orm/pg-core';
@iam-veeramalla
iam-veeramalla / claude_with_ollama.md
Last active March 15, 2026 22:42
claude code integration with ollama to use local models

Run Claude with the power of Local LLMs using Ollama

Install Ollama

curl -fsSL https://ollama.com/install.sh | sh

Pull the Model

ollama pull glm-4.7-flash # or gpt-oss:20b (for better performance)

@ax3l
ax3l / CUDA_Compilers.md
Last active March 15, 2026 22:42
CUDA Compilers
@ryanlintott
ryanlintott / ContentView.swift
Last active March 15, 2026 22:37
A SwiftUI environment value for the keyboard height that updates with animation. This is useful when you want a specific view in a stack to stick to the bottom of the keyboard when the keyboard moves up. Now included in FrameUp https://github.com/ryanlintott/FrameUp
import SwiftUI
struct ContentView: View {
var body: some View {
KeyboardAvoidingWithOffset()
.keyboardHeightEnvironmentValue()
}
}
struct KeyboardAvoidingWithOffset: View {
@morkev
morkev / fix-keychron.sh
Last active March 15, 2026 22:31
Fix Linux Keychron Error: HID Device Connected [K]
#!/bin/bash
# ==============================================================================
# KEYCHRON LINUX FIX FOR HID DEVICE C0NNECTED [K]
# Author: morkev
#
# Contributors:
# - SIMULATAN: Fixed dongle interference by filtering out "Link" devices.
# - karoltheguy: Added SELinux context reset (restorecon) to prevent silent blocks.
# - wanjas: Verified 'input' group addition is required for distros like Pop_OS.