Joinc

导航

12 2017 档案

java8 字符串转换 list long Integer
摘要://You can use the Lambda functions of Java 8 to achieve this without looping //来自:http://stackoverflow.com/questions/19946980/convert-string-to-listlo 阅读全文

posted @ 2017-12-29 11:10 Joinc 阅读(15984) 评论(0) 推荐(0)

windows 切换host 清理dns
摘要:ipconfig/flushdns 阅读全文

posted @ 2017-12-22 13:30 Joinc 阅读(244) 评论(0) 推荐(0)

chmod +x 和 chmod u+x的区别
摘要:常用: u 代表用户. g 代表用户组. o 代表其他. a 代表所有. 这意味着chmod u+x somefile 只授予这个文件的所属者执行的权限 而 chmod +x somefile 和 chmod a+x somefile 是一样的 Just doing +x will apply it 阅读全文

posted @ 2017-12-22 13:20 Joinc 阅读(10124) 评论(0) 推荐(0)

.tar.gz 和.tgz 解压
摘要:wget {url} 下载 eg: wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.24/bin/apache-tomcat-8.5.24.tar.gz *.tar.gz和*.tgz 用 tar –xzf 解压 阅读全文

posted @ 2017-12-22 13:16 Joinc 阅读(582) 评论(0) 推荐(0)

linux 常用重启
摘要:sudo reboot 为最常用重启 Linux centos关机与重启命令详解与实战 Linux centos重启命令: 1、reboot 普通重启 2、shutdown -r now 立刻重启(root用户使用) 3、shutdown -r 10 过10分钟自动重启(root用户使用) 4、sh 阅读全文

posted @ 2017-12-22 13:06 Joinc 阅读(282) 评论(0) 推荐(0)

centos7 安装jdk8 bash脚本 并配置环境变量
摘要:#!/bin/bash #安装java脚本 if type -p java; then echo 'java已安装.' exit 0 else echo '开始安装java...' wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.... 阅读全文

posted @ 2017-12-21 10:53 Joinc 阅读(1118) 评论(0) 推荐(0)

linux Bash 常用
摘要:linux 帮助文档 man + [命令] eg: man ls[命令] + --help eg:ls --helphelp +[命令] eg:help ceinfo + [命令] eg:info ls echo -e 输出转义后的文字 shell 文件头一定写#!/bin/bash执行shell脚 阅读全文

posted @ 2017-12-20 11:40 Joinc 阅读(192) 评论(0) 推荐(0)

fastjson 在 springboot中的运用
摘要:题记: 项目中开始用是Gson,但是压力测试的时候会出现性能下降明显,不得已换成了fastjson 1.首先引用包 1 <dependency> 2 <groupId>com.alibaba</groupId> 3 <artifactId>fastjson</artifactId> 4 <versi 阅读全文

posted @ 2017-12-20 11:39 Joinc 阅读(994) 评论(0) 推荐(0)

mybatis column 和property
摘要:mybatis map文件中 resultMap中column和sql查询结果对应, property和实体private对应 <sql id="Base_Column_List_Video_App"> c.CarId,v.VideoId,v.Title,v.TotalVisit,v.TotalCo 阅读全文

posted @ 2017-12-15 19:55 Joinc 阅读(4860) 评论(0) 推荐(1)