This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ListAllWebApps | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Delete-LocalBranches ($Commit = 'HEAD', [switch]$Force) { | |
git branch | | |
? { $_ -notmatch '(^\*)|(^. master$)' } | | |
% { git branch $(if($Force) { '-D' } else { "-d" }) $_.Substring(2) } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Assume a data context with all the appropriate bindings --> | |
<Window | |
<Window.InputBindings> | |
<KeyBinding Key="Up" Command="{Binding ZoomIn}" /> | |
<KeyBinding Key="Down" Command="{Binding ZoomOut}" /> | |
</Window.InputBindings> | |
<Grid> | |
<Image Source="{Binding MyPath}" HorizontalAlignment="Center" | |
VerticalAlignment="Center" Width="{Binding DisplayedWidth}" > | |
<Image.Triggers> |
NewerOlder