Discover gists · GitHub
Skip to content

Instantly share code, notes, and snippets.

Activate Windows with PowerShell

This method demonstrates how to activate Windows using PowerShell in administrator mode.

Steps to Activate Windows:

  1. Open PowerShell as an administrator:

    • Press Win + S, type "PowerShell," then right-click on Windows PowerShell and select Run as administrator.
  2. Run the following command:

@Fluepke
Fluepke / Reference
Created October 20, 2026 16:29
C=US, O=eMudhra Inc, CN=EM OV TLS CA - G3C
@MarceloPrado
MarceloPrado / anatomy-of-cloudflare-prompt.md
Created October 19, 2026 13:23
Prompt for Anatomy of Cloudflare video

Eu queria que você usasse esse prompt e o tweet abaixo (com computer use) e criasse um vídeo de cerca de 3 a 5 minutos explicando como Cloudflare funciona e os diversos primitivos deles. Por exemplo, eu quero entender os diversos tipos de bancos de dados que ele oferece, como Durable Storage, KV, SQLite e coisas do tipo. E também os diversos deployment models, por exemplo, o que é um worker? Como eu, como eu faço para ter arquivos estáticos ou ter o equivalente de um servidor ou hospedar um Hermes ou OpenClaw Agent dentro do Cloudflare? O vídeo precisa ser extremamente polido. É importante pensar bastante na qualidade do vídeo. Eu acho que a gente pode seguir o approach do anatomy skill - https://skills.wheresryan.sh/anatomy

O vídeo precisa ter bastante animação e motion design e usar o approach de anatomy para decompor Cloudflare em diversos primitivos e ajudar a pessoa a entender como funciona. Ele tem que ter uma subtitle que vai acompanhando a, a legenda do vídeo,

=============router.py===================
@router.post('/signup_pet', status_code = 201)
def petssign(pets: Pets):
global pets_database
if pets.name in pets_database:
raise HTTPException(status.HTTP_306_RESERVED)
pets_database[pets.name] = pets
@senyaXVII
senyaXVII / gist:33a2125f6fdf937a352bfa8852c54b9b
Created October 21, 2026 13:09
сделал калькулятор с помощью ютуб гайда

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:

@vasi
vasi / mount_clonezilla.md
Last active October 21, 2026 13:05
Mounting Clonezilla images with FUSE

Mounting Clonezilla images with FUSE

I love to make backups with Clonezilla. But often, I'll back up my system, wipe my Linux partition and try another distro—only to realize that I need access to just one file from the old installation. For example, maybe I made an interesting change to my .zshrc or Samba configuration, which I want to re-use on the new system.

The obvious solutions aren't my favorites. It's easy to restore an image to a spare disk, but it takes a long time, and requires a spare disk I'm willing to wipe. I [could extract an entire image][extract_image], but that also takes lots of time and space. Wouldn't it be nice to just look inside my compressed Clonezilla image, just like I can do with a zip file or squashfs archive?

It turns out it's possible, with clever use of [user-space filesystems][fuse]!

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.

@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active October 21, 2026 12:52
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!