上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页
摘要: ```conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx 阅读全文
posted @ 2023-06-15 17:57 lambertlt 阅读(452) 评论(0) 推荐(0)
摘要: `schtasks /create /tn shut /tr "shutdown -s -f" /sc once /st 18:02 /sd 2023/06/07` 成功: 成功创建计划任务 "shut" `schtasks /delete /tn "shut"` 警告: 确实要删除任务 "shut 阅读全文
posted @ 2023-06-07 16:35 lambertlt 阅读(18) 评论(0) 推荐(0)
摘要: 修改主类,参照以下格式 `EducationErverApplication.class` ```java @SpringBootApplication // war 包启动类 public class EducationErverApplication extends SpringBootServ 阅读全文
posted @ 2023-06-05 14:01 lambertlt 阅读(28) 评论(0) 推荐(0)
摘要: // 策略类 // 所有跟计算奖金有关的逻辑不再放在环境类Context中,而是分布在各个策略对象中。 let strategies = { // 每个策略对象负责的算法被各自封装在对象内部 "RegularCard": function( deposit ){ return deposit * 0 阅读全文
posted @ 2023-05-17 09:06 lambertlt 阅读(117) 评论(0) 推荐(0)
摘要: git commit --no-verify -m "xxx" 阅读全文
posted @ 2023-05-04 16:54 lambertlt 阅读(41) 评论(0) 推荐(0)
摘要: 这样编写减少了前后端很多没必要的遍历,以及if判断并最大限度提高了代码的可变通性 额外需要学习的是ORM框架下,如何接收多表(各表结构不同)操作后,sql返回的新结构的临时表问题 表达式引擎用到的依赖 <dependency> <groupId>org.apache.commons</groupId 阅读全文
posted @ 2023-04-20 10:49 lambertlt 阅读(184) 评论(0) 推荐(0)
摘要: function getLocalTime(){ let year = new Date().getFullYear() let month = new Date().getMonth()+1 let day = new Date().getDate() let hour = new Date(). 阅读全文
posted @ 2023-04-18 10:43 lambertlt 阅读(71) 评论(0) 推荐(0)
摘要: background: url("@/assets/20001.png") no-repeat center center #f6f6f6; background-size: 100% auto; background-attachment: fixed; 阅读全文
posted @ 2023-04-15 14:55 lambertlt 阅读(82) 评论(0) 推荐(0)
摘要: WAR包发布项目:端口号是目标发布服务器tomcat的默认端口号(8080)或在tomcat的配置文件(server.xml)中设置的端口号。 JAR包发布项目:端口号是application.yml或application.properties里配置的端口号,也就是这些文件配置了内嵌服务器tomc 阅读全文
posted @ 2023-04-10 09:51 lambertlt 阅读(112) 评论(0) 推荐(0)
摘要: 随机抽取法, 时间复杂度 O(n^2) function randomSortArray(arr) { var stack = []; while (arr.length) { //Math.random():返回 [0,1) 之间的一个随机数 var index = parseInt(Math.r 阅读全文
posted @ 2023-03-29 11:26 lambertlt 阅读(27) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页