On the host, make an Ubuntu toolbox container. Stock Ubuntu would probably work as well.
distrobox create -Y -i quay.io/toolbx/ubuntu-toolbox:22.04 -n packettracer
Then enter the container and install things.
# On the host
On the host, make an Ubuntu toolbox container. Stock Ubuntu would probably work as well.
distrobox create -Y -i quay.io/toolbx/ubuntu-toolbox:22.04 -n packettracer
Then enter the container and install things.
# On the host
import torch, grp, pwd, os, subprocess | |
devices = [] | |
try: | |
print("\n\nChecking ROCM support...") | |
result = subprocess.run(['rocminfo'], stdout=subprocess.PIPE) | |
cmd_str = result.stdout.decode('utf-8') | |
cmd_split = cmd_str.split('Agent ') | |
for part in cmd_split: | |
item_single = part[0:1] | |
item_double = part[0:2] |
#!/bin/bash | |
NODES=( | |
"https://github.com/ltdrdata/ComfyUI-Manager" | |
) | |
CHECKPOINT_MODELS=( | |
# "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt" | |
# "https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.ckpt" | |
# "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors" |
find . -type l -exec sh -c 'file -b "$1" | grep -q "^broken"' sh {} \; -print |
#!/bin/bash | |
# This is the old absolute mountpoint which no longer exists | |
old=/mnt/Archive | |
# This is the current mountpoint, | |
# which is factored out of the relative paths, | |
# but is needed for the symlinks to be repaired | |
new=/run/media/deck/Hatshepsut/Archive | |
find . -type l | while read f; do # for each deeply nested symlinks |
# Euler 1 expression | |
+´ ×⟜(∨´ 0 = 3‿5 | ⊢)¨ ↕100 | |
# Euler 1 operator | |
_comb_ ← {𝕩 𝔽 𝕨 𝔾 𝕩} | |
3‿5 +´∘×_comb_(∨˝ (0 = |⌜)) ↕100 |
type | variables | ||
---|---|---|---|
worker |
|
const f(x): Math.floor(Math.random()*x)
// NOTE: Because common sense is in short supply, | |
// and now that ESLint v6 can't resolve external configs to extend | |
// (but can be persuaded to load plugins; not configs), | |
// the following code is necessary for my setup. | |
// Credit: https://github.com/eslint/eslint/issues/11914#issuecomment-569108633 | |
const Module = require('module') | |
const ModuleFindPath = Module._findPath | |
Module._findPath = (request, paths, isMain) => { | |
const r = ModuleFindPath(request, paths, isMain) | |
if (!r) { |
// ==UserScript== | |
// @id s2check@pogohwh | |
// @name Pogo Tools, PoGOHWH | |
// @category Layer | |
// @namespace https://gitlab.com/AlfonsoML/pogo-s2/ | |
// @downloadURL https://gitlab.com/AlfonsoML/pogo-s2/raw/master/s2check.user.js | |
// @homepageURL https://gitlab.com/AlfonsoML/pogo-s2/ | |
// @supportURL https://twitter.com/PogoCells | |
// @version 0.93 | |
// @description Pokemon Go tools over IITC. News on https://twitter.com/PogoCells. This is a form made to run MUCH faster, kept at: https://gist.github.com/5310/c216c40cf6d34834c9cfaad0d820ae4d |