This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gate.io.query.url=https://data.gateio.ws |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"schema_version": "3.0.0", "repositories": ["https://bitbucket.org/jjones028/p4sublime/raw/tip/packages.json", "https://bitbucket.org/klorenz/sublime_packages/raw/tip/packages.json", "https://packagecontrol.io/packages_2.json", "https://packagecontrol.io/repository.json", "https://packages.monokai.pro/packages.json", "https://raw.githubusercontent.com/20Tauri/DoxyDoxygen/master/DoxyDoxygen.json", "https://raw.githubusercontent.com/Andr3as/Sublime-SurroundWith/master/packages.json", "https://raw.githubusercontent.com/FichteFoll/sublime_packages/master/package_control.json", "https://raw.githubusercontent.com/Floobits/floobits-sublime/master/packages.json", "https://raw.githubusercontent.com/Harrison-M/indent.txt-sublime/master/packages.json", "https://raw.githubusercontent.com/Hexenon/FoxCode/master/packages.json", "https://raw.githubusercontent.com/Kaizhi/SublimeUpdater/master/packages.json", "https://raw.githubusercontent.com/Kasoki/FancyProjects/master/packages.json", "https://raw.githubusercontent.com/Mat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.util.Queue; | |
import java.util.concurrent.*; | |
/** | |
* 线程池管理 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class FingerPrintFeignconfig implements RequestInterceptor { | |
private final Logger logger = LoggerFactory.getLogger(getClass()); | |
@Override | |
public void apply(RequestTemplate template) { | |
ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder | |
.getRequestAttributes(); | |
HttpServletRequest request = attributes.getRequest(); | |
Enumeration<String> headerNames = request.getHeaderNames(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @Function | |
# Find out the highest cpu consumed threads of java, and print the stack of these threads. | |
# | |
# @Usage | |
# $ ./show-busy-java-threads | |
# | |
# @online-doc https://github.com/oldratlee/useful-scripts/blob/master/docs/java.md#-show-busy-java-threads | |
# @author Jerry Lee (oldratlee at gmail dot com) | |
# @author superhj1987 (superhj1987 at 126 dot com) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.doraemoney.wk.quotecheckplatform.service.support; | |
import com.alibaba.fastjson.JSONObject; | |
import org.asynchttpclient.AsyncHttpClient; | |
import org.asynchttpclient.DefaultAsyncHttpClient; | |
import org.asynchttpclient.DefaultAsyncHttpClientConfig; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.boot.context.properties.ConfigurationProperties; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.doraemoney.wk.quotecheckplatform.util; | |
import java.util.concurrent.ForkJoinPool; | |
import java.util.concurrent.RecursiveAction; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* created by [email protected] on 2018/10/26. | |
*/ | |
public class PrintTask extends RecursiveAction{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装软件 | |
jdk | |
jdk版本: jdk-8u171-linux-x64.tar.gz | |
#安装路径: | |
tar -zxf jdk-8u171-linux-x64.tar.gz | |
ln -s /app/java/jdk1.8.0_171 /app/java/default | |
#设置环境变量 | |
vim ~/.bash_profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
s = status | |
st = status | |
sb = status -s -b | |
############# | |
d = diff | |
di = diff | |
dc = diff --cached | |
dk = diff --check | |
dck = diff --cached --check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.doraemoney.test.own; | |
import java.util.concurrent.ForkJoinPool; | |
import java.util.concurrent.ForkJoinTask; | |
import java.util.concurrent.RecursiveTask; | |
import com.doraemoney.core.utils.ThreadPoolUtils; | |
/** | |
* Created By WangLichao On 2017年5月26日. |
NewerOlder