#include <stdio.h> #include <string.h> #include <stdint.h> #include <errno.h> #include <sys/queue.h> #include <rte_launch.h> #include <rte_eal.h> #inc ...
分类:
其他好文 时间:
2021-06-17 16:28:03
阅读次数:
0
导出文件显示的名称和预想不符,一般是文件名的无法被识别,需要通过单独编码才行 response["Content-Disposition"] = "attachment; filename*=UTF-8''{}".format(escape_uri_path(filename)) filename为 ...
分类:
其他好文 时间:
2021-06-16 18:23:41
阅读次数:
0
简单的登录案例 步骤: 1.编写实体类 public class User { private String username; private String password; public void setUsername(String username) { this.username = u ...
分类:
编程语言 时间:
2021-06-16 17:59:27
阅读次数:
0
简单学习完前后端分离后,搭建了一个简单的ssm环境,结果是一塌糊涂。摘录提醒一下自己 mybatis中出现的错误。 <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3 ...
分类:
其他好文 时间:
2021-06-16 17:54:37
阅读次数:
0
遇到这种报错一般在于下载文件时候,如果Content-Disposition设置文件名有中文会出现此种问题,解决方案如下: 把第二段代码改为第一段,即可~~ 'Content-Disposition': 'attachment; filename=' + encodeURIComponent(fil ...
分类:
Web程序 时间:
2021-06-16 17:52:51
阅读次数:
0
枚举 1. 枚举 枚举类型( enum type )是指由一组固定的常量组成合法值的类型,本质上是int值。 Ⅰ. 用enum代替int常量 (1)int枚举模式 // FruitConsts.java /** * @author cph * create datetime 2021/6/8 16: ...
分类:
编程语言 时间:
2021-06-16 17:49:38
阅读次数:
0
'''模板层 {{ 变量名 }} {{ 逻辑 }} 后端传值 from django.shortcuts import render return render(request, '.html', locals()/{'前端调用变量名': 后端变量名}, content_type='', statu ...
分类:
其他好文 时间:
2021-06-16 17:37:55
阅读次数:
0
一、连接Redis服务器 redis-cli -h host -p port -a password 二、查询所有的keys keys * 三、获取指定的key对应的值 1)查询key对应的value type <key> 2)不同的type,查询的命令不一样 if value is of type ...
分类:
其他好文 时间:
2021-06-15 18:44:46
阅读次数:
0
mybatis plus技巧,插入数据时,怎么插入自定义的id信息,不走自增策略 在实体类中: @TableId(value = "id", type = IdType.AUTO) private Integer id; 改成 @TableId(value = "id", type = IdType ...
分类:
其他好文 时间:
2021-06-15 18:18:15
阅读次数:
0
存储区域网络(Storage Area Network,简称SAN)采用网状通道(Fibre Channel ,简称FC,区别与Fiber Channel光纤通道)技术,通过FC交换机连接存储阵列和服务器主机,建立专用于数据存储的区域网络。以下介绍WWN,WWNN,WWPN的意义与区别:WWN: w ...
分类:
其他好文 时间:
2021-06-15 18:15:20
阅读次数:
0