Skip to content

Instantly share code, notes, and snippets.

@Rejdukien
Rejdukien / EmbedText.plugin.js
Last active September 9, 2017 17:42 — forked from notmike101/EmbedText.plugin.js
A self-bot embedded inside a BetterDiscord plugin that allows you to use the rich-text/embed feature.
//META{"name":"EmbedText"}*//
/* HOW TO USE:
COMMAND: /embed (color:#000000) (title:"Title") Text Content
Ex: /embed color:#ff0000 title:"This is the title" This is the text
This will create an embed with a red color and with a title saying "This is the title" with textsaying "This is the text".
Color can be any hex color.
Title MUST be wrapped in double quotes.
v2 will allow for both single and double quotes.
*/
@Rejdukien
Rejdukien / timelapse_ssim.py
Last active November 3, 2019 02:19
Smooth Timelapse via structural similarity - modified reps.cc script
#!/usr/bin/env python3
# Requirements: pip install scikit-image joblib imageio
from joblib import Parallel, delayed
from skimage.metrics import structural_similarity as ssim
from skimage.io import imsave as saveImage
import imageio
startingFrame = 0
number = 120