Skip to content

Instantly share code, notes, and snippets.

@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active June 4, 2026 19:55
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@Colelyman
Colelyman / README.md
Created February 6, 2026 18:41
Pi Coding Agent Extensions - Debug, Guardrails, Review, Todos, Emacs Bridge, Web Browser

Pi Coding Agent Extensions

Custom extensions for pi, a CLI coding agent.

Directory Structure

Place these files in ~/.pi/agent/extensions/:

~/.pi/agent/extensions/
@pedramamini
pedramamini / rocky_say
Last active June 4, 2026 19:52
rocky_say — Rocky voice TTS from Project Hail Mary (voice cloning + text style transform)
#!/usr/bin/env python3
"""
rocky_say — Text-to-speech using Rocky's cloned voice (Project Hail Mary)
Transforms input text into Rocky's speech patterns ("text GAN"), then
synthesizes audio using XTTS v2 voice cloning. Rocky is the Eridian alien
from Andy Weir's Project Hail Mary, voiced by James Ortiz in the 2026 film.
His speech patterns are distinctive: dropped articles, simplified grammar,
word tripling for emphasis ("good good good", "bad bad bad"), and the
@brainysmurf
brainysmurf / concurrency.gs
Last active June 4, 2026 19:51
Concurrent processing in App Scripts
/**
* Pretends to take a long time to return two rows of data
*
* @param {string} endpoint
* @return {ResponseObject}
*/
function doSomething (endpoint) {
Utilities.sleep(5 * 1000); // sleep for 5 seconds
return {
numberOfRows: 2,
@massahud
massahud / gemini generated table.md
Last active June 4, 2026 19:49
Illustrious modifiers

💎 Quality & Detail Modifiers (Positive Prompt)

These tags directly influence the perceived quality, detail, and "finish" of the image.

Modifier (Tag) Description
"Magic" Tags (Highest impact for Noobai/Illustrious)
very awa (Noobai Specific) The most powerful tag, trained on the top 5% of aesthetically-rated images.
masterpiece A classic, high-tier tag for high-quality, artistic output.
best quality Similar to masterpiece, strongly pushes for a clean, well-rendered image.
@nskforward
nskforward / mikrotik-vless.md
Last active June 4, 2026 19:45
Настройка VPN-туннеля VLESS на роутере MikroTik

Настройка VPN (VLESS + Reality) на роутере Mikrotik

Обновление от 08.01.2026

Инструкция предполагает, что ваш роутер сброшен до заводских настроек.

Инструкция проверена на RouterOS версии 7.20

Проверка поддержки контейнеров

@bradtraversy
bradtraversy / myscript.sh
Last active June 4, 2026 19:39
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
# ══════════════════════════════════════════════════════════════════════
# SETUP — install everything this file depends on
# ══════════════════════════════════════════════════════════════════════
# Core tools (one line). Run once on a fresh machine:
#
# brew install starship fzf zoxide eza bat
#
# starship — the prompt
# fzf — fuzzy finder (Ctrl+R history, Ctrl+T files)
# zoxide — smart cd (`z <partial>` jumps to frequent dirs)
@WildSiphon
WildSiphon / DockerDesktop.yaml
Created July 5, 2025 11:00
Docker Desktop direct download links
4.0.0:
Windows: https://desktop.docker.com/win/main/amd64/67817/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/67817/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/67817/Docker.dmg
release_date: '2021-08-31'
4.0.1:
Windows: https://desktop.docker.com/win/main/amd64/68347/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/68347/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/68347/Docker.dmg
release_date: '2021-09-13'
@umakrishnaswamy
umakrishnaswamy / copy_savedview.py
Last active June 4, 2026 19:38
Copy a W&B saved-view template across projects
"""Copy a W&B saved-view template from one project's workspace to another.
Reads the source saved view via its URL (the `?nw=<id>` query string identifies
the saved view) and reconstructs an identical Workspace in the destination
projectpreserving sections/panels, workspace settings (smoothing, x-axis,
outliers, etc.), and runset settings (filters, grouping, ordering, pinned
columns, per-run colors/disabled state).
Setup:
pip install wandb wandb-workspaces