Skip to content

Instantly share code, notes, and snippets.

View shackra's full-sized avatar

Jorge Araya Navarro shackra

View GitHub Profile
@shackra
shackra / SKILL.md
Created May 25, 2026 22:44
Pair Programming Strict Reviewer skill

name: strict-pair-programming-reviewer description: >- Acts as a strict Senior Developer Reviewer in pair-programming mode (alias: Shotgun). The user is the lead programmer; the agent observes, reviews meticulously, and ensures 100% ticket compliance. Requires a memory MCP (Recallium preferred, MemPalace fallback); aborts if neither is available. Use when the user says "eres shotgun", "you are shotgun", "/shotgun", "modo shotgun", "Strict Pair Programming Reviewer", or asks for strict pair programming review without auto-applying changes. May write one failing unit test at a time (TDD red phase) when requested, without touching

@shackra
shackra / .dir-locals.el
Last active April 20, 2026 23:17
My favorite dir-locals.el
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
((yaml-ts-mode . ((tab-width . 2)
(eglot-workspace-configuration
. (:yaml
(:format (:enable t)
:hover t
:completion t
:validate t
@shackra
shackra / gh-mentions.sh
Created March 12, 2026 22:44
List all comments mentioning you in any PR comment, within the last 3 days
gh api graphql -f query='
query {
search(query: "is:pr mentions:@me", type: ISSUE, first: 50) {
nodes {
... on PullRequest {
number
title
url
repository { nameWithOwner }
comments(last: 100) {
@shackra
shackra / flake.nix
Created March 12, 2026 02:33
go-sdl3 flake.nix without errors
# This flake was initially generated by fh, the CLI for FlakeHub (version 0.1.27)
{
# Flake inputs
inputs = {
flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/*";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
@shackra
shackra / Mail Archive - Dark Theme.js
Created August 6, 2025 08:52
GNU Mail Archive - Dark Theme
// ==UserScript==
// @name Mail Archive - Dark Theme
// @namespace https://chat.openai.com/
// @version 1.1
// @description Dark mode + better navigation for list.nongnu.org (MHonArc archives)
// @match https://lists.nongnu.org/archive/html/*
// @grant none
// ==/UserScript==
(function () {
@shackra
shackra / .clang-tidy
Created July 16, 2025 08:18
My fav clang-tidy config
Checks: >
-*,
bugprone-*,
cert-*,
concurrency-*,
cppcoreguidelines-*,
hicpp-*,
misc-*,
modernize-*,
performance-*,
@shackra
shackra / devenv.nix
Created June 7, 2025 03:02
ejemplo para proyecto frontend/backend
{
pkgs,
lib,
config,
inputs,
...
}:
{
# https://devenv.sh/basics/
@shackra
shackra / historico.csv
Created May 30, 2025 04:22
Historico del juego Lotto de la Junta de Protección Social
Sorteo Fecha Nº 1 Nº 2 Nº 3 Nº 4 Nº 5 Tipo Lotería Acumulado
1690 19/04/2022 12 27 26 25 20 Lotto 46000000.00
1691 19/04/2022 13 25 34 31 17 Lotto 25000000.00
1692 19/04/2022 26 24 13 21 0 Lotto 52700000.00
1693 25/04/2020 32 23 27 20 3 Lotto 25000000.00
1694 25/04/2020 4 13 26 19 20 Lotto 25000000.00
1695 25/04/2020 28 23 17 26 3 Lotto 55200000.00
1696 26/04/2020 32 14 2 5 31 Lotto 86300000.00
1697 26/04/2020 1 20 11 3 9 Lotto 25000000.00
1698 26/04/2020 24 26 1 20 11 Lotto 53200000.00
@shackra
shackra / show-trace.txt
Created May 26, 2025 05:15
weird bug with NixOS rebuild and nix flake check
➜ LC_ALL=C sudo nixos-rebuild build --flake .# --show-trace
building the system configuration...
evaluating derivation 'git+file:///home/jorge/puntoarchivos#nixosConfigurations."woody".config.system.build.toplevel'fatal: unable to read tree (fdcdd095f3b721485bee6c4b61f101e52aeecc88)
error:
… while calling anonymous lambda
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1529:14:
1528| zipAttrsWith (
1529| n: values:
| ^
1530| let
@shackra
shackra / journalctl.txt
Created May 26, 2025 04:35
AMD weird hang ups
may 25 22:22:54 woody kernel: call_irq_handler: 1.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 2.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 3.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 4.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 5.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 6.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 7.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 8.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 9.55 No irq handler for vector
may 25 22:22:54 woody kernel: call_irq_handler: 10.55 No irq handler for vector