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
; Copy Paste Resharper tests one-liner JSON exptected vs actual output and compare them in Notepad++ | |
; Use by first copying ALL test output in the clipboard, and then press CTRL-ALT-WIN-C | |
^#!c:: | |
; Start Notepad++ | |
ProgramFilesX86 := A_ProgramFiles . (A_PtrSize=8 ? " (x86)" : "") | |
Run %ProgramFilesX86%\Notepad++\notepad++.exe -multiInst -nosession | |
WinWaitActive, new 1 - Notepad++, , 1 | |
Send ^!d | |
Sleep, 100 | |
; Paste in new document |
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
#!/usr/bin/env ruby | |
# figure out which repository this is | |
# assumes it's a bare repository | |
repository = /([^\/]*?)\.git$/.match(`pwd`.chomp)[1] | |
# get the stdins from git | |
stdins = []; stdins << $_ while gets | |
stdins.each do |str| |