Lightweight GNOME-based color schemes for Firefox using Firefox Color:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Mushroom Kingdom Gridify | |
@namespace https://gist.github.com/garrett/27db37934769262249ff76ac42cba7e1 | |
@version 1.0.0 | |
@description Add a grid to Super Mario Bros. level maps | |
@author Garrett LeSage | |
==/UserStyle== */ | |
@-moz-document domain("themushroomkingdom.net") { | |
div.mapwrapper { | |
--block: 16px; /* blocks are 16px × 16px */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/tmpfiles.d/power_limit.conf | |
# MSR | |
# PL1 | |
w /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw - - - - 44000000 | |
w /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us - - - - 28000000 | |
# PL2 | |
w /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw - - - - 44000000 | |
w /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us - - - - 2440 | |
# MCHBAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (max-width: 900px) { | |
body { | |
font-size: max(16px, 3.5vmin); | |
min-width: revert; | |
} | |
#Box { | |
width: auto; | |
padding: 0 1.5rem; | |
overflow: hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cryptsetup --allow-discards --persistent refresh /dev/mapper/luks* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run --pull newer --detach --security-opt label=type:container_runtime_t --replace --device /dev/kfd --device /dev/dri -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama:rocm; podman run --replace --pull newer -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main |
- Convert symlink: Method to toggle between absolute and relative symlinks
- Could use something like
ln -sf
to convert in-place;ln -srf
can also ensure it's a relative link
- Could use something like
- Move directory without breaking (absolute) links contained within (and "move" can also be rename)
- Find absolute symlinks pointing to files within the directory structure (and store them in an JS object, relative to the path that's being changed)
- Convert all absolute symlinks that point to files within the directory to relative (temporarily)
- Move the directory
OlderNewer