Skip to content

Instantly share code, notes, and snippets.

@FoxxMD
FoxxMD / printer.md
Created September 15, 2022 20:12
3d printer investigation
View printer.md
@FoxxMD
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'
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
FoxxMD / mustache.md
Created June 4, 2021 17:31 — forked from Dammmien/mustache.md
Mustache cheatsheet
View mustache.md

Basic tag

  Hello {{name}} !!

Comments

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

Install rclone plugin

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

Setup UI

create password file output => https://hostingcanada.org/htpasswd-generator/

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

@FoxxMD
FoxxMD / massDeleteDiscord.js
Last active January 5, 2021 15:01
mass delete discord messages for a channel
View massDeleteDiscord.js
// based on https://stackoverflow.com/a/49462738/1469797
// 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
FoxxMD / Plex nvdec enable.sh
Created April 3, 2019 15:57 — forked from Xaero252/Moved.md
Enable nvdec support for plex dockers on unraid
View Plex nvdec enable.sh
#!/bin/bash
# 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
FoxxMD / resources.text
Created December 18, 2018 21:24
programming practice
View resources.text
https://github.com/karan/Projects
https://github.com/tastejs/awesome-app-ideas
https://github.com/prakhar1989/awesome-courses
https://github.com/danistefanovic/build-your-own-x
https://github.com/joereynolds/what-to-code
@FoxxMD
FoxxMD / ascii.txt
Created August 25, 2016 13:45
ASCII I might use in comments
View ascii.txt
, ,
/ \/ \
(/ //_ \_
.-._ \|| . \
\ '-._ _,:__.-"/---\_ \
______/___ '. .--------------------'~-'--.)__( , )\ \
`'--.___ _\ / | Here ,' \)|\ `\|
/_.-' _\ \ _:,_ Be Dragons " || (
.'__ _.' \'-/,`-~` |/
'. ___.> /=,| Abandon hope all ye who enter |
@FoxxMD
FoxxMD / redux-animation.js
Created December 10, 2015 13:49
something to use for animations with react/redux
View redux-animation.js
//requires https://github.com/gaearon/redux-thunk
//https://www.reddit.com/r/reactjs/comments/3vw7xq/reduxflux_animation_confusion/cxrpjbx
export default {
offset: 0,
interval: 0,
started: false,
paused: false,
start(offset, onTick) {
this.reset();