Skip to content

Instantly share code, notes, and snippets.

TJ Zimmerman zimmertr

Block or report user

Report or block zimmertr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:985a2d9716e18fa24def9c2d11f2eded
launch=gmysql
gmysql-host=127.0.0.1
gmysql-socket=/run/mysqld/mysqld.sock
gmysql-user=pdns
gmysql-password=REDACTED
gmysql-dbname=pdns
local-address=127.0.0.1
local-address-nonexist-fail
local-port=54
api=yes
View gist:eaff4e6ebe7010842f4c28637719be94
$> kubectl get clusterrole grafana-prometheus-scraper -oyaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: "2019-09-26T03:55:58Z"
name: grafana-prometheus-scraper
resourceVersion: "6968371"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/grafana-prometheus-scraper
uid: 03e86193-703f-426f-b3b4-61430596bb3b
rules:
View gist:3e131f7ede59c3bd816d757296bac45a
$> kubectl get clusterrolebindings.rbac.authorization.k8s.io grafana-prometheus-scraper -oyaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: "2019-09-26T03:55:58Z"
name: grafana-prometheus-scraper
resourceVersion: "6968375"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/grafana-prometheus-scraper
uid: 5538e448-0979-4749-a302-e76f8aae9f4e
roleRef:
View gist:c5c7ac0d1f49fdeafa497457edb260c0
# Automatically generated OpenVPN client config file
# Generated on Sun Aug 25 10:23:40 2019 by openvpn-5f9b6fc8f6-9k8k6
# Default Cipher
cipher AES-256-CBC
# Note: this config file contains inline private keys
# and therefore should be kept confidential!
# Note: this configuration is user-locked to the username below
# OVPN_ACCESS_SERVER_USERNAME=tj
# Define the profile name of this particular configuration file
View gist:ac90eeb413dba9151303cb6b800739f4
# Automatically generated OpenVPN client config file
# Generated on Sun Aug 25 10:23:40 2019 by openvpn-5f9b6fc8f6-9k8k6
# Default Cipher
cipher AES-256-CBC
# Note: this config file contains inline private keys
# and therefore should be kept confidential!
# Note: this configuration is user-locked to the username below
# OVPN_ACCESS_SERVER_USERNAME=tj
# Define the profile name of this particular configuration file
View gist:d78c85567a3b008a76124a280ed55e64
# Automatically generated OpenVPN client config file
# Generated on Sun Aug 25 10:23:40 2019 by openvpn-5f9b6fc8f6-9k8k6
# Default Cipher
cipher AES-256-CBC
# Note: this config file contains inline private keys
# and therefore should be kept confidential!
# Note: this configuration is user-locked to the username below
# OVPN_ACCESS_SERVER_USERNAME=tj
# Define the profile name of this particular configuration file
View gist:7a9d502c380055c4a865c6343c41c21a
# Automatically generated OpenVPN client config file
# Generated on Sun Aug 25 10:23:40 2019 by openvpn-5f9b6fc8f6-9k8k6
# Default Cipher
cipher AES-256-CBC
# Note: this config file contains inline private keys
# and therefore should be kept confidential!
# Note: this configuration is user-locked to the username below
# OVPN_ACCESS_SERVER_USERNAME=tj
# Define the profile name of this particular configuration file
View gist:47d6f965a5ebfe3ab8c1123ba403e908
$> sudo openvpn --config 24.18.133.202.ovpn --auth-user-pass pass.txt
Sun Aug 25 11:46:55 2019 WARNING: file 'pass.txt' is group or others accessible
Sun Aug 25 11:46:55 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Sun Aug 25 11:46:55 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10
Sun Aug 25 11:46:55 2019 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Sun Aug 25 11:46:55 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:46:55 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:46:55 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]24.18.133.202:1194
Sun Aug 25 11:46:55 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Aug 25 11:46:55 2019 UDP link local: (not bound)
View gist:f9eddcb8a8c6dec0ab6c5f8a39aec537
$> sudo openvpn --config vpn.tjzimmerman.com.ovpn --auth-user-pass pass.txt
[sudo] password for tj:
Sun Aug 25 11:45:52 2019 WARNING: file 'pass.txt' is group or others accessible
Sun Aug 25 11:45:52 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Sun Aug 25 11:45:52 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10
Sun Aug 25 11:45:52 2019 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Sun Aug 25 11:45:52 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:45:52 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:45:52 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]35.212.180.218:1194
Sun Aug 25 11:45:52 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
View gist:da4eded4f4dd26a4b404fd772dfa17ee
$> sudo openvpn --config 192.168.10.10.ovpn --auth-user-pass pass.txt
[sudo] password for tj:
Sun Aug 25 11:37:13 2019 WARNING: file 'pass.txt' is group or others accessible
Sun Aug 25 11:37:13 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Sun Aug 25 11:37:13 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10
Sun Aug 25 11:37:13 2019 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Sun Aug 25 11:37:13 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:37:13 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:37:13 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]192.168.10.10:1194
Sun Aug 25 11:37:13 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
You can’t perform that action at this time.