Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

QT 加载字体

加载本地字体 先将字体加入资源文件,然后 QFontDatabase fontDatabase; if (fontDatabase.addApplicationFont(“:/images/FontAwesome.ttf”) == -1) qWarning() << “Failed to load font”; 然后可以在QM……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

proxmox折腾记

添加NAT网桥 只有一个公网IP,想要虚拟机上网,就只能使用NAT模式.没有使用WEB UI上的方案,直接编辑/etc/network/interface文件 auto vmbr0 iface vmbr0 inet static address 192.168.100.1 netmask 255.255.255.0 bridge_port……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

全志H3折腾日记

Toolchain 使用linaro的工具链,因为新版uboot要求gcc版本根得上时代,下载GCC 7.1下载地址 解压,并编译/etc/profile将环境变量添加进去 安装dtc编译器 apt-get install device-tree-compiler uboot 编译 git clone git://git.denx.de/……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

U盘自动挂载并升级应用程序

自动挂载U盘 现在Kernel中一般都有udev mdev.在U盘接入后会自动升成节点/dev/sd*[0,9] ,不过在udev配置文件中并没有挂载到目录,仅生成了设备节点. 这时可以自已写个脚本来实现 #!/bin/sh if [ ! -f “/dev/sda1” ]; then mount /dev/sda1 /udisk -t v……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

shell 操作集合

正则表达式 ^ 表示一行的开头。如:/^#/ 以#开头的匹配。 $ 表示一行的结尾。如:/}$/ 以}结尾的匹配。 \< 表示词首。 如:\<abc 表示以 abc 为首的詞。 \> 表示词尾。 如:abc\> 表示以 abc 結尾的詞。 . 表示任何单个字符。 * 表示某个字符出现了0次或多次。 字符集合。 如:……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97