Skip to content

Instantly share code, notes, and snippets.

@ajryan
ajryan / VehicleProcessors.cs
Created September 9, 2024 13:21
Don't accept IEnumerable
public class Vehicle
{
public required string Make { get; init; }
public required string Model { get; init; }
public required int Year { get; init; }
public required decimal Price { get; init; }
}
public class BadVehicleProcessor
{
param (
[string]$NewWorkDir = $( Read-Host 'New work dir' ),
[string]$Branch = $( Read-Host 'Branch' )
)
$gitDir = git rev-parse --git-dir
if (!$gitDir) {
exit 128
}
<section class="row">
<article class="col span_6 bg4"><h3>col span_6</h3><img class="left-quarter" src="http://fillmurray.com/200/300"><p>Bacon ipsum dolor sit amet prosciutto t-bone chuck corned beef bresaola pork loin. Pork loin short loin flank, brisket short ribs hamburger ball tip. Pancetta hamburger kielbasa chuck filet mignon rump jerky short ribs, boudin andouille. Leberkas tongue short loin sirloin filet mignon ground round tail, pastrami frankfurter brisket corned beef pork loin ham shankle strip steak. Sausage chuck ribeye, ground round pig ham frankfurter doner filet mignon jerky salami andouille bresaola tail jowl. Venison bacon capicola, frankfurter pig filet mignon salami. Tenderloin strip steak bresaola frankfurter chuck sirloin.</p></article>
<article class="col span_6 bg3"><h3>col span_6</h3><p>Corned beef ribeye spare ribs ground round bacon hamburger boudin sirloin ham brisket short ribs rump filet mignon ball tip strip steak. Ball tip chicken shank capicola prosciutto short loin leber