Skip to content

Instantly share code, notes, and snippets.

@beached
beached / bare_asio_server.cpp
Last active October 5, 2026 01:47
A barebones async server with Boost ASIO
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <cstdint>
#include <iostream>
#include <list>
#include <memory>
struct Connection {
boost::asio::ip::tcp::socket socket;
boost::asio::streambuf read_buffer;

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

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:

<Name>IDM Full ToolKit</Name>
<Version>4.7</Version>
<Download>https://onedrive.live.com/download?cid=860C6C270D0296DF&resid=860C6C270D0296DF%21175&authkey=APaTYii-uJSRpD0</Download>
link khác:
https://uploading.vn/vtyktzy6ukao
https://veryfiles.com/apcik7jdp3wz
[IDM Toolbar]
<URL>https://drive.google.com/uc?export=download&id=0B3sqdC3gTItxWDNubEFCZEI0RkE</URL>
@plembo
plembo / instubuvmvirtinst.md
Last active October 5, 2026 01:31
Install Ubuntu VM using virt-install

Install a Ubuntu VM using virt-install for KVM (libvirtd)

Ubuntu is a particularly difficult distro to work with virt-install for a lot of reasons, not the least of which is that it departs from its Debian base in many key respects: starting with disk images. What's more, those departures are mostly undocumented. Debian and CentOS are a lot easier. Given IBM's recent actions with regard to CentOS, I think Debian is the best choice going forward.

Main source for how to do this was:

How to install KVM on Ubuntu 20.04 LTS Headless Server

For an interactive "graphical" console install

Two files, ubuntu.env for the environment variables, and inst-ubuntu.sh to run the commands.

@RhysSullivan
RhysSullivan / README.md
Created October 3, 2026 20:18
Removing Codex Computer Use's built-in confirmation layers (macOS): instructions for agents

Removing Codex Computer Use's built-in confirmation layers (macOS)

Instructions for a coding agent. Apply them on the user's Mac only when the user has asked for it. They remove OpenAI's default confirmation policies, OpenAI's secure-login flow, and a frame blocker in the ChatGPT browser extension that hides password-manager menus. After this, Codex follows the user's own instructions (AGENTS.md) instead of OpenAI's rules.

Tradeoff. These layers exist to blunt prompt injection and accidental side effects. Without them, the agent will send, delete, buy, and log in

@sam1am
sam1am / gist:190ea377921d1ca4b6da50b8c131c992
Last active October 5, 2026 01:29
Plain English Claude Output Style
---
name: Plain English
description: Answer first, common words, one statement per point, length
matched to the question. Applies only to output text intended for humans.
keep-coding-instructions: true
---
These rules govern any surface intended to be read by a human. Your
internal reasoning, working notes between tool calls, and subagent
instructions stay in whatever form serves the work; reason however you need
@deepu105
deepu105 / strix-halo-halogen-gufo-llamastash.md
Last active October 5, 2026 01:20
Handover: Halogen + gufo behind LlamaStash on Strix Halo (Qwen3.8 Flash-Next and 27B)

Handover: Halogen + gufo behind LlamaStash on Strix Halo

You are setting up a local LLM stack on an AMD Strix Halo machine (Ryzen AI Max+ 395, Radeon 8060S, gfx1151, 128 GB unified memory) running native Linux. When you finish, the user can start any of these from LlamaStash (TUI, CLI, or its OpenAI/Anthropic proxy), each with ready-made presets:

LlamaStash row Engine Weights
flash-next-halogen Halogen (Docker image) Halogen native v2 .hgn (Qwen3.8-Flash-Next)
Qwen3.8-Flash-Next-UD-Q4_K_XL gufo (native build) Unsloth UD-Q4_K_XL GGUF + Unsloth shared MTP head
Qwen3.8-27B-UD-Q6_K gufo (native build) Unsloth UD-Q6_K GGUF + z-lab DFlash2 draft
@AgentRev
AgentRev / soundCloudPlaylist.js
Last active October 5, 2026 01:19 — forked from Thomasvdam/soundCloudPlaylist.js
Copy SoundCloud playlist items from one to another, and add user tracks to playlist
const WAIT_OPEN_PLAYLIST_POPUP = 1000;
const WAIT_AFTER_ADD_PLAYLIST = 1500;
const PLAYLIST_NAME = 'Target';
const listItems = Array.from(document.querySelectorAll('.sc-button-group.sc-button-group-small:first-child'));
const addItemToPlaylist = (index) => {
const node = listItems[index];
@Klerith
Klerith / testing-configuration.md
Last active October 5, 2026 01:18
Configuración de Vitest + React Testing Library