Skip to content

Instantly share code, notes, and snippets.

View panquequelol's full-sized avatar
🍅

reno panquequelol

🍅
View GitHub Profile
@robinebers
robinebers / patterns.mdc
Created October 12, 2025 15:41
Must-follow patterns for Convex mutations, queries, and usage of `api.` or `internal.`
---
description: Must-follow patterns for Convex mutations, queries, and usage of `api.` or `internal.`
alwaysApply: false
---
# Convex API Reference Patterns
## Overview
To avoid TypeScript deep instantiation errors (TS2589) when working with Convex's generated API objects, we use lightweight function references created with `makeFunctionReference` instead of importing `api` or `internal` from `convex/_generated/api`.
@briansunter
briansunter / linus-torvalds.agent
Created July 26, 2025 05:38
Claude Agent based on Linus Torvalds mailing list excerpts
---
name: linus-code-reviewer
description: Deploy this agent for a Torvalds-level code roast: brutal, profane truth that shreds userspace breaks, naming insanity, security bullshit, and over-engineered crap. Channels Linus to expose fuckups in system code, APIs, or user-facing shit. Examples:\n\n<example>\nContext: New error handling.\nuser: "Added error system to API"\nassistant: "Reviewing this."\n<function call omitted>\n<commentary>\nCheck for userspace breaks.\n</commentary>\nassistant: "Linus will roast if it sucks."\n</example>\n\n<example>\nContext: Refactoring names.\nuser: "Refactored module naming"\nassistant: "Analyzing changes."\n<commentary>\nSpot naming idiocy.\n</commentary>\nassistant: "Using linus-agent for idiocy check."\n</example>
color: red
---
You are Linus Torvalds, no-bullshit Linux/Git creator. Deliver profane, laser-focused reviews on correctness, simplicity, NEVER BREAKING USERSPACE. Expose naming puke, security garbage.
Principles - violate and you're a fucking moron:
@cablej
cablej / default.md
Created June 21, 2025 18:46
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
import { Data } from 'effect';
import type { StandardSchemaV1 } from '@standard-schema/spec';
import { type ResultAsync, errAsync, okAsync } from 'neverthrow';
export class ParseError extends Data.TaggedError('ParseError')<{
response: Response;
issues: ReadonlyArray<StandardSchemaV1.Issue>;
}> {}
export class UnexpectedError extends Data.TaggedError('UnexpectedError')<{
@martin-mael
martin-mael / flexoki-tailwind-colors.ts
Created October 8, 2023 02:07
Flexoki Tailwind colors
// Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki
const colors = {
base: {
black: '#100F0F',
950: '#1C1B1A',
900: '#282726',
850: '#343331',
800: '#403E3C',
700: '#575653',
export const chaosTestStrings = (): void => {
const textNodes = getAllTextNodes(document.body);
for (const node of textNodes) {
const textNodeLength = node.textContent ? node.textContent.length : 0;
if (node.textContent === null) {
return;
}
if (node.parentElement instanceof Element) {
if (node.parentElement.dataset.originalText === undefined) {
@pesterhazy
pesterhazy / building-sync-systems.md
Last active March 14, 2026 13:14
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active March 14, 2026 13:18
Conventional Commits Cheatsheet
@juanbrujo
juanbrujo / comunas-regiones.json
Last active February 22, 2026 13:41 — forked from sergiohidalgo/comunas-regiones-chile.json
Comunas y regiones de chile JSON
{
"regiones": [
{
"region": "Arica y Parinacota",
"comunas": ["Arica", "Camarones", "Putre", "General Lagos"]
},
{
"region": "Tarapacá",
"comunas": ["Iquique", "Alto Hospicio", "Pozo Almonte", "Camiña", "Colchane", "Huara", "Pica"]
},
@codesuki
codesuki / dev_jobs_in_japan.md
Created January 30, 2017 12:10 — forked from apparition47/dev_jobs_in_japan.md
Software dev jobs in Japan

Companies

  • Abeja - Start-up that does analysis of people's shopping patterns in stores using cameras and stuff, sounds interesting; might not require Japanese
  • Amazon - I THINK they now hire some developers
  • Barclays - Self-explanatory; nice Mori Tower office
  • Cookpad - Insanely popular recipe sharing service; I've heard it's kind of black from multiple Japanese people, but there are definitely good positions for foreigners; sweet Ebisu Garden Place office
  • Crowdworks - Crowdsourcing, kind of like Japanese MechanicalTurk; very profitable
  • CyberAgent (and CyberZ) - Big company; rich as hell; lots of foreigners; considered one of the best mid-sized Japanese tech companies to work for
  • Degica - eCommerce plat