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
wget https://download.bluemail.me/BlueMail/deb/BlueMail.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-6ubuntu1_all.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-6ubuntu1_amd64.deb | |
sudo dpkg -i gconf2-common_3.2.6-6ubuntu1_all.deb | |
sudo dpkg -i libgconf-2-4_3.2.6-6ubuntu1_amd64.deb | |
sudo dpkg -i BlueMail.deb | |
# add --no-sandbox in the end of the launcher command |
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
#!/bin/bash | |
set -e | |
sudo apt update | |
sudo apt install opensnitch | |
RULE_PATH="/etc/opensnitchd/rules" | |
sudo mkdir -p "$RULE_PATH" | |
sudo tee "$RULE_PATH/000-allow-system-cmds.json" > /dev/null <<'EOF' |
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
# pip install pyinstaller | |
# pyinstaller --onefile update.py | |
# sudo mv dist/update /usr/local/bin/poetry-update | |
# chmod +x /usr/local/bin/poetry-update | |
import tomlkit | |
import requests | |
from pathlib import Path | |
import subprocess |
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
# Utils | |
alias upd='sudo apt update && sudo apt full-upgrade -y && flatpak upgrade -y' | |
alias cleanup='sudo apt autoremove -y && sudo apt autoclean -y && flatpak uninstall --unused -y' | |
alias please='sudo $(fc -ln -1)' | |
alias ip='ip -c a' | |
alias ports='sudo lsof -i -P -n | grep LISTEN' | |
# Zsh config helpers | |
alias zshconfig="nano ~/.zshrc" | |
alias zshaliases="nano ~/.zsh_aliases" |
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
#!/bin/bash | |
set -e | |
# Detecta gerenciador de pacotes | |
if command -v dnf &>/dev/null; then | |
PM="dnf" | |
elif command -v apt &>/dev/null; then | |
PM="apt" | |
else |
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
#!/bin/bash | |
NANORC="$HOME/.nanorc" | |
# Reseta o arquivo | |
> "$NANORC" | |
# Inclui a pasta principal (assumindo que sempre existe) | |
echo 'include "/usr/share/nano/*.nanorc"' >> "$NANORC" |
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
# install zsh | |
cd $HOME | |
sudo apt install zsh | |
touch .zshrc | |
chsh -s $(which zsh) | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | |
# install plugins | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
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
https://www.videolan.org/vlc/download-skins2-go.php?url=eDark%20Vlc.vlt |
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
import boto3 | |
aws_access_key_id = "XXXXXXXXXXX" | |
aws_secret_access_key = "XXXXXXXXXXX" | |
aws_session_token = None | |
region_name = "us-east-1" | |
s3_client = boto3.client( | |
"s3", | |
aws_access_key_id=aws_access_key_id, |
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
// ~/.config/discord/settings.json | |
{ | |
"SKIP_HOST_UPDATE": true | |
} |
NewerOlder