上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 82 下一页
摘要: 查看原文:http://www.ibloger.net/article/144.html https://www.cnblogs.com/zoujx/p/9221709.html 获取客户端的IP地址的方法是:request.getRemoteAddr(),这种方法在大部分情况下都是有效的。但是在通 阅读全文
posted @ 2020-04-27 14:41 lshan 阅读(19588) 评论(4) 推荐(0) 编辑
摘要: 参考即可:https://www.yiibai.com/pandas https://www.yiibai.com/numpy 阅读全文
posted @ 2020-04-21 15:14 lshan 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 参考原文:https://www.cnblogs.com/chancy/p/9995562.html 思路为:将数据库和服务器的时间都采用标准时区UTC存储处理。前端拿到标准时区的数据,统一根据用户所在时区进行转换。这样保证了后端数据时区的一致性,前端根据实际情况进行渲染。 保证服务器时区为UTC 阅读全文
posted @ 2020-04-17 15:38 lshan 阅读(7916) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-15 15:43 lshan 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1.无参数 public enum TYPE { INSERT, UPDATE, DELETE; } 2.带参数: public enum Topics { OK(0, "成功"), xx(100, "错误A"), yyy(200, "错误B"); Topics(int number, String 阅读全文
posted @ 2020-04-08 17:11 lshan 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 具体入门请参考:https://www.jianshu.com/p/de85fad05dcb RMI简介 ​ Java RMI,即 远程方法调用(Remote Method Invocation),一种用于实现远程过程调用(RPC)(Remote procedure call)的Java API, 阅读全文
posted @ 2020-04-01 18:04 lshan 阅读(136) 评论(0) 推荐(0) 编辑
摘要: java or scala 打包,带依赖,生成可执行jar 包, 指定主类 然后可以直接 : java -jar xxxxx.jar or java -cp . com.xxx.appmain <build> <sourceDirectory>src/main/scala</sourceDirect 阅读全文
posted @ 2020-04-01 10:49 lshan 阅读(8519) 评论(0) 推荐(0) 编辑
摘要: 1.查找 在CMD窗口中输入netstat -aon|findstr 80,80表示要查看的端口号。 eg::netstat -ano|findstr 25520 2.删除 找到这个端口的占用PID后,就可以杀死这个进程,用下面的命令: tasklist|findstr 25520; taskkil 阅读全文
posted @ 2020-03-29 17:24 lshan 阅读(797) 评论(0) 推荐(0) 编辑
摘要: <!-- 定义一下常量 --> <properties> <encoding>UTF-8</encoding> <scala.version>2.11.8</scala.version> <scala.compat.version>2.11</scala.compat.version> <akka. 阅读全文
posted @ 2020-03-28 13:52 lshan 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/z1941563559/java/article/details/88753938 问题描述:kafka的某些topic在消费完毕后一段时间,重启唯一消费者,offset会重置为最小offset重新消费,一直导致kafka消费的重复消费问题。问题 阅读全文
posted @ 2020-03-26 12:40 lshan 阅读(6745) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 82 下一页