post: four posts — rclone/Drive quota, DSM space reclamation, mail domain/PTR, embedded fonts (EN+ZH) + og/banner
Deploy / build (push) Successful in 32s

- my-backup-was-using-someone-elses-api-quota        (notes,       2026-10-15, pinned by its own evidence)
- space-reclamation-wasnt-stuck-it-was-waiting       (devops,      2026-10-14, pinned by its own samples)
- adding-a-domain-to-someone-elses-mail-server       (notes,       2025-05-06, backdated: no date/version pins)
- embedding-fonts-so-a-pdf-looks-the-same-everywhere (engineering, 2025-01-22, backdated: no date/version pins)
All four updatedDate 2026-10-16 so every lastmod stays honest; the two backdated posts carry no prose links
(a backdated post may only link backwards). og measured rows=1/overflow=0, banners 8 rows/delta=2/overflow=0.
This commit is contained in:
hoelee committed 2026-10-16 13:47:10 +08:00
1 parent 636e6f9624
commit 08fa7a9412
18 files changed
+1036

No files matched your search

+20
View File
@@ -392,6 +392,26 @@ TERMINALS['two-ways-a-javascript-file-stops-working-and-looks-fine'] = `
<div class="line"><span class="prompt">&nbsp;</span><span class="err">TypeError: t is not a function (a parameter named t)</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">typeof t === 'function' ?lang=pseudo clean</span><span class="fix">-> script reaches the end</span></div>`;
TERMINALS['my-backup-was-using-someone-elses-api-quota'] = `
<div class="line"><span class="prompt">$</span><span class="cmd">restic backup --repo gdrive:restic</span></div>
<div class="line"><span class="prompt">&nbsp;</span><span class="err">403 RATE_LIMIT_EXCEEDED - consumer: projects/202264815644</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">own OAuth client + Publish app</span><span class="fix">-> the quota is mine</span></div>`;
TERMINALS['space-reclamation-wasnt-stuck-it-was-waiting'] = `
<div class="line"><span class="prompt">$</span><span class="cmd">synostgreclaim --get-all-status</span></div>
<div class="line"><span class="prompt">&nbsp;</span><span class="err">state running, schedule 168x1, run_all_time: always true</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">sample free space every 5 min</span><span class="fix">-> +121 GiB, then -47 GiB written</span></div>`;
TERMINALS['adding-a-domain-to-someone-elses-mail-server'] = `
<div class="line"><span class="prompt">$</span><span class="cmd">dig +short MX newdomain.com -> mail.hoelee.com</span></div>
<div class="line"><span class="prompt">&nbsp;</span><span class="err">554 5.7.1 Mail rejected due to antispam policy</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">reverse lookup 41.216.187.102</span><span class="fix">-> nothing: no PTR</span></div>`;
TERMINALS['embedding-fonts-so-a-pdf-looks-the-same-everywhere'] = `
<div class="line"><span class="prompt">$</span><span class="cmd">pdffonts report.pdf</span></div>
<div class="line"><span class="prompt">&nbsp;</span><span class="err">before: one CJK face, bold was synthetic</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">8 static faces embedded</span><span class="fix">-> same look everywhere</span></div>`;
// ---------- read frontmatter ----------
const postPath = join(ROOT, 'src', 'content', 'posts', `${slug}.md`);
if (!existsSync(postPath)) {