This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageSources> | |
<add key="gh-dbones-labs" value="https://nuget.pkg.github.com/dbones-labs/index.json" /> | |
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> | |
</packageSources> | |
<packageSourceCredentials> | |
<gh-dbones-labs> | |
<add key="Username" value="usr" /> | |
<add key="ClearTextPassword" value="pwd" /> |
This file contains hidden or 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.ComponentModel.DataAnnotations; | |
using Laters; | |
using Laters.AspNet; | |
using Laters.ClientProcessing; | |
using Laters.Data.Marten; | |
using Laters.Minimal.Application; | |
using Marten; | |
using Microsoft.EntityFrameworkCore; | |
using Weasel.Core; |
This file contains hidden or 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.ComponentModel.DataAnnotations; | |
using System.Data; | |
using System.Data.Common; | |
using Laters; | |
using Laters.AspNet; | |
using Laters.ClientProcessing; | |
using Laters.Data.EntityFrameworkCore; | |
using Laters.Minimal.Application; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.EntityFrameworkCore; |
This file contains hidden or 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.ComponentModel.DataAnnotations; | |
using System.Linq.Expressions; | |
using Microsoft.Extensions.DependencyInjection; | |
public delegate Task MinimalCommand<T>(IServiceProvider scope, T instnace); | |
public class AppBuilder | |
{ | |
readonly IServiceProvider _serviceProvider; | |
readonly Dictionary<Type, object> _commands = new(); |
This file contains hidden or 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
# global annotastion | |
# lab.dev/sync - how often to sync | |
# lab.dev/keep - disables the delete | |
# improved support for sevices | |
# namespace, in downstream clusters |
This file contains hidden or 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
# Ops API Tech RFC: postgres | |
# connection is a secret (default pg-connection, in the same namepace, or a configfile which has the location of the connection)) | |
# database | |
# schema | |
# security label | |
# role | |
# grant(s) | |
This file contains hidden or 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
k3d cluster create --config ./config.yaml |
This file contains hidden or 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
# /org | |
# dbones-labs.yaml | |
# | |
# /platform-services | |
# github.yaml | |
# rancher.yaml | |
# discord.yaml | |
# | |
# /users | |
# dbones.yaml |
This file contains hidden or 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
namespace Core.Redis | |
{ | |
using System; | |
using Infrastructure; | |
using StackExchange.Redis; | |
public class Cache | |
{ | |
private readonly IDatabase _database; | |
private readonly JsonSerializer _serializer; |
This file contains hidden or 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
namespace PipesExample | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.Extensions.DependencyInjection; |
NewerOlder