package com.tistory.seunggabi.util import java.lang.reflect.Constructor object ReflectionUtils { fun new(clazz: Class, vararg args: Any?): T { val list = if (args.isEmpty()) { emptyList() } else { args.asList() } @Suppress("UNCHECKED_CAST") val parameters = parameters(list as List) @Suppress("SpreadOperator") val constructor = clazz.getConstructor(*parameters) return new(constructor, list) } pri..
http://daplus.net/javascript-axios%EC%97%90%EC%84%9C-%ED%97%A4%EB%8D%94%EC%99%80-%EC%98%B5%EC%85%98%EC%9D%84-%EC%84%A4%EC%A0%95%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95%EC%9D%80-%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88/ [javascript] Axios에서 헤더와 옵션을 설정하는 방법은 무엇입니까? - 리뷰나라 Axios를 사용하여 다음과 같은 HTTP 게시물을 수행합니다. import axios from 'axios' params = {'HTTP_CONTENT_LANGUAGE': self.language} headers = {'header1': ..
https://github.com/eslint/eslint/issues/10880 No files matching the pattern "node_modules/asn1.js" were found. · Issue #10880 · eslint/eslint Tell us about your environment ESLint Version: 4.19.1 Node Version: 9.8.0 npm Version: 6.4.1 What parser (default, Babel-ESLint, etc.) are you using? "babel-eslint": "^9.0.0", &... github.com
@Test fun givenList_whenAssociatedBy_thenResult() { val myList = listOf(user1, user2, user3) val myMap = myList.associateBy({ it.name }, { it.hobbies }) assertTrue(myMap.get("John")!!.contains("Hiking")) } https://www.baeldung.com/kotlin/list-to-map Converting a List to Map in Kotlin | Baeldung on Kotlin Learn how to convert a List to Map in Kotlin. www.baeldung.com
USE mysql; SELECT * FROM user; https://velog.io/@taelee/mysql-user%ED%99%95%EC%9D%B8-%EB%B0%8F-%EC%B6%94%EA%B0%80 mysql user확인 및 추가 mysql접속 뒤use mysql;select user, host from user;유저의 목록과 접속 허용된 ip를 볼 수 있다.mysql -uroot -p로 root 계정으로 접속mysql> create user USER_ID@localhost identified velog.io
#!/bin/bash for ARG in "$@" do K=$(echo "${ARG}" | cut -f1 -d=) V=$(echo "${ARG}" | cut -f2 -d=) case "${K}" in ENV) ENV=${V} ;; VERSION) VERSION=${V} ;; FILE) FILE=${V} ;; VALUE) VALUE=${V} ;; esac done case "${ENV}" in stage) path=https://satage/asdf ;; production) path=https://production/asdf ;; esac if [ -z "${VERSION}" ]; then VERSION=v1 fi path="${path}/${VERSION}" echo "==================..
@Test fun `should test suspending functions`() = runBlockingTest { assertThrows { failing() } } https://github.com/junit-team/junit5/issues/1851#issuecomment-640510865 Support assertThrows() with suspending functions in Kotlin · Issue #1851 · junit-team/junit5 Often when I write a unit test that has to assert that a certain exception is thrown I use the assertThrows() method. But I find myself r..
seunggab.kim@gabi-mac ~ pushd seunggabi ~/seunggabi ~ seunggab.kim@gabi-mac ~/seunggabi pushd workspace ~/seunggabi/workspace ~/seunggabi ~ seunggab.kim@gabi-mac ~/seunggabi/workspace popd ~/seunggabi ~ seunggab.kim@gabi-mac ~/seunggabi popd ~ seunggab.kim@gabi-mac ~ https://hbase.tistory.com/65 [Linux] Bash - pushd, popd 명령 Bash에서 현재 작업 디렉토리를 변경하기 위해서 'cd' 명령을 사용한다. Change D..
https://heehehe-ds.tistory.com/entry/Git-git-clone-%ED%95%A0-%EB%95%8C-username-password-%ED%95%A8%EA%BB%98-%EC%9E%85%EB%A0%A5%ED%95%B4%EC%A3%BC%EA%B8%B0 [Git] git clone, push, pull 할 때 username / password 함께 입력해주기 사내 enterprise github를 사용하다 보니 다른 repository에서 git clone을 할 때 번거로운 점이 있었다. 기존 방식대로 git clone 후 git 주소를 입력하면 파일을 다운받을 때마다 username과 password를 입력하.. heehehe-ds.tistory.com https://stacko..
termux-setup-storage # /data/data/com.termux/files/home/storage/dcim/ pkg install cronie termux-services # restart termux session sv-enable crond cd /data/data/com.termux/files/home/storage/dcim/ git clone https://github.com/seunggabi/test.git git config credential.helper store --global crontab -e * * * * * cd /data/data/com.termux/files/home/storage/dcim/test && git pull https://www.reddit.com/..
`NavtiveQuery=True` https://sg-moomin.tistory.com/entry/Validation-failed-for-query-for-method-public-abstract-%EC%98%A4%EB%A5%98-%ED%95%B4%EA%B2%B0 Validation failed for query for method public abstract 오류 해결 최근에 개인적인 사정으로 포스팅을 못해서 오랜만에 오류 포스팅으로 찾아왔습니다. 제가 개인적으로 JPA를 공부하고 있는데 JPA를 하다보면 생각하지 못한 곳에서 오류가 자주 발생했습니다. V sg-moomin.tistory.com
@GetMapping("/bars/{barId}") fun getBar(@PathVariable(value = "barId") barId: Optional) https://jsonobject.tistory.com/475 Spring Boot, @PathVariable 사용법 정리 @PathVariable @PathVariable 파라메터를 사용하면 아래와 같이 URI의 일부를 변수로 전달할 수 있다. @GetMapping("/bars/{barId}") fun getBar(@PathVariable(value = "barId") barId: Optional ) @PathVariable.. jsonobject.tistory.com
1. (너무나 당연하지만) 리뷰자는 리뷰이의 코드에 대해 공격적인 질문은 자제하자. 왜 이렇게 짰어요? 이런 질문은 듣는 사람도 기분나쁘고, 리뷰를 지켜보는 사람 입장에서도 안타깝다. 코드 리뷰의 취지를 기억하자. 우리는 코드 리뷰를 통해 미연에 버그를 찾고, 더 좋은 소프트웨어를 만들기 위해 하는 것이지, 남이 짠 코드를 비난하고 내가 더 우위에 있다는것을 각인시키기 위해 하는 것이 아니다. 이렇게 하면 어떨까요? 이렇게 운을 띄우자. 단, 반드시 이유를 제시하여 본인의 취향 강조가 아님을 명백히 하는것이 좋겠다. 2. 리뷰자는 리뷰이의 설명을 다 듣고 발언하자. 리뷰이가 코드와 의도를 설명하는 중에 자꾸 리뷰자가 첨언하면 흐름이 끊겨 리뷰이도 피곤해지고, N명의 리뷰자도 피곤해진다. 코드에 대한 개선..
https://velog.io/@mayinjanuary/git-%EC%BB%A4%EB%B0%8B-%EB%A9%94%EC%84%B8%EC%A7%80-%EC%88%98%EC%A0%95%ED%95%98%EA%B8%B0-changing-commit-message [git] 커밋 메세지 수정하기 (changing commit message) 로컬에 있는, 혹은 리모트에 이미 올라간 commit message 를 수정하는 방법을 알아봅니다. 가장 최신의 commit 을 수정하는 방법과, 더 오래된 commit 을 수정하는 방법을 알아봅니다. velog.io
boolean isValidISODateTime(String date) { try { java.time.format.DateTimeFormatter.ISO_DATE_TIME.parse(date); return true; } catch (java.time.format.DateTimeParseException e) { return false; } } https://stackoverflow.com/questions/64861831/whats-the-recommended-way-to-validate-iso8601-datetime-string-in-java Whats the recommended way to validate ISO8601 datetime string in java I am using java 11..
@EnableJpaRepositories("com.pharmacy.persistence.users.dao") https://stackoverflow.com/questions/29221645/cant-autowire-repository-annotated-interface-in-spring-boot Can't Autowire @Repository annotated interface in Spring Boot I'm developing a spring boot application and I'm running into an issue here. I'm trying to inject a @Repository annotated interface and it doesn't seem to work at all. I'..
- Total
- Today
- Yesterday
- 테슬라
- 할인
- 어떻게 능력을 보여줄 것인가?
- 테슬라 레퍼럴 코드 확인
- 책그림
- 팔로워 수 세기
- 레퍼럴
- follower
- 모델y
- 테슬라 크레딧 사용
- 인스타그램
- Kluge
- 유투브
- 연애학개론
- wlw
- 테슬라 추천
- COUNT
- 개리마커스
- 클루지
- 테슬라 레퍼럴
- 테슬라 레퍼럴 적용 확인
- 테슬라 리퍼럴 코드 생성
- 테슬라 리퍼럴 코드 혜택
- 메디파크 내과 전문의 의학박사 김영수
- 김달
- Bot
- 테슬라 리퍼럴 코드
- 모델 Y 레퍼럴
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |