Skip to content

Instantly share code, notes, and snippets.

View Rmlyy's full-sized avatar
👋

Rmly Rmlyy

👋
View GitHub Profile
@Rmlyy
Rmlyy / userscript.js
Created November 12, 2022 21:56
Tampermonkey userscript for Boosteroid contrast and brightness
// ==UserScript==
// @name Boosteroid Contrast
// @namespace https://boosteroid.com
// @version 0.1
// @description Changes stream contrast and brightness to 100%
// @author Rmly
// @match https://cloud.boosteroid.com/static/streaming/streaming.html?session=*
// @icon https://cloud.boosteroid.com/favicon.ico
// @grant none
// ==/UserScript==
@Rmlyy
Rmlyy / deleteMsg.js
Last active November 28, 2022 10:04
Discord Self-Bot to delete all messages from a channel
const { Client } = require('discord.js-selfbot-v13')
const client = new Client({
checkUpdate: false,
})
const channelId = process.env.CHANNEL_ID
async function fetchAllMessages(channelId) {
const channel = client.channels.cache.get(channelId)
let messages = []
@Rmlyy
Rmlyy / docker-compose.yml
Created December 25, 2022 12:58
Nextcloud and MariaDB Docker Compose using linuxserver.io images
version: "2.1"
services:
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Bucharest
volumes:
@Rmlyy
Rmlyy / addServer.sh
Last active July 18, 2023 07:42
Easily add servers to Minetrack's server list.
#!/bin/bash
serverName="$1"
serverIp="$2"
serverType="$3"
serverPosition="$4"
serversFile="$5"
tempFile="$6"
exampleUsage="Example: ./$(basename "$0") Hypixel mc.hypixel.net (PC) (bottom) (servers.json) (temp.json)\n* Arguments between () are optional."