Linux 服务器写入DVD的脚本
1 | # 使用方法 |
Linux 服务器写入DVD的脚本
1 | # 使用方法 |
首先安装系统到联网那一步,按shift+F10打开cmd
执行以下命令跳过联网验证:
1 | OOBE\BypassNRO |
电脑会自动重启,重启回来就可以选“我没有Internet连接”,然后创建本地账号
1 | # 在线搜索一个软件 |
目前已安装的软件
1 |
|
其他推荐
1 |
|
执行脚本
1 | powershell -Command "Set-ExecutionPolicy Unrestricted" |
powershell 激活信息 slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX slmgr /skms kms8.msguide.com slmgr /ato 上面不行换这个 slmgr /skms kms.digiboy.ir slmgr /ato 上面不行换这个 slmgr /skms kms.chinancce.com slmgr
1 | irm https://get.activated.win | iex |
[^1]: Set up Windows 11 without internet - oobe\bypassnro
1 | (function(){ |
读取一个文件夹下的所有日记文件,生成一个日记概览,包括日期、内容。达到类似logseq的日记效果。
安装插件:Dataview https://github.com/blacksmithgu/obsidian-dataview 开启dataviewjs功能
根目录新建文件,贴入下面代码
1 | /** |
另一种方式
1 | function reverseArray(arr) { |
别的方案
Daily Notes Viewer 插件 https://github.com/Johnson0907/obsidian-daily-notes-viewer
win11电脑,有个ARMOURY CRATE的软件更新,居然直接给我电脑重启了,后面他还没更新成功 我焯
结果就是docker报错了
1 | running engine: waiting for the VM setup to be ready: starting WSL engine: bootstrapping in the main distro: starting wsl-bootstrap: context canceled |
CSS中的BEM思想
BEM是block element modifer的简写,是一种CSS命名的方法论
给CSS样式起名的方法中:
- 中划线 :名称连字符
–双中划线:表示元素的一种状态
__双下划线:连接父子元素名字
浏览器插件,用来管理浏览器的proxy,用它就不需要开system proxy,防止影响其他应用
SwitchyOmega不更新了 不推荐 建议改用ZeroOmega
npx 指令从npm5.2就内置了,可以在线调用npm包而不用下载到本地再执行
ie: cowsay 指令
1 | ➜ ~ npx cowsay owow |
可以直接编译&运行ts文件
1 | npx ts-node script.ts |
可以执行 create-react-app 脚本
1 | npx create-react-app . |
也可以调用自己写的GitHub gist代码片段
1 | ➜ my-project git:(main) npx https://gist.github.com/miloweimo/491623a136c0ceed0371c10ae95c86a0 |
参考
我写的hellojs https://gist.github.com/miloweimo/491623a136c0ceed0371c10ae95c86a0
别人写的hellojs https://gist.github.com/Tynael/0861d31ea17796c9a5b4a0162eb3c1e8
别人写的readme https://gist.github.com/CarsonSlovoka/ad04ee083bd2dde825060160546b8059