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 packettracerThen enter the container and install things.
# On the host
| table.print = function(xs, indent) | |
| indent = indent or "" | |
| for k, v in pairs(xs) do | |
| if type(v) == "table" then | |
| print(indent .. tostring(k) .. " = {") | |
| table.print(v, indent .. " ") | |
| print(indent .. "}") | |
| else | |
| print(indent .. tostring(k) .. " = " .. tostring(v)) | |
| end |
| #!/bin/bash | |
| # update nix and home-manager | |
| echo Updating Home-Manager Nix Flake && \ | |
| nix flake update --flake ~/.config/home-manager/ && \ | |
| echo Switching Home-Manager to latest packages && \ | |
| home-manager switch && \ | |
| # cleanup nix | |
| echo Cleaning up && \ |
| - oni | |
| - bornanukromik | |
| A simple reorganiation of the Bengali script in conventional "alphabetical" order | |
| - bornanukromik_matrapurbok | |
| Modifies the vowels to input their mark forms on tap, and phonemic forms on hold. | |
| - scio | |
| - qwertylike | |
| Tries to conform to a conventional Latin QWERTY layout as much as possible, with some choice exceptions. |
| // ==UserScript== | |
| // @name Workflowy Code to Fira Code | |
| // @version 2025-02-18 | |
| // @description Uses Fira Code (or the Nerd Font variant) for all inline code or code-block entries on Workflowy | |
| // @author 5310 | |
| // @match https://workflowy.com/ | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=workflowy.com | |
| // @grant none | |
| // @license MIT | |
| // ==/UserScript== |
| A simple page that loads both the Twitch.tv player and the chat window following their embedding API, so it actually works when embedded. |
| My first custom profile for the Keychron K2 Pro. Configured with and saved from [Via](https://usevia.app/). | |
| - Still uses the out of the box "Mac/Win" layer allocation | |
| - Layers 0 and 1, dead to me | |
| - Layers 2 is the default | |
| - Layers 3 is the `fn` overlay | |
| - `del` is `insert` | |
| - `ralt` and `,./kl;iop` are numpad digits | |
| - `↑←↓→` keys move the mouse | |
| - `enter` is click |
| - Installed using the [Determinate Systems Installer](https://github.com/DeterminateSystems/nix-installer) | |
| - Specifically for the Steam Deck using the `deck` profile: `... install steam-deck` | |
| - [NixGL](https://github.com/nix-community/home-manager/blob/master/docs/manual/usage/gpu-non-nixos.md) set up and working! | |
| - Now a module included with Home Manager | |
| - But the wrappers still need to be used with installed packages |
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 packettracerThen 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" |