#include "common.h" static pthread_t thread_miccapture; static pthread_t thread_audioplay; static int pthread_run = 0; static pthread_t thread_main; s ...
分类:
其他好文 时间:
2020-08-26 18:48:05
阅读次数:
49
上一节,我们已经介绍过springboot的快速入门(一)了,如果你没有看上一篇文章,请看完上篇文章再来看这篇,上一篇的文章地址为:https://mp.weixin.qq.com/s/fS0kAiKzKg0kfMIms9SNLw6.SpringBoot中使用Mybatis6.1总步骤导入依赖:MySQL驱动、Druid依赖、MyBatis与SpringBoot整合依赖、Lombok依赖在Serv
分类:
编程语言 时间:
2020-08-25 15:56:21
阅读次数:
61
1.前言很多时候我们的Spring项目使用多模块,或者我们需要将自己特定的类库打成依赖。默认情况下SpringBoot应用只会扫描main方法所在的包路径下的Bean和通过spring.factories进行注册发现自动装配到SpringIoC中去。像下面这个Maven项目中,如果SpringBoot的Main类在cn.felord.yaml包下的话cn.felord.common包的Spring
分类:
编程语言 时间:
2020-08-24 16:50:25
阅读次数:
66
pycharm 报错信息 selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. (Original error: Command failed: C:\W ...
分类:
移动开发 时间:
2020-08-24 16:38:42
阅读次数:
75
求阶乘第一版 由于数组长度采用递归,数据太大内存不够。 package com.example.common.factorial; /** * 求阶乘. * 基于jvm运行内存有限。大概12000以上的数字由于递归占用会有溢出错误。 * 且本方法不考虑非法情况,默认用户正确输入正整数。 * main ...
分类:
其他好文 时间:
2020-08-20 18:46:05
阅读次数:
44
报错内容: Information:java: javacTask: 源发行版 8 需要目标发行版 1.8Information:java: Errors occurred while compiling module 'gulimall-common'Information:javac 1.8.0 ...
分类:
编程语言 时间:
2020-08-20 18:20:51
阅读次数:
74
环境:centos7,内核版本高于3.10 解释的话不多说,直接上才艺 查看当前内核版本 uname –r 更新centos yum –y update 如果安装过旧版本则卸载 yum remove docker docker-common docker-selinux docker-engine ...
分类:
其他好文 时间:
2020-08-11 10:42:52
阅读次数:
86
1. ModelsSortHelper import com.google.common.base.Strings; import org.springframework.beans.BeanUtils; import org.springframework.util.Assert; import ...
分类:
编程语言 时间:
2020-08-10 13:18:48
阅读次数:
82
练习:1、编写脚本systeminfo.sh,显示当前主机系统信息,包括:主机名,IPv4地址,操作系统版本,内核版本,CPU型号,内存大小,硬盘大小#!/bin/bashYELLOW=‘\e[1;33m‘RED=‘\e[1;31m‘END=‘\e[0m‘echo-e"${YELLOW}++++++++++++++++++++++++++++++++++++++++++${END}"echo-e"
分类:
系统相关 时间:
2020-08-10 09:32:20
阅读次数:
94
构造字符串 规定相同前缀数目 https://www.ancode.club/index.php/2020/08/07/acm7/ 1 #include<iostream> 2 #include<string.h> 3 #include<cmath> 4 using namespace std; 5 ...
分类:
其他好文 时间:
2020-08-08 23:44:12
阅读次数:
88