Skip to content

Instantly share code, notes, and snippets.

🐝
just a human beein'

George Pchelkin gpchelkin

🐝
just a human beein'
Block or report user

Report or block gpchelkin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

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:

@gpchelkin
gpchelkin / dante_setup.sh
Last active May 12, 2020
How To Setup SOCKS5 Proxy Server for (not only) Telegram using Dante on Ubuntu 16.04 / 18.04
View dante_setup.sh
### 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 and 18.04:
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/dante/dante-server_1.4.2+dfsg-2build1_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
@gpchelkin
gpchelkin / bluez_lag_off.sh
Last active Feb 4, 2018
PulseAudio: switch Bluez card A2DP Audio Profile off and on and set it as default sink to disable lags.
View bluez_lag_off.sh
#!/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}'`
@gpchelkin
gpchelkin / termux-pinger.md
Last active Nov 2, 2019
Termux Bash script for checking internet connection by periodically pinging some host and showing notifications with LED and vibration when connection is lost or established
View termux-pinger.md

termux-pinger.sh

Termux Bash script for checking internet connection by periodically pinging some host and showing notifications with LED and vibration when connection is lost or established using termux-notification API

Requirements

  • Termux
  • Termux:API add-on
  • Execute the following commands to place script termux-pinger.sh into the home directory with the proper permissions (get the link to the raw termux-pinger.sh below):
curl -O https://gist.githubusercontent.com/gpchelkin/b18916c56ff7c759860725a28a747242/raw/b8aa96bb2c7e1dac84f854980eaeb6cd194dde4f/termux-pinger.sh
chmod +x termux-pinger.sh
You can’t perform that action at this time.