arduino 日志
arduino 使用日志系统 https://github.com/thijse/Arduino-Log #include <ArduinoLog.h> // 日志, https://github.com/thijse/Arduino-Log // #define DISABLE_LOGGING // 关闭日志功能 void setup…
|
75
|
|
113 字
|
6 分钟
android studio 启动卡死解决
android studio 无法启动解决。启动 android studio 时显示启动画面,但一直无法继续 可以安装 IntelliJ IDEA Edition 启动时提示 bind 错误。 因为 IDEA需要在端口6942~6991间找到一个可用端口并绑定(bind) 。但是这些端口被 Hyper-V 占用。有两种解决方案 执行 ```net…
|
67
|
|
166 字
|
2 分钟
windows 下 docker 的一些设置
wsl 2 的内存占用过大问题 编辑 %UserProfile%.wslconfig [wsl2] memory=2GB swap=0 localhostForwarding=true wsl --shutdown https://blog.n0ts.cn/1155.html 设置 docker 占用空间问题 设置 data-root 报错或是提示…
|
106
|
|
94 字
|
2 分钟
WSL 学习
WSL https://docs.microsoft.com/zh-cn/windows/wsl/ 安装 安装 WSL 安装 linux 子系统,可以让开发人员在在windows 下使用 linux 环境 - 包括大多数命令行工具、实用工具和应用程序 - 且不会产生传统虚拟机或双启动设置开销。 安装指南 :https://docs.microsof…
|
93
|
|
590 字
|
5 分钟
阿里云主机安装 BBR
试过后感觉下载速度稳定了,但是有没有提速没什么感觉。 1.首先卸载阿里云安骑士 wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://update.aegis.aliyun.com/down…
|
54
|
|
321 字
|
2 分钟
没品鸡汤
1、一些人的情商比较低,没法扮演好自己的社会角色,只能一直以最真实的自己面对世界。 2、只要是石头,到哪里都不会发光的。你必须承认:我是石头,安详的躺厕所里,我的世界你们不懂,所以我很硬。 3、社会精英阶层一边啃着心灵鸡腿和心灵鸡胸,一边为我们送上了心灵鸡汤,说人生的价值并不在于你挣了多少钱和外在是否美。 4、直到三十岁才知道,和不同的人说不同的话…
|
56
|
|
6339 字
|
24 分钟
Autofac
Autofac https://autofaccn.readthedocs.io/zh/latest/index.html [一些技巧]: https://www.cnblogs.com/caoyc/p/6370647.html 注册 反射注册 指定类型后,使用反射方式进行实例化 // 注册类型,使用 Resolve 返回实例 builder.R…
|
51
|
|
623 字
|
17 分钟
启用 powershell remoting
启用 powershell remoting https://blog.51cto.com/qicheng0211/1926913 https://helpcenter.gsx.com/hc/en-us/articles/202447926-How-to-Configure-Windows-Remote-PowerShell-Access-for-…
|
96
|
|
231 字
|
3 分钟
Redis 学习
微软有一个 windows 版本的 redis-cli, 版本有点旧,可以使用 # 监控 Redis 信息 redis-cli info # 实时监控 redis-cli --stat # 延迟监控 redis-cli --latency # 查看详细内存使用情况 redis-cli info memory # 查看客户端连接详情 redis-cl…
|
100
|
|
34 字
|
2 分钟
wordpress 架站过程
安装 docker docker 常用操作 docker run xxxx -d 名称 # 后台运行一个容器 docker run xxxx -it sh # 前台运行一个容器 docker rmi -f xxxx 强制删除镜像 docker start xxxx docker restart xxxx docker stop xxxx 停止窗口 …
|
87
|
|
306 字
|
5 分钟