编程语言
SpringBoot: thymeleaf模板引擎 引入静态资源(2种方法) 引入Webjars 访问webjars官网,导入依赖 访问:只要是静态资源,SpringBoot就会去对应的路径寻找资源,我们这里访问:http://localhost:8080/webjars/jquery/3.6.0/ ...
分类:编程语言 时间:2021-08-04 15:50:55 收藏:0 阅读:18
Twisted第三方文档:https://krondo.com/an-introduction-to-asynchronous-programming-and-twisted/Twisted官方文档:https://twistedmatrix.com/trac/wiki/Documentation ...
分类:编程语言 时间:2021-08-04 15:47:36 收藏:0 阅读:29
'''python实现冒泡排序'''def maopao(list): n = len(list) for i in range(1, n): #第几趟 for j in range(0, n-i): if list[j] > list[j+1]: temp = list[j] list[j] = ...
分类:编程语言 时间:2021-08-04 11:39:04 收藏:0 阅读:16
Javascript类库是指被封装好的Javascript函数,其特点是可以直接在程序中进行调用。 当设计人员和开发人员真正快速便捷的使用JavaScript类库和工具的同时,他们的生活也就变得更轻松、简单。你付出的越多,它回报你的也就越多,这正是JS类库和工具需求量很大的原因。 对于Web设计人员 ...
分类:编程语言 时间:2021-08-04 11:38:21 收藏:0 阅读:10
@SpringBootConfiguration@EnableAutoConfiguration@ComponentScan 指定扫描路径 @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) exclude 不生效配 ...
分类:编程语言 时间:2021-08-04 11:38:11 收藏:0 阅读:8
// 普通数组去重 let arr = [1,2,3,4,2,3,1,4,5,6,6,7] let ar1 = [...new Set(arr)] (注意:需要用展开运算符) 2.(从小到大排序,有重复的会挨着) arr.sort((a, b) ? { return a-b }) let ar2 = ...
分类:编程语言 时间:2021-08-04 11:37:48 收藏:0 阅读:14
介绍 Spring 的优点与不足,并介绍为何产生 Spring Boot,然后用 IDEA 和 Spring 官网两种方式才生成 Spring Boot 框架代码,在这基础上写了第一个基于 Spring Boot 的 Hello World 程序。 ...
分类:编程语言 时间:2021-08-04 11:37:10 收藏:0 阅读:11
解决办法: mapper.xml文件中的 对应的mapper文件要写全 mapper注解 一定要有@Mapper,@Repository这样才能被springboot自动注入识别 启动类和controller,pojo,mapper,service等要放在同一目录下,这样springboot才能注入 ...
分类:编程语言 时间:2021-08-04 11:36:46 收藏:0 阅读:15
参考网址: https://docs.microsoft.com/en-us/dotnet/standard/collections/thread-safe/ Thread-Safe Collections 03/30/2017 3 minutes to read I N B D D +7 The ...
分类:编程语言 时间:2021-08-04 11:35:07 收藏:0 阅读:17
稀疏数组 需求:编写五子棋游戏中,有存盘退出和续上盘的功能。 分析问题:因为该二维数组的很多之默认是0,因此记录了很多没有意义的数据 解决:稀疏数组 稀疏数组介绍 当一个数组中大部分元素为0,或者为同一值数组时,可以用稀疏数组来保存该数组。 处理方式为: 记录数组一共有几行几列,有多少个不同值 把具 ...
分类:编程语言 时间:2021-08-04 11:33:58 收藏:0 阅读:19
145245345451284
上一页共512833条下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!