Skip to content

Instantly share code, notes, and snippets.

View ebruning's full-sized avatar

Ethan Bruning ebruning

View GitHub Profile
https://support.ipvanish.com/customer/portal/articles/1969179-openvpn-linux-command-line-
http://serverfault.com/questions/458591/how-to-auto-start-openvpn-client-on-ubuntu-12-04-cli
https://help.boxpn.com/support/solutions/articles/5000613671-how-do-i-save-my-username-password-in-openvpn-for-automatic-login-
@ebruning
ebruning / ubuntu-1404-preseed
Created December 2, 2015 21:38 — forked from scottslowe/ubuntu-1404-preseed
This is a preseed file, written for Ubuntu Server 14.04.2, that provides a fully automated installation (assuming the presence of a PXE boot infrastructure and a local HTTP server to provide the installation files).
# Ubuntu Server automated installation
# by Scott Lowe ([email protected])
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string hostname
d-i netcfg/get_domain string domain.com
d-i netcfg/wireless_wep string
@ebruning
ebruning / full_page.txt
Last active August 29, 2015 14:23
eVRS Settings
_DoBinarization_
_DoCropCorrection_
_DoSkewCorrectionAlt_
_Do90DegreeRotation_4
_LoadSetting_<Property Name=\"CSkewDetect.convert_to_gray.Bool\" Value=\"1\" Comment=\"DEFAULT 0 \" />
_LoadSetting_<Property Name=\"CSkewDetect.scale_image_down.Bool\" Value=\"1\" Comment=\"DEFAULT 0 \" />
_LoadSetting_<Property Name=\"CSkewDetect.document_size.Int\" Value=\"3\" Comment=\"MEDIUM, DEFAULT 0\" />
_LoadSetting_<Property Name=\"CSkewDetect.correct_illumination.Bool\" Value = \"0\"/>
_LoadSetting_<Property Name=\"CSkewDetect.thr_crop_crop\" Value=\"3\" Comment=\"DEFAULT 18 \" />
@ebruning
ebruning / gist:85246ba752c220fb3630
Last active August 29, 2015 14:15
Remove open with
https://coderwall.com/p/_ncdaq/remove-open-with-duplicates-mac
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local-domain system -domain user
@ebruning
ebruning / Brewfile
Created January 29, 2015 23:36
Brew install brew tap Homebrew/brewdler
brew 'autoconf'
brew 'freetype'
brew 'lame'
brew 'macvim'
brew 'pcre'
brew 'ruby-build'
brew 'xctool'
brew 'automake'
brew 'gdbm'
brew 'node'
@ebruning
ebruning / sources.list
Last active August 29, 2015 14:07
Debian Wheezy source.list
deb ftp://mirror.ludere.lan/debian/ wheezy main
deb ftp://mirror.ludere.lan/debian-sec/ wheezy/updates main
#deb ftp://mirror.ludere.lan/debian/ wheezy-updates main
deb http://ftp.us.debian.org/debian/ wheezy-updates main
# Puppetlabs products
deb ftp://mirror.ludere.lan/puppet trusty main
deb-src ftp://mirror.ludere.lan/puppet trusty main
# Puppetlabs dependencies
@ebruning
ebruning / sources.list
Last active August 29, 2015 14:07
local openve debian source.list
deb ftp://mirror.ludere.lan/debian wheezy main contrib non-free
deb ftp://mirror.ludere.lan/debian-sec wheezy/updates main contrib non-free
# Puppetlabs products
deb ftp://mirror.ludere.lan/puppet trusty main
deb-src ftp://mirror.ludere.lan/puppet trusty main
# Puppetlabs dependencies
deb ftp://mirror.ludere.lan/puppet trusty dependencies
deb-src ftp://mirror.ludere.lan/puppet trusty dependencies
@ebruning
ebruning / sources.list
Last active August 29, 2015 14:07
local ubuntu sources.list
#
# deb cdrom:[Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)]/ trusty main restricted
#deb cdrom:[Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb ftp://mirror.ludere.lan/ubuntu/ trusty main restricted
deb-src ftp://mirror.ludere.lan/ubuntu/ trusty main restricted
# CONFIG
SNMP_COMMUNITY=public
SYSCONTACT=dan
SYSLOCATION=Berlin
# get packages
apt-get install snmpd xinetd vim
mkdir -p /opt/observium && cd /opt
@ebruning
ebruning / gist:17e56b07661e5d1bf9cf
Created October 1, 2014 20:43
Download vhd from azure
Add-AzureAccount
select-azuresubscription "Visual Studio Premium with MSDN"
Save-AzureVhd -Source $sourceVHD -LocalFilePath $destinationVHD -NumberOfThreads 5