Skip to content

Instantly share code, notes, and snippets.

David Ebbo davidebbo

Block or report user

Report or block davidebbo

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
@davidebbo
davidebbo / web.config
Created Jan 16, 2016
Default web.config used for node.js apps on Azure Web Apps
View web.config
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>
View AzureAutoSettings.cs
using System;
using System.Collections;
using System.Configuration;
using System.Reflection;
using System.Web;
[assembly: PreApplicationStartMethod(typeof(EnvSettings.SettingsProcessor), "Start")]
namespace EnvSettings
{
@davidebbo
davidebbo / OrgChart.tree
Last active Oct 7, 2017
T4 template to generate DGML org charts from simple DSL
View OrgChart.tree
Joe
Jill
Bill
Bert
David
John
Bob
@davidebbo
davidebbo / .deployment
Last active Apr 20, 2017
Sample Kudu custom deployment script
View .deployment
[config]
command = deploy.cmd
@davidebbo
davidebbo / wfastcgi.py
Last active Apr 6, 2017
wfastcgi.py file that's compatible with Python 3.x. It is preliminary and not well tested.
View wfastcgi.py
# ############################################################################
#
# Copyright (c) Microsoft Corporation.
#
# This source code is subject to terms and conditions of the Apache License, Version 2.0. A
# copy of the license can be found in the License.html file at the root of this distribution. If
# you cannot locate the Apache License, Version 2.0, please send an email to
# vspython@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
# by the terms of the Apache License, Version 2.0.
#
@davidebbo
davidebbo / Clean deployment.txt
Created May 25, 2016
Azure Web App Core RC2 git deployment time
View Clean deployment.txt
2016-05-25T21:37:15.5635616Z,Updating branch 'master'.,49dd01c5-14d2-44bc-a3ec-01d27f67a790,0
2016-05-25T21:37:17.6864000Z,Updating submodules.,40d1f401-978a-4627-8c41-9a1344a5b052,0
2016-05-25T21:37:17.7502393Z,Preparing deployment for commit id '2982dc5a9c'.,d1548d30-1ab3-4edd-be63-6ccb4fdf7381,0
2016-05-25T21:37:18.2678843Z,Generating deployment script.,536c5ae8-0e9c-49a8-bc9f-1ca3de365935,0
2016-05-25T21:37:18.3024806Z,Using the following command to generate deployment script: 'azure site deploymentscript -y --no-dot-deployment -r "D:\home\site\repository" -o "D:\home\site\deployments\tools" --aspNetCore "D:\home\site\repository\src\AspNetCoreRC2" --solutionFile D:\home\site\repository\AspNetCoreRC2.sln'.,,0
2016-05-25T21:37:18.9866566Z,Project file path: .\src\AspNetCoreRC2,,0
2016-05-25T21:37:18.9866566Z,Solution file path: .\AspNetCoreRC2.sln,,0
2016-05-25T21:37:19.0022823Z,Generating deployment script for ASP.NET Core Application,,0
2016-05-25T21:37:19.0179076Z,Generated deployment script files,,
@davidebbo
davidebbo / Mono.CSharp.nuspec
Created Mar 18, 2013
NuSpec file for the Mono.CSharp NuGet package. To build the package, copy Mono.CSharp.dll into Lib\net40 and run `nuget pack`
View Mono.CSharp.nuspec
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Mono.CSharp</id>
<version>4.0</version>
<authors>Mono development team</authors>
<owners>Mono development team</owners>
<licenseUrl>https://github.com/mono/mono/blob/master/LICENSE</licenseUrl>
<projectUrl>http://www.mono-project.com/CSharp_Compiler</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
View deploy.sh
#!/bin/bash
# ----------------------
# KUDU Deployment Script
# ----------------------
# Helpers
# -------
exitWithMessageOnError () {
View jabbr error
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.Assembly.GetTypes() +118
SimpleAuthentication.Core.ReflectionHelpers.<FindAllTypesOf>b__0(Assembly s) +20
System.Linq.<SelectManyIterator>d__1`2.MoveNext() +293
System.Linq.WhereEnumerableIterator`1.MoveNext() +51
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +452
System.Linq.Enumerable.ToList(IEnumerable`1 source) +70
SimpleAuthentication.Core.ReflectionHelpers.FindAllTypesOf() +291
SimpleAuthentication.Core.AuthenticationProviderFactory.<.cctor>b__d() +61
View Broken push with Dumb protocol.txt
D:\Development\phillip-haydon\philliptest [master]> git push Azure master
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0)
* Trying 168.62.20.37... * 0x2000718 is at send pipe head!
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundle.crt
CApath: none
* Unknown SSL protocol error in connection to philliptest.scm.azurewebsites.net:443
* Expire cleared
You can’t perform that action at this time.