启用树莓派硬件“看门狗”

“看门狗”,是一种硬件计时器。计算机系统在正常运行中会定时将这个计时器清零,俗称“喂狗”。当计算机系统无响应时,看门狗这这个计时器就会一直计时,当达到预定时间后还没有“喂狗”动作,“看门狗”就会将系统重启。从而保证系统不会达到长时间死机的状态。

Windows 上 OpenSSH 服务的安装及启动

下载 Windows 版本的 OpenSSH下载地址:https://github.com/PowerShell/Win32-OpenSSH/releases如果无法打开 Github 页面或无法下载,可以使用镜像站:https://hub.fastgit.org/PowerShell/Win...

Flutter 长按控件在对应位置弹出 Menu 菜单 (含震动反馈)

GestureDetector( child: , onLongPressStart: (details) { Feedback.forLongPress(this.context); // Add Feedback showMenu( context: c...

javassist

使用 javassist 无侵入实现方法时间统计

AOP切面测方法耗时

<bean id="timeAspect" class="com.demo.TimeCount"/> <aop:config> <aop:pointcut id="allPointcut" exp...