- 博客(17)
- 收藏
- 关注
原创 Elasticsearch
Initcurl -XPUT '10.58.90.167:9200/last/timestamp/1?pretty' -H 'Content-Type: application/json' -d '{"lastTimestamp" : 1522663124911}'curl -XGET '10.58.90.167:9200/last/timestamp/1?pretty'cur...
2018-04-18 14:37:37 112
原创 Some Linux experience
1) /etc/rc.d/rc.local auto load scripts once box gets restarted2) crontab job@reboot some_script.sh
2018-03-26 16:33:04 190
原创 Ivy
1. What's Ivy?Ivy is a tool for managing (recording, tracking, resolving and reporting) project dependencies. 3 types of repositories: Local, Share & Public2. Configuration fileivy.xml: de...
2017-03-23 15:35:28 161
原创 Gradle
[b]Gradle Plugins[/b] a. two types: script plugins (by apply from) and binary plugins (by apply plugin-id) Script plugins are automatically resolved and can be applied from a script on the local f...
2017-03-23 15:34:24 108
原创 Art of Cryptography in Java
Art of Cryptography in JavaAgenda:JCA, JCE, JSSEJava Key engine classesJDK APIsSSL HandShakeFunctional access between Portal & Clients
2016-04-19 16:59:40 117
原创 Git Commands
[size=large][b]First person Setup[/b][/size][b]1. Set up a new repository from local to remote [/b]git initgit add --allgit commit -m "Initial Commit from SVN migration"git remote add origin...
2016-04-05 13:20:38 142
原创 HTTP/2
HTTP/2tech link: http://www.oschina.net/question/1397765_172789demo site: https://http2.golang.org/
2016-03-15 11:32:22 132
原创 Spring Jdbc Template
1. Only one single result/row.int queryForInt(String sql) int queryForInt(String sql, Object[] args) long queryForLong(String sql) long queryForLong(String sql, Object[] args) Object queryFo...
2016-03-04 14:08:46 89
原创 JVM
1. JDK = Java Language + JVM + Java API JRE = JVM + JAVA SE API2. 3 famous JVM: HotSpot(Sun), JRocket(BEA), J9(IBM)3. GC 收集器Young Generation: Serial, ParNew & Parallel ScavengeTenured ...
2016-01-15 20:08:06 91
原创 Java Concurrent
1. Synchronized & wait/notify/notifyAll used for communication between threads. (Random selected by JVM)ReentrantLock & Condition can also do (selective选择性通知)lock.lock() used to get the lock. ...
2016-01-08 00:53:11 100
原创 Something on DB
1. DBMS_STATS.GATHER_TABLE_STATS ( ownname VARCHAR2, tabname VARCHAR2, partname VARCHAR2, estimate_percent NUMBER, block_sample BOOLEAN, method_opt VARCHAR2, degree NUMBER, granularity VARCHAR2, casca...
2015-11-10 14:22:50 87
原创 SAML
[b]Introduction[/b]Security Assertion Markup Language (SAML, pronounced sam-el[1]) is an XML-based, open-standard data format for exchanging authentication and authorization data between parties, in...
2015-10-10 11:55:13 151
原创 Tomcat sources reading
1. Catalina 2 modules: Connector & containerConnector: create a request & response object per each http requestContainer: receive request & response objects from connector and invoke servlet's ser...
2015-09-24 19:39:51 91
原创 JAX-WS annotation
Source link: http://java.globinch.com/enterprise-java/web-services/jax-ws/java-jax-ws-tutorial-develop-web-services-clients-consumersIn bottom-up approach we create the service end point interfa...
2015-01-05 10:22:17 178
原创 Points of ConcurrentHashMap
1. ConcurrentHashMap allows concurrent read and thread-safe update operation.2. During update operation, ConcurrentHashMap only lock a portion of Map instead of whole Map.3. Concurrent update...
2014-04-09 12:08:52 95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人