用于微星B250M迫击炮主板的EFI
项目地址
https://github.com/rakiy/Hackintosh_MSI_B250M_EFI
当前OC版本
OpenCore 0.8.0 (https://github.com/acidanthera/OpenCorePkg)
重要说明
CONFIG文件请务必使用XCODE或者ProperTree编辑,请千万不要用Oc Configuretor任何版本进行修改....
自己MACOS版本
目前是 MACOS 12.3.1 (21E258)
用于微星B250M迫击炮主板的EFI
https://github.com/rakiy/Hackintosh_MSI_B250M_EFI
OpenCore 0.8.0 (https://github.com/acidanthera/OpenCorePkg)
CONFIG文件请务必使用XCODE或者ProperTree编辑,请千万不要用Oc Configuretor任何版本进行修改....
目前是 MACOS 12.3.1 (21E258)
网上一堆过期教程啊,就酱紫...一共3步走
npm install imagemin
npm install imagemin-mozjpeg
然后建立一个 xxx.js
import imagemin from "imagemin";
import imageminMozjpeg from "imagemin-mozjpeg";
import imageminPngquant from "imagemin-pngquant";
imagemin(['images/*.{jpg,png}'], {
destination: './assets',
plugins: [
imageminMozjpeg({quality: 90}),
imageminPngquant({quality: [0.65, 0.8]}),
]
}).then( res => {
console.log(res);
});
node xxx.js
嗯,2天没有写东西了,这两天在调教BLOG程序中唉,各种问题多多,不过还好,一切顺利,嗯,修改了不少,
其中就有评论样式哦,话说,Typecho资料是够少啊,官方的更是少,不少都得自己动手,不过不怕,自己动手,丰衣足食嘛,嗯,言归正传,
Typecho 0.8后评论就只有一句代码
<?php $comments->listComments(); ?>
嗯,就是利用chrome的页面编辑功能来变相破解,F12,然后控制台,输入下面代码即可
document.body.contentEditable = true;
当然,还有更简单的方法,如下:
如果嫌麻烦,可以直接在浏览器收藏夹建立一个书签,内容输入
javascript:document.body.contentEditable = true;
遇到不可复制的网站,直接点一下,你就发现,世界清静了...
chrome | IE | safari | firefox |
---|---|---|---|
12+ | 8+ | 5+ | 5+ |
升级到macos12后,propertree直接黑屏了,如下
以为是旧版本的propertree出问题了,去corpnewt/ProperTree下载了新版本依然无效
又读了下说明,在说明中还单独说明了这个问题,解决方案如下:
最新评论