Skip to content

Instantly share code, notes, and snippets.

View MattCotterellNZ's full-sized avatar

Matt Cotterell MattCotterellNZ

  • Wellington, New Zealand
View GitHub Profile
@MattCotterellNZ
MattCotterellNZ / listofaxds.md
Created May 12, 2019 22:50
List of .axd files I've seen in the wild
  • metaweblog.axd (BlogEngine.NET?)
  • ScriptResource.axd
  • WebResource.axd
  • routes.axd
  • elmah.axd
  • Trace.axd
[AttributeUsage(System.AttributeTargets.All, AllowMultiple = true, Inherited = true)]
public class ಠ_ಠAttribute : Attribute
{
public ILog Log { get; set; }
public ಠ_ಠAttribute()
{
Log.Info("This code is bad and you should feel bad");
}
}
# https://docs.microsoft.com/en-us/powershell/azure/uninstall-azurerm-ps
# List versions
Get-Module -Name AzureRM -List | select Name,Version
#Create helper function
function Uninstall-AllModules {
param(
[Parameter(Mandatory=$true)]
[string]$TargetModule,
@MattCotterellNZ
MattCotterellNZ / keybase.md
Created November 9, 2014 02:45
keybase.md

Keybase proof

I hereby claim:

  • I am mattcotterellnz on github.
  • I am mattcotterellnz (https://keybase.io/mattcotterellnz) on keybase.
  • I have a public key whose fingerprint is 7F94 C6B2 1611 BD54 8D2C 12E7 C9B4 0174 75E2 396C

To claim this, I am signing this object: