对应的SQL语句 alter user "DSG" limit session_per_user 10, connect_idle_time 2, failed_login_attemps 4, password_life_time 5, password_reuse_time 6, passwor ...
                            
                            
                                分类:
数据库   时间:
2021-05-24 10:03:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                写入文件的基本操作 f = open('01.txt',mode='a') f.write("\nhelloworld\n") import time def get_time(): return time.strftime('%Y_%m_%d-%H_%M') # TODO 创建一个文件,文件名为当 ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 09:05:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    python print end 如下代码: for i in range(5): time.sleep(1) print(i, end='') 本来想要的效果是每秒输出,但是发现这样写会等所有循环完毕后才会打印,发现需要使用flush参数来立即输出,正确代码如下: for i in range(5 ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 08:56:33   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    iperf2(又叫iperf)帮助手册:https://iperf2.sourceforge.io/iperf-manpage.html iperf分为Server端和Client端, 服务器端: iperf -s -i 1 客户端: iperf -c 192.168.13.4 -i 1 -t 60 ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 08:44:11   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                在开发高并发系统时有三把利器用来保护系统:缓存、降级和限流 缓存:缓存的目的是提升系统访问速度和增大系统处理容量 降级:降级是当服务器压力剧增的情况下,根据当前业务情况及流量对一些服务和页面有策略的降级,以此释放服务器资源以保证核心任务的正常运行 限流:限流的目的是通过对并发访问/请求进行限速,或者 ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 08:39:02   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    database/sql接口,使用mysql数据库、sqlite数据库、beego orm库、nosql ...
                            
                            
                                分类:
数据库   时间:
2021-05-24 08:24:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    //导包import pandas as pd s1=pd.Series([1,2,3],index=[1,2,3],name='A') s2=pd.Series([10,20,30],index=[1,2,3],name='B') s3=pd.Series([100,200,300],index= ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 07:58:49   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                In mathematics, statistics, finance,[1] computer science, particularly in machine learning and inverse problems, regularization is the process of addi ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 07:35:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    基本描述 供应商提供了war格式的项目,需要部署在rancher上,本文记录从war包打docker镜像到云平台镜像库的过程。 材料准备 war包 Dockerfile 编写 Dockerfile编写 FROM tomcat:8.5 #基础镜像,一切从这里开始,运行war包需要用到tomcat,版本 ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 07:33:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                一. requests库的介绍与安装 pip install requests 二. 请求数据场景 2.1 请求方式:GET, 请求类型:application/x-www-form-urlencoded # -*- coding: utf-8 -*- # @Time : 2021/5/11 23: ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 07:15:29   
                                阅读次数:
0