This repository is intended for bootstrapping developer environment.
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
@startuml Case Study | |
!pragma revision 1 | |
' the folowwing diagram describes the system that has web api and workers (jobs) to to a background processing, jobs puts content in postgres, elastic and azure blob storage and web api uses elastic for search | |
' left to right direction | |
' https://github.com/plantuml-stdlib/Azure-PlantUML | |
!define AzurePuml https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/release/2-2/dist | |
!includeurl AzurePuml/AzureCommon.puml |
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
# Preview file content using bat (https://github.com/sharkdp/bat) | |
export FZF_CTRL_T_OPTS=" | |
--walker-skip .git,node_modules,target | |
--preview 'bat -n --color=always {}' | |
--bind 'ctrl-/:change-preview-window(down|hidden|)'" | |
export FZF_DEFAULT_OPTS=" | |
--preview 'bat -n --color=always {}' | |
" |
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
/*! | |
* MudBlazor (https://mudblazor.com/) | |
* Copyright (c) 2021 MudBlazor | |
* Licensed under MIT (https://github.com/MudBlazor/MudBlazor/blob/master/LICENSE) | |
*/.mud-primary{background-color:var(--mud-palette-primary) !important}.mud-primary-text{color:var(--mud-palette-primary) !important;--mud-ripple-color: var(--mud-palette-primary) !important}.mud-primary-hover{background-color:var(--mud-palette-primary-hover) !important}@media(hover: hover)and (pointer: fine){.hover\:mud-primary-hover:hover{background-color:var(--mud-palette-primary-hover) !important}}.hover\:mud-primary-hover:focus-visible,.hover\:mud-primary-hover:active{background-color:var(--mud-palette-primary-hover) !important}.mud-border-primary{border-color:var(--mud-palette-primary) !important}.mud-theme-primary{color:var(--mud-palette-primary-text) !important;background-color:var(--mud-palette-primary) !important}.mud-secondary{background-color:var(--mud-palette-secondary) !important}.mud-secondary-text{color:var(--mud-palette-secondary) !import |
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
{ | |
"id": "f0971e2a-c2a9-41bd-87b0-f29626cf4766", | |
"realm": "Test", | |
"notBefore": 0, | |
"defaultSignatureAlgorithm": "RS256", | |
"revokeRefreshToken": false, | |
"refreshTokenMaxReuse": 0, | |
"accessTokenLifespan": 300, | |
"accessTokenLifespanForImplicitFlow": 900, | |
"ssoSessionIdleTimeout": 1800, |
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 Microsoft.Extensions.Configuration; | |
var configuration = new ConfigurationBuilder() | |
.AddInMemoryCollection(new Dictionary<string, string>{ ["Label"] = "Secret"}) | |
.AddEnvironmentVariables("MyAwesomeApp") | |
.AddUserSecrets<Program>() | |
.Build(); | |
Console.WriteLine(configuration.GetDebugView().Trim(':').Trim()); |
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 Spectre.Console; | |
using System.Text.RegularExpressions; | |
foreach (var file in new DirectoryInfo(@"./bpmn-models").GetFiles("*.bpmn")) | |
{ | |
ProcessFile(file); | |
} | |
void ProcessFile(FileInfo file) | |
{ |
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.Reflection; | |
namespace ProtectedViews; | |
public class ProtectedView | |
{ | |
private readonly ISet<string> denyList; | |
public ProtectedView(params string[] fields) | |
{ |
See: https://docs.gitlab.com/runner/install/docker.html.
Build image:
docker run -d \
--name gitlab-runner \
--restart always \
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder