일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Mac
- Elasticsearch
- 파이썬
- zip 파일 암호화
- TensorFlow
- 차트
- Java
- docker
- 900gle
- high level client
- Test
- licence delete curl
- sort
- zip 암호화
- Python
- License
- Kafka
- analyzer test
- token filter test
- ELASTIC
- API
- aggregation
- MySQL
- plugin
- springboot
- matplotlib
- aggs
- flask
- license delete
- query
- Today
- Total
목록분류 전체보기 (475)
개발잡부
text = "티스토리로 돈을 벌어보자!" #출력 print(text[0]) print(text[6]) #뒤에서 출력 print(text[-1]) #구간 print(text[0:4]) #문자열 갯수세기 print(text.count("돈")) #문자열 위치 print(text.find("돈을")) #문자열 바꾸기 print(text.replace("돈을", "똥을")) #문자열 나누기 print(text.split(" ")) 예제 테스트 ) #리스트 list=[1,2,3] #마지막에 4추가 list.append(4) #정렬 list.sort(reverse=True) #정렬뒤집기 list.reverse() print(list) #3의 인덱스 번호 반환 print(list.index(3)) #2번인덱스에 5..
https://colab.research.google.com/ Google Colaboratory colab.research.google.com 새노트 파이썬 코드 입력 실행 - 재생버튼 클릭 (command + enter) 런타임 - 런타임 유형변경 하드웨어 가속기를 GPU , TPU 로 변경할 수 있다. 코드블럭 추가 코드실행 - 런타임 초기화 텍스트 블럭 추가
스프링 부트 애플리케이션 구동 시점에 특정 코드 실행 시키기기 ex) selenium package com.doo.selenium.runner; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; @Component public class CrawlerRunner implements CommandLineRunner { @Override public void run(String... args) throws Exception { System.out.println("1111"); } }
https://aragost.com/blog/java/picocli-introduction/ Picocli introduction This is an introduction to creating user-friendly command-line interfaces to Java applications with the picocli framework. aragost.com maven pom.xml info.picocli picocli 4.5.1 gradle gradle.build // https://mvnrepository.com/artifact/info.picocli/picocli-spring-boot-starter implementation group: 'info.picocli', name: 'picoc..
Sample CREATE TABLE `union_test_a` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `item_number` varchar(25) NOT NULL COMMENT '상품번호', `ranking` varchar(2) NOT NULL DEFAULT '1' COMMENT '우선순위', PRIMARY KEY (`id`), KEY `idx_sch_edlp` (`item_number`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TEST_A'; CREATE TABLE `union_test_b` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `item_no` va..
#root 로 열면면 sudo vi /private/etc/hosts #패스워드를 물어본다 pc 패스워드 Password: ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 127.0.0.1 manage-local.h.kr 255.255.255.255 broadcasthost ::1 localhost # Added by Docker Desktop # To allow the same kube context to work on the host and the container: 127..
kafka를 설치 해보자 https://www.apache.org/dyn/closer.cgi?path=/kafka/2.8.0/kafka_2.13-2.8.0.tgz Apache Download Mirrors Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache and the Apache feather logo are trademarks of The Apache Software Foundation. www.apache.org #다운로드 wget https://archive.apache.org/dist/kafka/2.8.0/kafka_2.13-2.8.0.tgz #압축해제 tar ..
homebrew 설치가 되지 않아 다운 받아서 설치 https://maven.apache.org/download.cgi Maven – Download Apache Maven Downloading Apache Maven 3.8.4 Apache Maven 3.8.4 is the latest release and recommended version for all users. The currently selected download mirror is https://dlcdn.apache.org/. If you encounter a problem with this mirror, please select another mirror. I maven.apache.org 접속해서 Binary tar.gz archive ..
package com.curi.log.service;//package com.curi.log.service; import com.opencsv.CSVWriter; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; import org.elasticsearch.action.search.SearchRequest; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.action.search.SearchScrollRequest; import org.elasticsea..
음.. 이걸 우찌 쓴담.. Setting & Mapping PUT paylaod_score_query { "mappings": { "properties": { "color": { "type": "text", "term_vector": "with_positions_payloads", "analyzer": "payload_delimiter" } } }, "settings": { "analysis": { "analyzer": { "payload_delimiter": { "tokenizer": "whitespace", "filter": [ "delimited_payload" ] } } } } } 데이터 입력 POST paylaod_score_query/_doc/1 { "name" : "T-shirt S", "c..