Skip to content

Instantly share code, notes, and snippets.

View Sneezry's full-sized avatar

Zhe Li Sneezry

View GitHub Profile
Sneezry / teamcity_azure_worker_role.ps1
Created December 23, 2015 05:53 — forked from YoungjaeKim/teamcity_azure_worker_role.ps1
PowerShell script to deploy package to Azure Worker Role by using teamcity CI build server
#Modified and simplified version of
#Modified and treat error-terminating of
$ErrorActionPreference = "Stop"
$subscription = "[Your Subscription Name]"
$service = "[Your Azure Service Name]"
$slot = "staging" #staging or production
$package = "[ProjectName]\bin\[BuildConfigName]\app.publish\[ProjectName].cspkg"
$configuration = "[ProjectName]\bin\[BuildConfigName]\app.publish\ServiceConfiguration.Cloud.cscfg"
$timeStampFormat = "g"
$deploymentLabel = "ContinuousDeploy to $service v%build.number%"
Sneezry / stuns
Created January 23, 2014 21:09 — forked from zziuni/stuns
# source :
# A list of available STUN server.