From 6e1d494f925aa536bc4de60d7e74c9a1aa59d1d4 Mon Sep 17 00:00:00 2001 From: Brian Lalonde Date: Tue, 9 Apr 2024 14:25:27 -0700 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=92=AC=20Remove=20version=20indicator?= =?UTF-8?q?,=20which=20could=20be=20redundant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Show-OpenApiInfo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Show-OpenApiInfo.ps1 b/Show-OpenApiInfo.ps1 index e339fd4..98deb1b 100644 --- a/Show-OpenApiInfo.ps1 +++ b/Show-OpenApiInfo.ps1 @@ -27,7 +27,7 @@ Process { $api = Get-OpenApiInfo.ps1 $Path Write-Host $api.Title -ForegroundColor Green -NoNewline - Write-Host " v$($api.Version) " -ForegroundColor DarkCyan -NoNewline + Write-Host " $($api.Version) " -ForegroundColor DarkCyan -NoNewline if($api.Description) {Write-Host $api.Description -ForegroundColor DarkGreen} Write-Host $api.Source -ForegroundColor Cyan -NoNewline Write-Host " OpenAPI v$($api.OpenApi)" -ForegroundColor DarkCyan From ee77a79e9a99283154c1403d146d3e0895cf66a0 Mon Sep 17 00:00:00 2001 From: Brian Lalonde Date: Fri, 7 Jun 2024 10:49:35 -0700 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=92=9A=20Trivial=20update=20(I'm=20st?= =?UTF-8?q?ill=20here!)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a72436b..c72d56a 100644 --- a/README.md +++ b/README.md @@ -348,4 +348,4 @@ Office VBA Scripts - **[OutlookPasteFormattedIndented.vba](OutlookPasteFormattedIndented.vba)**: Outlook will strip single-space indents when displaying emails. If you've got, for example, syntax highlighted source code that employs any indentation of only one space, you'll want to add two spaces to the each line (adding one will not appear for text that isn't indented). This Outlook script will paste formatted text, and indent it. Requires Tools -> References -> Microsoft Word 14.0 Object Library (later versions may also work) - **[OutlookPasteTsvTable.vba](OutlookPasteTsvTable.vba)**: This Outlook VBA Sub can be connected to a toolbar button for pasting TSV data as an attractive, formatted table. -BL Requires Tools -> References -> Microsoft Word 14.0 Object Library (later versions may also work) - + From 6d8e29ab5559ac02e929b02668f647f7037c7d76 Mon Sep 17 00:00:00 2001 From: Brian Lalonde Date: Mon, 1 Jul 2024 08:01:31 -0700 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=90=9B=20Fix=20holiday=20test=20scrip?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Test-USFederalHoliday.ps1 | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Test-USFederalHoliday.ps1 b/Test-USFederalHoliday.ps1 index 916df03..784df22 100644 --- a/Test-USFederalHoliday.ps1 +++ b/Test-USFederalHoliday.ps1 @@ -120,21 +120,10 @@ Process } } } + default {$false} } } } - if($holiday) - { - if($ReturnName) {return $holiday} - else - { - Write-Verbose "$showdate is $holiday" - return $true - } - } - else - { - Write-Verbose "$showdate is not a US federal holiday" - return $false - } + if($holiday) {Write-Verbose "$showdate is $holiday"} + return [bool]$holiday }