Skip to content

Instantly share code, notes, and snippets.

@boringparty
boringparty / fancyindex.md
Last active June 5, 2025 21:46
How to actually install fancyindex for nginx w/ Ubuntu

This is so stupid. You'll see all of these guides about compiling nginx w/ the module, etc etc -- forget all of that!

sudo apt-get install libnginx-mod-http-fancyindex

DONE. That is it.. at least for the prep. Now you can use

server {
  listen 443 ssl;
 server_name dl.site.name *.dl.site.name;
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-// //EN
CALSCALE:GREGORIAN
X-WR-CALNAME;VALUE=TEXT:Movie Calendar
BEGIN:VEVENT
SUMMARY:UPDATED - Red River (1948, 83%, Drama, Western)
DTSTAMP:20240402T000000
DESCRIPTION:Headstrong Thomas Dunson starts a thriving Texas cattle ranch with the help of his faithful trail hand, Groot, and his protégé, Matthew Garth, an orphan Dunson took under his wing when Matt was a boy. In need of money following the Civil War, Dunson and Matt lead a cattle drive to Missouri, where they will get a better price than locally, but the crotchety older man and his willful young partner begin to butt heads on the exhausting journey. | https://imdb.com/title/tt0040724/reference
DTSTART;VALUE=DATE:20240402
@boringparty
boringparty / discordCSS.md
Last active June 6, 2025 04:29
Discord Client Tweaks

Discord sucks. The client is slow and ugly.

This will grow, but it's changing the weight on the nicks and giving colors based on the numbers in their avatar's file name. It also hides the avatars because they're ugly.

This also tightens up the channel buffer and makes channel names red on activity. If you aren't already, be sure to enable the Favorites Server experiment.

For this CSS:

  1. open developer tools
  2. expand <head> and find the <style... after all of the prefetch and before all of the preload javascript
@boringparty
boringparty / goodreads_removeAll.js
Created October 18, 2025 07:04
GoodReads clear off the 'To Read' list...
// ==UserScript==
// @name Goodreads: Remove all To-Read
// @namespace https://www.goodreads.com/review/list/123456789-name
// @version 1.0
// @description Adds a button to remove every book on your Goodreads "to-read" shelf shown on the page (use per_page=infinite). Use with caution — deletes are permanent.
// @match https://www.goodreads.com/*review/list*
// @grant none
// ==/UserScript==
(function () {
@boringparty
boringparty / raceweek.md
Created March 21, 2026 09:59
A weechat plugin to show countdowns

A quick and dirty plugin to show countdowns to events -- in this case, F1 events

script

raceweek.py

import weechat
import os
from datetime import datetime as dt_class, timezone