Skip to content

Instantly share code, notes, and snippets.

View TehPeGaSuS's full-sized avatar

TehPeGaSuS TehPeGaSuS

View GitHub Profile
@TehPeGaSuS
TehPeGaSuS / duckhunt_docs.md
Last active October 12, 2024 20:47
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 October 12, 2024 20:47
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
@TehPeGaSuS
TehPeGaSuS / disposable_emails.conf
Last active July 7, 2023 12:52
Badwords blocks with disposable emails list to use with UnrealIRCd. This should keep the usage of disposable emails low.
badword all { word "*0-mail.com*"; action block; }
badword all { word "*027168.com*"; action block; }
badword all { word "*0815.ru*"; action block; }
badword all { word "*0815.ry*"; action block; }
badword all { word "*0815.su*"; action block; }
badword all { word "*0845.ru*"; action block; }
badword all { word "*0box.eu*"; action block; }
badword all { word "*0clickemail.com*"; action block; }
badword all { word "*0n0ff.net*"; action block; }
badword all { word "*0nelce.com*"; action block; }