Category: Work
-
Simple Turkey Brine
No matter how you cook your bird, brining 24-48 hours before is essential. This brine takes the spirit of Alton Brown’s water, sugar, salt simplicity and adds poultry seasoning and vegetable stock for an extra level of flavor. Note: the brown sugar in this will give your finished bird a dark caramel color. If you…
-
PowerShell Size-Based Log Splitter
A mash-up of the following links: Blog post “Split file csv by size” Replace Text in a String Stack Overflow Regex Remove-Comma-Between-Double-Quotes param ($path, $size) $src = $path $SplitPath = $src.replace(“.csv”, “_clean_{0}.csv”) # Read in source file and grab header row. $inData = New-Object -TypeName System.IO.StreamReader -ArgumentList $src $header = $inData.ReadLine() # Create initial output…