Authentication is the act of verifying who a user is. When a user successfully authenticates (for example, by entering the correct credentials or token), the application establishes the user’s identity (often represented by a ClaimsPrincipal in ASP.NET Core) (Introduction to authorization in ASP.NET Core | Microsoft Learn). In other words, authentication answers “Who are you?” and results in an identity that the app can use. By contrast, Authorization is about what the authenticated user is allowed to do or access. It answers “What are you allowed to do?” ([Introduction to authorization in ASP.NET Core | Microsoft Learn](https://learn.microsoft.com/en-us/aspnet/core/securit
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
| I'll help you implement a writing quirks feature that generates unique stylistic elements before | |
| outline creation. Let me first understand the current structure and then create a plan. | |
| ⏺ Let me investigate the current codebase structure to understand how outline and plot generation | |
| work. | |
| ⏺ Read(src/generation/outline/newOutline.ts) | |
| ⎿ Read 237 lines (ctrl+r to expand) | |
| ⏺ sql - describe-table (MCP)(tableName: "sequences", includeConstraints: true, includeSampleRows: true) |
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
| addEventListener('fetch', e => e.respondWith(handle(e.request))) | |
| const ok = (req,u)=>{ | |
| const q=u.searchParams | |
| return req.method==='OPTIONS'|| | |
| (req.method==='GET' && u.pathname.endsWith('/info/refs') && | |
| ['git-upload-pack','git-receive-pack'].includes(q.get('service')))|| | |
| (req.method==='POST'&&u.pathname.endsWith('git-upload-pack') && | |
| req.headers.get('content-type')==='application/x-git-upload-pack-request')|| | |
| (req.method==='POST'&&u.pathname.endsWith('git-receive-pack') && |
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
| #!/usr/bin/swift | |
| @preconcurrency import WebKit | |
| @preconcurrency import Foundation | |
| @preconcurrency import Darwin | |
| // Disable everything written to stderr | |
| freopen("/dev/null", "w", stderr) | |
| struct Cookie { |
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
| #!/bin/bash | |
| # Remote host is the first argument | |
| HOST=$1 | |
| # Remote directory is a mirror of the local directory | |
| DIR=$(pwd) | |
| # SSH to the host and run the pull script | |
| ssh $HOST "~/scripts/remotepull.sh '$DIR'" | |
| # Sync Build notes not stored in git |
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
| " ~/.idea-lazy.vim | |
| " LazyVim mappings for Jetbrains IDEs | |
| " Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle | |
| " IDEAVim | |
| " Which-Key | |
| " IdeaVim-Sneak | |
| " To install, add this to the top of your ~/.ideavimrc: |
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; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text.Json; | |
| using System.Text.Json.Nodes; | |
| namespace CajunCoding | |
| { | |
| public static class SystemTextJsonMergeExtensions | |
| { |
NewerOlder
