Skip to content

Instantly share code, notes, and snippets.

View georg-stone's full-sized avatar

George (moved to @g3eorge) georg-stone

View GitHub Profile
@t3dotgg
t3dotgg / try-catch.ts
Last active May 9, 2025 13:49
Theo's preferred way of handling try/catch in TypeScript
// Types for the result object with discriminated union
type Success<T> = {
data: T;
error: null;
};
type Failure<E> = {
data: null;
error: E;
};
@t3dotgg
t3dotgg / model-prices.csv
Last active May 6, 2025 10:53
Rough list of popular AI models and the cost to use them (cost is per 1m tokens)
Name Input Output
Gemini 2.0 Flash-Lite $0.075 $0.30
Mistral 3.1 Small $0.10 $0.30
Gemini 2.0 Flash $0.10 $0.40
ChatGPT 4.1-nano $0.10 $0.40
DeepSeek v3 (old) $0.14 $0.28
ChatGPT 4o-mini $0.15 $0.60
DeepSeek v3 $0.27 $1.10
Grok 3-mini $0.30 $0.50
ChatGPT 4.1-mini $0.40 $1.60
@georg-stone
georg-stone / guide.md
Last active January 25, 2025 15:06
A guide to Zen Browser

Zen is a new and interesting browser. This is a full guide to it.

Installing

To install it, just go to zen-browser.app and install for your platform. After that, open it and complete the onboarding process.

Syncing

Right after you install Zen Browser, you should probably log into a Firefox account. If you already have one, then your data should be imported, and if you don't, you'll still get syncing for bookmarks and tabs.

Privacy and Security

Zen comes with a pretty good user.js file, so you shouldn't have to edit that, but in the settings, there are things you should change for privacy.

@hackermondev
hackermondev / zendesk.md
Last active May 3, 2025 05:23
1 bug, $50,000+ in bounties, how Zendesk intentionally left a backdoor in hundreds of Fortune 500 companies

hi, i'm daniel. i'm a 15-year-old with some programming experience and i do a little bug hunting in my free time. here's the insane story of how I found a single bug that affected over half of all Fortune 500 companies:

say hello to zendesk

If you've spent some time online, you’ve probably come across Zendesk.

Zendesk is a customer service tool used by some of the world’s top companies. It’s easy to set up: you link it to your company’s support email (like [email protected]), and Zendesk starts managing incoming emails and creating tickets. You can handle these tickets yourself or have a support team do it for you. Zendesk is a billion-dollar company, trusted by big names like Cloudflare.

Personally, I’ve always found it surprising that these massive companies, worth billions, rely on third-party tools like Zendesk instead of building their own in-house ticketing systems.

your weakest link