上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
摘要: Spriing boot stater中根据配置文件中的条件 生成相应的bean, 以适应不同场景 @ConditionalOnExpression中使用SpEl, 支持各种条件表达式 String的各种方法都能用,不限于等于、正则、以..开始、以..结束 自已如何用? MethodBasedEva 阅读全文
posted @ 2018-10-23 12:46 funny_coding 阅读(166) 评论(0) 推荐(0)
摘要: 文件加载顺序 interactive和non-interactive加载的文件个数有很大区别哦!!! for if case ... 语法 往前移动一个单词 alt f,或者ctrl+方向键 https://github.com/hokein/Wiki/wiki/Bash-Shell%E5%B8%B 阅读全文
posted @ 2018-10-20 22:52 funny_coding 阅读(261) 评论(0) 推荐(0)
摘要: 在脚本中export,只在当前shell脚本进程和子进程中有效 source的作用中是将export的变量在当前脚本环境生效, 如果是在父脚本中执行source,在子脚本中执行export, 父脚本退出后仍然不存在这个变量 https://rj03hou.github.io/linux%E4%B8% 阅读全文
posted @ 2018-10-16 20:50 funny_coding 阅读(222) 评论(0) 推荐(0)
摘要: https://www.alibabacloud.com/help/zh/doc-detail/44386.htm?spm=a2c63.p38356.b99.57.68075c74FUCHA6 限流 在服务提供端做 降级 在服务调用端做 阅读全文
posted @ 2018-10-11 10:09 funny_coding 阅读(212) 评论(0) 推荐(0)
摘要: 一些特殊用法的说明文档位置 man top!!! MPT排序,<>排序移动, x 切换高亮显示 b切换 Since this is primarily a service to former top users, these commands do not appear on any help sc 阅读全文
posted @ 2018-10-10 17:01 funny_coding 阅读(177) 评论(0) 推荐(0)
摘要: Spring Boot配置log手册 https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.logging.custom-log-configuration 配置文件名称使用:log 阅读全文
posted @ 2018-09-28 13:23 funny_coding 阅读(708) 评论(0) 推荐(0)
摘要: 请求进入和退出时,filter触发session的提取和保存 getAttribute时会查询数据库 setAttribute会保存到数据库 daemond线程定时自动删除过期的session spring session只提供了自动提取和维护session的功能, 基于session的权限校验需要 阅读全文
posted @ 2018-09-27 20:32 funny_coding 阅读(732) 评论(0) 推荐(0)
摘要: 组合索引和sql中的顺序有关 单列索引和sql中的顺序无关 阅读全文
posted @ 2018-09-26 23:01 funny_coding 阅读(111) 评论(0) 推荐(0)
摘要: trim()的作用去掉前后的空格, 但是解析excel,出现一个字符串trim之后还是有”空格“ 做了一下实验,原来一些不可见的字符不一定是“空格”, trim()也去不掉, 只能自己写方法了 阅读全文
posted @ 2018-09-26 19:45 funny_coding 阅读(2230) 评论(0) 推荐(0)
摘要: 单次插入200个用时1150ms, 单个 6ms 主要耗时:网络连接,(数据库日志,这个影响不大) 批量插入200个用时100ms左右,单个2ms 循环插入的1/3时间 阅读全文
posted @ 2018-09-16 18:18 funny_coding 阅读(405) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
build beautiful things, share happiness