일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- matplotlib
- sort
- Test
- 차트
- MySQL
- Mac
- Python
- high level client
- plugin
- Java
- License
- ELASTIC
- 파이썬
- zip 파일 암호화
- docker
- aggs
- API
- Kafka
- zip 암호화
- licence delete curl
- token filter test
- Elasticsearch
- flask
- 900gle
- query
- analyzer test
- license delete
- springboot
- TensorFlow
- aggregation
- Today
- Total
목록분류 전체보기 (477)
개발잡부

mysql 자체적으로 이벤트 스케쥴러 사용 설정 확인 SHOW VARIABLES LIKE 'event%'; Value가 OFF가 되어 있으면 아래 명령어를 통해 설정을 ON으로 설정 -- ON SET GLOBAL event_scheduler = ON; -- OFF SET GLOBAL event_scheduler = OFF; 이벤트 스케줄러 확인 이미 생성되어 있는 이벤트 스케줄러를 확인한다. SELECT * FROM information_schema.events; 이벤트 스케쥴러 생성 CREATE EVENT doo_event ON SCHEDULE EVERY 1 WEEK STARTS '2021-01-01 00:00:00' COMMENT 'table_info 정보 삭제' DO TRUNCATE TABLE ta..
(900gle) ➜ elastic-py git:(master) ✗ conda deactivate 900gle deactivate does not accept arguments remainder_args: ['900gle'] #가상환경 중지 conda deactivate 900gle #가상환경 삭제하기 conda remove --name 900gle --all #가상환경 복사하기 conda create -n 900gle --clone doogle #가상환경 리스트 확인하기 conda info --envs

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 ..