sudo su
echo "net.core.default_qdisc=fq_codel" >> /etc/sysctl.d/bbr.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/bbr.conf
I use used to use my mobile phone for internet access. My provider's Unlimited data plan
discouragesd tethering (using the phone as a hotspot), though, by throttling
traffic it sees coming from other devices.
A fairly simple and robust solution is was to run a proxy server on the phone, and
then set up the router to send all traffic through the proxy.
ffmpeg -i "HD Splice 1080p No Grain.mkv" -i "HD Splice 1080p No Grain.mkv" -filter_complex " | |
color=black:d=3006.57:s=3840x2160:r=24000/1001, | |
geq=lum_expr=random(1)*256:cb=128:cr=128, | |
deflate=threshold0=15, | |
dilation=threshold0=10, | |
eq=contrast=3, | |
scale=1920x1080 [n]; | |
[0] eq=saturation=0,geq=lum='0.15*(182-abs(75-lum(X,Y)))':cb=128:cr=128 [o]; | |
[n][o] blend=c0_mode=multiply,negate [a]; | |
color=c=black:d=3006.57:s=1920x1080:r=24000/1001 [b]; |
/** | |
* Encryption class for encrypt/decrypt that works between programming languages. | |
* | |
* @author Vee Winch. | |
* @link https://stackoverflow.com/questions/41222162/encrypt-in-php-openssl-and-decrypt-in-javascript-cryptojs Reference. | |
* @link https://github.com/brix/crypto-js/releases crypto-js.js can be download from here. | |
*/ | |
class Encryption { |
Extracting username & password of @wifi.id account by just using mac address.
POST
http method.import socket | |
import select | |
import sys | |
from threading import * | |
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
server_address = ("localhost", 14000) | |
client.connect(server_address) |
#!/bin/bash | |
# Create new chain | |
sudo iptables -t nat -N REDSOCKS | |
# Ignore LANs and some other reserved addresses. | |
sudo iptables -t nat -A REDSOCKS -d 0.0.0.0/8 -j RETURN | |
sudo iptables -t nat -A REDSOCKS -d 10.0.0.0/8 -j RETURN | |
sudo iptables -t nat -A REDSOCKS -d 127.0.0.0/8 -j RETURN | |
sudo iptables -t nat -A REDSOCKS -d 169.254.0.0/16 -j RETURN | |
sudo iptables -t nat -A REDSOCKS -d 172.16.0.0/12 -j RETURN |
# stream video | |
ffmpeg -re -i live.mp4 -c:v libx264 -preset veryfast -maxrate 3000k \ | |
-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \ | |
-ar 44100 -f flv "rtmp://rtmp-api.facebook.com:80/rtmp/" | |
# stream desktop | |
ffmpeg -video_size 1366x768 -framerate 25 -f x11grab -i :0.0 -ar 44100 -f alsa -ac 2 -i hw:0 -preset ultrafast output.mp4 -f flv "rtmp://rtmp-api.facebook.com:80/rtmp/" |
Pre-reqs: