摘要:
参考:https://zhuanlan.zhihu.com/p/385276301 其中遇到的坑:(是否必须这样值得研究,这是多次尝试成功的结果) 安装VcXsrv 启动时设置DISPLAY为10 后面把禁止访问控制勾上 VSCODE的SSH连接配置里设置: Host 192.168.1.233 H 阅读全文
摘要:
使用引用获取字段值,以避免数据复制: auto id = jfo["id"].get_ref<const std::string&>(); 使用解引用访问字段值,提高效率并简化代码 if (auto it = jfo.find("transforms"); it != jfo.end()) { fo 阅读全文
摘要:
安装文档时,使用--destionation修改文档路径后,修改`$matlabroot\toolbox\local\`下的`matlabrc.m`初始化文件, 增加一行,用于设置帮助文档路径,如: ```matlab docroot('D:\ProgramData\matlab\SupportaP 阅读全文
摘要:
编写一个启动脚本`s19sdk.sh`, 内容如下: ```shell #!/bin/bash source /opt/Xilinx/SDK/2019.1/settings64.sh xsdk -workspace ~/work/myproject/myproject.sdk & ``` 然后增加执 阅读全文
摘要:
修改buildroot/package/initscripts/init.d/rcS, 增加mount命令: ``` #!/bin/sh # Start all init scripts in /etc/init.d # executing them in numerical order. # fo 阅读全文
摘要:
导出bit文件,修改uEnv.txt文件,修改bitstream_image为自己的bit文件,如system_top.bit,并增加两行: ``` bitstream_image=system_top.bit mmc_loadbit_fat=echo Loading bitstream ${bit 阅读全文
摘要:
安装expect ``` sudo apt install expect ``` 要执行的脚本 ``` #!/bin/bash # cpao.sh ssh-keygen -f "/home/lyq/.ssh/known_hosts" -R "192.168.1.10" scp sd.sh ao_ap 阅读全文
摘要:
== fraction == simple fraction Snippet snippet // "Fraction" iAm \frac{ 0 endsnippet example input:// latex: visual:$\f 阅读全文