07 2019 档案
摘要:Nginx 真实的配置 ··· proxy_pass http://127.0.0.1:8008/; proxy_set_header Host $host; proxy_set_header X Real IP $remote_addr; proxy_set_header X Forwarded
阅读全文
摘要:Druid连接池监控配置 1) 引入依赖 2) 添加配置项 3) 加入java 配置来读取Druid配置 4) 测试数据源 5) 浏览器查看监控
阅读全文
摘要:spring: ##数据库连接信息 datasource: url: jdbc:mysql://localhost:3306/test username: root password: root driver-class-name: com.mysql.jdbc.Driver ###########
阅读全文
摘要:import os,retop = os.popen("tasklist")process_list = []split_r = r"\s+"memory_topTen = []for key,item in enumerate(top): item = str(item).rstrip("\n")
阅读全文
摘要:let books = [ 0, {bookName:"python",price:10,count:1}, {bookName:"Ruby",count:2,price:20}, {bookName:"Java",count:4,price:30}, {bookName:"php",count:2
阅读全文
摘要:java8-Stream集合操作快速上手 目录 Stream简介 为什么要使用Stream 实例数据源 Filter Map FlatMap Reduce Collect Optional 并发 调试 Stream简介 Java 8引入了全新的Stream API。这里的Stream和I/O流不同,
阅读全文
摘要:加这两行就可以返回这个插入对象的自增的主键<insert id="insertSeatPortraitData" parameterType="seatPortrait" keyProperty="id" useGeneratedKeys="true"> insert into seating_po
阅读全文
摘要:使用Docker快速搭建Kafka开发环境 表现力 关注 0.5 2018.05.04 03:00* 字数 740 阅读 25240评论 1喜欢 11 表现力 关注 0.5 2018.05.04 03:00* 字数 740 阅读 25240评论 1喜欢 11 0.5 2018.05.04 03:00
阅读全文
摘要:https://github.com/happyfish100/fastdfs/wiki
阅读全文
摘要:/** * 发送消息 * @param user */@RequestMapping(value = prefix+"/setRabbitMessage", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_UTF8
阅读全文
摘要:package com.jd.ng.shiro.config.rabbitMQconfig;import com.jd.ng.shiro.rabbitMqListener.SimpleMessageListener;import org.springframework.amqp.core.*;imp
阅读全文
摘要:package com.lgmall.search;import com.lgmall.search.esEntity.Article;import com.lgmall.search.esEntity.Movie;import io.searchbox.client.JestClient;impo
阅读全文
摘要:Products Cloud Services Customers Learn downloads Products Cloud Services Customers Learn downloads Products Cloud Services Customers Learn downloads
阅读全文
摘要:elasticsearch启动常见错误 问题出现环境,OS版本:CentOS-7-x86_64-Minimal-1708;ES版本:elasticsearch-6.2.2。 1、max file descriptors [4096] for elasticsearch process is too
阅读全文
摘要:useradd和adduser的区别 添加用户:useradd -m 用户名 然后设置密码 passwd 用户名 删除用户:userdel -r 用户名 1. 在root权限下,useradd只是创建了一个用户名,如 (useradd +用户名 ),它并没有在/home目录下创建同名文件夹,也没有创
阅读全文
摘要:package com.jd.ng.shiro.controller;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.beans.factory.annotation.Autowire
阅读全文

浙公网安备 33010602011771号