Skip to content

Instantly share code, notes, and snippets.

@pitinga
pitinga / ML-Cupons.js
Last active December 4, 2026 20:28
Mercado Livre - Ativar Cupons
// Mercado Livre - Ativar cupons de TODAS as páginas (v2.0)
//
// COMO USAR
// 1. Faça login no Mercado Livre.
// 2. Abra https://www.mercadolivre.com.br/cupons/filter?all=true&source_page=int_view_all
// 3. Pressione F12 > Console, cole este arquivo inteiro e pressione Enter.
// 4. Para interromper: clique em "Parar", pressione ESC ou execute pararCupons().
// Para fechar o painel: clique em "Fechar" ou execute fecharCupons().
//
// O script registra TENTATIVAS de clique; não tem acesso à confirmação individual
@AUAggy
AUAggy / hybrid-post-quantum-ssh-key-exchange.md
Last active December 4, 2026 20:28
Turn on hybrid post-quantum SSH key exchange in OpenSSH, then confirm sshd actually offers it. Covers OpenSSH 8.5 to 10.6, RHEL, Amazon Linux 2023, Ubuntu, Debian.

Hybrid post-quantum SSH key exchange: turn it on, then check that it is actually on

Server commands assume Linux with systemd. The client-side check works from any OpenSSH 9.0 or newer.

The short version

If you run OpenSSH servers and have read that post-quantum key exchange is on by default, this is the check that tells you whether yours turned it on.

Someone who recorded your SSH traffic last year can decrypt it once a quantum computer can break X25519. That is harvest now, decrypt later. A hybrid exchange runs a post-quantum scheme beside X25519, so the session key needs both broken. It is at least as strong as X25519 alone, and it costs a few kilobytes per handshake.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@bndynet
bndynet / amd-cmd-umd-commonjs.md
Last active December 4, 2026 20:22
AMD、CMD、UMD、CommonJS

Over the years there’s been a steadily increasing ecosystem of JavaScript components to choose from. The sheer amount of choices is fantastic, but this also infamously presents a difficulty when components are mixed-and-matched. And it doesn’t take too long for budding developers to find out that not all components are built to play nicely together.

To address these issues, the competing module specs AMD and CommonJS have appeared on the scene, allowing developers to write their code in an agreed-upon sandboxed and modularized way, so as not to “pollute the ecosystem”.

AMD(Asynchromous Module Definition)

Asynchronous Module Definition (AMD) has gained traction on the frontend, with RequireJS being the most popular implementation.

Here’s module foo with a single dependency on jquery:

@nebhead
nebhead / CustomUSBName.md
Last active December 4, 2026 20:19
Instructions for Adding Custom Naming for Arduino USB Device

The following is capturing instructions on how to add custom naming for an Arduino Leonardo (or generic pro-micro) for my Arcade Controller device. I wanted to have a simple record so that when I inevitably come back to this someday I can recall how I accomplished this. Reference was taken from the following YouTube video (https://youtu.be/hoCOq9Ngp44?t=1156) at approximately 19m16s.

WINDOWS Instructions:

Create a new set of folders: ~\Documents\Arduino\hardware\daemonbite\avr

Copy everything from C:\Program Files (x86)\Arduino\hardware\arduino\avr to this new folder.

@addyosmani
addyosmani / package.json
Last active December 4, 2026 20:12
npm run-scripts boilerplate
{
"name": "my-app",
"version": "1.0.0",
"description": "My test app",
"main": "src/js/index.js",
"scripts": {
"jshint:dist": "jshint src/js/*.js",
"jshint": "npm run jshint:dist",
"jscs": "jscs src/*.js",
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js",
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active December 4, 2026 20:20
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.