Skip to content

Instantly share code, notes, and snippets.

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.

@hello-party
hello-party / ZNC SSL.md
Last active February 7, 2019 20:56
Weechat SSL + Alias

FOR DIGITALOCEAN

Create a subdomain and rename your droplet to that FQDN (fully qualified domain name) -- e.g. d.omain.com

ON THE VPS

cat /etc/letsencrypt/live/d.omain.com/{privkey,fullchain}.pem > znc.pem

`` cd /etc/letsencrypt/renewal-hooks/deploy

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)

@hello-party
hello-party / ZSH-Aliases.md
Last active June 25, 2019 16:55
Simple, but useful ZSH functions
#use tb somefile.txt to post to termbin
function tb() {
    cat $1 | nc termbin.com 9999
}

#save videos to Desktop

function yt() {

cd ~/Desktop

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:

:root {
/* Fairly Standard Dracula */
--background: #282a36;
--alternate: #44475a;
--foreground: #f8f8f2;
--fg-dark: #6272a4;
--fg-darkalt: #8d98bb;
--border: #6272a4;
/*
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
*/
@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
@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 / 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;