Skip to content

Instantly share code, notes, and snippets.

View q4Zar's full-sized avatar
🏗️
HyperBuilding

q4ZAr q4Zar

🏗️
HyperBuilding
View GitHub Profile
{"version":1,"resource":"file:///Users/qct/Code/fullstack-gen/features/programs/paths/path.yml","entries":[{"id":"bElR.yml","timestamp":1738753504964}]}
@q4Zar
q4Zar / route.md
Last active January 13, 2025 09:25
qct.api.yml

informations: model: fields: indexes: unique: - routes:

@q4Zar
q4Zar / contemplative-llms.txt
Created January 7, 2025 08:43 — forked from Maharshi-Pandya/contemplative-llms.txt
"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
@q4Zar
q4Zar / route.md
Last active December 12, 2024 08:35
ElysiaJS

index.ts

import { Elysia, t, error } from "elysia";
import {
  qctCreate,
  qctGet,
  qctGetAllRaw,
  qctUpsert,
  qctDelete,
@q4Zar
q4Zar / cheats.md
Last active December 5, 2024 03:40
surrealdb - surql - cheats

Auto Update Field

VALUE automatically recalculates every time a change is made (a create or an update)

DEFINE FIELD created_at ON user TYPE datetime DEFAULT time::now();
DEFINE FIELD modified_at ON user TYPE datetime VALUE time::now();
@q4Zar
q4Zar / .deps...npm...@openzeppelin...contracts...token...ERC20...ERC20.sol
Created December 31, 2022 09:06
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**