Skip to content

Instantly share code, notes, and snippets.

View xrobau's full-sized avatar

Rob Thomas xrobau

View GitHub Profile
@xrobau
xrobau / plexstats.php
Created December 4, 2024 23:02
Simple Plex History reporter
#!/usr/bin/env php
<?php
// Setup: (Run this in a root shell, either log in as root or use 'sudo -i')
// You should have the following packages installed
// apt-get -y install composer php-xml php-sqlite3
// Install Guzzle
// composer require guzzlehttp/guzzle
//
// Set the token - there's many ways to get it, including
@xrobau
xrobau / minergun.js
Created October 16, 2024 00:29
MinerGunBuilder Alliance Code generator
// Change your invite code, and run this as many times as you want.
var ic = "e0f135ef961d6d82d35346b9a578d028e6bbee3cc02f020b5d8a8421483597b8";
x = generateCode(ic);
console.log(x);
function getEven(f) {
var e = [ 8,12,15,2,14,3,5,1,7,13,11,9,10,4,6,0];
return e[parseInt(f,16)];
}
@xrobau
xrobau / devtools.js
Last active August 7, 2024 05:06
Bulk remove items from Steam Marketplace
// Push F12 when you're logged into steam in your browser, to open the devtools window
// Edit the window.appid line to change it to the app you want to remove all items from
// the marketplace for, and maxloops to the number of times it'll pull 100 and try to
// remove them. If you have lots of OTHER things in the market, this might not be for
// you, as it will only look at the first 100 items you have up for sale.
window.appid = 3069990; // 'RantCPU Clickbait', random NFT-esque game.
window.pl = function () {
console.log(window.toremove.length + " items to remove");
@xrobau
xrobau / extract.sh
Created April 7, 2024 23:11
Windows 10 SLIC and MSDM into Proxmox KVM
#!/bin/bash
# On the 'donor' machine, boot a live linux ISO (Ubuntu or whatever)
# and connect it to the internet. Then run these commands, which will
# dump the contents to sprunge.us so you can retrieve them easily. Or
# copy them manually, whatever.
mkdir -p /tmp/MSDM
cd /tmp/MSDM
for f in SLIC MSDM; do

Keybase proof

I hereby claim:

  • I am xrobau on github.
  • I am xrobau (https://keybase.io/xrobau) on keybase.
  • I have a public key ASBtGiCkZGkKTW6SG9qn35weQYgyAQqbMjSpaP0vsXV8oQo

To claim this, I am signing this object:

[Unit]
Description=Bungeecord Service
After=remote-fs.target
[Service]
Type=forking
User=bungee
ExecStart=/usr/bin/screen -dmS bungeecord /usr/local/bin/bungeecord.sh
ExecStop=/usr/bin/screen -S bungeecord -X quit
Restart=always
[2014-09-08 08:38:51] Accepted 2f19f95e PXY15 pool 0 Diff 5/2
[2014-09-08 08:38:51] Closing socket for stratum pool 0
[2014-09-08 08:38:51] Pool 0 stratum share submission failure
==16704== Thread 11:
==16704== Invalid write of size 1
==16704== at 0x4E54332: ??? (in /usr/lib64/libcurl.so.4.1.1)
==16704== by 0x4E549B8: ??? (in /usr/lib64/libcurl.so.4.1.1)
==16704== by 0x4E55AF4: curl_mvsnprintf (in /usr/lib64/libcurl.so.4.1.1)
==16704== by 0x4E4683E: Curl_failf (in /usr/lib64/libcurl.so.4.1.1)
==16704== by 0x4E5B49E: ??? (in /usr/lib64/libcurl.so.4.1.1)
@xrobau
xrobau / MCAU PVP
Created June 16, 2012 10:15
MCAU PvP Mod guidelines
We've had a few discussions about this on IRC, and this is a quick document outlining what we expect from
the mods/admins on the PvP Server.
You don't have creative, you don't have god. You're just the same as every other player. You just have a
few extra powers.
1: Mute
This is probably the most common punishment. As attacking other players is part of the game, they can't
REALLY whinge about it too much.