Skip to content

Instantly share code, notes, and snippets.

View rafalkasa's full-sized avatar

Rafal Kasa rafalkasa

View GitHub Profile
@rafalkasa
rafalkasa / closeapps.cmd
Last active January 24, 2017 15:08
Kill Running Processes from a specific folder via Batch File
@echo off
if "%1"=="" goto help
:: Put the work dir here
set "workdir=%1
set "workdir=%workdir:\=\\%"
setlocal enableDelayedExpansion
for /f "usebackq tokens=* delims=" %%a in (`
@rafalkasa
rafalkasa / LowercaseDocumentFilter.cs
Last active December 5, 2022 19:02 — forked from smaglio81/LowercaseDocumentFilter.cs
Upgrade for Swashbuckle.AspNetCore 5.x
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using System.Collections.Generic;
namespace BoundedContext.Web.Swagger
{
/// <summary>
/// This class orginally was created by https://gist.github.com/smaglio81 and modified version used in this project you can find here
/// https://gist.github.com/rafalkasa/01d5e3b265e5aa075678e0adfd54e23f