- 博客(4)
- 资源 (10)
- 收藏
- 关注
原创 【备忘】css文本超出后显示省略号(支持单行、多行)
//css文本超出后显示省略号(单行):overflow:hidden;/*是让文本溢出后,显示成省略号*/text-overflow:ellipsis;/*禁止自动换行*/white-space:nowrap;//css文本超出后显示省略号(多行): display: -webkit-box; -webkit-box-orient: vertical; /** 要控制的行数, 例如:控制文字达到第4行,那多余的就显示省略号 */ -webkit-lin
2021-05-19 15:20:39 142
原创 【备忘】es复杂聚合之统计每半个小时最高在线人数
我的需求:统计每个小时最高在线人数日志记录逻辑:每个大厅每15秒记录一次在线人数数据统计逻辑:{ "query": { "bool": { "must": [{ "match": { "statFunc": "onlinecount" } }, {
2021-05-08 11:07:40 531
原创 【备忘】es复杂聚合逻辑查询语句编辑经验记录
我的需求:统计每天最高在线人数日志记录逻辑:每个大厅每15秒记录一次在线人数数据统计逻辑:{ "query": { "bool": { "must": [ { "range": { "unixtime": { "gt": 1620316800000, "lt": 1620403199000 } } .
2021-05-08 10:50:32 262
原创 【备忘】crontab使用经验集合
# 每隔30分钟执行python文件(可以改为每隔几天,几小时,几个月)*/30 * * * * python /path-to-file/test.py# 每3分钟请求一次URL*/3 * * * * /usr/bin/curl http://fghj.playone.cn/index/Info/philDience >> /tmp/task_log.log# 每分钟更新一次代码*/1 * * * * cd /www/web/www.ss.com;git pull..
2021-05-07 14:13:58 118
JavaScript原生客户端cookie存取功能(优化加密+封装版)cookie.js
2021-02-09
[废弃]JS cookie存取功能(加密优化版)
2018-08-15
PHPExcel_数据导出excel
2017-12-31
tomcat 6.x
2014-06-16
spring_完整包
2014-06-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人