- 博客(2)
- 收藏
- 关注
原创 Linux pam_faillock 模块 xx次错误密码尝试后锁定xx分钟
pam_faillock.so默认启用15分钟内输入三次错误的密码后锁定用户10minLocked out after three wrong password attempt这时如果有root权限可以使用faillock --reset --user 用户名来解锁用户
2022-01-12 11:09:04
1461
原创 JavaScript OnClick 传值的解决方案 搭配模板引擎
//假设是一个任意值的Objectvar data = {"name":"Nameless"}; //使用JSON.stringify()将Object转为JSON//然后使用encodeURIComponent()对特殊文字(中文字符等非ascii)进行转码//在使用btoa()转换成base64let dataEncode = btoa(encodeURIComponent(JSON.stringify(data)));//传值var buttonItem = '<a oncl..
2022-01-06 14:54:58
452
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人