JdbcTemplate  多数据源  jdbc
    
                
摘要:参考1: https://www.cnblogs.com/tangzekai/p/7782773.html 参考2 https://blog.csdn.net/baochanghong/article/details/54134018 依赖: <dependency> <groupId>org.sp
        
阅读全文
                    posted @ 
2019-04-29 16:36 
lshan
        
阅读(162) 
         
        推荐(0)     
                 
                
                
    maven  repository   pom
    
                
摘要:场景: 如果maven setting.xml 中没指定国内的镜像 可以通过在项目中的pom中指定 <repositories> <!--阿里云仓库--> <repository> <id>aliyun</id> <name>aliyun-maven</name> <url>http://maven
        
阅读全文
                    posted @ 
2019-04-29 15:53 
lshan
        
阅读(866) 
         
        推荐(0)     
                 
                
                
    jpa   @RepositoryRestResource
    
                
摘要:依赖: repository : @RepositoryRestResource(collectionResourceRel = "bookingMain", path = "bookingMain")public interface BookingMainRepository extends Jp
        
阅读全文
                    posted @ 
2019-04-29 12:34 
lshan
        
阅读(475) 
         
        推荐(0)     
                 
                
                
    solr
    
                
摘要:推荐一博主: https://www.cnblogs.com/rcfeng/category/659593.html
        
阅读全文
                    posted @ 
2019-04-25 13:53 
lshan
        
阅读(121) 
         
        推荐(0)     
                 
                
                
    ssh 使用技巧
    
                
摘要:参考:https://deepzz.com/post/how-to-setup-ssh-config.html SSH Config 那些你所知道和不知道的事 预览目录 配置项说明 相关技巧 管理多组密钥对 vim 访问远程文件 远程服务当本地用 多连接共享 禁用密码登录 关键词登录 代理登录 参考
        
阅读全文
                    posted @ 
2019-04-24 16:06 
lshan
        
阅读(656) 
         
        推荐(0)     
                 
                
                
    linux开放端口---推荐使用
    
                
摘要:#################ubuntu################## linux/ubuntu 端口开放 在ubuntu下面开放端口好像主要有两种方法,一种是ubuntu自带的防火墙,一种是iptables,这里我们主要使用iptables。本文的系统版本为ubuntu14.04和ub
        
阅读全文
                    posted @ 
2019-04-24 16:02 
lshan
        
阅读(295) 
         
        推荐(0)     
                 
                
                
    cenos 修改静态ip
    
                
摘要:修改为静态ip 1)在终端命令窗口中输入 [root@hadoop101 /]#vim /etc/udev/rules.d/70-persistent-net.rules 进入如下页面,删除eth0该行;将eth1修改为eth0,同时复制物理ip地址 2)修改IP地址 [root@hadoop101
        
阅读全文
                    posted @ 
2019-04-24 15:56 
lshan
        
阅读(189) 
         
        推荐(0)     
                 
                
                
    java idea  代码规范插件
    
                
摘要:推荐阿里的 p3c https://github.com/alibaba/p3c
        
阅读全文
                    posted @ 
2019-04-23 15:09 
lshan
        
阅读(178) 
         
        推荐(0)     
                 
                
                
    POIUtils  导出 poi   Test 100w   600w 条数据      读取模板,填写数据
    
                
摘要:依赖: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.9</version> </dependency> <!-- https://mvnrep
        
阅读全文
                    posted @ 
2019-04-23 14:54 
lshan
        
阅读(198) 
         
        推荐(0)     
                 
                
                
    POIUtils  读取 poi (ui 上传解析)
    
                
摘要:用于解决在UI 上 上传excel , 然后解析 依赖: <!-- ############ poi ############## --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <ver
        
阅读全文
                    posted @ 
2019-04-23 14:47 
lshan
        
阅读(326) 
         
        推荐(0)     
                 
                
                
    springboot2系列目录
    
                
摘要:参考:https://blog.csdn.net/cowbin2012/article/details/85254990 带源码
        
阅读全文
                    posted @ 
2019-04-22 14:03 
lshan
        
阅读(106) 
         
        推荐(0)     
                 
                
                
    zookeeper 集群部署
    
                
摘要:参考: https://www.cnblogs.com/linuxprobe/p/5851699.html
        
阅读全文
                    posted @ 
2019-04-19 18:17 
lshan
        
阅读(96) 
         
        推荐(0)     
                 
                
                
    canal 配置 详细说明
    
                
摘要:git hub https://github.com/alibaba/canal canal.properties介绍:https://agapple.iteye.com/blog/1831873
        
阅读全文
                    posted @ 
2019-04-18 16:03 
lshan
        
阅读(698) 
         
        推荐(0)     
                 
                
                
    Spring4新特性
    
                
摘要:参考 : https://jinnianshilongnian.iteye.com/blog/1990081
        
阅读全文
                    posted @ 
2019-04-12 11:01 
lshan
        
阅读(93) 
         
        推荐(0)     
                 
                
                
    centos7 卸载  jdk
    
                
摘要:################ jdk 的安装 ###########################参考:https://www.cnblogs.com/Dylansuns/p/6974272.html第一步:删除 open jdk 第二步;下载,解压 略 第三步:设置环境变量vim /etc/
        
阅读全文
                    posted @ 
2019-04-11 22:24 
lshan
        
阅读(250) 
         
        推荐(0)     
                 
                
                
    Kafka安装
    
                
摘要:这兄弟写的不错: https://www.cnblogs.com/justuntil/p/8033792.html
        
阅读全文
                    posted @ 
2019-04-11 21:59 
lshan
        
