Sky Rocket (@iThinkyouknow12) profile picture
Joined January 2017
Photo by Sky Rocket (@iThinkyouknow12)Photo by Sky Rocket (@iThinkyouknow12)Photo by Sky Rocket (@iThinkyouknow12)Photo by Sky Rocket (@iThinkyouknow12)Photo by Sky Rocket (@iThinkyouknow12)Photo by Sky Rocket (@iThinkyouknow12)
Regex, it was Regex
BREAKING: In an extraordinary move made only one other time since 9/11, the FAA orders ALL flights nationwide grounded, bringing departures across the U.S. to a halt. The Federal Aviation Administration is directing all departing aircraft to remain on the ground until further notice, citing safety concerns. International flights arriving in the U.S. will be handled on a case-by-case basis as questions mount over what triggered the sweeping order. The FAA has not publicly detailed the cause of the emergency action. Download the Fox News app or go to FoxNews.com for more.
15
Oh @brave , What did you do to the Twitter icon? 😛
5
The truth. COVID.GOV 👀
7,162
27,182
8,671
135,212
106,063,604
Finally a chance to make GitHub great again!
🚨Data Breach Alert ‼️ 𝗧𝗲𝗮𝗺𝗣𝗖𝗣 𝗖𝗹𝗮𝗶𝗺𝘀 𝗦𝗮𝗹𝗲 𝗼𝗳 𝗚𝗶𝘁𝗛𝘂𝗯 𝗜𝗻𝘁𝗲𝗿𝗻𝗮𝗹 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲 TeamPCP hacking group claimed the compromise and sale of GitHub internal data, allegedly including around 4,000 private repositories containing source code related to GitHub’s main platform and internal organizations. Threat actor: TeamPCP Sector: ICT Data exposure (claimed): Approximately 4,000 private repositories Data type: Source code Observed: May 19, 2026 Status: Pending verification ESIX©: 7.96 Full details and impact assessment on HackRisk.io
58
People are happy writing prompts like this rather than code?
If you wanna switch to @Cloudflare Email Sending today, here's my prompt for you, as always I'm unaffiliated, not paid, not sponsored, but I like it, make sure you remove the space before the .com in the API url I added to avoid it becoming a link in this tweet: # Prompt: Migrate transactional email to Cloudflare Email Service Paste this into Claude Code (or Cursor, or any agent) running inside your project. --- I want to migrate this codebase's outbound email from its current provider (Postmark / SES / Resend / SendGrid / Mailgun / etc.) to Cloudflare Email Service (public beta, launched April 2026). Help me do this carefully. ## Context: what Cloudflare Email Service is A new transactional email API from Cloudflare. Endpoint: ``` POST https://api.cloudflare .com/client/v4/accounts/{ACCOUNT_ID}/email/sending/send Authorization: Bearer {API_TOKEN} Content-Type: application/json ``` Request body: ```json { "to": "[email protected]", // string OR array of strings "from": "[email protected]", // string OR {"address":"x@y","name":"Display"} "subject": "...", "html": "<p>...</p>", // optional "text": "...", // optional (one of html/text required) "cc": ["..."], // optional, array "bcc": ["..."], // optional, array "reply_to": "...", // optional, single string "headers": {"List-Unsubscribe": "<...>"} // optional, e.g. for newsletters } ``` Success response: HTTP 200 + `{"success":true,"result":{"delivered":[],"queued":[],"permanent_bounces":[]}}`. Failure: non-200 OR `success:false` OR non-empty `permanent_bounces`. Always check all three. Pricing: $5/mo Workers Paid plan + 3,000 emails free + $0.35 per 1k after. Roughly 5× cheaper than Postmark. No batch send endpoint — loop single sends. ## Steps you should follow ### 1. Verify prerequisites with me Before writing any code, ask me to confirm: - I have a Cloudflare Workers Paid plan ($5/mo) - I've onboarded my sender domain(s) in Cloudflare dashboard → Email → Email Sending → Onboard Domain (this auto-adds SPF/DKIM/DMARC + cf-bounce MX records) - I have an API token with `email_sending:write` scope (created at dash.cloudflare.com/profile/… → Custom Token) - I have my Cloudflare account ID Don't proceed until you have these. ### 2. Recommend a domain reputation strategy Most apps should split senders across 2-3 subdomains so spam complaints on one don't drag down deliverability on others: - `mail.<domain>` or `members.<domain>` → transactional (login, receipts, password reset, in-app notifications) - `e.<domain>` → cold/recovery (abandoned cart, win-back campaigns) - `newsletter.<domain>` → opt-in newsletters with List-Unsubscribe headers Each subdomain needs to be onboarded separately in Cloudflare. Ask me which I want. ### 3. Audit existing email sends Use grep/search to find every place in this codebase that sends email. Look for: - The current provider's SDK class names, API URLs, env/config vars - Generic patterns like `mail()`, SMTP usage, `nodemailer`, etc. Group findings by email type/purpose (e.g. "magic-link login", "payment receipt", "weekly newsletter") rather than by file. Tell me what you found before changing anything. ### 4. Add a single helper function Don't sprinkle Cloudflare API calls across the codebase. Add one helper (provider-specific name like `sendEmailViaCloudflare()`) that: - Defaults `from` from a config var (don't hardcode) - Parses `"Name <email@domain>"` strings into the API's `{address, name}` object form - Accepts `cc`/`bcc` as either string or array - Accepts a `headers` dict (newsletters need `List-Unsubscribe` + `List-Unsubscribe-Post`) - Returns `bool` (true on success, false on any failure) - On failure, logs/alerts somewhere I can see (Telegram, Sentry, log file — match what the codebase already does) - Sets curl/fetch timeouts (5s connect, 15s total) so a stuck CF API can't hang the request - Treats `permanent_bounces: [...]` non-empty as a soft failure ### 5. Migrate one low-stakes email type first Don't migrate everything at once. Pick the lowest-stakes email type in the audit (something where landing in spam wouldn't lose me money or users — e.g. "internal admin alert", "profile photo rejection") and migrate just that one. Test it end-to-end. Confirm the email actually arrives. Only then propose the next migration. ### 6. Stop me from migrating login email yet If my codebase sends magic-link login or password-reset emails, do not migrate those to Cloudflare yet. Cloudflare Email Service is brand new (~1 month old at writing). Its IP/domain reputation is unproven. Login emails landing in spam = users locked out. Keep those on the current provider until at least 3 months of clean deliverability data on the lower-stakes types. Tell me this explicitly. ### 7. Suggest commit boundaries After each successful migration, suggest a focused git commit with a clear message. Don't bundle unrelated changes. ## Important caveats to surface to me - Beta product. Pricing isn't fully finalized. SLA undefined. Could change. - No batch endpoint. Mass sends (newsletters to 1000+ recipients) need a loop — at ~150ms/send that's ~2.5min per 1000. Fine for crons, bad for sync user-facing flows. - No bounce webhooks yet. Surface failures via the response body's `permanent_bounces` array. - Suppression list auto-managed. Hard bounces, repeated soft bounces, and spam complaints get blocked. Spam-complaint suppressions are hard to remove (anti-abuse). - No per-message logs/dashboard yet. Use the response's `messageId` for tracking if I need it. - List-Unsubscribe headers are passed through verbatim — Gmail's bulk-sender requirement still met, but only if I include them in `headers`. ## Your first action Before writing any code: do step 1 (ask for prerequisites) and step 3 (audit existing sends), then propose the migration order with a brief explanation of the reasoning. Wait for my confirmation before making changes.
34
If I can be as good in neovim as he is in excel
This quoted post is unavailable.
1
130
Will NYC end up as the next Detroit?
2
64
It used to be that posting what you’ve done shows what you can do. But posting AI built stuff shows nothing about your abilities but what the AI can do.
2
47
525
2,276
337
7,752
452,278
Because of the No Kings protest, Burger King will rename to Burger President
1
49
I had wanted to play Candy Crush today but upon opening the game, I saw that it was made by King which is being protested. Guess I’ll have to wait till tomorrow
1
28
Perhaps Apple should sell discrete GPUs to AI businesses
During these 6 years Apple managed to develop the best CPU architecture in the world. Outpacing both AMD and Intel. Also their GPU is nowadays state of the art, beating Nvidia in some areas (Nvidia is a $3T GPU company). I'd say Apple spend their $100B wisely in R&D.
1
124
is this early return / throw in Elixir? ``` true = 1 == 2 ```
77
If you’ve copied your system from an Intel Mac to an M Chip Mac, please reinstall homebrew or change it to the arm64 variant. Else even new installs might run on x86 and in some cases stall
51
They say that AI is cheaper than a junior dev. But would you spend as much for a junior dev on your side projects?
29
If you use lazyvim, can you still say “I use vim btw”, or “I use neovim, btw” or must you say, “I use lazyvim, btw”
40