Skip to content

Instantly share code, notes, and snippets.

@mattezell
mattezell / README.md
Last active July 31, 2026 19:54
Install Antigravity 2.0 / Antigravity IDE on Linux from the official tarballs (user-local install, Ubuntu 24.04+ AppArmor handled)

Antigravity / Antigravity IDE — Linux tarball installer

Antigravity 2.0 and the Antigravity IDE currently ship for Linux as raw .tar.gz archives — no .deb, no .AppImage, no Flatpak, no installer. This gist is a small set of shell scripts that turn one of those extracted tarballs into a proper user-local install: a desktop launcher in your app menu, a CLI symlink on your $PATH, an icon, and (on Ubuntu 24.04+) a working Chromium sandbox via an AppArmor profile.

Status: community workaround. Replace with whatever Google ships

@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active July 31, 2026 19:52
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
" plugins
set nocompatible
filetype off
let need_to_install_plugins=0
if empty(system("grep lazy_load ~/.vim/bundle/vundle/autoload/vundle.vim"))
echo "Installing Vundle..."
echo ""
silent !mkdir -p ~/.vim/bundle
silent !rm -rf ~/.vim/bundle/vundle
silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
@TheKing-OfTime
TheKing-OfTime / Export any Yandex Music Web playlist tracks.js
Last active July 31, 2026 19:37
Export any Yandex Music Web playlist tracks to a file. Console script
// СКРИПТ ДЛЯ МГНОВЕННОГО ЭКСПОРТА ПЛЕЙЛИСТОВ ИЗ НОВОЙ ВЕБ ВЕРСИИ ЯНДЕКС МУЗЫКИ
// Created by: TheKingOfTime
// Version: 1.2
// License: MIT
// Как использовать:
// 1) Откройте веб версию Яндекс Музыки.
// 2) Откройте консоль (F12).
// 3) Вставьте код, нажмите Enter.
// Экспорт будет происходить при заходе в плейлист (не альбом).
@glauroqj
glauroqj / trava_zap_infinito.js
Last active July 31, 2026 19:30
Trava Zap Infinito
/*
Credits to original content: https://github.com/Matt-Fontes/SendScriptWhatsApp/blob/main/shrekSendScript.js
*/
let repeatTimes = 10;
let internalCount = 0;
const script = `
SHREK
Written by
@Supernova3339
Supernova3339 / password-breach.ts
Created June 21, 2025 01:40
Check if your user's password has been in a data breach.
import crypto from 'crypto';
interface PasswordBreachResult {
isBreached: boolean;
breachCount: number;
}
/**
* Check if a password has been compromised in known data breaches
* Uses HaveIBeenPwned's Pwned Passwords API v3 (k-anonymity model)
@mayerwin
mayerwin / ScheduleAutoLogon.ps1
Last active July 31, 2026 19:00
Headless RDP auto‑logon at startup (Windows Server 2022+). Creates a hidden FreeRDP connection at boot (to fire user logon triggers), then kills it after 60 s. Stores creds securely in Credential Manager.
<#
.SYNOPSIS
Installs (or uninstalls) a headless RDP‐at‐startup scheduled task and optional per‑user logon tasks.
.DESCRIPTION
When run without -Disable, this script:
• Ensures it’s elevated to Administrator.
• Stores (or reuses) RDP credentials in Windows Credential Manager.
• Downloads the FreeRDP client (if not already present) to .\bin\sdl3‑freerdp.exe.
• Registers a “HeadlessRdp_Bootstrap” task under \ScheduleAutoLogon\ that, at system startup,

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.

@idolpx
idolpx / meatloaf_opendir.php
Last active July 31, 2026 18:37
Meatloaf Server Script - To create commodore basic PRG directory listing of files on server
<?php
//
// Meatloaf - A Commodore 64/128 multi-device emulator
// https://github.com/idolpx/meatloaf
// Copyright(C) 2022 James Johnston
//
// Meatloaf Server Script-----------------------------------------
// Create a directory listing as a Commodore Basic Program
// Responds with binary PRG file ready to load and list
// ---------------------------------------------------------------