阅读(92) 
         
        推荐(0)     
                 
                
                
    java 调用 python 的几种方法整理
    
                
摘要:参考: https://blog.csdn.net/secondlieutenant/article/details/79000265
        
阅读全文
                    posted @ 
2019-04-11 11:35 
lshan
        
阅读(198) 
         
        推荐(0)     
                 
                
                
    python excel   像 Excel 一样使用 python 进行数据分析
    
                
摘要:https://www.jb51.net/article/63216.htm 像 Excel 一样使用 python 进行数据分析 : https://www.cnblogs.com/nxld/p/6756492.html 读取excel 写入mongodb import uuid import p
        
阅读全文
                    posted @ 
2019-04-11 11:33 
lshan
        
阅读(346) 
         
        推荐(0)     
                 
                
                
    ubuntu 系统分区
    
                
摘要:参考:https://blog.csdn.net/kudou1994/article/details/80913059
        
阅读全文
                    posted @ 
2019-04-10 18:18 
lshan
        
阅读(126) 
         
        推荐(0)     
                 
                
                
    ubuntu 配置和修改ip地址
    
                
摘要:直接图形化修改: nmtui 在nmtui界面中,选择”Edit a connection”,然后选择”Connection 1″。这将列出所有已配置的网络连接,可以对其进行编辑、删除和添加。每个连接都对应一个配置文件,保存在/etc/NetworkManager/system-connection
        
阅读全文
                    posted @ 
2019-04-09 21:27 
lshan
        
阅读(1521) 
         
        推荐(0)     
                 
                
                
    yum centos 修改镜像源
    
                
摘要:参考:https://blog.csdn.net/sj349781478/article/details/78736873 3、清除yum缓存 yum clean all yum makecache yum clean all yum makecache 先说下安装网络源的步骤: 修改CentOS默
        
阅读全文
                    posted @ 
2019-04-09 15:31 
lshan
        
阅读(914) 
         
        推荐(0)     
                 
                
                
    centos6 安装 docker 问题
    
                
摘要:参考:https://www.cnblogs.com/cs294639693/p/10164258.html 第一步:删除 参考:https://www.cnblogs.com/liuyansheng/p/9203134.html 第二步;解决问题 https://www.cnblogs.com/c
        
阅读全文
                    posted @ 
2019-04-09 15:13 
lshan
        
阅读(180) 
         
        推荐(0)     
                 
                
                
    Feign 的简单使用(2)   请求时附带请求头
    
                
摘要:依赖: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency> 全部依赖: <project xml
        
阅读全文
                    posted @ 
2019-04-08 10:42 
lshan
        
阅读(721) 
         
        推荐(0)     
                 
                
                
    feign client 的简单使用-原始(1)
    
                
摘要:依赖: <properties> <java.version>1.8</java.version> <feign-core.version>10.2.0</feign-core.version> <feign-form.version>2.1.0</feign-form.version>	</pro
        
阅读全文
                    posted @ 
2019-04-08 10:37 
lshan
        
阅读(1693) 
         
        推荐(0)     
                 
                
                
    xsync     scp    myscp
    
                
摘要:摘要: 1.xsync 工具 2.scp shh 免密(expect 交互自动输入密码) 并且解决文件路径有空格问题 shell 小工具,用于集群搭建: xsync脚本基于rsync工具,rsync 远程同步工具,主要用于备份和镜像。具有速度快、避免复制相同内容和支持符号链接的优点,它只是拷贝文件不
        
阅读全文
                    posted @ 
2019-04-07 19:45 
lshan
        
阅读(810) 
         
        推荐(0)     
                 
                
                
    canal 配置
    
                
摘要:参考:https://www.2cto.com/database/201609/547661.html Spring配置 spring配置的原理是将整个配置抽象为两部分: xxxx-instance.xml (canal组件的配置定义,可以在多个instance配置中共享) xxxx.propert
        
阅读全文
                    posted @ 
2019-04-03 15:19 
lshan
        
阅读(5473) 
         
        推荐(1)     
                 
                
                
    vi/vim编辑器
    
                
摘要:vi/vim编辑器一般模式 yy	复制一行yNy	复制N行p	粘贴u 撤销dd 删除一行dNd 删除N行x 小写x,相当于delX 大写X,相当于Backspaceshift+^ 移动到行头shift+&	移动到行尾1+shift+g	移动到页面头shift+g	移动到页面尾n+shift+g	移动
        
阅读全文
                    posted @ 
2019-04-03 14:02 
lshan
        
阅读(139) 
         
        推荐(0)     
                 
                
                
    shell   doc
    
                
摘要:参考: http://c.biancheng.net/view/1114.html IF :比较 IF高级特性:双圆括号(( )):表示数学表达式 在判断命令中只允许在比较中进行简单的算术操作,而双圆括号提供更多的数学符号,而且在双圆括号里面的'>','<'号不需要转意。 双方括号[[ ]]:表示高
        
阅读全文
                    posted @ 
2019-04-03 11:24 
lshan
        
阅读(146) 
         
        推荐(0)     
                 
                
                
    ubuntu 上  SSH  scp 技巧
    
                
摘要:参考:https://deepzz.com/post/how-to-setup-ssh-config.html SSH(Secure Shell)是什么?是一项创建在应用层和传输层基础上的安全协议,为计算机上的 Shell(壳层)提供安全的传输和使用环境。也是专为远程登录会话和其他网络服务提供安全性
        
阅读全文
                    posted @ 
2019-04-02 17:42 
lshan
        
阅读(233) 
         
        推荐(0)