Skip to content

Replace code.talks slides with a clean Slidev export - #58

Merged
dinooo13 merged 1 commit into
mainfrom
fix/code-talks-slides-clean-export
Nov 6, 2026
Merged

dinooo13 merged 1 commit into
mainfrom
fix/code-talks-slides-clean-export

Conversation

@dinooo13

@dinooo13 dinooo13 commented Nov 6, 2026

Copy link
Copy Markdown
Owner

What

  • Swaps app/assets/Onboarding Your Agent code.talks.pdf (code.talks 2026 talk) for a clean Slidev re-export. The old export had glow/grid effects that Apple's PDF renderer (Preview, iOS) drew as solid green boxes. The new file is 18 pages, 1.8 MB (was 3.6 MB).

  • Adds one 301 in public/.htaccess.tpl so the already-shared URL keeps working:

    /_nuxt/Onboarding Your Agent code.talks.BqOjJApr.pdf → /_nuxt/Onboarding Your Agent code.talks.DkOtIBWD.pdf

No code changes. The March "Onboarding Your Agent" (Agentic Conf / eventim) deck is untouched and keeps C5V2MU47.

Why a redirect

The PDF is a bundled Vite asset, so its URL carries a content hash. The new file gets a new hash, and the FTPS mirror --delete deploy removes the old file. The old URL was posted on LinkedIn, so it gets a host-level 301. The rule sits next to the existing rewrite rules and uses RewriteBase __BASE__, so it also works on PR previews under /pr-<n>/.

URLs this PDF has had: only BqOjJApr. There is a single version in git history (PR #56), it is not in the sitemap or llms*.txt, and the Wayback Machine has no capture of it. The PR #56 previews have already been removed.

Verified

pnpm generate (Node 22), then the output served by a local Apache 2.4 with AllowOverride All, mod_rewrite and mod_headers:

URL Result
…code.talks.BqOjJApr.pdf (old) 301 → …code.talks.DkOtIBWD.pdf, then 200 application/pdf; bytes identical to the new export
…code.talks.BqOjJApr.pdf?utm_source=linkedin 301, query string preserved
…code.talks.DkOtIBWD.pdf (new) 200
…Onboarding Your Agent.C5V2MU47.pdf (March deck) 200, unchanged
other decks (DEAb7l--, BgGsEqRw) 200, same hashes as live
/speaking/onboarding-your-agent-code-talks/ links to DkOtIBWD
unknown /_nuxt/*.pdf, /p/foo/ 404 / 410 as before

Local hashes for the unchanged decks match production, so CI produces the same DkOtIBWD name.

Note: the host caches responses, including redirects, for a year. If this deck is replaced again, update this rule's target to the newest hash (and add a rule for DkOtIBWD).

🤖 Generated with Claude Code

The previous export of the code.talks "Onboarding Your Agent" deck had
glow and grid effects that Apple's PDF renderer (Preview, iOS) draws as
solid green boxes. Swap in a clean re-export (18 pages, 1.8 MB instead
of 3.6 MB).

The PDF is bundled, so its content hash and URL change and the deploy
removes the old file. The old URL was already shared on LinkedIn, so
301-redirect it to the new file in .htaccess.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dinooo13
dinooo13 merged commit e248534 into main Nov 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant