本文讲解 MyBatis 四大核心概念(SqlSessionFactoryBuilder、SqlSessionFactory、SqlSession、Mapper)。 MyBatis 作为互联网数据库映射工具界的“上古神器”,训有四大“神兽”,谓之:SqlSessionFactoryBuilder、S ...
分类:
其他好文 时间:
2021-03-29 12:35:53
阅读次数:
0
ubuntu 20.04 lts,按照这个方案成功,其他方案不行 安装指令: sudo apt-get install language-pack-zh-hans sudo apt-get install fcitx-googlepinyin 配置: 1、搜索框输入:Language Support ...
分类:
系统相关 时间:
2021-03-29 12:16:50
阅读次数:
0
使用vue前端框架,一般都是前后端分离项目,这里呢就会涉及到跨域访问. vue如何进行跨域访问呢.百度找了半天,都没有找到适合自己项目的方法 这里记录一下 在项目config目录下的index.js中,找到配置proxyTable,新项目proxyTable配置默认是空的. 如果需要跨域,就在此配置 ...
分类:
其他好文 时间:
2021-03-29 12:16:17
阅读次数:
0
#include <stdio.h> int main(){ int a = 100; char str[20] = "hello world!"; char *zza = "hello world!"; printf("%#X,%#X,%#X\n", *zza, &zza,zza); printf ...
分类:
编程语言 时间:
2021-03-29 12:14:44
阅读次数:
0
# coding=gbk import os import csv import pandas as pd import shutil # 获取指定文件夹中后缀.svs的文件 def get_svsfile(path_svs): f_list = os.listdir(path_svs) for i ...
分类:
编程语言 时间:
2021-03-29 12:14:06
阅读次数:
0
原文地址:https://www.jianshu.com/p/0cabd5072b86 什么是vagrant? vagrant是一个工具,用于创建和部署虚拟化开发环境的。 拿VirtualBox举例,VirtualBox会开放一个创建虚拟机的接口,Vagrant会利用这个接口创建虚拟机,并且通过Va ...
分类:
其他好文 时间:
2021-03-29 12:13:48
阅读次数:
0
先看看多少代码量 import os file_types = ['py', 'html', 'css', 'js', ] def count_code_nums(file): """获取单个文件的行数 """ with open(file, mode='rb') as f: return len( ...
分类:
其他好文 时间:
2021-03-29 12:13:33
阅读次数:
0
安装axios npm install axios --save axios使用 axios({ url: 'http://123.207.32.32:8000/home/multidata', method: 'get' }).then((res) => { console.log(res); } ...
分类:
移动开发 时间:
2021-03-29 12:04:07
阅读次数:
0
主从同步 单节点的 MySQL 肯定不适用于高并发的生产环境,为了提高性能,我们至少要做到读写分离,主库可读可写,从库只读。这里最关键的技术点就是主从同步。 我的 MySQL 配置文件如下(8.0.22): [mysqld] server_id = 1 # 机器ID,集群下唯一 pid-file = ...
分类:
数据库 时间:
2021-03-29 11:44:59
阅读次数:
0
1、Linux 安装 $ wget https://github.com/liexusong/php-beast/archive/master.zip $ unzip master.zip $ cd php-beast-master $ phpize $ ./configure $ sudo mak ...
分类:
Web程序 时间:
2021-03-29 11:41:35
阅读次数:
0