Skip to content

Instantly share code, notes, and snippets.

@DrEmpiricism
DrEmpiricism / Start-WindowsCleanup.ps1
Last active September 7, 2026 09:56
Clean-up system clutter and reclaim disk space
Function Start-WindowsCleanup
{
<#
.SYNOPSIS
`Start-WindowsCleanup` cleans-up a system clutter and reclaims disk space.
.DESCRIPTION
The `Start-WindowsCleanup` cmdlet performs the following clean-up tasks to reclaim disk space:
Clears the contents of common directories of the Windows file system for both the current running user and the global system that are used to store temporary, logging, backup, cache and dump files.
@Wh1isper
Wh1isper / AGENTS.md
Last active September 7, 2026 09:53
AGENTS.md

Language Preference

Communication: 中文

Code & Work: English(代码、变量、函数、文件名、commit message、文档内容)

Doing Things

DO NOT use any emoji in response or documents.

@sorrycc
sorrycc / agent-arena-prompts.md
Created September 7, 2026 07:28
Agent Arena prompts (6 tasks)

Agent Arena Prompts

柑橘切片上的舞者

You're an artist.

citrus-slice.png in the current working directory is your baseline image: a photograph of a single citrus slice — a slice of lime — lying flat on a plain off-white background. Look at it before you start.

@gipert
gipert / itunes-on-arch-linux-guide.md
Created May 10, 2020 00:49
iTunes on (Arch) Linux: installation guide

Prerequisites

  1. Enable the multilib repository by editing /etc/pacman.conf
  2. Install WineHQ and some other optional dependencies:
    $ pacman -Syu wine
    $ pacman -S --asdeps lib32-mpg123 lib32-gnutls {lib32-,}gst-plugins-base-libs \
                         lib32-alsa-plugins lib32-libpulse lib32-openal
    $ yay -S lib32-unixodbc # or your favourite AUR helper
  3. We'll install a 64-bit version of iTunes, so no need to set WINEARCH
@wincent
wincent / agent-sandboxen.md
Last active September 7, 2026 09:37
List of coding agent sandboxes 2026-05

Coding Agent Sandboxes — Comprehensive List

Compiled from awesome-lists (restyler/awesome-sandbox, webcoyote/awesome-AI-sandbox, bureado/awesome-agent-runtime-security) and a survey of vendor blogs / field guides published through 2026. Grouped by isolation primitive and then by deployment model.

1. OS-level primitives (no container, no VM)

These rely on kernel/userland features to constrain a normal host process. Lowest overhead, weakest boundary.

  • macOS Seatbelt / sandbox-exec — Apple's TrustedBSD-based MAC framework. Used directly by Codex CLI, Gemini CLI, and underneath Anthropic's srt.
  • Linux Landlock — Unprivileged filesystem/network LSM; default backend for Codex CLI on Linux.
@ngfw
ngfw / BaseConverter.php
Last active September 7, 2026 09:34
PHP BaseConverter
<?php
declare(strict_types=1);
class BaseConverter
{
/**
* The character set used for base conversion.
* Includes digits 0-9 and lowercase and uppercase letters A-Z.
* The minimum base is 2 and the maximum base is 62.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 7, 2026 09:34
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@ekojsalim
ekojsalim / README.md
Created September 3, 2026 19:53
StarCraft website teaser: 8 observed partial-capture messages, decoded binary, 30 response samples, and collector (2026-09-03 UTC)

StarCraft website teaser: 8 observed messages

A searchable collection of messages returned by Blizzard's public partial-capture endpoint, including the original binary strings, ASCII decodings, and all 30 sampled response bodies.

Following the discoveries shared by u/RaiausderDose and u/beyond1sgrasp in this r/starcraft discussion. This collection independently retrieves the endpoint data; it does not claim the original discovery.

What was observed

  • 30 requests, 8 distinct messages. Each response contained 1–4 messages. The final 25 requests added no new messages.
  • Collection window: 2026-09-03 19:49:12–19:49:53 UTC (September 4 in UTC+7).
@bmsimons
bmsimons / ALLWINDOWSONTECHBENCH.md
Last active September 7, 2026 09:34
Download all Windows ISOs directly from Microsoft with a trick

Just run the following JavaScript bookmarklet on https://www.microsoft.com/en-us/software-download/windows10 to reveal all Windows versions.

$("select#product-edition").html("<option value selected value='selected'>Select edition</option><option value='2'>Windows 7 Home Basic SP1 </option><option value='4'>Windows 7 Professional SP1 </option><option value='6'>Windows 7 Home Premium SP1 </option><option value='8'>Windows 7 Ultimate SP1 </option><option value='10'>Windows 7 Home Premium N SP1 </option><option value='12'>Windows 7 Professional N SP1 </option><option value='14'>Windows 7 Ultimate N SP1 </option><option value='16'>Windows 7 Professional K SP1 </option><option value='18'>Windows 7 Professional KN SP1 </option><option value='20'>Windows 7 Home Premium K SP1 </option><option value='22'>Windows 7 Home Premium KN SP1 </option><option value='24'>Windows 7 Ultimate KN SP1 </option><option value='26'>Windows 7 Ultimate K SP1 </option><option value='28'>Windows 7 Starter SP1 </option><option value
@pourmand1376
pourmand1376 / Data Science CheatSheet.md
Last active September 7, 2026 09:33
Pandas, Numpy, Python Cheatsheet