Wokraround
pacman -S --overwrite "*" <package_name>
Also
pacman -Qnq | pacman -S - --overwrite '*'
Wokraround
pacman -S --overwrite "*" <package_name>
Also
pacman -Qnq | pacman -S - --overwrite '*'
This gist explains how to integrate a custom OpenAI translator backend into the Linguist Chrome extension.
Source: https://github.com/translate-tools/linguist
Issue: translate-tools/linguist#230 (comment)
Go to Setting -> Custom translators -> Add
class OpenAITranslator {
constructor() {
Encountered an error in Talos when running nft list ruleset
% kubectl debug -n kube-system -it --image alpine node/$NODE
/ # apk add nftables
/ # nft list ruleset
netlink: Error: cache initialization failed: Operation not permitted
The issue was related to security capabilities and was resolved by using --profile=sysadmin
:
PIP deps
pip install pytesseract pdf2image python-docx pypdf
Install tesseract-lang
brew install tesseract-lang
#!/usr/bin/env bash | |
# File name | |
readonly PROGNAME=$(basename $0) | |
# File name, without the extension | |
readonly PROGBASENAME=${PROGNAME%.*} | |
# File directory | |
readonly PROGDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | |
# Arguments | |
readonly ARGS="$@" |
#!/bin/bash | |
set -e | |
# zsh will not install without ncurses. If the machine doesn't have this library, it will need to be installed first. | |
export CXXFLAGS=" -fPIC" CFLAGS=" -fPIC" CPPFLAGS="-I${HOME}/include" LDFLAGS="-L${HOME}/lib" | |
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz | |
tar -xzvf ncurses-6.2.tar.gz | |
cd ncurses-6.2 | |
./configure --prefix=$HOME --enable-shared |
#!//bin/bash | |
swappoff -a | |
echo "yes" | parted /dev/nvme0n1 rm 4 | |
echo "yes" | parted /dev/nvme0n1 rm 3 | |
echo "yes" | parted /dev/nvme1n1 rm 4 | |
echo "yes" | parted /dev/nvme1n1 rm 3 |