Skip to content

Instantly share code, notes, and snippets.

/**
* Type-Level Directed Acyclic Graph (DAG) Enforcer
* * This file demonstrates how to use TypeScript's recursive conditional types
* to detect cycles in a statically defined graph at compile time.
* * Note: Requires TypeScript 5.0+ for the `<const T>` type parameter feature.
*/
// ==========================================
// 1. Core Types & Recursion
// ==========================================
@guycipher
guycipher / COMMANDS
Created June 11, 2026 18:17
Large value (1MB) sysbench (point, insert, update, delete) analysis TidesDB v9.3.6, TideSQL v4.5.6, InnoDB, MariaDB v11.8.6, jemalloc, gcc
nohup env \
PAYLOAD_SIZE=1048576 \
TABLES=8 TABLE_SIZE=1024 \
THREADS=16 PREPARE_THREADS=8 \
RUN_TIME=60 RUNS=3 WARMUP_TIME=20 \
WRITE_EVENTS=2000 \
./largeval_compare.sh > largeval_1mb_$(date +%Y%m%d_%H%M%S).log 2>&1 &
tail -f largeval_1mb_*.log
@juliohm
juliohm / mwe.csv
Created June 11, 2026 18:16
CSV.jl bug report
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 7 in line 1.
C1;C2;C3;C4;C5;C6;C7;C8;C9;C10;C11;C12
598,17;FOO;;;BAR;175,8197;43,73206;;;0,651;0,1766139;1,9974
598,3224;FOO;;;BAR;173,8525;45,20232;;;0,6615753;0,1861682;2,003
598,4748;FOO;;;BAR;174,3443;46,56471;;;0,6815796;0,1951824;2,0016
599,0844;FOO;;;BAR;173,8525;47,24379;0,9985657;;0,7355556;0,199734;2,003
599,3892;FOO;;;BAR;173,8525;44,24025;1,026916;;0,7511022;0,1798961;2,003
599,5416;FOO;;;BAR;175,8197;43,60713;1,024654;;0,7544425;0,1758102;1,9974
599,694;FOO;;;BAR;175,093;43,0571;0,997462;;0,7602147;0,1722871;1,9995
599,8464;FOO;;;BAR;175,4877;42,3508;0,9476013;;0,7613316;0,1677991;1,9983
600,9132;FOO;;;BAR;173,5376;42,38145;1,04267;;0,7961036;0,167993;2,0039
@ti-codetec
ti-codetec / ticket_1611_analysis.md
Created June 11, 2026 18:16
Análise detalhada do ticket #1611

Análise Detalhada do Ticket #1611

1. Descrição do Bug

O que está acontecendo: Ao acessar a tela de checkout do portal (nova experiência de pedido) e selecionar a forma de entrega configurada pelo administrador ("À combinar com a loja"), o carrossel de seleção de datas e horários de entrega fica completamente vazio. Isso impede que o cliente selecione o agendamento desejado e, consequentemente, impossibilita a finalização do pedido para essa modalidade de entrega.

Impacto: Bloqueio total do fluxo de checkout quando o cliente opta por uma modalidade de entrega que exige agendamento (SCHEDULED_PERIOD) e que possua restrições específicas de dias da semana no agendamento.


Pipeline still running ...
PipelineRun is still running: Tasks Completed: 21 (Failed: 0, Cancelled 0), Incomplete: 3, Skipped: 7
[set-github-started-label : post-comment] + EXTRA_ARGS=
[set-github-started-label : post-comment] + [[ ! -z operator-release-pipeline/started ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started'
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/operator-pipelines-test/pull/3595
[set-github-started-label : post-comment] + [[ ! -z pipeline/trigger-release ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-labels pipeline/trigger-release'
[set-github-started-label : post-comment] + [[ true == true ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels'
@jleechan2015
jleechan2015 / lane_a_evidence_gist.md
Created June 11, 2026 18:16
PR #7471 Lane A evidence: fix /api/constants/models public

PR #7471 Lane A Evidence — fix(constants): make /api/constants/models public

RED -> GREEN test run (3/3 PASS)

$ ./vpython -m pytest mvp_site/tests/test_model_constants_endpoint_public.py -v
collected 3 items

mvp_site/tests/test_model_constants_endpoint_public.py::TestModelConstantsEndpointPublic::test_response_contains_all_four_model_constants PASSED [ 33%]
mvp_site/tests/test_model_constants_endpoint_public.py::TestModelConstantsEndpointPublic::test_returns_200_with_empty_auth_header PASSED [ 66%]
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 22 (Failed: 0, Cancelled 0), Incomplete: 4, Skipped: 5
[set-github-status-pending : set-github-status] + '[' false == true ']'
[set-github-status-pending : set-github-status] + echo 'Setting github status of commit 85572265667066346e2d2f47c1f8f9288980a6e2 to pending'
[set-github-status-pending : set-github-status] Setting github status of commit 85572265667066346e2d2f47c1f8f9288980a6e2 to pending
[set-github-status-pending : set-github-status] + set-github-status --git-repo-url git@github.com:redhat-openshift-ecosystem/operator-pipelines-test.git --commit-sha 85572265667066346e2d2f47c1f8f9288980a6e2 --status pending --context operator/publish --description 'Pipeline for operator distribution has started.'
[set-github-status-pending : set-github-status] 2026-06-11 17:48:48,398 [operator-cert] INFO Successfully set status to pending for commit 85572265667066346e2d2f47c1f8f9288980a6e2 in github repo git@github.com:redhat-openshift-ecosyste
@ImAbuSayed
ImAbuSayed / velvet-shadow-dance-lyrics.md
Last active June 11, 2026 18:18
Velvet Shadow Dance - Original song lyrics by Abu Sayed

Velvet Shadow Dance

Original song by Abu Sayed.


Lyrics Preview

Shadows falling on the hardwood floor
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 11, 2026 18:15
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Friday, June 12, 2026, 2:14:55 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.4.2), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(av:2.4.2,fv:2.4.1), HarmonyMod(2.4.2)
Visible Error Logs(V1024.VisibleErrorLogs): VisibleErrorLogs(1.1.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
@Runvargr
Runvargr / userContent.css
Created June 11, 2026 18:15
True Dark Mode Any Website Firefox
/* ==========================================================================
1. GLOBAL INVERSION (For Light Websites)
========================================================================== */
@-moz-document url-prefix(http://), url-prefix(https://) {
html {
filter: invert(90%) hue-rotate(180deg);
background-color: #121212 !important;
}
/* Prevent media elements from being inverted */