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
===== 문자열 찾기 ===== | |
Ctrl + shift + g : 커서를 메소드 위에 놓고 누르면 해당 메소드를 사용하는 곳을 찾아준다. |
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
-- MYSQL | |
SELECT | |
CONCAT(TABLE_SCHEMA,'.',TABLE_NAME) TABLE_NAME, | |
CONCAT(ROUND(TABLE_ROWS/1000000,2),'M') ROWS, | |
CONCAT(ROUND(DATA_LENGTH/(1024*1024),2),'M') DATA, | |
CONCAT(ROUND(INDEX_LENGTH/(1024*1024),2),'M') IDX, | |
CONCAT(ROUND((DATA_LENGTH+INDEX_LENGTH)/(1024*1024),2),'M') TOTAL_SIZE, | |
ROUND(INDEX_LENGTH/DATA_LENGTH,2) IDXFRAC, | |
ENGINE | |
FROM INFORMATION_SCHEMA.TABLES |
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
%angular | |
<!-- Include Date Range Picker --> | |
<script type="text/javascript" src="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.js"></script> | |
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css" /> | |
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
@Test | |
public void offsetTimeString_TO_LocalDateTime() { | |
// 표준ISO8601 타입으로 넘어오지 않는 경우 대응을 위해 구현 | |
// ex)T 생략 , zoneOffSet 공백으로 구분되어 넘어옴 | |
String offsetTimeString="2019-10-25 15:44:52.775 +09:00".replaceFirst(" ", "T").replace(" ", ""); | |
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS"); | |
LocalDateTime localDateTime = OffsetDateTime.parse(offsetTimeString).toLocalDateTime(); | |
System.out.println(localDateTime.format(formatter)); | |
} |
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.apache.spark.ml.{Pipeline, PipelineModel} | |
import org.apache.spark.ml.classification.{RandomForestClassificationModel, RandomForestClassifier, NaiveBayes} | |
import org.apache.spark.ml.evaluation.MulticlassClassificationEvaluator | |
import org.apache.spark.ml.feature.{StringIndexer, HashingTF, VectorIndexer, StopWordsRemover, NGram, Word2Vec, CountVectorizer, IDF} | |
import org.apache.spark.ml.tuning.{CrossValidator, CrossValidatorModel, ParamGridBuilder} | |
import org.apache.spark.sql.Encoders | |
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline | |
import com.johnsnowlabs.nlp.SparkNLP | |
import com.johnsnowlabs.nlp.annotator._ | |
import com.johnsnowlabs.nlp.base._ |
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
%spark | |
import okhttp3.Call | |
import okhttp3.MediaType | |
import okhttp3.MultipartBody | |
import okhttp3.OkHttpClient | |
import okhttp3.Request | |
import okhttp3.RequestBody | |
import okhttp3.Response |
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
개별 배포 파이프라인에 원격 Jenkins Webhook 수행 | |
#매개변수 JOB 구성 | |
String Parameter | |
appName | |
fizz-download-service | |
String Parameter | |
FEATURE | |
fizz.v2.V2Reporter#testFileFeature |
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
version: "3" | |
services: | |
tempo: | |
image: grafana/tempo:latest | |
command: [ "-config.file=/etc/tempo.yaml" ] | |
volumes: | |
- ./tempo-s3.yaml:/etc/tempo.yaml | |
- ./tempo-data:/tmp/tempo | |
ports: |
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
receivers: | |
otlp: | |
protocols: | |
grpc: | |
exporters: | |
logging: | |
zipkin: | |
endpoint: "http://zipkin-all-in-one:9411/api/v2/spans" |
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
version: "3" | |
services: | |
clickhouse: | |
image: yandex/clickhouse-server:21 | |
ports: | |
- "8123:8123" | |
- "9000:9000" | |
- "9009:9009" | |
- "9363:9363" |