Wang shaodong's Blog

Wang shaodong's Blog

github pages 部署方式变更
Created2026-10-02
1. 核心问题:Hexo 部署后自定义域名被刷掉原因: Hexo 的 hexo deploy 会清空并重建目标分支,GitHub 自动生成的 CNAME 文件被删除。 解决: 在 source/ 下放置 CNAME 文件(内容为纯域名,无 http://)。 但每次部署仍有短暂验证窗口,因为 Hexo 的“清空-重建-推送”流程本身会导致 GitHub 重新识别 CNAME。 根治方案: 改用 GitHub Actions 部署。GitHub 官方文档说明,通过自定义 Actions 工作流发布时,GitHub 不依赖仓库中的 CNAME 文件,自定义域名由服务端设置直接管理,不再被刷掉。 2. 使用 GitHub Actions 后的博客更新流程以前: 本地 hexo generate + hexo deploy。 现在: 12345hexo new post "标题"# 编辑 source/_posts/标题.mdgit add .git commit -m "post: 标题"git push origin main 推送后 G...
记录一次把独显虚焊导致黑屏的笔记本改装Linux做无头服务器的过程
Created2026-10-01
记录一次把独显虚焊导致黑屏的笔记本改装Linux做无头服务器的过程硬件条件,2011年 的联想笔记本,型号Z465,AMDCPU,4G内存,500G 机械硬盘,是bios只支持dos分区表,不支持gpt Z465 时代的 AMD 没有“CPU 核显”:AMD 直到 2011 年底推出 Llano APU(A系列)才把显卡塞进 CPU。你 2011 年的 Z465(AMD 速龙/羿龙),CPU 内部是不带核显的。 OS 选择:第一次是选择了rocky,因为支持更新的时间很长,大约有10年, 第二次选择了 Debian, 因为rocky的GUI安装程序anaconda,在磁盘分区的时候,强制gpt分区表,手动在命令行分区后不被识别,很麻烦,所以 turn to debian 文字界面安装 更自由采取的方案:把硬盘拆下来,借助其他显示正常的PC,从U 盘启动,安装OS到 USB转接的笔记本电脑硬盘遇到的问题和解决办法: debian net image 最小安装之后 修改 内核启动参数 /etc/dfault/grub 之后执行 grub...
adb install xapk
Created2026-09-25
从 apkpure download 到了 Tailscale_1.102.4-t3caf7d9e7-g1b32d3caa_APKPure.xapk1adb install Tailscale_1.102.4-t3caf7d9e7-g1b32d3caa_APKPure.xapk # 会报错 需要解压缩,用 adb install-multiple12345mkdir tmpmv Tailscale_* tmpcd tmpunzip Tailscale_*adb install-multiple *.apk
Contact ways
Created2026-06-13
Tel: MTg1NDAxODU0MTQ= Email: wang.shaodong@outlook.com Wechat:
kernel structs pos
Created2022-03-23
struct task_structsched.h struct mm_structmm_types.h current*struct credcred.h
busybox SUID support
Created2022-03-23
开启 busybox对suid的支持,编译busybox前修改配置选项 1234$ chmod u+s /bin/busybox$ cat /etc/busybox.conf[SUID]echo = ssx root.root
kernel image formats
Created2022-03-23
Imagethe generic Linux kernel binary image file. zImagea compressed version of the Linux kernel image that is self-extracting. uImagean image file that has a U-Boot wrapper (installed by the mkimage utility) that includes the OS type and loader information.
cmd patchelf
Created2022-03-23
123# sudo zypper in -y patchelf# patchelf 可以修改可执行文件的 使用的链接器# It can change the dynamic loader ("ELF interpreter") of the executables and change the RPATH of executables and libraries
git tricks
Created2022-03-23
git clone加速下载 如果只需要最新的代码 不需要历史提交记录的时候可以 给git添加参数 –depth =1 1git clone --depth=1 https://github.com/TheSuperPowerIsRich/OSX-KVM.git
network protocol
Created2022-03-23
rtmp srt
12…9
avatar
wang shaodong
Articles
85
Tags
15
Categories
0
Follow Me
Announcement
This is my Blog
Recent Posts
github pages 部署方式变更2026-10-02
记录一次把独显虚焊导致黑屏的笔记本改装Linux做无头服务器的过程2026-10-01
adb install xapk2026-09-25
Contact ways2026-06-13
kernel structs pos2022-03-23
Tags
Tool alogrithm Linux/C Others sql shell others terms algorithm C/C++ tools Tools git Tools Linux other C/C++
Archives
  • October 2026 2
  • September 2026 1
  • June 2026 1
  • March 2022 19
  • September 2021 6
  • August 2021 11
  • August 2020 1
  • June 2020 1
Website Info
Article Count :
85
Unique Visitors :
Page Views :
Last Update :
© 2025 - 2026 By wang shaodongFramework Hexo 8.1.2|Theme Butterfly 5.7.0