Skip to content

Instantly share code, notes, and snippets.

Excel .reg file example

Save the file below as a .reg file in Windows and update the Servername, Database, Username, UID, Password and ConnSettings.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mz]
"Driver"="C:\\Program Files\\psqlODBC\\0906\\bin\\psqlodbc35w.dll"
"CommLog"="2"
@ruf-io
ruf-io / openvpn.cloud-init
Created April 20, 2018 13:07
openvpn cloud-init
#cloud-config
# Install openvpn and dependencies via apt-get
packages: [openvpn, easy-rsa, python-setuptools, jq]
# Create a non-root sudo user: openvpn_user to handle install/login
users:
- name: openvpn_user
ssh-authorized-keys:
- ssh-rsa WILL-BE-COPIED-FROM-ROOT
sudo: ['ALL=(ALL) NOPASSWD:ALL']
groups: sudo
@ruf-io
ruf-io / openvpn.cloud-init
Created April 20, 2018 13:07
openvpn cloud-init
#cloud-config
# Install openvpn and dependencies via apt-get
packages: [openvpn, easy-rsa, python-setuptools, jq]
# Create a non-root sudo user: openvpn_user to handle install/login
users:
- name: openvpn_user
ssh-authorized-keys:
- ssh-rsa WILL-BE-COPIED-FROM-ROOT
sudo: ['ALL=(ALL) NOPASSWD:ALL']
groups: sudo