Skip to content

Instantly share code, notes, and snippets.

View StarlitGhost's full-sized avatar
👩‍🚀
Procrastinating

StarlitGhost

👩‍🚀
Procrastinating
View GitHub Profile
@StarlitGhost
StarlitGhost / global-umatrix-rules.txt
Created May 24, 2018 13:55
My minimum set of global umatrix allow rules, that make most websites work
* ajax.googleapis.com script allow
* akamai.net script allow
* akamaihd.net script allow
* akamaihd.net xhr allow
* arcot.com frame allow
* arcot.com script allow
* arcot.com xhr allow
* cloudflare.com script allow
* gfycat.com frame allow
* gfycat.com media allow
@StarlitGhost
StarlitGhost / MoronBot v1.php
Last active February 28, 2018 14:12
The original PHP version of MoronBot!
<?php
/* CHECKS FOR A URL IN THE... URL. GOES TO DEFAULT ONE OTHERWISE */
if (isset($_GET['url']) == true) {
$url=$_GET['url'];
} else {
$url="irc.editingarchive.com";
}
/* CHECKS FOR A CHANNEL IN THE URL. GOES TO DEFAULT ONE OTHERWISE */
if (isset($_GET['channel']) == true) {
$chan="#".$_GET['channel'];