I hereby claim:
- I am realmiketalbot on github.
- I am mtalbot (https://keybase.io/mtalbot) on keybase.
- I have a public key ASBsLA3gPqc7R9NaAUqTAVjaUyc8Ca54GcNZXrVa8FcIqAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
server { | |
listen 80; | |
listen [::]:80; | |
if ($scheme != "https"){ | |
return 301 https://$host$request_uri; | |
} | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; |
# I had a bit of trouble getting my unifi controller (hosted offsite) to use a proxy/letsencrypt. So here are the fruits of my labor. | |
# The unifi default port is 8443 running on localhost. | |
# License: CC0 (Public Domain) | |
server { | |
# SSL configuration | |
# | |
listen 443 ssl default_server; | |
listen [::]:443 ssl default_server; |
#!/bin/sh | |
# Dell SonicWALL NetExtender client initialization | |
# You should place the netExtender excutable under: | |
# /usr/sbin/netExtender | |
rm -f /etc/ppp/sslvpn.pid | |
rm -f /etc/ppp/sslvpn.pid2 | |
rm -f /etc/ppp/sslvpn.clientip | |
rm -f /etc/ppp/ip-down.d/sslvpnroutecleanup |
invisible(lapply(paste0('package:', names(sessionInfo()$otherPkgs)), detach, character.only=TRUE, unload=TRUE)) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Set the installation directory | |
INSTALL_DIR=$HOME/.local | |
# Install libevent from source | |
mkdir -p ~/libevent-src | |
cd ~/libevent-src | |
wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz | |
tar -xvf libevent-2.1.12-stable.tar.gz |