Skip to content

Instantly share code, notes, and snippets.

View davidebbo's full-sized avatar

David Ebbo davidebbo

View GitHub Profile
@davidebbo
davidebbo / wfastcgi.py
Last active April 6, 2017 10:17
wfastcgi.py file that's compatible with Python 3.x. It is preliminary and not well tested.
# ############################################################################
#
# 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 / .deployment
Last active April 20, 2017 01:43
Sample Kudu custom deployment script
[config]
command = deploy.cmd
@davidebbo
davidebbo / OrgChart.tree
Last active October 7, 2017 17:49
T4 template to generate DGML org charts from simple DSL
Joe
Jill
Bill
Bert
David
John
Bob
@davidebbo
davidebbo / AzureAutoSettings.cs
Created September 13, 2015 21:42
AzureAutoSettings
using System;
using System.Collections;
using System.Configuration;
using System.Reflection;
using System.Web;
[assembly: PreApplicationStartMethod(typeof(EnvSettings.SettingsProcessor), "Start")]
namespace EnvSettings
{
@davidebbo
davidebbo / web.config
Created January 16, 2016 20:52
Default web.config used for node.js apps on Azure Web Apps
<?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>
@davidebbo
davidebbo / web.config
Last active November 13, 2022 03:34
iisnode 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>
@davidebbo
davidebbo / ManyToMany.ascx.cs
Created August 3, 2011 23:55
Dynamic Data many to many templates for EF code first
using System;
using System.ComponentModel;
using System.Web.UI;
namespace WebApplication
{
public partial class ManyToManyField : System.Web.DynamicData.FieldTemplateUserControl
{
protected override void OnDataBinding(EventArgs e)
{
@davidebbo
davidebbo / Incorrect extinct
Last active December 22, 2023 15:51
Missing species
Q133517,3605177,Yanornis martini
Q135313,4140348,Icadyptes salasi
Q256827,4123450,Tetradactylus eastwoodae
Q287915,3147790,Deloneura immaculata
Q288017,3626833,Lepidomeda altivelis
Q288097,4957093,Achatinella thaanumi
Q288783,3142610,Lepidochrysops hypopolia
Q290803,7044995,Radula visianica
Q292907,3938221,Campomanesia lundiana
Q305696,3609967,Heteropsomys insulans