I hereby claim:
- I am gpchelkin on github.
- I am gpchelkin (https://keybase.io/gpchelkin) on keybase.
- I have a public key whose fingerprint is 4631 1AC0 4DEA 57A3 3020 44EE 0CE9 E8C0 1DB8 1B31
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### NOT A SCRIPT, JUST A REFERENCE! | |
# install dante-server | |
sudo apt update | |
sudo apt install dante-server | |
# or download latest dante-server deb for Ubuntu, works for 16.04 / 18.04 / 20.04: | |
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/dante/dante-server_1.4.2+dfsg-7build5_amd64.deb | |
# or older version: | |
wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb |
#!/bin/bash | |
# Tested on Linux Mint 18.3 / Ubuntu 16.04 with PulseAudio 8.0. | |
# No need for superuser. | |
# You can map it to keyboard shortcut and press when bluetooth audio starts lagging. | |
# Reference: | |
# https://askubuntu.com/a/171165/373130 | |
# https://askubuntu.com/a/72076/373130 | |
BLUEZCARD=`pactl list cards short | grep bluez | awk '{print $1}'` |
Termux Bash script for monitoring internet connection by periodically checking (pinging some host) and showing notifications with LED and vibration when connection is lost or established using termux-notification API
termux-pinger.sh
into the home directory with the proper permissions (get the link to the raw termux-pinger.sh below):curl -o ~/termux-pinger.sh https://gist.githubusercontent.com/gpchelkin/b18916c56ff7c759860725a28a747242/raw/b8aa96bb2c7e1dac84f854980eaeb6cd194dde4f/termux-pinger.sh
chmod +x ~/termux-pinger.sh
#!/usr/bin/env bash | |
# https://github.com/shadowsocks/shadowsocks-rust/releases | |
export SSVERSION=v1.21.0 | |
export SSPORT=443 | |
export SSPASSWORD="CHANGEME" | |
export SSARCHIVE="shadowsocks-${SSVERSION}.x86_64-unknown-linux-gnu.tar.xz" | |
#export SSARCHIVE="shadowsocks-${SSVERSION}.aarch64-unknown-linux-gnu.tar.xz" | |
export PREFIX=/usr/local/bin |