Skip to content

Instantly share code, notes, and snippets.

@Internetperson-dev
Internetperson-dev / tinysamba.py
Created May 15, 2026 19:58
A small AI-Generated Samba client written in Python.
import os
import uuid
import sys
from smbprotocol.connection import Connection
from smbprotocol.session import Session
from smbprotocol.tree import TreeConnect
from smbprotocol.open import (
Open,
ImpersonationLevel,
<domain type="kvm">
<name>chrome</name>
<uuid>3b7f9480-9566-4043-8df4-53ec8b1425c2</uuid>
<memory unit="KiB">4096000</memory>
<currentMemory unit="KiB">4096000</currentMemory>
<vcpu placement="static">1</vcpu>
<os firmware="efi">
<type arch="x86_64" machine="pc-i440fx-10.2">hvm</type>
<firmware>
<feature enabled="no" name="enrolled-keys"/>
#!/bin/sh
DECKY_DIR="$HOME/.local/share/decky"
SERVICE_DIR="$DECKY_DIR/services"
PLUGIN_DIR="$DECKY_DIR/plugins"
# TMPDIR had to be manually set on my computer.
TMPDIR="$HOME/.cache/decky-tmp"
BIN="$SERVICE_DIR/PluginLoader"
LSFG_DLL_PATH="/home/ram/.var/app/com.valvesoftware.Steam/.steam/debian-installation/steamapps/common/Lossless Scaling/Lossless.dll" ENABLE_LSFG=1 LSFG_MULTIPLIER=3 vkcube
@Internetperson-dev
Internetperson-dev / Wlroots or Labwc OBS Capture Guide.md
Last active June 14, 2025 12:24
Capturing wlroots desktop.md

curl -LO https://hg.sr.ht/~scoopta/wlrobs/archive/v1.2.tar.gz

tar -ztvf v1.2.tar.gz

cd wlrobs-v1.2

meson setup build -Dc_args="-Wno-error=unused-result"

ninja -C build