#!/usr/bin/env python3 | |
import plotext as plt | |
from subprocess import check_output | |
import psutil | |
import time | |
import math | |
CMD = "sensors amdgpu-pci-0500 | grep PPT | grep -oP '(?<=cap =) *(.?\d+)'" | |
TARGET_TEMP_MAX = 91 | |
TARGET_TEMP_MIN = 87 |
#!/usr/bin/env python3 | |
import plotext as plt | |
from subprocess import check_output | |
import psutil | |
import time | |
CMD = "sensors amdgpu-pci-0500 | grep PPT | grep -oP '(?<=cap =) *(.?\d+)'" | |
TARGET_TEMP = 83 | |
CRITICAL_TEMP = 92 | |
CAP_MIN = 2 |
# This example uses M2M-100 models converted to the CTranslate2 format. | |
# Download CTranslate2 models: | |
# • M2M-100 418M-parameter model: https://bit.ly/33fM1AO | |
# • M2M-100 1.2B-parameter model: https://bit.ly/3GYiaed | |
import ctranslate2 | |
import sentencepiece as spm |
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.
In fact, it is merely an incompatible alternative, and not e
#!/bin/bash | |
expireTime="3200" | |
mpddir="$HOME/Music/" | |
defaultimage="$HOME/music.png" | |
update_cover() { | |
path=$mpddir$(mpc -f %file% current) | |
album=$(mpc -f %file% current) | |
ffmpeg -loglevel quiet -y -i "$path" /tmp/cover |
#!/bin/sh | |
mpc -f "[[%artist% - ][%album% - ]%title%]|[%file%]" playlist | \ | |
cat -n | sed "s/\t/: /" | \ | |
cut -c 1-120 | dmenu -i | cut -d ':' -f 1 \ | |
| xargs -r mpc play > /dev/null |
#!/bin/bash | |
# btrfs-undelete | |
# Copyright (C) 2013 Jörg Walter <info@syntax-k.de> | |
# This program is free software; you can redistribute it and/or modify it under | |
# the term of the GNU General Public License as published by the Free Software | |
# Foundation; either version 2 of the License, or any later version. | |
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
echo |