Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Back in my day
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0.0
// @author Hri7566
// @description 6/30/2024, 6:12:12 AM
// ==/UserScript==
@Hri7566
Hri7566 / dwm.md
Created June 26, 2024 23:49
don't read this

dwm setup guide written by a lazy person

First, get dwm.

$ git clone https://git.suckless.org/dwm.git

side note: you also need dmenu (required), and probably st (you can change it).

@Hri7566
Hri7566 / libgantry.lua
Created June 14, 2024 23:29
create gantry crane computercraft
-- libgantry
-- Crane control library
-- by Hri7566
-- Crane designed by Khorne_The_Proto
local gantry = {}
local bn = nil
local gs = nil
local red = nil
// ==UserScript==
// @name Hri's MPP bot
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Uses object-oriented commands.
// @author You
// @match http://www.multiplayerpiano.com/*
// @grant none
// ==/UserScript==
float flimit(float n, float low, float high)
{
return max(min(n, high), low);
}
float fmap(float n, float start1, float stop1, float start2, float stop2)
{
float newval = (n - start1) / (stop1 - start1) * (stop2 - start2) + start2;
if (start2 < stop2)
// ==UserScript==
// @name Eval
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 4/21/2023, 7:12:33 AM
// ==/UserScript==
// ==UserScript==
// @name Gigachad Template
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 11/9/2023, 10:33:05 PM
// ==/UserScript==
// ==UserScript==
// @name GlassMPP
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @match https://www.multiplayerpiano.org/*
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 8/12/2023, 4:53:24 PM
// ==UserScript==
// @name Jacored banned words fix
// @namespace Violentmonkey Scripts
// @match *://multiplayerpiano.com/*
// @match *://*.multiplayerpiano.com/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 10/5/2023, 10:02:52 AM
// ==/UserScript==
@Hri7566
Hri7566 / notdumdum.md
Created September 25, 2023 16:42
How to install node on a Linux server without being a dumdum

How to install node on a Linux server without being a dumdum

I keep having people login to my VPS and use node the wrong way. This document is to stop people from trying to install it with apt and do crazy things with npm that don't make sense.

Install fnm

Do not use the version of node from apt. It is older than the Pyramids of Giza. Instead, use fnm.

$ curl -fsSL https://fnm.vercel.app/install | bash