Skip to content

Instantly share code, notes, and snippets.

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
@hello-party
hello-party / fancyindex.md
Last active August 27, 2022 09:35
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;
@hello-party
hello-party / tmdb.md
Last active June 4, 2022 08:12
TMDB Script w/ Google Apps Script

I have this script, which works well for OMDB. However, I want to modify it to also work with TMDB.

Notes:

  • I can sort of cobble things together, but I can't code otherwise.
  • This script checks for an ID (D3:D) or a title (C3:C) and optional year (B3:B)
  • Once all of the input data is entered (see below), boxes in A3:A are checked and those items are processed at once -- essentially in a flash, unlike with IMPORTJSON, which processes one row at a time.
  • I can't provide a demo sheet, since I've got API keys in the mix, but I will provide sample output for absolutely everything, so the post will be long.
  • This is an input sheet for a media dataset (static). Films are searched then the values are copy and pasted as values into their respective sheets. The current version uses IMPORTJSON and pulls from OMDB, TMDB, TVMaze, and also scrapes some basics from Letterboxd. IMPORTSON is very slow compared to the script below.
@hello-party
hello-party / podcastGenerator.md
Last active May 6, 2022 20:43
Simple Podcast Generator

This is pretty hacky, but it does work well once you're in the rhythm. So far as I understand it, id3v2 is out of date and doesn't support the latest id3 tag version or something. To get around this, I'm bumping the id3 tags down to v1 when I convert the flacs.

Requirements

  • ffmpeg
  • kid3-cli
  • id3v2
/*
This will strip away useless icons, dead space, bloat, etc. Make sure you're using https://draculatheme.com/thelounge first.
Major Improvements:
- current channel highlighting
- better mention highlighting
- no bloat
*/
:root {
/* Fairly Standard Dracula */
--background: #282a36;
--alternate: #44475a;
--foreground: #f8f8f2;
--fg-dark: #6272a4;
--fg-darkalt: #8d98bb;
--border: #6272a4;
:root {
--font-sans: "IBM Plex Sans", Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
--font-mono: "IBM Plex Mono", Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
--font-serif: "IBM Plex Serif", Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
--main: #fbfbfb;
--secondary: #ececec;
--semi-transparent: #0000000f;
--text: #282A36;
--link: #0087af;

Keybase proof

I hereby claim:

  • I am hello-party on github.
  • I am stevewillows (https://keybase.io/stevewillows) on keybase.
  • I have a public key whose fingerprint is 3BEA E777 4A74 BB3F F877 5A45 819F C769 DAC0 8E62

To claim this, I am signing this object:

This was originally at https://botbot.me/how-to-setup-irc-channel -- but the site seems to have disappeared.


Note: This guide is geared towards the Freenode IRC network, but with a few small tweaks should work against most public IRC networks.

Step 0 ‐ Are you Eligible?

Freenode is primarily a network for people involved in open source software. Read Freenode's guidelines to determine whether you are on topic before getting started. Although we are a private company, we work on open source code, and that is sufficient to claim eligibility.

ALIASES

use /alias add /aliasname

Rename Buffers

/script install buffer_autoset.py
/buffer_autoset add irc.$server.$channel short_name $1

Detach and Close (ZNC)