Skip to content

Instantly share code, notes, and snippets.

View tx0dev's full-sized avatar

Mathieu Charron tx0dev

View GitHub Profile

Keybase proof

I hereby claim:

  • I am elwillow on github.
  • I am elwillow (https://keybase.io/elwillow) on keybase.
  • I have a public key ASByQucOChrC9_Of9R7qUpvgNBrcVskkWVpsuU_W_V25igo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am elwillow on github.
  • I am elwillow (https://keybase.io/elwillow) on keybase.
  • I have a public key whose fingerprint is 944C DFD8 D094 25A1 1402 14CB C105 2C5D C4FE CCA2

To claim this, I am signing this object:

@tx0dev
tx0dev / he-ddns.sh
Created February 22, 2013 06:30
Updater for Hurricane Electric for their Dynamic dns service. IPv6 updates are NOT enable at the moment.
#!/bin/bash
# HOSTS
HOSTS="example.com foo.example.com"
# HOSTS PASSWORD
# Because I'm lazy, it needs to be the same for all hosts
HOST_KEY="YOUR_PASSWORD"
# Get Current IPs
@tx0dev
tx0dev / openvpn_manager.sh
Created February 19, 2011 02:00
Simple OpenVPN connection manager.
#!/bin/bash
# File location
OVPN_CONFIG="$HOME/local/settings/acanac.ovpn"
OVPN_USER="$HOME/local/settings/acanac.user"
OVPN_PID="/tmp/acanac.pid"
OVPN_LOG="/tmp/acanac.log"
IP_SERVICE="http://myip.dnsomatic.com"