This file contains hidden or 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
| --[[ | |
| NeoVIM NVChad Configuration Setup | |
| sudo add-apt-repository ppa:neovim-ppa/unstable | |
| sudo apt update | |
| sudo apt install -y neovim clangd python-is-python3 python3-pip | |
| sudo pip install pyright | |
| git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 | |
| curl https://gist.github.com/c3rb3ru5d3d53c/init.lua >> ~/.config/nvim/init.lua | |
| wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/DroidSansMono.zip | |
| unzip DroidSansMono.zip -d ~/.fonts/ |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Author: @c3rb3ru5d3d53c | |
| # Requires: ffplay, piper | |
| # piper : https://github.com/rhasspy/piper | |
| # Global Variable Configuration | |
| PIPER=/home/c3rb3ru5/Tools/piper/piper | |
| PIPER_VOICE=/home/c3rb3ru5/Tools/piper/piper-voices/en/en_US/hfc_female/medium/en_US-hfc_female-medium.onnx | |
| PIPER_PITCH=1 |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import sys | |
| import json | |
| import onnx | |
| import glob | |
| import os | |
| os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' | |
| os.environ["GRPC_VERBOSITY"] = 'error' |
This file contains hidden or 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
| # In Speech Note Settings and Accessibility Enable | |
| # "Use Global Keyboard Shortcuts" | |
| # "Allow external applications to invoke actions" | |
| # Install wl-copy and wl-paste as well | |
| # Then add the following command to your desktop environment as a custom shortcut | |
| bash -c 'wl-copy < /dev/stdin <<< "$(wl-paste --primary)"; flatpak run net.mkiol.SpeechNote --start-in-tray --action start-reading-text --text "$(wl-paste | tr "\n" " ")"' | |
| # Now you can do your shortcut on selected text in any app, the text is copied, then read with speech note directly |
OlderNewer