Skip to content

Instantly share code, notes, and snippets.

@agatinoai
agatinoai / openclaw-setup-guide.md
Last active August 3, 2026 20:08
Setting Up Your Own AI Agent with OpenClaw — A practical guide to isolation, dedicated accounts, and security

Setting Up Your Own AI Agent with OpenClaw

A practical guide to giving an AI agent its own identity, accounts, and infrastructure — isolated from your personal stuff.

Based on a real setup running on macOS.


The Philosophy

@mrrfv
mrrfv / Arch_Secure_Boot_UKI_TPM_FDE.md
Last active August 3, 2026 20:05
Arch Linux with Secure Boot, signed UKIs and TPM+PIN FDE

Arch Linux with Secure Boot, signed UKIs and TPM+PIN FDE - easy peasy lemon squeezy

This guide will walk you through setting up a secure Arch Linux installation with Secure Boot and unified kernel images, which both work together to ensure your kernel hasn't been tampered with, as well as TPM-backed full disk encryption that makes evil maid attacks even harder to perform in an undetectable way. It avoids shim and hacky, over-engineered workarounds.

1. Install Arch Linux

I use archinstall for the sake of simplicity. Choose systemd-boot or EFISTUB as your bootloader and enable unified kernel images. It's recommended to encrypt your root partition as it'll store the secure boot keys.

2. Install sbctl

@BrianLincoln
BrianLincoln / YTMLikesToPlaylist.md
Last active August 3, 2026 20:04
YouTube Music Likes to Playlist

Copy Likes to a playlist in YouTube Music

This is a very hacky solution to copy Liked songs to a playlist since YTM still doesn't have the functionality. I'm using this to copy songs out of YTM to another service, then unsubscribing. Thus, I won't be maintaining it (or ever using it again). It will only work while the YTM interface is the same as it is today (3/6/21) and will break once they make updates.

Steps to use:

  1. Create a new playlist
  2. Go to your Likes page (in chrome, on a desktop or laptop). Scroll to the bottom so all songs are loaded
  3. Open Chrome's dev tools (F12 on windows), go to the console
  4. Paste the script below. Edit the first line, replace "YOUR_PLAYLIST_NAME" with your playlist's name
  5. Press enter
@walfie
walfie / strudel-roman-chords.js
Last active August 3, 2026 19:58
Roman notation chords in Strudel
const romanChordMapping = { i: 0, ii: 1, iii: 2, iv: 3, v: 4, vi: 5, vii: 6 }
register('romanChord', function (scaleName, pat) {
return pat.as("roman:chordSuffix").fmap(({ roman, chordSuffix}) => {
const lower = roman.toLowerCase();
return n(romanChordMapping[lower]).scale(scaleName).fmap(value => {
return value.note.slice(0, -1) + (roman == lower ? 'm' : '') + (chordSuffix || '');
}).chord();
}).outerJoin();
});
# 🚀 NixOS Live ISO Boot Commands (ThinkPad X1E2)
## 1. Entrar como Root en la ISO
sudo -i
## 2. Montar discos
mount /dev/nvme0n1p5 /mnt
mount /dev/nvme0n1p1 /mnt/boot
## 3. Configurar Git para Root
@troyfontaine
troyfontaine / 1-setup.md
Last active August 3, 2026 19:46
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

VPN нужен любому человеку пользующимся интернетом в России. Другой вопрос - какой VPN всё ещё работает и как его достать? Благодаря людям и их ответам в VPN-треде, был составлен данный список.

Примечание: Возможно вам не требуется VPN для обхода блокировок, сначала посмотрите Дополнительные инструменты.

Легенда
⚠️ Ограниченный трафик
@rxaviers
rxaviers / gist:7360908
Last active August 3, 2026 19:41
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@zekesonxx
zekesonxx / homelab.md
Last active August 3, 2026 19:38
Zoey's Homelab Culture Guide

Zoey's Homelab Culture Guide

  1. Don't just say hello
  2. Don't ask to ask
  3. Don't use UNRAID
  4. Ask for help with what you want to actually do, not a piece of the puzzle you think will get you there.
  5. #offtopic is 80% shitposting. #general and #general_deux are 20% shitposting. Learn to distinguish the shitposting from actual advice.
  6. We are not a replacement for googling / looking things up. We're happy to point you in the right direction, but if you want something that can be easily found online, you're getting linked to LMGTFY/LMDDGTFY.
    Bad question example: "What's the difference between Docker and VMs?"
  7. Everyone has their own opinions about what's good and what's bad. Human subcultures are nested fractally. There's no bottom. You've found a fractal nest of bored sysadmins arguing about
@liangfu
liangfu / ffmpeg.md
Created May 24, 2017 04:46 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: