Repository navigation
Replace code.talks slides with a clean Slidev export - #58
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tplso the already-shared URL keeps working:/_nuxt/Onboarding Your Agent code.talks.BqOjJApr.pdf→/_nuxt/Onboarding Your Agent code.talks.DkOtIBWD.pdfNo 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 --deletedeploy 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 usesRewriteBase __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 orllms*.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 withAllowOverride All,mod_rewriteandmod_headers:…code.talks.BqOjJApr.pdf(old)…code.talks.DkOtIBWD.pdf, then 200application/pdf; bytes identical to the new export…code.talks.BqOjJApr.pdf?utm_source=linkedin…code.talks.DkOtIBWD.pdf(new)…Onboarding Your Agent.C5V2MU47.pdf(March deck)DEAb7l--,BgGsEqRw)/speaking/onboarding-your-agent-code-talks/DkOtIBWD/_nuxt/*.pdf,/p/foo/Local hashes for the unchanged decks match production, so CI produces the same
DkOtIBWDname.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