Skip to content

Instantly share code, notes, and snippets.

Probably disgusted with your security choices.

Barry Dorrans blowdart

Probably disgusted with your security choices.
Block or report user

Report or block blowdart

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
blowdart / ImportGithubSigningKeys.ps1
Last active Mar 21, 2018
Importing github commit signing keys via powershell
View ImportGithubSigningKeys.ps1
Imports github pgp signing keys for one or more users.
Imports github commit signing keys for one or more github usernames into your gpg key ring.
You still need to assign trust levels to keys after their import, see
A comma seperated list of github usernames whose keys will be retrieved amd imported.
.\ImportGithubSigningKeys blowdart

Keybase proof

I hereby claim:

  • I am blowdart on github.
  • I am blowdart ( on keybase.
  • I have a public key ASBe_Gv85O-JHzTT_OB3qR5xCaafjrubxTMBBna_Z2J16go

To claim this, I am signing this object:

blowdart / web.config
Created Feb 8, 2018
Suppressing headers
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<httpRuntime enableVersionHeader="false"/>
<requestFiltering removeServerHeader="true" />
blowdart / UpdateIISExpressSSLForChome.ps1
Last active Sep 21, 2019
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.
View UpdateIISExpressSSLForChome.ps1
# 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
# 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
View gist:cf06af5fcbd5f260b6f9
| __ )(_) ___
| _ \| |/ _ \
| |_) | | (_) |
Alon Bassok, Ph.D., is an urban planner with a focus on real estate
and sustainable transportation. Alon currently works for the Runstad
Center for Real Estate Studies at the University of Washington where
he conducts research on Washington's housing market, green building
values, and parking requirements. Alon also teaches in the Sustainable
View Azure Websites Clacks Header
<?xml version="1.0" encoding="UTF-8"?>
<add name="X-Clacks-Overhead" value="GNU Terry Prachett" />
View web.config
<remove fileExtension=".cs" />
<add fileExtension=".cs" allowed="true" />
blowdart / gist:4035399
Created Nov 7, 2012
Hello request in flight body
View gist:4035399
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken)
if (request.Headers.Date == null)
request.Headers.Date = DateTime.UtcNow;
// Check if we have request content, if we do then we need to add a Content-MD5 header.
if (request.Content != null && request.Content.Headers.ContentMD5 == null)
View EncryptionPaddingProblem.cs
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace CryptoTest
class Program
static void Main(string[] args)
You can’t perform that action at this time.