You may notice that when you attempt to add your solution to a source control in Visual Studio 2010, that it only shows a TFS server as a choice. Don’t be alarmed, however, just: 1. Go to Tools > Options. 2. Click Show all settings if not checked, then go to Source Control. 3. Go [...]
I had quite a large file that I needed to parse, and the challenge was to extract certain lines that didn’t match a certain condition. The solution . . . PowerShell, like so: select-string -path filename -notmatch "criteria" | foreach {$_.line} | out-file -filepath filename -encoding ascii That’s it!
Thanks for stopping by! I’m Anton Perez and this is my brain-dump site.