Skip to content

Instantly share code, notes, and snippets.

View davidebbo's full-sized avatar

David Ebbo davidebbo

View GitHub Profile
@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
@davidebbo
davidebbo / Clean deployment.txt
Created May 25, 2016 22:09
Azure Web App Core RC2 git deployment time
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 / 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>
[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
@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
{
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "string"
},
"hostingPlanName": {
"type": "string"
},
@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 / Mono.CSharp.nuspec
Created March 18, 2013 16:21
NuSpec file for the Mono.CSharp NuGet package. To build the package, copy Mono.CSharp.dll into Lib\net40 and run `nuget pack`
<?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>
#!/bin/bash
# ----------------------
# KUDU Deployment Script
# ----------------------
# Helpers
# -------
exitWithMessageOnError () {