1.异常信息 Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.IllegalArgumentExce ...
                            
                            
                                分类:
移动开发   时间:
2020-06-16 13:05:59   
                                阅读次数:
87
                             
                         
                    
                        
                            
                            
                                    前言 此篇博客用来记录一些常用的正则表达式 判断是否是全汉字 /** * 判断是否是全中文汉字 * * @param str * @return */ public static boolean isChinese(String str) { String pattern = "[\u4e00-\u ...
                            
                            
                                分类:
编程语言   时间:
2020-06-16 12:45:42   
                                阅读次数:
65
                             
                         
                    
                        
                            
                            
                                    1.下列输出可能不是“aa,bb”的是(B) d0 = {"a":"aa","b":"bb"} print("d0: {a},{b}".format(**d0)) d1 = {"aa","bb"} print("d1: {0},{1}".format(*d1)) d2 = ["aa","bb"] p ...
                            
                            
                                分类:
编程语言   时间:
2020-06-16 01:05:24   
                                阅读次数:
62
                             
                         
                    
                        
                            
                            
                                Searching a string using the ‘Find‘ or ‘Find & Replace‘ function in text editors highlights the relevant match (e.g. searching ‘le‘ highlights it insi ...
                            
                            
                                分类:
其他好文   时间:
2020-06-15 23:19:53   
                                阅读次数:
101
                             
                         
                    
                        
                            
                            
                                    控制结构 Scala的控制结构有:if、while、for、try、match和函数调用。 if表达式 if可以作为一个返回值,如下面的代码。同时用val,就像Java的final变量一样,一旦初始化就不会改变。 val filename = if (!args.isEmpty) args(0) e ...
                            
                            
                                分类:
其他好文   时间:
2020-06-15 19:21:42   
                                阅读次数:
42
                             
                         
                    
                        
                            
                            
                                今天从ACL2020抓下来一堆跟Generation相关的论文,读了一天只读完了3篇,而且读得还不是很透彻,看来读论文的功力需要提升啊。 第一篇:One Size Does Not Fit All: Generating and Evaluating Variable Number of Keyph ...
                            
                            
                                分类:
其他好文   时间:
2020-06-13 23:29:14   
                                阅读次数:
201
                             
                         
                    
                        
                            
                            
                                    Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exist 安装Helm客户端和服务端后, 执行helm version报错, Error: forward ...
                            
                            
                                分类:
Web程序   时间:
2020-06-13 19:32:16   
                                阅读次数:
99
                             
                         
                    
                        
                            
                            
                                // test // 判断字符串是否满足某个匹配模式,满足的话,返回true,否则,返回false let reg = /^a/ let str = '123abc' console.log(reg.test(str)) //false // exec // 用于检索字符串中的正则表达式的匹配。该函 ...
                            
                            
                                分类:
其他好文   时间:
2020-06-13 19:03:06   
                                阅读次数:
65
                             
                         
                    
                        
                            
                            
                                1 """正则表达式小案例""" 2 3 import re 4 5 # 1、验证手机号码 6 # text = "13979391000" 7 # ret = re.match('1[34578]\d{9}', text) 8 # print(ret.group()) 9 # 2、验证邮箱 10  ...
                            
                            
                                分类:
其他好文   时间:
2020-06-13 00:45:41   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                    Description Once in a forest, there lived \(n\) aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each ...
                            
                            
                                分类:
其他好文   时间:
2020-06-13 00:21:23   
                                阅读次数:
79