摘要: 总结:alter添加栏位时,只需记住添加新栏位为第一列,用first;添加其他用,after 前一个栏位字段,如下例 1、需求:将新的栏位添加为第二列 添加前: 添加后: 参考:http://www.runoob.com/mysql/mysql-alter.html 阅读全文
posted @ 2018-03-26 22:10 think的海角 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 常用仓库地址: http://repository.sonatype.org/ (https://repository.sonatype.org/)如下图: http://www.mvnrepository.com 阅读全文
posted @ 2018-03-25 10:00 think的海角 阅读(999) 评论(0) 推荐(0) 编辑
摘要: 1、mstsc //远程桌面连接 2、services.msc //打开服务列表 阅读全文
posted @ 2018-03-21 21:53 think的海角 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://github.com/spring-projects/spring-framework/tags 引自:http://blog.csdn.net/liulihui1988/article/details/54344179 阅读全文
posted @ 2018-03-20 22:58 think的海角 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1:参考https://www.cnblogs.com/zhuawang/p/5651896.html 操作完,运行,结果不是后端控制器controller返回的,是index.jsp中的。 因为执行url类似于http://localhost:8080/webappName/ 执行这个链接会默认调 阅读全文
posted @ 2018-03-20 22:22 think的海角 阅读(1706) 评论(0) 推荐(0) 编辑
摘要: 1、字符串连接concat(str...) --有null为null 应用字段合并 2、mysql常见日期相关函数 来源:http://www.w3school.com.cn/sql/sql_dates.asp a: Now() 获取当前时间(yyyy-MM-dd HH:mm:ss) b:curda 阅读全文
posted @ 2018-03-17 19:59 think的海角 阅读(159) 评论(4) 推荐(0) 编辑
摘要: 问题1: eclipse导入外部项目,中文显示乱码(如下图) 方案:项目名-->右键属性-->如下图: 问题2: jsp/html页面eclipse双击打开,代码在工作区不显示(如下图:) 问题2引自https://q.cnblogs.com/q/104435/ 方案:以html为例,jsp类似 ( 阅读全文
posted @ 2018-03-17 12:15 think的海角 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 磁盘管理常用命令 fdisk -l //展示磁盘使用情况 df -h //展示目录挂载情况 du -sh //查文件、文件夹的总大小 scp /home/a.txt /home/b.txt root@10.12.34.11:/root/test //从本地向远处复制 gcc GNU Compiler 阅读全文
posted @ 2018-03-16 21:33 think的海角 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 0、正则表达式,千万不能加引号 1、json对象的key必须用双引号,否则parse时可能出错; json对象不能直接存储时间对象,需要将时间对象加双引号转为字符串,存储,然后对表示时间的属性进行new Date(); 2、document.location.href="http://www.bai 阅读全文
posted @ 2018-03-16 21:23 think的海角 阅读(246) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #Program: # no password login in hosts #History: # hbl 2017/12/9 1.0.0v function auto-login() { expect -c " spawn ssh root@ip set timeout 30 expect {... 阅读全文
posted @ 2018-03-14 22:31 think的海角 阅读(146) 评论(0) 推荐(0) 编辑