Skip to content

Instantly share code, notes, and snippets.

View shackra's full-sized avatar

Jorge Araya Navarro shackra

View GitHub Profile
@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
@shackra
shackra / indice.txt
Last active April 13, 2025 06:01
Indice completo - Misal Diario Católico Apostolico Romano 1962
MISAL DIARIO
CATÓLICO APOSTÓLICO ROMANO
(Imagen del Corazón con cruz)
1962
CON KYRIALE EN NOTACIÓN GREGORIANA
COMPILADO DEL MISSALE ROMANUM
CON UN SUPLEMENTO QUE CONTIENE
@shackra
shackra / d2424cd95bd1d1df050ad49c81217ad4473d6c87783ed6dc7ad77c6cbb7aeaee.json
Created March 26, 2025 17:32
Sonarr: Fansubs español neutro/hispanoamericano
{
"name": "FanSubs Hispanos",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "Dantalian",
"implementation": "ReleaseGroupSpecification",
"negate": false,
"required": false,
"fields": {
@shackra
shackra / seed.go
Created December 6, 2024 16:50
make wallet for gagliardetto/solana-go from BIP39 seed phrase
package seed
import (
"crypto/ed25519"
"crypto/hmac"
"crypto/sha512"
"math/big"
"github.com/gagliardetto/solana-go"
"github.com/mr-tron/base58"
@shackra
shackra / .clang-tidy
Last active October 6, 2024 05:32
clang-tidy for modern C++ (I don't know what I'm doing)
Checks: >
-*,
bugprone-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
cppcoreguidelines-*,
-misc-non-private-member-variables-in-classes,
@shackra
shackra / lugares.txt
Created July 14, 2024 23:34
Nombres de sitios en Costa Rica
Alajuela
Cartago
Guanacaste
Heredia
Limón
Puntarenas
San José
Abangares
Acosta
Alajuela
@shackra
shackra / main.py
Last active May 6, 2024 02:47
Generate the multiplication tables from 2 to 19 in LaTeX notation for RemNote
#!/usr/bin/env python3
results: dict[int, list[int]] = {}
for i in range(2, 20):
for j in range(2, 20):
result = i * j
operands = [i, j]
operands.sort()