摘要:
using log4net;using log4net.Config; using System; using System.IO; using System.Reflection; namespace LoggingDemo.Log4Net{ class Program { private sta
阅读全文
posted @ 2021-02-23 17:37
青叶煮酒
阅读(184)
推荐(0)
摘要:
任务:查看非root运行的进程 # ps -U root -u root -N
阅读全文
posted @ 2021-02-20 16:30
青叶煮酒
阅读(77)
推荐(0)
摘要:
1. 相关结构体及函数声明 rpc FileUpload (stream FileRequest) returns(FileReply); message FileRequest { string FileName = 1; bytes FileContents = 2; } message Fil
阅读全文
posted @ 2021-02-04 13:07
青叶煮酒
阅读(646)
推荐(0)
摘要:
1. int 转 string 2. string 转 int
阅读全文
posted @ 2021-01-28 15:19
青叶煮酒
阅读(453)
推荐(0)
摘要:
1. 查看 Zynq Linux 版本 通过 Tera Term 软件,远程登录到 Zynq 系统上,运行命令: uname -a 显示如下(系统是 armv7l): 2. 编译适用于 arm 版本的 Grpc 服务可执行程序 Grpc 服务代码目录下,执行命令: dotnet publish -r
阅读全文
posted @ 2021-01-27 17:13
青叶煮酒
阅读(535)
推荐(0)
摘要:
解决方案: petalinux-config -c rootfs
阅读全文
posted @ 2021-01-26 17:39
青叶煮酒
阅读(643)
推荐(0)
摘要:
谷歌浏览器打开:https://almaer.com/scrollbar/index.html Ctrl + Shift + I 打开谷歌浏览器的开发者工具 -> 点击 Sources -> index.html 查看样式源码,如下图所示: 附1:index.html 源码: <html> <hea
阅读全文
posted @ 2021-01-25 14:56
青叶煮酒
阅读(94)
推荐(0)
摘要:
如下图所示: 如果要设置 init-is-switch-on = false,需要写成 init-is-switch-on =“” 注:直接写 init-is-switch-on = false 传到子组件的值并不是 false,原因如下: 参考:https://www.w3school.com.c
阅读全文
posted @ 2021-01-21 17:43
青叶煮酒
阅读(358)
推荐(0)
摘要:
1. 将 Vue 单文件组件 style 中样式的作用域限制在本文件 添加 scoped 关键字,如下图所示: 2. 获取事件触发源 clickButton:function() { var e = arguments[0] || window.event; var src = e.srcEleme
阅读全文
posted @ 2021-01-19 16:52
青叶煮酒
阅读(77)
推荐(0)
摘要:
参考1:https://blog.csdn.net/weixin_30241919/article/details/99195313?utm_medium=distribute.pc_relevant.none-task-blog-searchFromBaidu-1.control&depth_1-
阅读全文
posted @ 2021-01-14 17:09
青叶煮酒
阅读(522)
推荐(0)