/** * RegExp to test a string for a ISO 8601 Date spec * YYYY * YYYY-MM * YYYY-MM-DD * YYYY-MM-DDThh:mmTZD * YYYY-MM-DDThh:mm:ssTZD * YYYY-MM-DDThh:mm:ss.sTZD * @see: https://www.w3.org/TR/NOTE-datetime * @type {RegExp} */ var ISO_8601 = /^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?)?)?)?$/i /** * RegExp to test a string for a full ISO 8601 Date * Does not do any sort of dat..
{ "type": "record", "name": "Test", "namespace": "com.acme", "fields": [{ "name": "name", "type": "string" }, { "name": "age", "type": "int" }, { "name": "sex", "type": "string" }, { "name": "myenum", "type": ["null", { "type": "enum", "name": "Suit", "symbols": ["SPADES", "HEARTS", "DIAMONDS", "CLUBS"] } ] } ] } https://stackoverflow.com/questions/50283736/avro-enum-field Avro ENUM field I am t..
https://stackoverflow.com/questions/63905890/kubernetes-how-to-set-boolean-type-variable-in-configmap Kubernetes: How to set boolean type variable in configMap I want to set a boolean variable in configMap (or secret): apiVersion: v1 kind: ConfigMap metadata: name: env-config namespace: mlo-stage data: webpack_dev_server: false But when I apply it,... stackoverflow.com
https://github.com/pinterest/ktlint/issues/26#issuecomment-1149433232 "Unexpected indentation" on wrapped function declarations · Issue #26 · pinterest/ktlint The following function appears in the Kotlin Reference: fun reformat(str: String, normalizeCase: Boolean = true, upperCaseFirstLetter: Boolean = true, divideByCamelHumps: Boolean = false, wordSepar... github.com
https://stackoverflow.com/questions/43275356/presto-check-if-null-and-return-default-nvl-analog Presto check if NULL and return default (NVL analog) Is there any analog of NVL in Presto DB? I need to check if a field is NULL and return a default value. I solve this somehow like this: SELECT CASE WHEN my_field is null THEN 0 ELSE stackoverflow.com
https://zzsza.github.io/development/2020/06/06/github-action/ Github Action 사용법 정리 Github Action 사용법 및 cron 사용 방법에 대해 정리한 글입니다 Github Action으로 YES24 IT 신간을 파이썬으로 크롤링 후 Issue에 업로드하는 예제가 있습니다 Github Action with Python Github action with cron, Github a zzsza.github.io
https://blog.leocat.kr/notes/2020/12/14/intellij-avoid-wildcard-imports-in-kotlin-with-intellij [IntelliJ] Kotlin 코드에서 wildcard('*') import 사용하지 않기 ktlint를 사용하면 import java.util.Locale와 같은 wildcard import를 사용하지 못 하게 한다. blog.leocat.kr
https://github.com/confluentinc/kafka-images/issues/170 why this is not working? `services.kafka.environment.KAFKA_AUTO_CREATE_TOPICS_ENABLE contains true, which is an invalid type, it services.kafka.environment.KAFKA_AUTO_CREATE_TOPICS_ENABLE contains true, which is an invalid type, it should be a string, number, or a null KAFKA_AUTO_CREATE_TOPICS_ENABLE: true vs KAFKA_AUTO_CREA... github.com h..
ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); // do various things, perhaps: String someJsonString = mapper.writeValueAsString(someClassInstance); SomeClass someClassInstance = mapper.readValue(someJsonString, SomeClass.class) https://stackoverflow.com/questions/15261456/how-do-i-disable-fail-on-empty-beans-in-jackson How do I disabl..
cd path/to/project-b git remote add project-a /path/to/project-a git fetch project-a --tags git merge --allow-unrelated-histories project-a/master # or whichever branch you want to merge git remote remove project-a https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories How do you merge two Git repositories? Consider the following scenario: I have developed a small expe..
https://stackoverflow.com/questions/9607903/get-domain-name-from-given-url/72678203#72678203 Get domain name from given url Given a URL, I want to extract domain name(It should not include 'www' part). Url can contain http/https. Here is the java code that I wrote. Though It seems to work fine, is there any better appro... stackoverflow.com const val WWW = "www." fun URL.domain(): String { val d..
springdoc: swagger-ui: url: /docs/merged path: / api-docs: custom: title: Data API version: 1.0 description: Data API service: ${SERVICE_HOST:} name: Core Data url: https://github.com/bucketplace/data email: eng-core-data@bucketplace.net https://github.com/springdoc/springdoc-openapi/issues/43 http://localhost:3006/swagger-ui/index.html serves Swagger Petstore. Can this be disabled? · Issue #43 ..
gradle --settings-file alt-settings.gradle tasks --all https://stackoverflow.com/questions/61544790/how-do-i-use-a-custom-gradle-build-file-and-gradle-settings-file How do I use a custom gradle build file and gradle settings file The gradle command has a bunch of flags to customize its environment [1]. Among them are --build-file and --settings-file. But I can't seem to get them to work the way ..
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(지원 중단됨) 대신 이 종..
- Total
- Today
- Yesterday
- follower
- 김달
- 테슬라 추천
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라
- 어떻게 능력을 보여줄 것인가?
- COUNT
- 테슬라 리퍼럴 코드
- 인스타그램
- 책그림
- Bot
- 모델y
- 테슬라 레퍼럴 코드 확인
- 연애학개론
- 테슬라 레퍼럴 적용 확인
- 테슬라 레퍼럴
- 테슬라 리퍼럴 코드 혜택
- 모델 Y 레퍼럴
- 레퍼럴
- wlw
- 할인
- 테슬라 크레딧 사용
- 개리마커스
- 클루지
- 팔로워 수 세기
- 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 |