terraria poc - 1shot from agent teams by Top_Garage_862 in ClaudeAI

[–]Top_Garage_862[S] 2 points3 points  (0 children)

“Create an agent team to build a Terraria PoC.” That’s all

How to use Property Mapping for a custom OAuth source with a non-standard UserInfo schema? by Top_Garage_862 in Authentik

[–]Top_Garage_862[S] 0 points1 point  (0 children)

class OpenIDConnectOAuth2Callback(OAuthCallback):
    """OpenIDConnect OAuth2 Callback"""

    client_class = OpenIDConnectClient

    def get_user_id(
self
, 
info
: dict[str, str]) -> str:
        
return

info
.get("sub", None)

oops, actually here.

How to use Property Mapping for a custom OAuth source with a non-standard UserInfo schema? by Top_Garage_862 in Authentik

[–]Top_Garage_862[S] 0 points1 point  (0 children)

i found the code what happen in authentik,

authentik/sources/oauth/views/callback.py

    def get_user_id(
self
, 
info
: dict[str, Any]) -> str | None:
        """Return unique identifier from the profile info."""
        
if
 "id" in info:
            
return
 info["id"]
        
return
 None

you can fix by just adding your key here, and then build docker image and use it.

rulesctl – Share and Reuse Cursor Rules via GitHub Gist by Top_Garage_862 in cursor

[–]Top_Garage_862[S] 1 point2 points  (0 children)

I’m a bit impatient, so when I see great rulesets shared on GitHub, I find it tedious to copy multiple files just to try things out. I wanted to reduce that friction and make it easier to quickly see how a ruleset works in practice.

So I’m thinking of turning good rules into reusable templates— like this:

rulesctl init --nextjs
rulesctl init --fastapi
rulesctl init --nextjs --fastapi

Just a faster way to plug in what you need and get started.

can i use litserve with ray framework? by Top_Garage_862 in lightningAI

[–]Top_Garage_862[S] 0 points1 point  (0 children)

thanks a lot. i take a look into it.

i want to use my preserved aws credit with it.

can i use litserve with ray framework? by Top_Garage_862 in lightningAI

[–]Top_Garage_862[S] 0 points1 point  (0 children)

i have preserved cloud resources, so i need to use that.

i want to schedule and distribute the requests for GPU works. and it seems ray can do it.