Skip to content

Instantly share code, notes, and snippets.

View LenChou95's full-sized avatar

Len LenChou95

View GitHub Profile
@ifyour
ifyour / css-debugger.js
Last active May 10, 2020 02:04
JavaScript 书签,生成工具:https://mrcoles.com/bookmarklet/
!window.isDebugging && (window.isDebugging = false);
isDebugging ? disableDebugger() : enableDebugger();
function enableDebugger() {
document.querySelectorAll("*").forEach((elm) => {
elm.style.outline =
"1px solid #" + (~~(Math.random() * (1 << 24))).toString(16);
});
isDebugging = true;
}
# original post: https://rentry.org/sd-loopback-wave
# original author: https://rentry.org/AnimAnon
import os
import platform
import numpy as np
from tqdm import trange
import math
import subprocess as sp
import string
import random