1、切换数据库 use mysql 2、查看加密的方式 show variables like 'default_authentication_plugin'; 3、查看本地mysql用户的信息 select host,user,plugin from mysql.user; 4、修改加密方式 AL ...
分类:
数据库 时间:
2020-04-30 17:25:17
阅读次数:
95
cmake_minimum_required(VERSION 3.5) project(Triangle) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) # OPENGL find_package(OpenGL REQU ...
分类:
其他好文 时间:
2020-04-30 15:40:50
阅读次数:
98
1. Spring Security 简介 在 Spring 生态系统中,为他的项目增加安全性,你可以借助 Spring Security 库来做到这一点。 那什么是 Spring Security? 从本质上讲,Spring Security 实际上只是一堆 servlet 过滤器,可帮助您向We ...
分类:
编程语言 时间:
2020-04-29 23:58:10
阅读次数:
136
不慌. 上网上下的clang全是报错,所以就想先配置一下文件. 其实它本来的配置我觉得挺好的. 可能因人而异有些地方还是改了改. 原版有英语注释的,就当是学英语了 1 // While you can edit this file, it's best to put your changes in ...
分类:
其他好文 时间:
2020-04-28 23:18:52
阅读次数:
75
简单的认证 @Login_required 装饰器 判断是否登陆,没有就自动重定向某个地方 用法:(局限于装饰函数)(如果要装饰一个类,则不能,要使用method_decorator) @login_required(login_url='users:login') def index_fn(reu ...
分类:
其他好文 时间:
2020-04-27 17:05:35
阅读次数:
332
msi格式的文件,点右键后,没有“以管理员身份运行”的菜单项,直接运行.msi文件报错:“There is a problem with this Windows Installer package, A program required for this install to complete c ...
分类:
其他好文 时间:
2020-04-27 09:34:49
阅读次数:
75
今天是团队开发冲刺的第三天: 今天我的任务是完成STDOJ的注册界面。有效编程时间3.5小时,代码行数:114行 <% this.title = '注册' %> <% include header %> <div class="padding"> <h1>注册</h1> <div class="ui ...
分类:
其他好文 时间:
2020-04-26 21:09:59
阅读次数:
79
基于注解的配置 从 Spring 2.5 开始就可以使用注解来配置依赖注入。而不是采用 XML 来描述一个 bean 连线,你可以使用相关类,方法或字段声明的注解,将 bean 配置移动到组件类本身。 在 XML 注入之前进行注解注入,因此后者的配置将通过两种方式的属性连线被前者重写。 注解连线在默 ...
分类:
编程语言 时间:
2020-04-26 21:06:54
阅读次数:
66
1.声明式表单验证: <Form.Item name="username" rules={[ { required: true, message: 'Please input your Username!', }, { max: 20, message: '最长20位!', }, { min: 5, ...
分类:
其他好文 时间:
2020-04-25 19:12:36
阅读次数:
66
cmake_minimum_required(VERSION 3.5) project(hello_library) ############################################################ # Create a library ########### ...
分类:
其他好文 时间:
2020-04-25 16:50:46
阅读次数:
78