this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
- install lldpctl with
apt install lldpd
this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
apt install lldpd
iperf3
serverwg-quick down wg0
/etc/wireguard/wg0.conf
file[PROFILE1] | |
Name=T-IKEV2C_0USER | |
ConnMedia=21 | |
ConnMode=0 | |
SeamRoaming=1 | |
PriVoIP=1 | |
Gateway=1.2.3.4 | |
PFS=14 | |
UseComp=0 | |
IkeIdType=3 |
[1001] | |
exten => _X.,1,Set(CALLERID(name)=1.0.0.1) | |
exten => _X.,n,Answer | |
exten => _X.,n,Wait(1) | |
exten => _X.,n,Playback(1001-recordtype) ; "Enter record type on your phone keypad, followed by the hash key. Press 1 to go to next character" | |
exten => _X.,n,Read(recordtype,,,si,) | |
exten => _X.,n,Playback(1001-domain) ; "Enter domain name to retrieve record, followed by the hash key" | |
exten => _X.,n,Read(domain,,,si,) | |
exten => _X.,n,Set(RECORD="${SHELL(/usr/bin/1001.py "${recordtype}")}") | |
exten => _X.,n,Set(ADDR="${SHELL(/usr/bin/1001.py "${domain}")}") |
# Housekeeping stuff for OpenOCD targeting Nuvoton NUC123 , NUC126 and others. | |
# by Ein Terakawa <[email protected]> | |
# | |
# based on TheLastMutt's mini51.cfg | |
# https://gist.github.com/TheLastMutt/d1c1948acaace7444c1c#file-mini51-cfg | |
# Usage example | |
# | |
# Read config regs. | |
# openocd -f NUCxxx.cfg -c ReadConfigRegs -c exit |
The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the
Install WireGuard via whatever package manager you use. For me, I use apt. | |
$ sudo add-apt-repository ppa:wireguard/wireguard | |
$ sudo apt-get update | |
$ sudo apt-get install wireguard | |
MacOS | |
$ brew install wireguard-tools | |
Generate key your key pairs. The key pairs are just that, key pairs. They can be |
#!/usr/bin/env python3 | |
# coding=utf8 | |
# | |
# AUTHOR: Jardel Weyrich <jweyrich at gmail dot com> | |
# | |
from __future__ import print_function | |
import re, sys | |
def parse_alb_log_file(file_path): | |
fields = [ |
# -*- coding: utf-8 -*- | |
# requires python-ldap (usually pip install python-ldap) | |
# But this package requires OpenLDAP libraries, so it is a pain to install it on Windows. | |
# So, if you're on Windows, I recomment to use pre-compiled binaries with this command (virtualenv supported): | |
# pip install https://download.lfd.uci.edu/pythonlibs/h2ufg7oq/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl | |
import ldap | |
from ldap.controls import SimplePagedResultsControl |