Skip to content

Instantly share code, notes, and snippets.

@codedemonuk
codedemonuk / UpdateIISExpressSSLForChome.ps1
Created August 8, 2017 05:13 — forked from blowdart/UpdateIISExpressSSLForChome.ps1
IIS Express certs (for now) don't contain SAN strings. This makes Chrome unhappy. Make Chrome happy again with a new organic, artisanal, gluten free HTTPS certificate.
# Create a new self signed HTTPS Certificate for IIS Express
# Crafted with all organic, GMO, gluten free ingreditations
# with an artisinal SAN to make Chrome 58 onwards happy.
#
# See https://bugs.chromium.org/p/chromium/issues/detail?id=308330
#
# Run this at an administrative PowerShell prompt.
#
# You will be prompted to trust a new certificate via a windows dialog.
# Click yes otherwise Visual Studio will not be able to determine your
@codedemonuk
codedemonuk / ImportedFilePathResolver.cs
Created September 9, 2012 14:47
ASP.NET Optimization Minifiers
// <copyright>
// Copyright (c) 2011+ Dusan Janosik, MIT License
// </copyright>
using System.IO;
using System.Web;
using System.Web.Hosting;
using dotless.Core.Input;
namespace MoonCode.Web.Optimization