Skip to content

Instantly share code, notes, and snippets.

@evilpilaf
evilpilaf / print-binding-redirects.ps1
Created July 6, 2018 09:39 — forked from dburriss/print-binding-redirects.ps1
Print out the binding redirects in a bin folder. Run from the build output directory.
function Find-Dlls() {
$dlls = Get-ChildItem | ? { $_.Extension -eq '.dll' } | % { [System.Reflection.AssemblyName]::GetAssemblyName($_.FullName).FullName }
return $dlls
}
function Set-Bindings() {
$binding = "<dependentAssembly>
<assemblyIdentity name=`"{0}`" publicKeyToken=`"{2}`" culture=`"neutral`" />
<bindingRedirect oldVersion=`"0.0.0.0-{1}`" newVersion=`"{1}`" />
@evilpilaf
evilpilaf / gist:e2ff045cb0dae41dc3126968424b7e95
Created February 16, 2018 18:29 — forked from bradwilson/.gitconfig
~/.config/git/config
[user]
name = Brad Wilson
email = dotnetguy@gmail.com
signingkey = 0B7BD15AD1EC5FDE
[alias]
a = add -A
abort = rebase --abort
amend = commit --amend -C HEAD
blame = blame -w -M -C
br = branch