Skip to content

Instantly share code, notes, and snippets.

View M0nteCarl0's full-sized avatar
🏴‍☠️
Protect & punish

Alex M0nteCarl0

🏴‍☠️
Protect & punish
View GitHub Profile
@adhishthite
adhishthite / autoexp-generic.md
Created March 7, 2026 21:28
autoexp — Autonomous Experimentation Loop. Generalized from Karpathy's autoresearch for any quantifiable metric project.

autoexp — Autonomous Experimentation Loop

Generalized from Karpathy's autoresearch. Same loop, any domain.


The Idea

An AI agent runs an infinite hill-climbing loop: modify → run → measure → keep or revert → repeat. No human in the loop. Wake up to a TSV of completed experiments.

YubiKey for FIDO2 Auth on WSL2 (Ubuntu)

What?

I got my hands on a new YubiKey 5 over the weekend. For those unaware, this is a pretty well-known security key which provides options for hardware authentication using a variety of different protocols (e.g. FIDO2, OpenPGP etc.). I was keen to try this out for authenticating with GitHub and also handling SSH credentials when accessing servers I'm running on my local network.

The problem however, is that I'm a pretty heavy WSL (Ubuntu) user and needed something which plays well in that environment. I didn't think about it too much when I initially ordered the YubiKey, but worked out over the weekend that getting a USB device (particularly a security key) to play nicely with WSL, isn't exactly straight forward. So, I did a write-up of the steps I ended up taking for others (or myself) to refer back to.

References

@startergo
startergo / KVM_in_WSL2.md
Last active August 13, 2026 04:40
KVM on WSL2 Windows 11
  • In WSL2 run:
sudo apt update
sudo apt install qemu qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils cpu-checker \
network-manager iptables-persistent linux-headers-generic \
qemu uml-utilities virt-manager git \
wget libguestfs-tools p7zip-full make dmg2img tesseract-ocr \
tesseract-ocr-eng genisoimage vim net-tools screen firewalld libncurses-dev -y
sudo apt install virt-manager
sudo addgroup kvm
@prawwtocol
prawwtocol / readme.md
Last active April 18, 2026 19:51
Отписаться от всех групп вконтакте (vk.com)
  1. Зайти во вкладку "сообщества" (https://vk.com/groups)
  2. Открыть консоль разработчика (обычно F12)
  3. Мы будем вставлять скрипт через CTRL+V для этого иногда нужно прописать в консоли "allow pasting"
  4. Вставить следующий скрипт
const links = document.querySelectorAll('a.ui_actions_menu_item');
links.forEach(link => {
  if (link.textContent === 'Отписаться' || link.textContent === 'Unfollow') {
    link.click();
 }
@M0nteCarl0
M0nteCarl0 / CRTP.cpp
Last active July 26, 2024 19:13
Senior Interview Q&A and code examples
#include <iostream>
// Base class using CRTP
template <typename Derived>
class Base {
public:
void doSomething() {
static_cast<Derived*>(this)->implementation();
}
@SpencerLeung1024
SpencerLeung1024 / notes_on_lcm_loras_with_openvino_stable_diffusion.md
Last active March 17, 2026 22:37
Observations from using LCM LoRAs with openvinotoolkit/stable-diffusion-webui.
@amshinde
amshinde / Nested_VFIO.md
Created May 17, 2023 06:27 — forked from sboeuf/Nested_VFIO.md
How to test VFIO with virtio-net-pci device

Prepare the host

Get the image clear-XXXXX-kvm.img

wget https://download.clearlinux.org/releases/30080/clear/clear-30080-kvm.img.xz
unxz clear-30080-kvm.img.xz

Add intel_iommu=on to the kernel boot parameters

mkdir mount_dir
@volkbay
volkbay / install_jupyter_lab_termux.md
Last active August 11, 2026 03:17
Install Jupyter Lab on Termux

🧰 Setup

  • Termux: 0.118
  • Android: 11
  • Device: Xiaomi Pad5
  • JupyterLab: 3.6.2

🪜 Installation

It is pretty straightforward to install Jupyter Notebook(classic, notebook version<7). In Jupyter Lab case, usually 'maturin' package is problematic to build. Please follow the steps below:

@aspose-com-gists
aspose-com-gists / ConvertTTFtoWOFF_CSharp.md
Last active December 7, 2023 02:05
Convert TTF to WOFF using C#