Skip to content

Instantly share code, notes, and snippets.

View abombss's full-sized avatar

Adam Tybor abombss

  • Accenture
  • Chicago, IL
View GitHub Profile
@abombss
abombss / keybase.md
Created June 4, 2019 15:00
keybase.md

Keybase proof

I hereby claim:

  • I am abombss on github.
  • I am adamtybor (https://keybase.io/adamtybor) on keybase.
  • I have a public key ASD7_Ez3OYRvO7Vlfe6qX5jA2d7N9xs4Hn1Y3RUxDMjxtwo

To claim this, I am signing this object:

@abombss
abombss / servicebus-sas-overview.md
Created August 30, 2017 16:13
SB Authorization Rules

<tags ms.service="service-bus"

@abombss
abombss / SumoLogicJsonEventTextFormatter.cs
Created June 8, 2016 19:50
SumoLogic SLAB Formatter
/*
========================================================================================
Microsoft patterns & practices (http://microsoft.com/practices)
SEMANTIC LOGGING APPLICATION BLOCK
========================================================================================
Copyright (c) Microsoft. All rights reserved.
Microsoft would like to thank its contributors, a list
of whom are at http://aka.ms/entlib-contributors
@abombss
abombss / Get-AzureRmResourceReference.ps1
Last active September 22, 2015 18:33
Get Available Azure Resource Manager Schemas
function Get-AzureRmResourceReference {
[CmdletBinding(DefaultParameterSetName='Version')]
param(
[Parameter(Mandatory=$false, Position=0, ParameterSetName='Version')]
[string]$Version='2015-01-01',
[Parameter(Mandatory=$true, Position=0, ParameterSetName='Uri')]
[uri]$Uri,
[Parameter(Mandatory=$true, Position=0, ValueFromPipeline=$true, ParameterSetName='Content')]
@abombss
abombss / FailedRequestHeaderParser.txt
Last active August 29, 2015 14:28
Sumologic parsing expressions for IIS Failed Request Tracing logs
"<failedRequest "
| kv regex "=\"([^\"]*)\""
keys "url"
, "siteId"
, "appPoolId"
, "processId"
, "verb"
, "remoteUserName"
, "userName"
, "tokenUserName"
@abombss
abombss / SumoApi.ps1
Created November 26, 2014 17:39
SumoLogic Powershell API
<#
The MIT License (MIT)
Copyright (c) 2014 Adam Tybor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@abombss
abombss / NServiceBus.Override.cs
Last active January 1, 2016 13:59
NServiceBus.Override to easily override configuration sections, and sources at runtime.
#region Copyright
//The MIT License (MIT)
//
//Copyright (c) 2013 Adam Tybor (adam.tybor@gmail.com)
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
@abombss
abombss / Add-ServerFarm.ps1
Created June 13, 2013 18:47
Make configuring an IIS Server Farm easier
function Add-ServerFarm {
[CmdletBinding(SupportsShouldProcess=$true)]
param(
[Parameter(Mandatory=$true)]
[string]$Name,
[Parameter(Mandatory=$true)]
[string[]]$Servers,
@abombss
abombss / JoinItems.tasks.targets
Created May 30, 2013 08:20
MSBuild Join Items Task
<UsingTask
TaskName="JoinItems"
TaskFactory="CodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll" >
<ParameterGroup>
<OuterItems ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" />
<OuterProperty Required="false" ParameterType="System.String" />
<InnerItems ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" />
<InnerProperty Required="false" ParameterType="System.String" />
<IgnoreCase Required="false" ParameterType="System.String" />
@abombss
abombss / TraceSourceList.md
Last active December 17, 2015 17:18
Some .net diagnostic TraceSources

List of Trace Sources in some .Net Assemblies

  • System.Net
  • System.Net.Http
  • System.Net.Sockets
  • System.Net.Cache
  • System.Net.WebSockets
  • System.Net.HttpListener
  • System.Runtime.Serialization.CodeGeneration
  • System.Security.Cryptography.Xml.SignedXml