Skip to content

Instantly share code, notes, and snippets.

@Kladenets
Kladenets / resume.json
Last active April 21, 2025 19:09
Get the gist of Kyle Kent's resume
{
"meta": {
"theme": "macchiato",
"themeOptions": {
"colors": {
"background": ["#ffffff", "#191e23"],
"dimmed": ["#f3f4f5", "#23282d"],
"primary": ["#191e23", "#fbfbfc"],
"secondary": ["#6c7781", "#cdddd4"],
"accent": ["#0073aa", "#00a0d2"]
@openpanzer
openpanzer / openpanzer-save.json
Created April 21, 2025 18:07
Kiev encirclement - Konotop-2
{"scenario":{"name":"Kiev encirclement - Konotop","maxTurns":34,"date":"1941-09-03T22:00:00.000Z","atmosferic":0,"latitude":3,"ground":0,"turnsPerDay":4,"dayTurn":2,"reinforcements":{"2":[{"row":22,"col":29,"unit":{"eqid":1807,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":8,"flag":20,"destroyed":false,"transport":null,"carrier":0,"moveLeft":1,"ammo":7,"fuel":0,"hasAnimation":false,"hits":0,"experience":200,"entrenchment":3,"entrenchTicks":0,"leader":-1},"turn":2,"id":1}],"3":[{"row":21,"col":33,"unit":{"eqid":503,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":11,"facing":10,"flag":20,"destroyed":false,"transport":null,"carrier":0,"moveLeft":4,"ammo":7,"fuel":0,"hasAnimation":false,"hits":0,"exp

🔐 OAuth 2.0 and OpenID Connect: A Quick Guide

This guide introduces the core concepts of OAuth 2.0 and OpenID Connect (OIDC), explains their differences, provides guidance on which flow to use based on your application type, and lists standard scopes and their returned information.


Overview

Modern applications often need to securely access user data or verify user identity across systems. Two widely-adopted industry standards enable this:

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created April 21, 2025 18:06
Rimworld output log published using HugsLib
Log uploaded on Monday, April 21, 2025, 11:06:52 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Big and Small - Framework(RedMattis.BetterPrerequisites): BetterPrerequisites(1.0.0), BSXeno(1.0.0), RedHealth(1.0.0)
@flormpecasique
flormpecasique / btc-to-stx-decoder.clar
Last active April 21, 2025 18:19
Clarity Base58 decoder to convert Bitcoin address to hash160 for Stacks
(define-constant base58-alphabet
(list
0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x41
0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a 0x4b
0x4c 0x4d 0x4e 0x50 0x51 0x52 0x53 0x54 0x55 0x56
0x57 0x58 0x59 0x5a 0x61 0x62 0x63 0x64 0x65 0x66
0x67 0x68 0x69 0x6a 0x6b 0x6d 0x6e 0x6f 0x70 0x71
0x72 0x73 0x74 0x75 0x76 0x77 0x78 0x79 0x7a))
(define-map base58-map ((char uint)) ((val uint)))
@openpanzer
openpanzer / openpanzer-save.json
Last active April 21, 2025 21:47
7th French Army rush North-10
{"scenario":{"name":"7th French Army rush North","maxTurns":26,"date":"1940-05-17T07:00:00.000Z","atmosferic":0,"latitude":2,"ground":0,"turnsPerDay":6,"dayTurn":0,"reinforcements":{},"map":{"rows":39,"cols":43,"isLastRowPartial":false,"isLastColPartial":false,"map":[[{"unit":null,"airunit":null,"terrain":9,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"Noordzee","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":9,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"Noordzee","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":9,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"Noordzee","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":9,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"Noordzee","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":9,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"n
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created April 21, 2025 18:06
pw955410-p14059063
WARNING: Misordered MAINTAINERS entry - list file patterns in alphabetic order
#56: FILE: MAINTAINERS:3825:
F: scripts/atomic/
+F: rust/kernel/sync/atomic.rs
WARNING: line length of 110 exceeds 100 columns
#147: FILE: rust/kernel/sync/atomic/ops.rs:44:
+ #[doc = " - atomic read racing with normal read, normal write or atomic write is not data race."]
WARNING: line length of 104 exceeds 100 columns
[
{
"id": 1001,
"imageUrl": "gfg.png",
"firstName": "Thomas",
"lastName": "Leannon",
"email": "Thomas.Leannon@gfg.com",
"contactNumber": "4121091095",
"age": 43,
"dob": "26/08/1979",
@masterflitzer
masterflitzer / mv.sh
Last active April 21, 2025 18:35
consistent naming for tv shows in multimedia collection
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
shopt -s inherit_errexit
confirm="${1:-no}"
series="${PWD##*/}"
pcall(function()
local lighting = game:GetService("Lighting");
lighting.Ambient = Color3.fromRGB(255, 255, 255);
lighting.Brightness = 1;
lighting.FogEnd = 1e10;
for i, v in pairs(lighting:GetDescendants()) do
if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
v.Enabled = false;
end;
end;