This commit is contained in:
def 2022-09-12 09:11:57 +02:00
commit 226b89e191
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/bash
echo "y" | sudo ufw enable
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
notify-send 'Kill-switch OFF' 'Maybe, maybe not, or maybe fuck off' --icon=dialog-information

View file

@ -0,0 +1,8 @@
#!/bin/bash
echo "y" | sudo ufw enable
sudo ufw default deny incoming
sudo ufw default deny outgoing
sudo ufw allow out on tun0 from any to any
sudo ufw enable
notify-send 'Kill-switch ON' 'Maybe, maybe not, or maybe fuck off' --icon=dialog-information

16
push-notifs-translator.py Normal file
View file

@ -0,0 +1,16 @@
from translate import Translator
import pynput
from pynput.keyboard import Key, Controller
import pyclip
from notify import notification
keyboard = Controller()
translator = Translator(to_lang="ru")
with keyboard.pressed(Key.ctrl):
keyboard.press('c')
keyboard.release('c')
result = translator.translate(pyclip.paste(text=True))
notification('Перевод на русский:', message=result, app_name='Born2copy')

11
update-hosts.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
# Linux hosts Updater for the Ultimate Hosts Blacklist
# Repo Url: https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist
# Copyright (c) 2020 Ultimate Hosts Blacklist - @Ultimate-Hosts-Blacklist
# Copyright (c) 2017, 2018, 2019, 2020 Mitchell Krog - @mitchellkrogza
# Copyright (c) 2017, 2018, 2019, 2020 Nissar Chababy - @funilrys
# Get the latest updated hosts file and put it into place
sudo wget https://hosts.ubuntu101.co.za/hosts -O /etc/hosts
notify-send 'hosts was updated!' 'Maybe, maybe not, or maybe fuck off' --icon=dialog-information