Skip to content

Instantly share code, notes, and snippets.

View Meteorych's full-sized avatar
🎯
Focusing

Ivan Titlov Meteorych

🎯
Focusing
View GitHub Profile
Import-Module -Name Terminal-Icons
Import-Module -Name posh-git
Set-PSReadLineOption -PredictionViewStyle ListView
Invoke-Expression (& { (zoxide init powershell | Out-String) })
#f45873b3-b655-43a6-b217-97c00aa0db58 PowerToys CommandNotFound module
Import-Module -Name Microsoft.WinGet.CommandNotFound
#f45873b3-b655-43a6-b217-97c00aa0db58
function Get-FzfPreview {
@startuml
left to right direction
actor Пользователь
skinparam usecase {
BackgroundColor transparent
}
rectangle "Рекомендательная система по философии" {
@startuml
skinparam class {
BackgroundColor transparent
BorderColor #888888
FontColor #000000
}
class Направление {
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
LAYOUT_LEFT_RIGHT()
AddElementTag("transparent")
UpdateElementStyle("transparent", $bgColor="transparent", $borderColor="#888888", $fontColor="#000000")
System_Boundary(c0, "Веб-хост") {
@startuml
actor "Пользователь (Браузер)" as User
participant "Веб-приложение ASP.NET Core" as App
participant "SignInManager (Identity)" as SignInMgr
participant "UserManager (Identity)" as UserMgr
participant "Хранилище данных (БД)" as DB
participant "Authentication Middleware" as AuthMiddleware
User -> App: POST /login (email, password)
App -> SignInMgr: PasswordSignInAsync(email, password)