Skip to content

Instantly share code, notes, and snippets.

@mekdie
mekdie / adp-payslip-bulk-download.js
Created October 1, 2026 02:24
Browser console script that automatically clicks all ADP PayDate and Pay Advices buttons with configurable rate limiting. Useful for bulk downloading payslips from the ADP payroll portal.
/**
* ADP Payslip Bulk Downloader
*
* WARNING:
* Running this script will automatically click ALL visible
* PayDate and Pay Advices buttons on the current ADP page.
*
* Depending on your browser configuration:
* - Multiple files may be downloaded automatically.
* - PDF files may open in a new browser tab.
@k16shikano
k16shikano / SKILL.md
Last active October 1, 2026 02:22
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@moxvallix
moxvallix / gist:9f46c1341e196f797e838b885fe84b0c
Last active October 1, 2026 02:09
Getting Minecraft Dungeons II to Work on Linux
# UPDATE
There have now been a couple projects that have streamlined the setup process. I was able to successfully boot the game and
link my Microsoft account using this repo: https://github.com/Alextibtab/Dungeons2_linux_fix
If it doesn't prompt you to link account, you can do so from the settings menu.
# Older Steps below:
This is based on the findings in the Proton issue thread, neatly summarised in this comment: https://github.com/ValveSoftware/Proton/issues/10193#issuecomment-5889733180

Ghostty Keyboard Shortcuts

Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.

Window Management

Action Windows/Linux macOS
New window Ctrl+Shift+N Cmd+N
Close window Alt+F4 Cmd+Shift+W
@kn9ts
kn9ts / aws4_signing.py
Last active October 1, 2026 02:05
AWS V4 signing example in python
# AWS Version 4 signing example
#
# Example:
# Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924a6f2b5d7
# Formulae:
# CanonicalRequest =
# HTTPRequestMethod + '\n' +
# CanonicalURI + '\n' +
# CanonicalQueryString + '\n' +

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.

@Darianopolis
Darianopolis / vktinyhellotriangle.cpp
Last active October 1, 2026 02:01
vktinyhellotriangle
int main(){SDL_Init(SDL_INIT_VIDEO);
void*window=SDL_CreateWindow("Hello Triangle", 800, 600, SDL_WINDOW_VULKAN),*instanceExtensions,*instanceExtensionCount=new uint32_t,*queueFamily=new uint32_t,*imageIndex=new uint32_t,*count=new uint32_t,*queueFamilies,*formats,*images,*instance,*surface,*physicalDevice,*device,*queue,*swapchain,*renderPass,*pipelineLayout,*pipeline,*fence,*imageView,*framebuffer,*cmdPool,*cmd,*event=new SDL_Event;
(const char*const*&)instanceExtensions=SDL_Vulkan_GetInstanceExtensions((uint32_t*)instanceExtensionCount);
vkCreateInstance(new VkInstanceCreateInfo{.sType=VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,.pApplicationInfo=new VkApplicationInfo{.sType=VK_STRUCTURE_TYPE_APPLICATION_INFO,.apiVersion=VK_API_VERSION_1_3,},.enabledExtensionCount=*(uint32_t*)instanceExtensionCount,.ppEnabledExtensionNames=(const char**)instanceExtensions,},nullptr,(VkInstance*)&instance);
SDL_Vulkan_CreateSurface((SDL_Window*)window, (VkInstance)instance,nullptr,(VkSurfaceKHR*)&surface);
vkEnumeratePhysicalDev
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@samdoran
samdoran / aerohive.md
Last active October 1, 2026 01:50
Configuring Aerohive access points using the CLI

Aerohive

Initial setup

  1. Reset to factory defaults

     reset config bootstrap
     reset config
    

    The username is admin and the password is aerohive, Aerohive1, or admin123.