Skip to content

Instantly share code, notes, and snippets.

View TehPeGaSuS's full-sized avatar

TehPeGaSuS TehPeGaSuS

View GitHub Profile
@TehPeGaSuS
TehPeGaSuS / inspircd_cert.sh
Last active November 30, 2024 20:47
InspIRCd Stuff
#!/usr/bin/env bash
# NOTES:
# 1. This script was made to work with certbot. I don't guarantee it will
# work with other ACME clients.
#
# 2. This script was tested in Ubuntu 20.04 and higher. This should work as it is on
# any Debian/Ubuntu based distros. For other distros please check Certbot
# documentation.
#
@TehPeGaSuS
TehPeGaSuS / duckhunt_docs.md
Last active February 1, 2025 21:32
Duck Hunt Player Documentation

Duck Hunt v2.11 © 2015-2016 Menz Agitat

DESCRIPTION

  • Duck Hunt is an FPS for IRC.
  • Every now and then a duck will fly away and players must shoot it down as quickly as possible.

COMMANDS AND SYNTAX

PLAYER COMMANDS

@TehPeGaSuS
TehPeGaSuS / duckhunt_shop.md
Last active January 31, 2025 18:31
Duck Hunt Shop
Duck Hunt - shop
@TehPeGaSuS
TehPeGaSuS / IPv4_CIDR.md
Last active June 17, 2024 09:32
CIDR Masks
CIDR Notation Prefix Length Subnet Mask (Decimal) Network Address Address Range Total Hosts
/8 8 255.0.0.0 167.0.0.0/8 167.0.0.0 - 167.255.255.255 16,777,216
/16 16 255.255.0.0 167.94.0.0/16 167.94.0.0 - 167.94.255.255 65,536
/24 24 255.255.255.0 167.94.138.0/24 167.94.138.0 - 167.94.138.255 256
/32 32 255.255.255.255 167.94.138.125/32 167.94.138.125 1

Details | CIDR Notation | Explanation |

@TehPeGaSuS
TehPeGaSuS / UnrealIRCd Systemd.md
Last active October 2, 2024 16:49
UnrealIRCd Systemd Service Units
@TehPeGaSuS
TehPeGaSuS / Anope Systemd.md
Last active February 26, 2024 00:06
Anope Systemd Service Units
@TehPeGaSuS
TehPeGaSuS / weechat_renew.sh
Last active January 21, 2024 22:28
Automated renewal of WeeChat relay certificate
#!/usr/bin/env sh
#----------------------------------------------------------------------------------#
# Shell script to manage WeeChat relay certificates with Let's Encrypt and Certbot #
# #----------------------------------#
# NOTE: This script was tested on Ubuntu 20.04+ #
# #-----------------------------------#
# For other distros check Certbot documentation and edit paths/commands accordingly #
#-----------------------------------------------------------------------------------#
/* Original Module Author: Adam
* Updated for 1.9.4 (and beyond?): Laura
* Updated for 2.x: Gottem
* Data of Original: 14/02/10
* Date of This Version: 2019/04/25
**********************************************
* Module used in: Nickserv
* Syntax: /ns saregister 'nick' 'pass' 'email'
**********************************************
*/
@TehPeGaSuS
TehPeGaSuS / Quassel_Error.md
Created November 18, 2023 22:51
Quassel asks to be reconfigured on connectivity loss

/lib/systemd/system/quasselcore.service

[Unit]
Description=distributed IRC client using a central core component
Documentation=man:quasselcore(1)
Wants=network-online.target postgresql.service
After=network-online.target postgresql.service

[Service]
User=quasselcore
/*--------------------------------------------------------------
* Name: ns_massset
* Author: LEthaLity 'Lee' <[email protected]>, PeGaSuS
* Date: 4th November 2023
* Version: 0.3
* --------------------------------------------------------------
* This module provides the ability for a Services Oper with the
* nickserv/massset privilege to change NickServ settings for
* all registered users.
* This module is usually only loaded when needed, to undo something