Skip to content

Instantly share code, notes, and snippets.

View vndmtrx's full-sized avatar
🎲
Fazendo vários nadas

Eduardo N.S.R. vndmtrx

🎲
Fazendo vários nadas
View GitHub Profile
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active October 24, 2025 10:45
"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
@adtac
adtac / Dockerfile
Last active July 13, 2025 20:06
#!/usr/bin/env docker run
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')"
# syntax = docker/dockerfile:1.4.0
FROM node:20
WORKDIR /root
RUN npm install sqlite3
@jeanjmichel
jeanjmichel / MontyHallProblem.js
Last active October 29, 2020 17:49
A JavaScript code to test the Monty Hall Problem.
var myBet = Math.floor(Math.random() * 3) + 1;
var acceptChangeInitialBet = Math.floor(Math.random() * 2) + 1;
function game(initialBet, changeInitialBet) {
var portsAndPrizes = [];
var carPort = Math.floor(Math.random() * 3) + 1;
var newBet;
var discardedDoor;
var finalGoatDoor;
var finalBet;
@theoperatore
theoperatore / TrappableElements.md
Created March 5, 2018 13:25
List of trappable elements and which enemies to find them on for Chrono Cross on PSX

HolyLight

  1. Use HolyLight(trap) on Cupoid [Terra Tower]
  2. Use HolyLight(trap) on Sun-of-a-Gun [Boss, Fort Dragonia]
  3. Use HolyLight(trap) on Miguel [Boss, Dead Sea
  4. Use HolyLight(trap) on Luxator [Boss, Terra Tower]
  5. Use HolyLight(trap) on TimeDevourer (Fused Dragon)(6) [Boss, Terra Tower]

Ultranova

  1. Use Ultranova(trap) on MegaStarky [Boss, Sky Dragon Isle]
  2. Use Ultranova(trap) on Sky Dragon [Boss, Sky Dragon Isle]
@JohannesBuchner
JohannesBuchner / rsyncprogress.py
Last active June 18, 2023 18:51
Progress bar for rsync
"""
Progress bar for rsync
========================
Shows file progress and total progress as a progress bar.
Usage
---------
Run rsync with -P and pipe into this program. Example::
@hsribei
hsribei / putting-the-tor-back-in-torrent.md
Last active January 18, 2017 22:08
Putting the "Tor" back in Torrent

Putting the "Tor" back in Torrent

How a Popcorn Time fork patch could incentivize people to run thousands of new Tor relays

This is a follow-up to this discussion: Can NAT traversal be Tor's killer feature?

If torrents are P2P's killer application, and NAT traversal/"static IP" are Tor's (via hidden services), putting them together could prove to be the best incentivization scheme for growing the Tor network other than cold crypto cash.

You're stupid

Everybody knows you're not supposed to use torrents with tor, right?