Skip to content

Instantly share code, notes, and snippets.

@Yanik39
Yanik39 / vpn-refresh.sh
Created June 1, 2020 08:12 — forked from smcpeck/vpn-refresh.sh
Shell script to select fastest VPN location from available list
#!/bin/bash
# Set your VPN up with this guide: https://gist.github.com/superjamie/ac55b6d2c080582a3e64
# This runs nicely on a Raspberry Pi that is setup to be your gateway.
# Requires: speedtest-cli, openvpn
# Assuming you have config files of:
# /etc/openvpn/newyork.conf
# /etc/openvpn/chicago.conf
@Yanik39
Yanik39 / IRC client in pure bash
Created June 20, 2020 19:32 — forked from dwallraff/IRC client in pure bash
IRC client written in pure bash using only bash builtin commands and no other binaries.
#!/bin/bash
#no PATH, no way to accidently run any programs
PATH=''
#useful variables
term_height=0
term_width=0
term_scroll_height=0
status_line_row=0