- 博客(12)
- 资源 (3)
- 收藏
- 关注
原创 【技能库】--Spring (Spring boot)MVC 移动端+PC端 上传图片(182)
@Controller @RequestMapping("pic") public class ImageUploadController { private static final Logger logger = LoggerFactory.getLogger(ImageUploadController.class); private static Pattern pattern
2017-04-25 22:21:27 1314
原创 【工具库】--redis 安装+使用示例+安全(181)
1 安装 //ubuntu 操作系统sudoapt−getupdatesudo apt-get update sudo apt-get install redis-server$redis-server$redis-cli redis 127.0.0.1:6379> ping PONGredis 127.0.0.1:6379> CONFIG GET * redis 127.0.0.1:
2017-04-24 19:26:57 200
原创 【工具库】--kafka安装(179)
kafka 安装配置1 download kafka To install Kafka on your machine, click on the below link −https://www.apache.org/dyn/closer.cgi?path=/kafka/0.9.0.0/kafka_2.11-0.9.0.0.tgz Now the latest version i.e., – k
2017-04-22 07:46:11 719
原创 【技能库】--Spring Boot + HTTPS 完整示例(177)
1 jdk8+springBoot 下载:http://www.oracle.com/technetwork/cn/java/javase/downloads/jdk8-downloads-2133151-zhs.html 修改 JAVA_HOME执行到1.8jdk echo %JAVA_HOME% 检测是否生效 mvn clean package mvn -jar jar包路径2 解决
2017-04-20 22:10:19 5489
原创 【未来库】--Spring boot Start(176)
http://www.mkyong.com/spring-boot/spring-boot-hello-world-example-thymeleaf/
2017-04-19 18:45:59 464
原创 【命令库】-Linux grep命令的or,and,not操作
1 OR 语义egrep 'pattern1|pattern2' filename 2 AND 语义grep -E 'pattern1.*pattern2' filename 3 NOT 语义grep -v 'pattern1' filename
2017-04-19 11:55:49 5475
原创 【技能库】--Spring JDBC framework with JdbcTemplate class(176)
理解Spring JDBC 和 JdbcTemplate 完整实例:学生DAO–实现1 创建数据库CREATE TABLE Student( ID INT NOT NULL AUTO_INCREMENT, NAME VARCHAR(20) NOT NULL, AGE INT NOT NULL, PRIMARY KEY (ID) );2 Following is the
2017-04-19 08:06:23 331
原创 【技能库】--spring boot , how to run web app jar(168)
1 使用编译器 ide 例如: idea IDE install 2 运行命令: java -jar yourweb.jar 3 浏览器访问
2017-04-10 08:04:51 283
原创 【面试库】--HashMap多线程put后get null ,get 死循环,get数据丢失(167)
0 公共put源码public V put(K key, V value) { ...... //算Hash值 int hash = hash(key.hashCode()); int i = indexFor(hash, table.length); //如果该key已被插入,则替换掉旧的value (链接操作) for (Ent
2017-04-09 23:05:37 3239 1
翻译 【Java 源码技术】--Difference between HashMap and ConcurrentHashMap(165)
1) The first significant difference between HashMap and ConcurrentHashMap is that later is thread-safe and can be used in a concurrent environment without external synchronization. Though it doesn’t pr
2017-04-07 23:04:24 591
原创 【知识库】图像识别(164)
图像识别: https://www.tutorialspoint.com//opencv/index.htm https://tonydeng.github.io/2016/07/28/on-the-use-of-tesseract-picture-text-recognition/ https://github.com/tesseract-ocr/tesseract/wiki
2017-04-06 14:45:22 513
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人