Skip to content

Instantly share code, notes, and snippets.

FoxxMD / .scrobbler.json
Created March 9, 2023 19:16 — forked from ericboehs/.scrobbler.json
Scrobble iTunes/Apple Music to
View .scrobbler.json
"lastfm": {
"username": "ericboehs",
"password": "secret",
"api_key": "abc123",
"api_secret": "xyz890"
FoxxMD /
Created September 15, 2022 20:12
3d printer investigation
FoxxMD / flow.yaml
Last active March 1, 2022 14:54
flow control for context-mod
View flow.yaml
# your configs will continue to work with 'checks' at top-level
# -- CM will automatically wrap them in a dummy run
# use 'runs' at top-level to configure your own runs.
# You CANNOT have a top-level 'checks' and 'runs'
- name: flairAndCategory
# Runs inherit the same filters as checks/rules/actions
# If these filters fail the Run is skipped and CM processes the next run in order
FoxxMD /
Created June 4, 2021 17:31 — forked from Dammmien/
Mustache cheatsheet

Basic tag

  Hello {{name}} !!


 {{! This is a comment, and it won't be rendered }}
FoxxMD /
Last active January 22, 2021 23:20
rclone setup

Install rclone plugin

Unraid => Apps => search for rclone and install the one with Waseh's Repository in it

Setup UI

create password file output =>

From unraid terminal: echo "htpasswdOutput" > /boot/config/plugins/rclone/.htpasswd

FoxxMD / massDeleteDiscord.js
Last active January 5, 2021 15:01
mass delete discord messages for a channel
View massDeleteDiscord.js
// based on
// What It Do?
// Will delete all messages in a channel AFTER the message id specified
// Specify username/descriminator to only delete by user,
// or leave empty to delete all messages
// How To Use
FoxxMD / Plex nvdec
Created April 3, 2019 15:57 — forked from Xaero252/
Enable nvdec support for plex dockers on unraid
View Plex nvdec
# This should always return the name of the docker container running plex - assuming a single plex docker on the system.
con="$(docker ps --format "{{.Names}}" | grep -i plex)"
echo -n "<b>Applying hardware decode patch... </b>"
# Check to see if Plex Transcoder2 Exists first.
exists=$(docker exec -i "$con" stat "/usr/lib/plexmediaserver/Plex Transcoder2" >/dev/null 2>&1; echo $?)
FoxxMD / resources.text
Created December 18, 2018 21:24
programming practice
View resources.text
FoxxMD / node-api-oauth-proxy.js
Last active February 13, 2018 21:44
A snippet of an express app that authenticates users using oauth and serves apis through a proxy
View node-api-oauth-proxy.js
var express = require("express");
var bodyParser = require("body-parser");
var httpProxy = require('http-proxy');
var url = require('url');
var sessions = require("client-sessions");
// configure session cookie
// sessions encrypts the cookie so even though the client has physical access
// the information it holds is not revealed (client's access token)