add
This commit is contained in:
commit
226b89e191
7
kill-switch/kill_switch_off.sh
Normal file
7
kill-switch/kill_switch_off.sh
Normal 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
|
8
kill-switch/kill_switch_on.sh
Normal file
8
kill-switch/kill_switch_on.sh
Normal 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
16
push-notifs-translator.py
Normal 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
11
update-hosts.sh
Executable 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
|
Loading…
Reference in a new issue