일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- codebuild
- kubeflow
- aws
- Spring Error
- VPN
- chartjs
- Airflow
- docker
- bootstrap
- Python
- JavaScript
- AWS CI/CD 구축하기
- node
- or some instances in your deployment group are experiencing problems.
- IntelliJ
- Spring
- Flux
- 도커
- Kafka
- SQL
- codedeploy
- codepipeline
- PostgreSQL
- chart.js
- aws cicd
- COALESCE
- java bigdecimal
- Jenkins
- codedeploy error
- redis
- Today
- Total
목록전체 글 (641)
Small Asteroid Blog
POST 방식으로 REST API 호출시에 발생하는 에러이다. 아래 내용에서 con.setDoOutput(true) 로 설정해주면 된다. HttpURLConnection con = (HttpURLConnection)obj.openConnection(); con.setRequestMethod("POST"); con.setDoOutput(true); // 이 항목을 추가
ID로 input 값에 값 입력하기 WebElement tab2 = driver.findElementById("sc_word"); tab2.sendKeys(keyword); xpath 로 버튼 클릭하기 WebElement tab1 = driver.findElementByXPath("//*[@id=\"search-tabs1\"]/form/footer/div/button"); tab1.click();
timedelta는 기간을 표현하기 위해 사용됨 timedelta 객체는 내부적으로 일, 초, 마이크로 초 단위만 저장하기 때문에 위와 같이 해당 정보만 표시됩니다. 파이썬의 날짜/시간 계산은 다른 언어에 비해서 매우 간결하고 직관적인데요. 바로 이 timedelta를 통해 산술/대소 연산자를 사용할 수 있기 때문입니다.

spring boot 처음실행 시 다음과 같은 에러가 났다. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. application.properties 에 JDBC url 을 추가해준다. [mysql] spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/[DB스키마명]?autoReconnect=true spring.datasource.username=[DB접속Id] spring.datasource.password..
초단위로 되어 있는 숫자를 년월일로 보기좋게 변경하고자 한다. import time now = time.time() now 값이 1633047334.6881318 출력이 되는데 이 값을 년월일로 보기좋게 변환하고 싶다. import datetime print(datetime.datetime.fromtimestamp(int('1633047334')).strftime('%Y-%m-%d %H:%M:%S')) print(datetime.datetime.fromtimestamp(float('1633047334.6881318')).strftime('%Y-%m-%d %H:%M:%S,%f')) datetime 모듈 로드 후 변수 값을 int 나 float 로 변환한다. 숫자 변환 값에 datetime 모듈의 함수를 적..

먼저 Jsoup 을 사용하기 위해서 build.gradle 에 jsoup 내용을 적는다. dependencies { // https://mvnrepository.com/artifact/org.jsoup/jsoup implementation 'org.jsoup:jsoup:1.13.1' } 파라메터로 keyword값을 받아와서 사용한다. 키워드값 가져오는 것은 설명하지 않겠다. > 네이버 기사 import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; @RequestMapping("jsoupcrawler") public String jsoupCrawler(Model model, @Reques..