摘要: 百度百科说: Nginx ("engine x") 是一个高性能的HTTP和反向代理服务器,也是一个IMAP/POP3/SMTP服务器。Nginx是由Igor Sysoev为俄罗斯访问量第二的Rambler.ru站点开发的,第一个公开版本0.1.0发布于2004年10月4日。其将源代码以类BSD许可 阅读全文
posted @ 2016-08-15 17:30 冬天不眠 阅读(158) 评论(0) 推荐(0) 编辑
摘要: /** * 防抖核心代码 * 逻辑是 * 第一次点完以后开始计时 * 如果单位时间内点了的话 * 不但无效,而且时间从头计算 * * 例如 * 设置3000毫秒 * 第一次点完如果3秒内再次点击 * 不但不触发任何效果,而且3秒从头开始算 * 如果一直点一直点,就永远无效 */ function d 阅读全文
posted @ 2022-11-17 11:55 冬天不眠 阅读(18) 评论(0) 推荐(0) 编辑
摘要: bootstrap-table 1 数据转文字显示 { field: 'mtype', title: '数据类型', sortable: true, formatter: function(value, item, index) { if (item.mtype == 0) { return '拌合 阅读全文
posted @ 2022-11-10 15:16 冬天不眠 阅读(93) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.5</version></dependency> /** * @ClassName H 阅读全文
posted @ 2022-04-21 13:59 冬天不眠 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 1 //根据经纬度获取城市名public static String getCityNameByLan(String lng,String lat){ try{ String url="http://api.map.baidu.com/geocoder?location="+lat+","+lng+ 阅读全文
posted @ 2022-04-21 13:54 冬天不眠 阅读(50) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/6Q6ptDp8o7sN7F1mCs31Pw 1. 概述 2. screw 简介 3. 快速入门 3.1 使用 Java 代码的方式 3.2 使用 Maven 插件的方式 4. 生成实体类 666. 彩蛋 1. 概述 闲来无事的周六,被 🐶 芳 阅读全文
posted @ 2021-07-22 18:30 冬天不眠 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 1、安装gcc编辑器 安装redis需要依赖gcc环境,执行如下命令安装: yum install -y gcc 如果机器没有网络的话,可以参考这篇文章: CentOS离线安装gcc环境(附安装包+图文并茂) 2、下载redis安装包 redis官网:https://redis.io/downloa 阅读全文
posted @ 2021-07-18 11:25 冬天不眠 阅读(345) 评论(0) 推荐(0) 编辑
摘要: var config = (function($){ //const baseUrl="http://127.0.0.1:8094"; const baseUrl=""; $.url = { "rangesSave":baseUrl+"/ranges/save", "rangesCount":bas 阅读全文
posted @ 2021-06-28 09:59 冬天不眠 阅读(198) 评论(0) 推荐(0) 编辑
摘要: public class HttpServerStart { public static volatile boolean flag = false ; public static void start() { int port = 8099; EventLoopGroup bossGroup = 阅读全文
posted @ 2021-03-09 16:13 冬天不眠 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 读写权限都已经授权,但是还是出现 class java.io.FileNotFoundException: open failed: EACCES (Permission denied)错误,此问题在Android Pie和更高版本中。因此,在清单文件中添加此行可修复错误 这是一个临时修复程序,或者 阅读全文
posted @ 2021-03-04 15:08 冬天不眠 阅读(2003) 评论(0) 推荐(0) 编辑
摘要: 在启动类中添加监听时间@EventListener({ApplicationReadyEvent.class})public void applicationReadyEvent() { System.out.println("应用已经准备就绪,正在启动浏览器"); String url = "ht 阅读全文
posted @ 2021-02-24 16:05 冬天不眠 阅读(332) 评论(0) 推荐(0) 编辑