countries=$(cat) countries+=( "${countries[@]}" "${countries[@]}" ) echo ${countries[@]} https://stackoverflow.com/questions/31143874/how-to-concatenate-arrays-in-bash How to concatenate arrays in bash? I am a new to Bash. I have an array taking input from standard input. I have to concatenate itself twice. Say, I have the following elements in the array: Namibia Nauru Nepal Netherlands NewZeala..
https://stackoverflow.com/questions/6698354/where-to-get-utf-8-string-literal-in-java Where to get "UTF-8" string literal in Java? I'm trying to use a constant instead of a string literal in this piece of code: new InputStreamReader(new FileInputStream(file), "UTF-8") "UTF-8" appears in the code rather often, and would be much stackoverflow.com
object AvroUtils { private const val PATH = "/avsc" private val parser = Schema.Parser() fun define(name: String): Schema { return parser.parse( AvroUtils.javaClass .getResourceAsStream("${PATH}/${name}.avsc") ) } fun convert(schema: Schema, json: String): GenericRecord { val reader: DatumReader = GenericDatumReader(schema) val decoder: Decoder = DecoderFactory().jsonDecoder(schema, json) return..
https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm/related?hl=ko Cookie-Editor Simple yet powerful Cookie Editor that allow you to quickly create, edit and delete cookies without leaving your tab. chrome.google.com
fun merged(a: Map, b: Any): Map { return objectMapper .readerForUpdating(a) .readValue(objectMapper.writeValueAsString(b)) } https://stackoverflow.com/questions/9895041/merging-two-json-documents-using-jackson Merging Two JSON Documents Using Jackson Is it possible to merge two JSON documents with the Jackson JSON library? I am basically using the Jackson mapper with simple Java Maps. I've tried..
#!/bin/bash foo=('foo bar' 'foo baz' 'bar baz') bar=$(printf ",%s" "${foo[@]}") bar=${bar:1} echo $bar https://stackoverflow.com/questions/1527049/how-can-i-join-elements-of-an-array-in-bash How can I join elements of an array in Bash? If I have an array like this in Bash: FOO=( a b c ) How do I join the elements with commas? For example, producing a,b,c. stackoverflow.com
fun main(args: Array){ val list1 = listOf(1, 2, 3) val list2 = listOf(1, 4, 5, 6) val joinedList = list1 + list2 println("joinedList : $joinedList") } https://codechacha.com/ko/kotlin-concatenate-arrays/ Kotlin - 2개의 List 하나로 합치기 코틀린에서 2개 이상의 List를 하나로 합칠 때 다음 방법들을 사용할 수 있습니다. addAll(), Plus Operator, union() 다음과 같이 `addAll()`으로 두개의 리스트를 하나로 합칠 수 있습니다. 다음과 같이 `+` codechacha.com
https://velog.io/@minsangk/2019-09-06-0209-%EC%9E%91%EC%84%B1%EB%90%A8-eik06xy8mm map, reduce 함수에서 async/await 쓰기 async/await Javascript 하면 자연스럽게 callback hell 이 떠오르던 시절도 있었는데, Promise 가 정식으로 들어온 이후부터 그런 오명은 확실히 벗어난 것 같습니다. Node.js 와 함께 제공되는 모듈셋도 대부 velog.io
#!/bin/bash if [ -z "${SKIP_BRANCH}" ]; then SKIP_BRANCH=(master develop release hotfix) fi NAME=$(git symbolic-ref --short HEAD) NAME="${NAME##*/}" JIRA=`echo ${NAME} | egrep -o '.+-[0-9]+_' | egrep -o '.+-[0-9]+'` ISSUE=`echo ${NAME} | egrep -o '#[0-9]+_' | egrep -o '#[0-9]+'` EXCLUDED=$(printf "%s\n" "${SKIP_BRANCH[@]}" | grep -c "^${NAME}$") PREFIX="" if [[ -n ${JIRA} ]]; then PREFIX="[${JIR..
@Configuration @EnableConfigurationProperties(RedisProperties::class) class RedisRepositoryConfig( private val redisProperties: RedisProperties, ) { @Primary @Bean fun redisFactoryDefault(): LettuceConnectionFactory { return connection(redisProperties.default) } @Bean @Qualifier("redisDefault") fun redisDefault(): RedisTemplate { return template(redisFactoryDefault()) } @Bean fun redisFactoryCon..
https://hihellloitland.tistory.com/94 Postman 환경 변수( Environments Variables ) 사용하는 방법 REST API 서버를 개발하고 테스트를 해보면서 로컬(local) 환경, 개발(development) 환경, 운영(operation) 환경이 IP 로 나눠져서 매번 collection 을 새롭게 만들다 보니까 변수 처리를 할 수 있는 방법이 없을 hihellloitland.tistory.com
https://devlog.changhee.me/posts/gradle_implementation_vs_api/ Gradle - implementation vs api Gradle 3.0 에서 complie 키워드가 implementation 과 api 두 가지로 분리되었다. devlog.changhee.me implemetation Gradle은 종속성을 컴파일 클래스 경로에 추가하여 종속성을 빌드 출력에 패키징합니다. 다만 모듈이 implementation 종속성을 구성하는 경우, 이것은 Gradle에 개발자가 모듈이 컴파일 시 다른 모듈로 유출되는 것을 원치 않는다는 것을 알려줍니다. 즉, 종속성은 런타임 시 다른 모듈에서만 이용할 수 있습니다. api 또는 compile(지원 중단됨) 대신 이 종..
inline fun ObjectMapper.readValue(json: String): T = readValue(json, object : TypeReference(){}) https://stackoverflow.com/questions/34716697/how-do-i-deserialize-json-into-a-listsometype-with-kotlin-jackson How do I deserialize JSON into a List with Kotlin + Jackson What is the correct syntax to deserialize the following JSON: [ { "id" : "1", "name" : "Blues" }, { "id" : "0", "name" : "Rock" } ..
site-url.naver=https://www.naver.com site-url.google=https:/google.com @Value("${site-url.naver}") private String naver; @Value("${site-url.google}") private String google; @Component @ConfigurationProperties(prefix = "site-url") @Data public class siteUrlProperties { private String naver; private String google; } https://programmer93.tistory.com/47 @ConfigurationProperties 사용법 - 삽질중인 개발자 - @con..
class TestException(message:String): Exception(message) https://stackoverflow.com/questions/45162869/kotlin-throw-custom-exception Kotlin - Throw Custom Exception How can I throw a custom exception in Kotlin? I didn't really get that much off the docs... In the docs, it gets described what each exception needs, but how exactly do I implement it? stackoverflow.com
https://wonit.tistory.com/495 [Spring Cloud] Service Discover Server로 Netflix Eureka 이용하기 Spring Cloud Netflix 스프링 클라우드 넷플릭스는 Spring Boot Application 에 대한 통합 환경 구성을 지원하는 Netflix의 OSS 서비스이다. Netflix는 2007년 심각한 DB손상으로 3일간 서비스 장애를 겼었는데,.. wonit.tistory.com
https://start.spring.io/
- Total
- Today
- Yesterday
- 연애학개론
- 인스타그램
- 테슬라 크레딧 사용
- 메디파크 내과 전문의 의학박사 김영수
- 할인
- 테슬라 레퍼럴
- Bot
- 테슬라 추천
- 테슬라 리퍼럴 코드
- 유투브
- 클루지
- 테슬라
- 테슬라 리퍼럴 코드 혜택
- 책그림
- 모델 Y 레퍼럴
- 어떻게 능력을 보여줄 것인가?
- 팔로워 수 세기
- 테슬라 레퍼럴 코드 확인
- COUNT
- 테슬라 리퍼럴 코드 생성
- 김달
- 레퍼럴
- follower
- 개리마커스
- wlw
- 모델y
- Kluge
- 테슬라 레퍼럴 적용 확인
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |