知识碎片

Cloudflare Workers对比竞品优势 内置cron
与自家KV配合方便
提供webIDE,可以进行简单的编辑

SMB扩展为CIFS后,可使用TCP/IP协议互联网通信 当使用NetBIOS域环境时,监听139端口
当使用TCP/IP时,监听445端口
较新的系统中,优先445端口

注册表脚本syntax 1、第一行为以下内容:
Windows Registry Editor Version 5.00
2、第二行和最后一行均为空行
3、新建项:
[路径\新主键名]
4、删除项:
[-路径\主键名]
5、新建键值 或 修改键值:
[路径]
“键名”=“键值” (针对字符串型键值)
“键名”=hex:键值 (针对二进制型键值)
“键名”=dword:键值 (针对DWORD键值)
6、删除键值:
[路径]
“键名”=-
7、注意事项:
①注意主键路径大小写。
②键值类型一律为小写。
③在创建字符串类型的键值时,如果字符串中包含路径分隔符,这个路径分隔符应该用双斜 杠"\“表示。
④若键值名为"默认”,则键值名用@表示,没有引号。
⑤写完保存为*.reg文件然后双击导入即可,重启后可见效果。

UEFI启动及引导 UEFI是相对于传统BIOS的新型启动管理方式。
GPT(GUID)分区表启动必须使用UEFI模式,MBR分区表可由传统BIOS或UEFI引导。
UEFI仅支持x64。
EFI分区即ESP分区,全称是EFI System Partition,fat32格式的,用来放置引导文件,因为UEFI不支持从NTFS格式的分区启动。
MBR分区表划分出FAT32分区写入引导efi文件,也可启用UEFI模式。
MSR分区是微软保留分区,这些空间是用来备用的,比如转换成动态磁盘时使用。如果仅仅是作为仓库盘或数据盘使用的话,这两个分区都可以在diskgenius中安全删除,如果是作为启动盘,那么可以删掉MSR分区。

春秋五霸 齐桓公,晋文公,楚庄王,宋襄公*,秦穆公*(司马迁)
注:*有争议,提名:吴王阖闾,越王勾践,郑庄公

日本投降时间表 1945年8月15日,日本天皇以“终战诏书”的形式宣布无条件投降。
1945年8月21日,湖南芷江,日本降使向中方代表交出在华兵力部署图,接受了令其陆、海、空三军缴械投降的命令备忘录。
1945年9月2日,日本东京湾,“密苏里号”战列舰上,日本新任外相重光葵和参谋总长梅津美治郎代表日本政府在投降书上签字后,同盟国代表接受投降。
1945年9月9日,南京中央陆军军官学校的大礼堂,中国战区日军投降签字仪式,向南京国民政府受降。

心理学游戏原理(youtube收藏) Your brain processes a large amount of information at any given instance, emotions, desire, language, ect. and retaining information by memory using visuals, feelings, hearing or tastes etc. In less than nanoseconds. Needless to say more than that. We tent to “memory” odd balls. Things that stand out or is distinguished. The more unrelatable, the less to compare! Our brains does this kind of snap decision. Its instinctual in other words subconscious. Soto speak. Its why she asked to choose something quickly. (This way we will moreover rely on at-ready information or Comparative info from the stimuli.)
Answer….
At the beginning of the video there is a bright orange flash and is the only orange you will see in the video. (Intentional) In the background there is coincidentally a bunny rabbit in view for the subconscious. And 3 or 4 visible green plants on the other side. She will attempt to position your brain in a passive mode, by telling you to quickly think. You will unknowingly follow directions and use either at-ready information or Comparative information. And not spend any time conjuring new and “Original information”.
Remember i said we tent to “memory odd balls”? You probably thought i ment to say memorize. But it works like this. That odd bright burning orange got placed in memory. And remember i said the more unrelatable, the less there is to compare? In the background you take in these green trees. And when she finally says the word vegetable. Your brain snaps. fractions of a second your subconscious realizes through memory the only few things to compare those trees to as a vegetable is broccoli heads. Also lingering in your brain is that dramatic orange. It works like this. You didn’t notice it but you processed it. Your brain “memory orange” and compares to = vegetable. Carrot!!
This is visual manipulation. And brain placement. You could do the exact same thing if you replaced those green plants in this background with something round and blue.. and said think of a fruit!! Comparative thinking = blueberries

FFmpeg 分割/合并 ffmpeg -ss 00:05:00 -to 00:20:00 -i input.mp4 -c copy output.mp4
ffmpeg -f concat -i file.txt -c copy output.mp4
file ‘1.mp4’
file ‘2.mp4’

F. Scott Fitzgerald’s motto “For what it’s worth: it’s never too late or, in my case, too early to be whoever you want to be. There’s no time limit, stop whenever you want. You can change or stay the same, there are no rules to this thing. We can make the best or the worst of it. I hope you make the best of it. And I hope you see things that startle you. I hope you feel things you never felt before. I hope you meet people with a different point of view. I hope you live a life you’re proud of. If you find that you’re not, I hope you have the strength to start all over again.”

MongoDB 备份/恢复 mongodump -h 192.168.1.101:27017 -d wot –out “\\HTPC/Backup/mongodb”
mongorestore -h 192.168.1.101:27017 -d wot “\\HTPC/Backup/mongodb/wot”

docker compose 启动/停止 docker-compose -p NAME down
docker-compose -p NAME up -d

Windows 激活命令 slmgr /skms kms.03k.org
slmgr /ato

/etc/fstab 自动挂载设备 因识别设备顺序不稳定,不要使用/dev/sda1,应使用卷标/UUID

Portainer 启动命令 8000端口用于Edge Agent,暂不需要
通过hidden标签隐藏自身
debian软件包内docker.io版本只支持portainer到2.9
docker run -d -p 9443:9000 –name portainer \
–restart=always \
-l hidden=yes \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:2.9.3

常用 Linux 命令 du -sh * 查看当前目录下文件/目录体积
lsblk 列出所有可用块设备的信息,以及它们之间的依赖关系
su USERNAME 切换用户, exit会回落到root
df -h 磁盘挂载情况
radeontop -c AMD GPU性能监测工具
uname -r 内核版本
reboot 重启
poweroff/halt 关机/Grub bash关机
grub-reboot [num] 重启进入[num]的启动项

NAS后续折腾 Grafana + Prometheus/sysstat/glances
Home Assistant
Oh-My-Zsh
jellyseerr(资源请求) + prowlarr/Jackett(聚合搜索/下载) + Sonarr(剧集) + Radarr(电影)

T-64思路 三要素均衡
西方尝试摸索:摒弃防护追求机动(豹),让位防护铁王八(酋长),导弹万能论(mbt70)