一.Ubuntu环境搭建 1. 安装.NET SDK or .NET Runtime 先为Ubuntu安装运行时,一般情况下安装运行时即可 .NET版本Snap包 5.0 dotnet-runtime-50 3.1(LTS) dotnet-runtime-31 3.0 dotnet-runtime- ...
分类:
Web程序 时间:
2021-04-20 15:09:49
阅读次数:
0
今天就遇到了一个问题找了挺长时间的错才运行的通,错误是这样的,使用mybatis要先进性配置,新建了一个mybatis-config.xml文件,文件内容检查了几遍是没有问题的,但是在运行的时候却一直报错:java.io.IOException: Could not find resource my ...
分类:
编程语言 时间:
2021-04-20 14:27:57
阅读次数:
0
在线使用地址:https://lightbc.github.io/qt-demo/html/convertFileToBase64.html 前端代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Tit ...
分类:
其他好文 时间:
2021-04-20 14:11:59
阅读次数:
0
select系统调用 #include <sys/select.h> int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); nfds:是指集合中所有文件 ...
分类:
系统相关 时间:
2021-04-20 14:09:45
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
在使用ie浏览器调用get请求时,如果请求方法一样,会默认先缓存,后面每次都先从缓存取,这个问题可能引发奇怪鉴权问题 普遍解决:get请求后加随机数,需要改代码 如果用的nginx做前端服务器,可以在server中增加配置项: add_header Cache-Control "no-cache, ...
分类:
其他好文 时间:
2021-04-19 15:16:50
阅读次数:
0
es版本6.8.*及以下,7.9.*不适用。 直接贴代码 import java.io.FileNotFoundException; import java.io.IOException; import java.util.Date; import java.util.HashMap; import ...
分类:
编程语言 时间:
2021-04-19 15:09:30
阅读次数:
0
import java.io.FileNotFoundException; import java.io.IOException; import org.elasticsearch.action.get.GetRequestBuilder; import org.elasticsearch.acti ...
分类:
编程语言 时间:
2021-04-19 15:08:55
阅读次数:
0
前言: 手写GO用反射读取ini配置文件。 实例代码: package main import ( "errors" "fmt" "io/ioutil" "reflect" "strconv" "strings" ) // ini配置文件解析器 // MysqlConfig MySQL配置结构体 t ...
分类:
其他好文 时间:
2021-04-19 15:03:58
阅读次数:
0
前提条件: 已安装centos、docker nginx搭建方式: 1.首先进入centos系统,打开命令行 docker pull nginx:1.17.9 --安装指定版本nginx,这里选择1.17.9据说比较稳定 2.启动nginx docker run -p 80:80 nginx:1.1 ...
分类:
Web程序 时间:
2021-04-19 14:38:17
阅读次数:
0