Skip to content

Instantly share code, notes, and snippets.

@BoltsJ
BoltsJ / qfsign.vim
Last active September 2, 2025 08:43
Automatically place signs based on the quickfix list.
if exists('g:loaded_qfsign')
finish
endif
let g:loaded_qfsign=1
sign define QFErr texthl=QFErrMarker text=E
sign define QFWarn texthl=QFWarnMarker text=W
sign define QFInfo texthl=QFInfoMarker text=I
augroup qfsign
@jabbink
jabbink / Albert Heijn app API.md
Last active September 2, 2025 08:41
Interact with the Albert Heijn mobile app API to retrieve receipt data, and other things

AH API

Always use User-Agent: Appie/8.22.3 and Content-Type: application/json
Technically there is more information about your device and user ID after it, but the server does not seem to care

Token

If you have a valid access_token, add it as a header in request
Authorization: Bearer access_token

@liamsnowdon
liamsnowdon / autoclicker.js
Last active September 2, 2025 08:37
Cookie Clicker Autoclicker
const DefinitelyNotCheats = (function () {
return {
bigCookieAutoClickerInterval: null,
goldenCookieAutoClickerInterval: null,
initAutoClickers () {
this.initBigCookieAutoClicker();
this.initGoldenCookieAutoClicker();
},
@DaniruKun
DaniruKun / whisper-transcribe.bash
Last active September 2, 2025 08:37
Transcribe (and translate) any VOD (e.g. from Youtube) using Whisper from OpenAI and embed subtitles!
#!/usr/bin/env bash
# Small shell script to more easily automatically download and transcribe live stream VODs.
# This uses YT-DLP, ffmpeg and the CPP version of Whisper: https://github.com/ggerganov/whisper.cpp
# Use `./transcribe-vod help` to print help info.
# MIT License
# Copyright (c) 2022 Daniils Petrovs
@jaxFF
jaxFF / patch_v7.40_5000.1337
Last active September 2, 2025 08:33
Reverse engineered HWiNFO 12-hour shared memory limit patch
>hwinfo64.exe
000000000022005C:3D->90
000000000022005D:00->90
000000000022005E:2E->90
000000000022005F:93->90
0000000000220060:02->90
0000000000220061:0F->E9
0000000000220062:86->81
0000000000220063:80->00
// <PackageReference Include="BitMiracle.LibTiff.NET" Version="2.4.584.1" />
using BitMiracle.LibTiff.Classic;
using SkiaSharp;
// Convert a TIFF stream to a SKBitmap
public static SKBitmap OpenTiff(Stream tiffStream)
{
// open a TIFF stored in the stream
using (var tifImg = Tiff.ClientOpen("in-memory", "r", tiffStream, new TiffStream()))
@Spix0r
Spix0r / framework-detect.js
Created August 31, 2025 12:23
A simple script to identify the JavaScript framework currently used by a website. Why am I doing this? Because some results from Wappalyzer are incorrect. :(
// Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I)
if (
!!window.React ||
!!document.querySelector("[data-reactroot], [data-reactid]") ||
Array.from(document.querySelectorAll("*")).some(
(e) =>
e._reactRootContainer !== undefined ||
Object.keys(e).some((k) => k.startsWith("__reactContainer"))
)
@cr0nx
cr0nx / gist:e972aac974e1b5c7703ff6de39c07ca8
Created October 7, 2024 12:20
Generic bpftrace-based RCE/webshell prevention technique for critical Linux network services. If for whatever reason you can't run it persistently, it could be useful also as a system-wide 'virtual patching' method.
#!/usr/bin/env bpftrace
tracepoint:syscalls:sys_enter_execve
{
@parent = comm;
}
tracepoint:syscalls:sys_exit_execve
/ @parent == "httpd" || @parent == "php-fpm" || @parent == "mysqld" || @parent == "java" || @parent == "postjournal" /
{
@masterPiece93
masterPiece93 / a.readme.md
Last active September 2, 2025 08:29
Problem Solving

Problem Solving

coding problems and their solutions .

Index

name tags
generate parenthesis leetcode
@masterPiece93
masterPiece93 / NATS.md
Last active September 2, 2025 08:28
NATS

NATS

| Go | python |

Configuring NATS via Docker

Simply follow the steps below :

fetch image :