Skip to content

Instantly share code, notes, and snippets.

View ElbertCode's full-sized avatar

ElbertCode

View GitHub Profile
@ElbertCode
ElbertCode / check_package_review_dates.yaml
Created July 28, 2026 16:40
Check package review dates
steps:
- powershell: |
$ErrorActionPreference = 'Stop'
$jsonPath = "$(Build.SourcesDirectory)\packages.json"
if (-not (Test-Path $jsonPath)) {
Write-Host "JSON file not found at '$jsonPath'. Skipping validation."
exit 0
}
@ElbertCode
ElbertCode / DiscardAssignment.DotSettings
Created July 19, 2026 15:27
DotSettings discard assignment as code issue
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=45ED73B527F94442B7633607D89970C1/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=45ED73B527F94442B7633607D89970C1/Comment/@EntryValue">Remove discard assignments (_ = ...)</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=45ED73B527F94442B7633607D89970C1/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=45ED73B527F94442B7633607D89970C1/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=45ED73B527F94442B7633607D89970C1/SearchPattern/