This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/gruvbox.omp.json' | Invoke-Expression | |
set-alias d docker | |
set-alias dcu dockerComposeUp | |
set-alias dcd dockerComposeDown | |
set-alias dcip dockerImagePrune | |
set-alias dn dotnet | |
set-alias g git | |
function dockerComposeUp { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"printWidth": 100, | |
"tabWidth": 4, | |
"useTabs": false, | |
"semi": true, | |
"singleQuote": false, | |
"trailingComma": "none", | |
"bracketSpacing": true, | |
"bracketSameLine": false, | |
"arrowParens": "avoid", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": [ | |
{ | |
"name": "root", | |
"path": "." | |
} | |
], | |
"settings": { | |
"editor.fontFamily": "JetBrains Mono, Cascadia Mono, Roboto Mono, Fira Code, Consolas", | |
"editor.fontLigatures": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Data; | |
using Dapper; | |
namespace Krake747.Infrastructure.TypeHandlers.Npgsql; | |
internal sealed class DateOnlyTypeHandler : SqlMapper.TypeHandler<DateOnly> | |
{ | |
public override DateOnly Parse(object value) => DateOnly.FromDateTime((DateTime)value); | |
public override void SetValue(IDbDataParameter parameter, DateOnly value) |