$ yay -S squid
# iptables -L -n -v | grep 3128
0 0 ACCEPT tcp -- * * 192.168.1.0/24 0.0.0.0/0 state NEW tcp dpt:3128
``` | |
adb shell | |
mount system | |
echo '' >> /system/build.prop | |
echo '# Enable ADB' >> /system/build.prop | |
echo 'persist.service.adb.enable=1' >> build.prop | |
echo 'persist.service.debuggable=1' >> build.prop | |
echo 'persist.sys.usb.config=mtp,adb' >> build.prop | |
echo 'service.adb.tcp.port=5555' >> build.prop | |
``` |
#!/bin/bash | |
# <Constants> | |
cache_dir="$HOME/.cache/wallblur" | |
display_resolution=$(swaymsg -pt get_outputs | grep Current | awk '{print $3}') | |
# </Constants> | |
# <Functions> | |
err() { |
unmapAll | |
# Navigating the page | |
map j scrollDown count=2 | |
map k scrollUp count=2 | |
map G scrollToBottom | |
map gg scrollToTop | |
map e scrollPageUp | |
map d scrollPageDown | |
map h scrollLeft |
# variables | |
set $mod Mod4 | |
set $left h | |
set $down j | |
set $up k | |
set $right l | |
set $menu sirula | |
set $files nemo | |
set $browser librewolf |
{ | |
"layer": "top", // Waybar at top layer | |
"position": "top", // Waybar at the bottom of your screen | |
"height": 32, // Waybar height | |
"modules-left": ["sway/workspaces","sway/mode"], | |
"modules-center": ["clock",], | |
"modules-right": ["keyboard-state","custom/protonmail","network","pulseaudio", "battery", "tray"], | |
"sway/workspaces": { | |
"icon": false, | |
"disable-scroll": true, |
## First get json of instances | |
You may get this from LibRedirect extension repo | |
https://github.com/libredirect/libredirect/tree/master/src/instances |
#!/bin/bash | |
echo -n "Possible Values: invidious nitter bibliogram teddit wikiless scribe simplyTranslate lingva searx whoogle rimgo" \n | |
instances="$@" | |
listurl="https://raw.githubusercontent.com/tillcash/libredirect/master/src/instances/data.json" | |
tmpfile="/tmp/output" | |
# Download list | |
if test -f data.json; then | |
echo \n data.json already exists\n, using it \n |
#!/bin/bash | |
o=output | |
cap=10 | |
for server in $(cat servers) | |
do | |
ping=$(ping "$server" -c $cap) | |
avg=$(echo $ping| grep avg | cut -d'/' -f 5) | |
if [[ "$avg" != "" ]]; then |