Skip to content

Instantly share code, notes, and snippets.

@cjmaxik
cjmaxik / webhook.md
Last active December 5, 2026 02:11
Proxmox - Discord notification via Webhook

Proxmox - Discord notifications via Webhook

Note

If you have error 400 when sending the notification, that means that your message is too long, since Discord has a character limit of 2000. If you don't care about the logs, remove {{ escape message }} from the description field. Otherwise, seek another way to send notifications (i.e. via Cloudflare worker that truncates the description field).

image
  1. Add Notification Target
  • Endpoint name: Discord
  • Method: POST
@yuuslokrobjakkroval
yuuslokrobjakkroval / CompleteDiscordQuest.md
Last active December 5, 2026 02:10
complete the discord quest without game

Complete Recent Discord Quest - v0.0.9 ~ Updated 08 / Nov / 2026

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
name anti-slop-python
description Simplify Python code by removing defensive over-engineering, unnecessary abstractions, generic dictionaries, excessive runtime checks, wrapper helpers, and AI-generated architectural noise.

Python Anti-Slop

Apply these rules whenever modifying Python code.

The goal is simple, explicit, typed, idiomatic Python that is easy to trace and does not defend against impossible internal states.

@ezracb
ezracb / VMware Workstation Pro and Fusion Pro Licence Keys
Created April 9, 2021 14:43
VMware Workstation Pro and Fusion Pro Licence Keys
Obviously using these keys may be a grey area. I use them for my computer, but there are no guarentees VMware won't sue you if you use them in a commercial environment.
VMware Workstation 16
YF390-0HF8P-M81RQ-2DXQE-M2UT6
VMware Fusion Pro 12
YF390-0HF8P-M81RQ-2DXQE-M2UT6
As far as I know, this key works on both Fusion and Workstation.
@michabbb
michabbb / ssh-post-quantum-guide.md
Created November 15, 2025 18:31
SSH Post-Quantum Cryptography Configuration Guide - How to enable post-quantum key exchange and suppress OpenSSH warnings

SSH Post-Quantum Cryptography Configuration Guide

This guide explains how to configure SSH to use post-quantum cryptography and suppress related warnings.

Understanding the Warning

When connecting via SSH, you might see:

** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
@di404
di404 / prototype_grid.gdshader
Created December 4, 2026 07:09
Godot 4 procedural triplanar prototype grid material (PrototypeGridMaterial)
shader_type spatial;
render_mode diffuse_burley, specular_schlick_ggx;
group_uniforms projection;
uniform bool world_space = true;
uniform float cell_size : hint_range(0.05, 50.0, 0.05) = 1.0;
uniform vec3 grid_offset = vec3(0.0);
uniform float triplanar_sharpness : hint_range(1.0, 16.0, 0.5) = 6.0;
group_uniforms pattern;
@dc-avasilev
dc-avasilev / info.md
Last active December 5, 2026 01:43
win11pro

ОЕМ или ОЕI не приобретайте, так как лицензия предназначена только для сборщиков ПК и поставляется конечному пользователю только вместе с ПК+ имеет ограничения- данная лицензия привязывается к железу и не может быть перенесена на другое устройство. ESD или BOX не имеет таких ограничений.

Шаг 1. Вы переходите на панель задач и введите cmd =>, затем щелкните правой кнопкой мыши Командная строка и выберите Запуск от имени администратора

Шаг 2: Вы вводите команду« slmgr.vbs /ipk », чтобы установить лицензионный ключ Windows 11.

Здесь вы найдете

@xcscxr
xcscxr / drm-workflow.md
Created June 15, 2026 08:19
DRM Workflow: End-to-End System Integration

DRM Workflow: End-to-End System Integration

0. The Problem DRM Solves

The core tension

You want to let a user watch a video but not keep a usable copy of it. This is hard because "watching" means sending the video data to the user's device. Once the data is on their device, they technically "have" it.

Why simpler approaches fail

@walterowisk
walterowisk / shrekSendScript.js
Last active December 5, 2026 01:24
Script Shrek para WhatsApp - Copie todo o conteúdo (clique em raw -> ctrl+a -> ctrl+c) // No WhatsApp Web abra o console do Browser // Cole o código no console e aperte Enter
async function enviarScript(scriptText){
const lines = scriptText.split(/[\n\t]+/).map(line => line.trim()).filter(line => line);
main = document.querySelector("#main"),
textarea = main.querySelector(`div[contenteditable="true"]`)
if(!textarea) throw new Error("Não há uma conversa aberta")
for(const line of lines){
console.log(line)
@kkebo
kkebo / ssh.plist
Last active December 5, 2026 01:21
Plist file for LaunchAgents when OpenSSH is installed via Homebrew (for macOS 13 aarch64)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<true/>
<key>Label</key>
<string>com.openssh.sshd.homebrew</string>
<key>Program</key>
<string>/opt/homebrew/sbin/sshd</string>