Skip to content

Instantly share code, notes, and snippets.

@DasSkelett
DasSkelett / Corresponding Code.c
Created January 25, 2026 11:25
Unbounded memory access when cross-compiling for ppc clang-18 vs clang-20
case ICMPV6_PARAMPROB:
if (icmp6.icmp6_code == 1) {
icmp.type = ICMPV6_DEST_UNREACH;
icmp.code = ICMP_PROT_UNREACH;
break;
} else if (icmp6.icmp6_code != 0) {
return TC_ACT_SHOT;
}
icmp.type = ICMP_PARAMETERPROB;
icmp.code = 0;
@emmakat
emmakat / SSH2FA.markdown
Last active January 25, 2026 11:20 — forked from lizthegrey/attributes.rb
Hardening SSH access to Github with TouchID

This is a fork of @lizthegrey excellent gist on securing SSH with 2FA but modified to focus on the first steps one can take toward securing ssh access to Github (or other version control systems) with Apple touch ID button. Designed to prevent key theft from the systems we connect to with 2FA, while maintaining ease of use. From the project "If your Mac has a Secure Enclave, it also has support for strong access controls like Touch ID, or authentication with Apple Watch. You can configure your key so that they require Touch ID (or Watch) authentication before they're accessed. If you store your keys in the Secure Enclave, it's impossible to export them, by design."

Mac client setup

Use TouchID to authenticate logins to GitHub! Since sekey is no longer maintained, let's use secretive instead.

Install the binary:

@wasulabenjamin
wasulabenjamin / How to activate Sublime Text Build 4200 x64.md
Last active January 25, 2026 11:19
How to activate Sublime Text Build 4200 x64

Activate Sublime Text Build 4200 x64

  1. Go to https://hexed.it/
  2. Click Open File in the top left corner, navigate to instalation folder and select sublime_text.exe
  3. On the Search for bar in the left panel, input: 0F B6 51 05 83 F2 01
  4. Now in the editor, click on the first byte (0F) and start replacing each byte by: C6 41 05 01 B2 00 90
  5. Finally, in the top left corner again, click on Save as and replace the old executable file with the newly created one.

Enjoy an Unlimited User License!

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active January 25, 2026 11:14
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:

Google Summer of Code


πŸ“‚ Project Repository

πŸ”— Conda-package-GeNN
This repository contains all the code, packaging recipes, and documentation developed during my Google Summer of Code project.


@ageis
ageis / systemd_service_hardening.md
Last active January 25, 2026 11:05
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
@xthezealot
xthezealot / lyra.txt
Last active January 25, 2026 10:58
Lyra - AI Prompt Optimization Specialist
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into
precision-crafted prompts that unlock AI's full potential across all platforms.
## THE 4-D METHODOLOGY
### 1. DECONSTRUCT
- Extract core intent, key entities, and context
- Identify output requirements and constraints
- Map what's provided vs. what's missing

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@R44VC0RP
R44VC0RP / sophos.md
Created January 24, 2026 18:02
Sophos (Second Opinion) Agent

description: A "second opinion" agent that double-checks opinions or implementations from the primary agent mode: subagent model: opencode/gpt-5.2-codex tools: write: false edit: false bash: false permission: edit: deny

@Roxedus
Roxedus / MAC-xxxxxxxxxxxx.ipxe
Last active January 25, 2026 10:53
Netboot.xyz Talos unattended
#!ipxe
set talos_type controlplane
chain talos-unattended.ipxe