This guide explains how to route all Discord voice server traffic through tun2socks using a list of IP addresses from discord-voice-ips.
- macOS
jqinstalled (brew install jqif needed)
This guide explains how to route all Discord voice server traffic through tun2socks using a list of IP addresses from discord-voice-ips.
jq installed (brew install jq if needed)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 {
#apiKey = 'API_KEY'; // Replace with your actual OpenAI API keyEncountered 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 permittedThe 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 |