Prismatic 代码高亮插件添加全局显示行号
编辑主题的fuction.php添加以下内容: function tribify_body_class($classes) { $classes[] = 'line-numbers'; return $classes; } add_filter('body_class', 'tribify_body_class');
编辑主题的fuction.php添加以下内容: function tribify_body_class($classes) { $classes[] = 'line-numbers'; return $classes; } add_filter('body_class', 'tribify_body_class');
本文引用的redpill-load源码地址为:https://github.com/jumkey/redpill-load 本文引用的扩展驱动地址为:https://github.com/pocopico/rp-ext 本文讲解的是ds918机型的引导编译,目前已经测试可以更新到7.1.1up3,日常使用和高负载情况下都测试过了,没有遇到任何问题,此引导版本目前只能生成7.0.1版本的系统,因为采用了jun的补丁模式,所以可以升级高版本并且无问题。 关于user_config.json的模版内容如下: { "extra_cmdline": { "vid"
更新固件失败的方式有很多,本方法仅适用与Type-A卡更新导致的机器变砖,无法操作问题。 方法: 将机器机器拔电池关机并开关机键也拨到关机,然后将Type-A卡拔出,然后拷贝一份更新文件到任意一张SD卡上,将SD卡放入卡槽1,插入电池开机,等待系统继续更新,更新完成后解决更新失败、更新变砖的问题。
1.首先更换debian系统的更新源,如下命令: sed -i 's|^deb http://ftp.debian.org|deb https://mirrors.ustc.edu.cn|g' /etc/apt/sources.list sed -i 's|^deb http://security.debian.org|deb https://mirrors.
此教程适用amd和intel核显,因为都用的vaapi 1.首先查看/dev/dri/下的各个设备权限是怎么样的,代码如下: ls -al /dev/dri/ ####输出结果如下 drwxr-xr-x 3 root root 100 May 3 11:10 . drwxr-xr-x 20 root root 4420 May 3 11:10 .. drwxr-
1.修改kernel GRUB_CMDLINE_LINUX_DEFAULT,编辑/etc/default/grub,添加如下: intel_iommu=on ## intel cpu 添加这个 amd_iommu=on ##amd cpu添加这个 iommu=pt ##如果直通后需要使用到dpdk 添加这个可提高性能 运行以下命令更新kernel : update-grub2 查看iommu分组情况: lspci ## 查看设备pci地址 dmesg|grep iommu ##查看对应pci地址分组情况
123123 /* code -------------------------- */ code { font-size: 80%; color: inherit; /* padding: 4px 10px;*/ 此行注释 word-break: break-word; } code { font-size: 80%; color: inherit; /* padding: 4px 10px;*/ 此行注释 word-break: break-word; }
This is 萌牛NAS, a brand new site by asumi233 that's just getting started. Things will be up and running here shortly, but you can subscribe in the meantime if you'd like to
打开注册表编辑器转到以下路径: 计算机\HKEY_CURRENT_USER\Software\Adobe\CSXS.12 然后右侧新建字符串值 输入数值名称: PlayerDebugMode 值:1 即可解决
提前申明/share 目录是共享文件夹的目录 记得提前创建好共享文件夹 /share/共享文件夹名 1.首先安装 acme.sh 配置环境变量 安装的位置 export LE_WORKING_DIR=/share/acme-ssl/.acme.sh 安装 记得把邮件地址替换成你自己的 curl https://get.acme.sh | sh -s email=my@example.com 安装完以后创建一个脚本 后面需要用到
配置步骤1: sudo -i -----登录root cd ~ wget https://github.com/acmesh-official/acme.sh/archive/master.tar.gz tar xvf master.tar.gz cd acme.sh-master/ ./acme.sh --install --nocron --home /usr/local/share/acme.sh