Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
class 放量下跌Params : RuleParams() { | |
var 下跌天数: Int = 3 | |
var 跌幅: Double = 0.07 | |
var 放量幅度: Double = 0.15 | |
} | |
class 放量下跌Rule : IRule<RuleResult, 放量下跌Params>() { | |
override fun run(request: RuleRunRequest, | |
params: 放量下跌Params, |
#!/bin/bash | |
# A simple script to get information about mount points and pids and their | |
# mount namespaces. | |
if [ $# -ne 1 ];then | |
echo "Usage: $0 <devicemapper-device-id>" | |
exit 1 | |
fi |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration scan="true" scanPeriod="60 seconds" debug="false"> | |
<include resource="org/springframework/boot/logging/logback/base.xml"/> | |
<contextName>logback</contextName> | |
<!--从spring environment中注入的变量--> | |
<springProperty scope="context" name="app-name" source="spring.application.name" | |
defaultValue="unknown"/> | |
<springProperty scope="context" name="spring.profiles" source="spring.profiles" | |
defaultValue="unknown"/> |
import java.util.HashMap; | |
import java.util.Map; | |
/** | |
* replace | |
* Created by Rock on 2017/6/26. | |
*/ | |
public class Switcher<T> { |
import android.content.Context; | |
import android.graphics.drawable.Drawable; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.util.AttributeSet; | |
import android.view.MotionEvent; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.Checkable; | |
import android.widget.LinearLayout; |