Skip to content

Instantly share code, notes, and snippets.

View jessesarn's full-sized avatar

Jesse Sarnovsky jessesarn

View GitHub Profile
@jessesarn
jessesarn / README
Created January 28, 2019 14:54 — forked from wknapik/ README
Lenovo Thinkpad P50, dock with external monitor, udev + xrandr auto switching
This switches between the laptop monitor ($intern) when undocked and a two monitor setup when docked ($extern right of $intern).
ENV{ID_VENDOR_ID}, ENV{ID_MODEL_ID}, x_user and intern need to be set.
Based on the Arch wiki, StackExchange and Google.
@jessesarn
jessesarn / bgpd.conf
Created July 19, 2018 11:23 — forked from heri16/bgpd.conf
AWS VPC VPN StrongSwan Virtual Tunnel Interface (VTI)
#@ /etc/quagga/bgpd.conf (Centos & Ubuntu)
hostname <Local OS hostname>
password <Any random phrase>
enable password <Any random phrase>
!
log file /var/log/quagga/bgpd
!debug bgp events
!debug bgp zebra
debug bgp updates