AdGuardHome广告过滤规则分享(通用规则过滤)
AdGuardHome广告过滤规则分享(通用规则过滤)这些规则可以用作hosts过滤也可以用作AdGuardHome,话不多说,直接上规则:
https://anti-ad.net/anti-ad-for-dnsmasq.conf
https://anti-ad.net/domains.txt
https://anti-ad.net/surge.txt
https://anti-ad.net/anti-ad-for-smartdns.conf
https://easylist-downloads.adblockplus.org/easylistchina.txt
https://gitee.com/xinggsf/Adblock-Rule/raw/master/mv.txt
https://adbyby.coding.net/p/xwhyc-rules/d/xwhyc-rules/git/raw/master/lazy.txt
https://adbyby.coding.net/p/xwhyc-rules/d/xwhyc-rules/git/raw/master/video.txt
h ...
博客备份
备份博客创建新分支打开自己的github里存放博文页面文件的仓库(确保已有主分支),建立一个新的分支hexo,并将其设置为默认分支。
本地的博客原始目录里只有.deploy_git文件(里面存放的是上传到博客仓库的页面文件),并没有.git文件,所以要先在其他地方新建空目录,将仓库的hexo分支clone下来,再将里面的.git文件复制到本地的博客目录中。
检查主题文件下有没有克隆时产生的.git文件,有的话要删掉,因为git不能嵌套上传,会导致主题文件无法上传,备份出问题。
备份在博客根目录下执行如下命令
$ git add .
$ git commit -m "备份"
$ git push origin hexo
日常更新命令hexo clean
git add .
git commit -m "备份"
git push
hexo g
hexo d
恢复博客克隆项目到本地$ git clone https://github.com/yourgithubname/yourgithubname.github.io
恢复博客$ npm install hexo-cli
$ np ...