Total Pageviews

Monday, 3 August 2026

搭建基于nextjs的静态博客程序hhc


首先fork此项目:https://github.com/healeycodes/healeycodes.com,我fork后,得到的项目地址是https://github.com/briteming/hhc

访问https://github.com/briteming/hhc/tree/main/posts,在此处新建源帖(即add file),我新建了源帖yearn-in-dreams.md,内容为:

---
title: "梦里相思"
date: "2026-06-01 21:50:00"
tags: ["music", "misc1", "misc2", "misc3"]
description: "这是一首歌"
---

此处写正文或html codes.

( 详见https://github.com/briteming/hhc/blob/main/posts/yearn-in-dreams.md?plain=1) 

然后,访问vercel.com/new ,导入项目https://github.com/briteming/hhc

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://hhc-gules.vercel.app/

项目地址:

https://github.com/healeycodes/healeycodes.com

https://github.com/briteming/hhc

演示博客:

 https://hhc-gules.vercel.app/articles
https://hhc-gules.vercel.app/yearn-in-dreams 能显示视频

 

Sunday, 2 August 2026

禁用windows的休眠功能,可以释放10 gb的硬盘空间

  Hibernation is useful, but it comes at a cost.
The price is your storage becomes smaller.

Hibernation feels like the ideal option for anyone who uses their PC daily and doesn't want to lose their open apps and files. You close the lid, Windows saves everything, uses almost no power, and picks up right where you left off when you’re back. It kind of gives you the quick resume of Sleep mode and the power saving of a full shutdown. But there’s a catch that most people miss.

Hibernation relies on a dedicated file named hiberfil.sys. Every time you hibernate your PC, Windows writes whatever data is in your memory to that file — and it’s not small. On my machine, it was close to 10GB. For you, that number can be higher or lower because Windows sizes it based on your PC’s total RAM, typically between 40% to 75%. So if you’ve got 16GB of RAM, expect the hibernation file to eat up anywhere from 6 to 12GB on your drive.

Of course, this won’t matter to everyone. On a 1TB HDD, that number is barely a rounding error. But on a budget laptop with only 256GB SSD, giving up that kind of storage can hurt — because that’s space you can’t use for anything else.

The worst part is that this hibernation file doesn’t actually shrink if you stop using the feature tomorrow. It just sits there, doing nothing until you actually hibernate. And the problem is, most people don’t realize it exists until they go digging for why their storage is disappearing.
Disabling hibernation gave me 10 GB of storage
It felt like finding free storage

The hiberfil.sys file lives at the root of your C: drive. You won’t see it by default though, since it’s a hidden system file. To find it, click View > Show > Hidden items. If you still don’t see it, open File Explorer Options, switch to the View tab, and uncheck Hide protected operating system files. But don’t bother trying to delete it from there. You’ll get some sort of error or Windows will simply recreate the file.

The right way to get rid of the hiberfil.sys file and free up storage is to disable the hibernation feature entirely. For that, open Command Prompt with administrative privileges and run the following command:

powercfg /hibernate off


To confirm it worked, head back to the C: drive in File Explorer and the file should be gone. You’ll also get the storage back instantly.

Saturday, 1 August 2026

揭秘閩南人最多的10個國家/地區:從苦力勞工到掌控經濟命脈,他們是如何做到的

揭秘客家人最多的10個國家/地區:從流浪者到總統,他們的逆襲史太震撼

海外廣東人最多的10個國家

全球10大生存禁區

 

搭建基于nextjs的静态博客程序ntms


首先fork此项目:https://github.com/owolfdev/next-template-mdx-shad,我fork后,得到的项目地址是https://github.com/brightmann/ntms,

访问https://github.com/brightmann/ntms/tree/main/content/blogs,在此处新建源帖(即add file),我新建了源帖fh.mdx,内容为:

export const metadata = {
  title: "战马",
  publishDate: "2026-06-13T00:02:00",
  description:
    "这是一篇文章",
  category: "misc",
};

此处写正文或html codes.

( 详见https://github.com/brightmann/ntms/blob/main/content/blogs/fh.mdx?plain=1) 

然后,访问vercel.com/new ,导入项目https://github.com/brightmann/ntms

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://ntms-tau.vercel.app/

项目地址:

https://github.com/owolfdev/next-template-mdx-shad

https://github.com/brightmann/ntms

演示博客:

 https://ntms-tau.vercel.app/

 https://ntms-tau.vercel.app/blog
https://ntms-tau.vercel.app/blog/fh 能显示视频