Skip to content

Instantly share code, notes, and snippets.

View Shillos's full-sized avatar

Shillos Shillos

View GitHub Profile

Discord

(Unofficial) Discord server rules suggestions list

Author's Note

I'll start off with letting you know this is a fork from someone else. However, for some bizarre reason, this is the one everyone finds, so I better get round to updating this. Credit to Cristiano#2233 for the original idea.

Also, I've had a lot of people saying the rules are to strict. If you pick all the rules here, you're right, it would be very strict. However the rules below are guidelines! They are there for you to pick the ones you desire, you can ignore ones you don't want. Hopefully they might help with rules you wouldn't have thought of otherwise.

@Shillos
Shillos / WebhookTutorial.md
Created June 16, 2022 14:15 — forked from DerEnderKeks/WebhookTutorial.md
Simple Webhook Tutorial (Twitter -> Discord using IFTTT)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel.

Step 1 - Register on IFTTT

  1. Go to https://ifttt.com/ and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send Tweets.

  2. In the settings for that channel, find the Webhooks option and create a new webhook.

how to leverage oracle's temping offers

free tier limits

The limits of the free tier say that you can create up to 4 instances.

  • x2 x86 instances (2core/1g)
  • x2 ampere instances (with 4core/24g spread between them)
  • 200GB total boot volume space across all intances (minimum of 50G per instance)

create your account

@Shillos
Shillos / deploy_irc
Created July 15, 2021 10:16 — forked from TehPeGaSuS/deploy_irc
Automate certificates with UnrealIRCd (one server only setup)
#!/bin/sh
# NOTE: This script was made to work with certbot. I don't guarantee it will
# work with other ACME clients.
#
# This was tested in Ubuntu 20.04. This should work as it is on
# Debian/Ubuntu based distros. For other distros please check Certbot
# documentation.
#
# Place this script inside /etc/letsencrypt/renewal-hooks/deploy/ and
@Shillos
Shillos / proxy.py
Created June 14, 2021 19:02 — forked from richardg867/proxy.py
Comic Chat fixer
#
# Comic Chat fixer MITM proxy: fixes Comic Chat to (sort of) work with modern
# IRC servers. Tested with Microsoft Chat 2.5 on Windows XP, 8 and 10
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@Shillos
Shillos / apeunit.test-config.js
Created May 11, 2020 15:23 — forked from noandrea/apeunit.test-config.js
Standalone and autenticated Jitsi configuration sample
/* eslint-disable no-unused-vars, no-var */
var config = {
// Connection
//
hosts: {
// XMPP domain.
domain: 'apeunit.test',

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

[Unit]
Description=KiwiIRC plugin fileuploader
After=network.target
[Service]
User=kiwiirc
Group=kiwiirc
ExecStart=/usr/bin/kiwiirc-fileuploader --config=/etc/kiwiirc/plugin-fileuploader.toml
ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/usr/local/kiwiirc/
location / {
index index.html;
root /usr/share/kiwiirc/;
}
location /webirc/ {
# Forward incoming requests to local webircgateway socket
proxy_pass http://127.0.0.1:7778/webirc/;
# Set http version and headers
proxy_http_version 1.1;
<VirtualHost *:80>
ServerName kiwiirc.example.com
ServerAdmin webmaster@example.com
# Kiwi IRC client files are located here
DocumentRoot /usr/share/kiwiirc
DirectoryIndex index.html
# Reverse proxy websocket connections