Skip to content

Instantly share code, notes, and snippets.

@HelgeSverre
HelgeSverre / coop-norway-api.openapi.json
Last active October 22, 2026 18:17
Norwegian Grocery Store APIs — Reverse-engineered API documentation for Rema 1000, Coop Norway, and Trumf (extracted from Android APKs)
{
"openapi": "3.1.0",
"info": {
"title": "Coop Norway Medlem API",
"version": "4.17.3",
"description": "Reverse-engineered API specification for the Coop Norway \"Coop medlem\" Android app (no.coop.members v4.17.3). Extracted via static analysis of the compiled Dart binary (libapp.so) from the Flutter APK.\n\nThis API powers Norway's Coop loyalty program including purchase history, digital receipts, coupons, Coopay mobile payment, shopping lists, and Shop Express.\n\n**Authentication:** OpenID Connect via Auth0 at https://login.coop.no/\n**Strong Customer Auth (Coopay):** Aera SDK at https://api.aerahost.com/\n\n⚠️ Unofficial, reverse-engineered spec. Use responsibly for personal data access only.",
"contact": { "name": "Helge Sverre", "url": "https://helgesver.re" },
"license": { "name": "MIT" }
},
"servers": [
@abdullahnettoor
abdullahnettoor / flutter-ci.yml
Created March 11, 2022 14:42
Flutter - Build APK through GitHub Actions
name: Flutter CI
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- master
-- Torch Android demo script
-- Script: main.lua
-- Copyright (C) 2013 Soumith Chintala
require 'torch'
require 'cunn'
require 'nnx'
require 'dok'
require 'image'
@sidgujrathi
sidgujrathi / oneliners.js
Created December 3, 2019 10:16
Awesome one-liners you might find useful while coding. By (https://twitter.com/coderitual/status/1112297299307384833)
// Remove any duplicates from an array of primitives.
const unique = [...new Set(arr)]
// Sleep in async funct ,ns. U it sleep(2000).
const sleep = (ms) => (new Promise(resolve => setTimeout(resolve, ms)));
// Type this in your code to break chrome debugger in that line.
debugger;
// Just plain english.

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.

@basso
basso / gist:04cbdc9cad5629f2ae83a941875c4ad5
Last active October 22, 2026 17:27
Bazzite Linux How to force transcode Dolby Digital AC3 5.1 over HDMI ARC
COMPATIBILITY WARNINGS:
LG TV 2017: Outputs loud white noise on occation.
CHANGE NOTES:
22.11.25 Added a systemd unit to send backround noise to pcm to make it keep alive, this will stop audio from cutting on idle
23.11.25 Change default bitrate to be 640kbit, max for HDMI ARC.
24.11.25 Workaround for alsa card changing from 0 to 1, or 1 to 0 on reboots.
24.11.25 Normalize working on systemd units, now its only ac3 and ac3-keepalive
I have managed to get the alsa-plugins-a52 to output over HDMI on bazzite.
@francoisjacques
francoisjacques / IPTV-big-list.m3u
Last active October 22, 2026 17:18
IPTV big list.m3u
#EXTM3U
#EXTINF:0 tvg-name="Newsmax TV" tvg-language="English" tvg-country="CA" tvg-id="Newsmax-TV" tvg-logo="https://i.imgur.com/Twkovic.gif" group-title="Entertainment",Newsmax TV
https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8
#EXTINF:0 tvg-id="Sky-News" tvg-name="Sky News" tvg-logo="https://upload.wikimedia.org/wikipedia/en/9/91/SKY_TG24.png" group-title="News",Sky News (UK)
http://d59pscns5ugc8.cloudfront.net/cdhls/skynewsamericas/1013/live/06.m3u8
#EXTINF:0 tvg-name="London Live" tvg-language="English" tvg-country="GB" tvg-id="London Live" tvg-logo="https://i.imgur.com/lDm5tkK.png" group-title="News",London Live
https://bcoveliveios-i.akamaihd.net/hls/live/217434/3083279840001/master_900.m3u8
#EXTINF:-1 tvg-name="Ei" tvg-language="English" tvg-country="US" tvg-id="Ei" tvg-logo="https://i.imgur.com/2krIVOg.jpg" group-title="Family",E-I
@sunmeat
sunmeat / pq.md
Created April 20, 2026 09:24
python questions

Python

Послідовності

Що таке послідовність

Послідовністю в Python називається ітерований об'єкт, який підтримує ефективний доступ до елементів за допомогою цілочисельних індексів через спеціальний метод __getitem__() та підтримує метод __len__(), що повертає довжину послідовності. До основних вбудованих типів послідовностей належать list, tuple, range, str та bytes.

Послідовності також опціонально можуть реалізовувати методи count(), index(), __contains__() та __reversed__() та інші.

@TomCan
TomCan / gist:9644966
Last active October 22, 2026 16:30
Inject drivers in Windows installation after motherboard change
Today, after working with Windows for over 15 years now, I finally came across the solution to the
dreadfull BSOD STOP 0x0000007B after replacing the motherboard of a computer, or after moving the
harddrive to another computer, or after doing a P2V, or after ... you get the point.
Requirements:
- Windows install / boot CD
- Chipset / Mobo / Storage drivers of the new motherboard or storage controller
Steps:
- extract all the drivers to a USB thumb drive
@fatihyildizhan
fatihyildizhan / github-domain-verification.txt
Created March 20, 2020 11:29
GitHub Domain Verification Steps
1. go to your organization settings
2. set the url under profile then click update
3. go to verified domain section and click Add a domain
4. enter the same url
5. GitHub shows you this message:
Add a DNS TXT record
Create a TXT record in your DNS configuration for _github-challenge-YOURORGANIZATIONNAME.YOURDOMAIN.
Use this code as the value for the TXT record:
YOUR VERIFICATION CODE