摘要: 设置目录默认权限 setfacl -m d:u:st:rx /project/ [root@localhost ~]# getfacle 文件名#查看ACL权限[root@localhost ~]# setfacl 选项 文件名#设定ACL权限 选项: -m:设定 ACL 权限。如果是给予用户 AC 阅读全文
posted @ 2023-07-29 17:40 飞鹰之歌 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 按位与:0&0=0; 0&1=0; 1&0=0; 1&1=1;按位或:0|0=0; 0|1=1; 1|0=1; 1|1=1;按位异或,在或的基础上1 1也为0:0^0=0; 0^1=1; 1^0=1; 1^1=0; 1.一个int型字段,存储十进制的数字,比如说是5那么该数字转成二进制是101,我自 阅读全文
posted @ 2023-05-12 16:32 飞鹰之歌 阅读(25) 评论(0) 推荐(0) 编辑
摘要: ppt 模板生成 :https://www.mindshow.fun/ 阅读全文
posted @ 2023-04-26 16:57 飞鹰之歌 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 参考:https://github.com/xiaozhiqi2000/git-tips 阅读全文
posted @ 2023-04-21 15:49 飞鹰之歌 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 参考:https://github.com/xiaozhiqi2000/Markdown 阅读全文
posted @ 2023-04-21 15:42 飞鹰之歌 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/zengwb/p/16880433.html 阅读全文
posted @ 2023-04-21 15:18 飞鹰之歌 阅读(12) 评论(0) 推荐(0) 编辑
摘要: docker cp 容器名称:文件地址 目标地址 docker cp walle-mysql:/home/walle.sql /home 阅读全文
posted @ 2023-04-18 16:43 飞鹰之歌 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1:grep -r “指定内容” 目录 grep -r "get_next_hash" ~/Download/hotspot-69087d08d473 2:grep -r -l “指定内容” 目录 grep -r -l "get_next_hash" ~/Download/hotspot-69087 阅读全文
posted @ 2023-04-18 16:27 飞鹰之歌 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 字段设置fulltext索引,中文内容解析器设置为ngram 阅读全文
posted @ 2023-02-17 11:47 飞鹰之歌 阅读(73) 评论(0) 推荐(0) 编辑
摘要: redis实现方案使用bitmap来实现,bitmap是redis 2.2版本开始支持的功能,一般用于标识状态, 另外 ,用bitmap进行当天有多少人签到非常的方便,使用bitcount $count = 0;$count = Redis::BITCOUNT($key);设置两个bitmap , 阅读全文
posted @ 2022-09-27 17:00 飞鹰之歌 阅读(194) 评论(0) 推荐(0) 编辑