ubuntu后台运行命令
摘要:参考 https://blog.csdn.net/shaozg168/article/details/6979337 nohup ./test.sh &
阅读全文
jquery获取焦点位于的元素
摘要:参考 https://zhidao.baidu.com/question/497311181016643684.html
阅读全文
thymeleaf 处理模板为字符串
摘要:@Autowired private SpringTemplateEngine thymeleaf; public String aa() { Context context = new Context(); context.setVariable("xx1", "xx1"); return thymeleaf.process("templateName",...
阅读全文
以字符串形式获取excel单元格中的内容
摘要:public static String getCellValue(XSSFCell cell) { if (cell == null) { return ""; } switch (cell.getCellType()) { case Cell.CELL_TYPE_STRING: ...
阅读全文
ajax 上传文件
摘要:var formData = new FormData($("#form")[0]); $.ajax({ url : "/xx/xx", type : "POST", data : formData, ...
阅读全文
springboot logback
摘要:/resources/logback-spring.xml<configuration> <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classi
阅读全文
javaService
摘要:JavaService.exe -install TestService "%JAVA_HOME%\jre\bin\server\jvm.dll" -Djava.class.path="%CD%\landi_interface.jar;%JAVA_HOME%\lib\tools.jar" -Xms1
阅读全文
sqlserver 数据库迁移
摘要:参考 https://blog.csdn.net/wuzhanwen/article/details/77449229 一、连接本地数据库引擎 新建一个数据库,如:rbrbsoft 二、连接远程数据库 二、选择自己的远程数据库,在其上点键->任务->导出数据库 选择远程数据源 选择本地目标数据库 点
阅读全文
sqlserver自增主键
摘要:参考 https://www.cnblogs.com/michellexiaoqi/p/8031294.html 1、选中表; 2、右击鼠标,设计; 3、选中列(整数类型) 4、设定标识为“是“(默认为“否”)、标识种子和标识递增量(一般为1)。
阅读全文
js keycode
摘要:参考 https://www.cnblogs.com/daysme/p/6272570.html
阅读全文
tabindex 去掉虚线
摘要:参考 https://bbs.csdn.net/topics/390165247 style="outline: none"
阅读全文
div 绑定keyup
摘要:参考 https://www.cnblogs.com/Struts-pring/p/4290740.html <div tabindex="-1" onkeyup="fun1()"></div>
阅读全文
sqlserver 当前时间减去30天
摘要:参考 https://zhidao.baidu.com/question/750666819064717772.html select dateadd(dd,-30,getdate()) from 表名
阅读全文