Wesley13 Wesley13
3年前
java异常总结
java.lang.ArithmeticException算术运算异常,因为除数为0,所以引发了算数异常java.lang.StringIndexOutOfBoundsException:Stringindexoutofrange:1这是截取字符串substring()产生的下标越界异常。原因是可能是字符串为空
Easter79 Easter79
3年前
Tomcat异常之——启动报错Failed to start component
在idea中运行tomcat时,遇到异常,异常信息如下:16Jan201816:33:37.325信息\localhoststartStop1\org.apache.catalina.startup.HostConfig.deployDescriptorDeployingconfigurationdescriptorC:\\U
Easter79 Easter79
3年前
TypeScript 实战技巧
转自TypeScript实践与技巧 https://juejin.im/post/6873080212675166215一、常用技巧1\.函数重载    export function util(str: string): string    export function util(str: n
Wesley13 Wesley13
3年前
oracle sql 逗号 分割 REGEXP_SUBSTR 函数
1.REGEXP\_SUBSTR函数.这个函数的作用是正则分隔字符串,用法为functionREGEXP\_SUBSTR(string,pattern,position,occurrence,modifier)参数说明:参数1:string待分割字符串;参数2:pattern正则表达式;参数3:position起
Wesley13 Wesley13
3年前
000_MySql & MariaDB 安装
MySql&MariaDB安装1\.MySql安装(二进制)1.1下载MySQLhttps://cdn.mysql.com//Downloads/MySQL5.6/mysql5.6.39linuxglibc2.12x86\_64.tar.gz
Stella981 Stella981
3年前
Python JSON
JSON函数使用JSON函数需要导入json库:importjson。函数描述json.dumps将Python对象编码成JSON字符串json.loads将已编码的JSON字符串解码为Python对象json.dumpsjson.dumps用于将
Wesley13 Wesley13
3年前
MySQL 24小时入门笔记(4)表的创建、修改、删除
MySQL24小时入门笔记创建表CREATETABLECREATETABLE的作用是创建表。不多说,先创建个简单的学生表。CREATETABLEstudents(idint,namechar(16)NOTNULL,
Wesley13 Wesley13
3年前
TCP网络调试助手上提示错误:“1035 未知错误”的有效解决方法,本人实测确实可行
转:https://blog.csdn.net/jacket\_/article/details/97415651!(https://img2018.cnblogs.com/ibeta/1148798/202001/1148798202001071437087881913637935.png)图片转载:https://blog.csdn.n
Stella981 Stella981
3年前
Python中print格式化输出
截取字符串输出,下面例子将只输出字符串的前3个字母str"abcdefg"print"%.3s"%strabc按固定宽度输出,不足使用空格补全,下面例子输出宽度为10str"abcdefg"print
Stella981 Stella981
3年前
Centos 配置eth0 提示Device does not seem to be present
Centos配置eth0提示Devicedoesnotseemtobepresent2014年10月27日21:16:54xiaobei4929(https://www.oschina.net/action/GoToLink?ur