Skip to content

Instantly share code, notes, and snippets.

View swarm-protocol's full-sized avatar
🎯
Focusing

Alucinari Cognita swarm-protocol

🎯
Focusing
View GitHub Profile
@swarm-protocol
swarm-protocol / litterbox.sh
Created February 9, 2026 23:54
bash uploader for litterbox.catbox.moe (useful for HTML5 apps)
#!/usr/bin/env bash
set -euo pipefail
# Configuration
LOG_FILE="${HOME}/litterbox.log"
API_ENDPOINT="https://litterbox.catbox.moe/resources/internals/api.php"
CATBOX_TIME="${CATBOX_TIME:-72h}" # Default 72h, override via env
# Usage
@Kladki
Kladki / dearrow-userscript.js
Last active January 31, 2026 16:45
DeArrow user script with playlist sidebar support
// ==UserScript==
// @name DeArrow for Invidious
// @namespace http://tampermonkey.net/
// @version 0.2.8
// @description Adds support for DeArrow in Invidious
// @match https://yewtu.be/*
// @match https://iv.ggtyler.dev/*
// @match http://192.168.8.8:3000/*
// @icon https://dearrow.ajay.app/logo.svg
// @grant GM.xmlHttpRequest
# The containers configuration file specifies all of the available configuration
# command-line options/flags for container engine tools like Podman & Buildah,
# but in a TOML format that can be easily modified and versioned.
# Please refer to containers.conf(5) for details of all configuration options.
# Not all container engines implement all of the options.
# All of the options have hard coded defaults and these options will override
# the built in defaults. Users can then override these options via the command
# line. Container engines will read containers.conf files in up to three
# locations in the following order:
# 1. /usr/share/containers/containers.conf
@johncch
johncch / app.js
Created March 12, 2012 00:26
Simple redirect app
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, http = require('http');
var app = express();