dstoc
dstoc.dev
dstoc
@dstoc.dev
I used to work on Chrome, these days I'm a rust hacker, llm whisperer and wannabe gamedev.
3/3 Follow the sign in steps, then if you can't reach the redirect endpoint from the browser, copy the URL into another shell: `curl 'http://localhost:40733/oauth2callback?...'`
July 2, 2025 at 6:32 AM
2/3 Copy and paste the URL printed when you start the Gemini CLI sign in flow into a browser: `https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=...`
July 2, 2025 at 6:32 AM
deep-mind.bsky.social is on your list, but looks a bit suspicious.
November 25, 2024 at 11:44 PM
2. Content scripts can't define custom elements <https://issues.chromium.org/issues/41118431>. Best workaround seems to be to inject a script directly into the page.
November 25, 2024 at 2:02 AM
A couple of things I learned:
1. As soon as you publish something, you'll get a bunch of email from shady folk trying to sell "organic" reviews and downloads.
November 25, 2024 at 2:02 AM
Is it reasonable to apply the same to the callback type?

type OnBar<T = void> = T extends void
? () => void
: (data: T) => void;
November 20, 2024 at 12:52 AM
Conditional types?

```
type Options<T = void> = T extends void
? BaseOptions<void>
: BaseOptions<T> & { data: T };
```
November 19, 2024 at 11:24 PM