Skip to content

Instantly share code, notes, and snippets.

View Bigjono's full-sized avatar

Jonathan Gill Bigjono

View GitHub Profile
@Bigjono
Bigjono / AppServiceExistingVnet
Created April 12, 2016 21:54
A Powershell script to attach an existing Azure Web App to and Existing V2 VNet
Import-Module AzureRm.Network
# VNet Connection Name that we wish to connect our App Service to
$vnetConnectionName = "{your V2 VNet Name Goes Here}"
# Resource groups name that contains our VNet
$vnetResourceGroupName = "{The name of the resource group that contains your V2 VNet}"
# Web App Name & Resouce Group
$webAppName = "{Your Web App Name}"
$appResourceGroupName="{Name of the resource group that contains your web app}"
@Bigjono
Bigjono / gist:5984300
Created July 12, 2013 13:04
Installing chained certs from Comodo on AWS ELB from IIS
1. Install cert on local IIS
2. Export from ISS to pfx
Run the following two commands
3.openssl pkcs12 -in filename.pfx -nocerts -out key.pem
4. openssl rsa -in key.pem -out server.key
@Bigjono
Bigjono / gist:5917578
Last active April 12, 2016 22:35
Fix for Microsoft.BCL.Build target files and nuget package restore and git
Open .gitignore
add the following line
!packages/Microsoft.Bcl.Build*/tools/Microsoft.Bcl.Build.targets
save changes and commit
open up git bash for your repo