re.sub(pattern, repl, string, count=0, flags=0) import re str = 'aaa@gmail.com' print(re.sub('[a-z]*@', 'ApD@', str)) ApD@gmail.com https://appdividend.com/2022/01/27/python-regex-replace/ Python regex replace: How to replace String in Python To replace a string in Python using regex(regular expression), we can use the regex sub() method. If you use the str.replace() method. appdividend.com
Enumeration headerNames = request.getHeaderNames(); while(headerNames.hasMoreElements()) { String headerName = (String)headerNames.nextElement(); out.println("" + headerName); out.println("" + request.getHeader(headerName)); } https://stackoverflow.com/questions/12364555/how-can-i-display-all-the-http-headers-when-using-the-defaulthttpclient How can I display all the HTTP Headers when using the ..
https://stackoverflow.com/questions/20541609/how-to-receive-local-git-branch-name-with-jenkins-git-plugin How to receive local Git branch name with Jenkins Git plugin? I am using Branch Specifier option of Jenkins Git plugin (v2.0) to run build on specific branch, e.g. 1.4. ${GIT_BRANCH} in this case contains origin/1.4 value. How can I receive a name of the lo... stackoverflow.com ${GIT_BRANCH#..
https://velog.io/@jinh2352/LSM-Tree-%EB%B6%88%EB%B3%80-%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0 LSM Tree: 불변 자료구조 불변 스토리지에서는 저장된 파일을 수정할 수 없다. 한번 작성된 테이블은 다시 수정될 수 없다. 내부적으로 불편 파일은 여러 버전의 파일 사본을 저장하며 최신 버전이 구 버전을 덮어쓴다. velog.io 선행 기록 로그(WAL: Write-Ahead Logging)는 장애 및 트랜잭션 복구를 위해 디스크에 저장하는 append-only 보조 자료구조. 인메모리 테이블에 쓰는 작업 디스크와 메모리 기반 테이블에서 읽는 작업 병합(merge) 작업 파일 삭제 작업. https://sukill.tistory.com/..
https://gilbertlim.github.io/mongodb/mongodb_Mongodb_and_hbase/ [MongoDB] MongoDB 개요 1. MongoDB 개요 gilbertlim.github.io https://www.mongodb.com/compare/mongodb-hbase MongoDB And HBase Compared MongoDB’s design philosophy blends key concepts from relational technologies with the benefits of emerging NoSQL databases. www.mongodb.com HBase는 특히 HDFS에 이미 공통 스토리지 계층으로 많이 투자되어 있는 조직의 경우 대용량 랜덤 읽기 및 쓰기 ..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/uG8CP/btrs7moFNWN/EDWvqU9AP8ykzHsguTUKb1/img.png)
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=windfalcon1&logNo=220402574806 CAP 이론 CAP 이론은 어떠한 분산 시스템도 일관성(Consistency), 가용성(Availability) 그리고 분할내성(생존... blog.naver.com http://eincs.com/2013/07/misleading-and-truth-of-cap-theorem/ CAP Theorem, 오해와 진실 CAP Theorem은 분산시스템에서 일관성(Consistency), 가용성(Availability), 분할 용인(Partition tolerance)이라는 세 가지 조건을 모두 만족할 수 없다는 정리로, 세 가지 중 두 ..
'어떻게 모니터링을 하는가', '어떻게 JVM 옵션을 주어야 하는가', '코드 수정 필요 판단은 어떻게 하는가' ### 물론 하나의 서버에 몇 개의 JVM이 동작할 것인가는 - 서버의 코어 개수와 애플리케이션의 특성 등에 따라 결정되겠지만 응답 반응성 관점에서 양자를 비교해볼 때, 같은 애플리케이션일 경우 2GB의 힙을 사용하는 경우가 8GB 크기의 힙을 사용하는 것보다 풀 GC에 걸리는 시간이 짧아 응답 반응성에 유리하다. - 하지만 8GB 힙을 사용하면 2GB보다 풀 GC 발생 간격이 그만큼 줄어들 것이고 내부 캐시를 사용하는 애플리케이션이라면 히트율을 높여 응답 반응성을 높일 수 있다. ### JVM 선택이란 32bit JVM을 사용할 것이냐 64bit JVM을 사용할 것이냐에 대한 결정이다. - ..
분산 코디네이션 서비스 replicated mode (앙상블) 고가용성: 복제, 과반 노드, 홀 수 노드 ### Zab 1. 대표선출 (200ms) 2. Atomic Broadcast https://jaemunbro.medium.com/zookeeper-%EC%A3%BC%ED%82%A4%ED%8D%BC%EC%9D%98-%EA%B8%B0%EB%B3%B8-%ED%8A%B9%EC%A7%95-7da2a51351c5 [Apache Zookeeper] 주키퍼의 기본 특징 Hadoop Eco System의 분산 코디네이션 서비스(Distributed Coordination Service)인 주키퍼에 대해서 알아보자. jaemunbro.medium.com
/^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\(\\)\-_=+]).{8,16}$/ https://rateye.tistory.com/468 JavaScript 자주 쓰는 정규식 모음 (아이디, 이메일, 비밀번호, 전화번호,...) 자바 스크립트에서 자주 쓰는 정규식을 모아왔습니다. 일치할 시 true를 반환 합니다 이메일 체크 정규식 function isEmail(asValue) { var regExp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\.]?[0-9.. rateye.tistory.com
https://bistros.tistory.com/entry/Kafka-idempotent-producer-%EB%A9%B1%EB%93%B1%EC%84%B1%EC%97%90-%EA%B4%80%ED%95%B4%EC%84%9C Kafka idempotent producer - 멱등성에 관해서 Kafka 는 기본적으로 1번 이상의 메시지 전송을 보장 하는 At Least Once Delivery 정책이었다. 메시지가 전송되었다는 ack를 확실히 받지 못할 경우 retry send를 하는 방법으로 최소 1회의 전송을 보장 하 bistros.tistory.com https://d2.naver.com/helloworld/0974525 https://madplay.github.io/post/java-kafka-exa..
date_part 값 Tableau의 많은 날짜 함수에서 상수 문자열 인수인 date_part가 사용됩니다. 사용할 수 있는 올바른 date_part 값은 다음과 같습니다. DATE_PART값 'year' 4자리 연도 'quarter' 1-4 'month' 1-12 또는 "1월", "2월" 등 'dayofyear' 일년 중 몇째 날. 1월 1일은 1, 2월 1일은 32 등으로 계산됩니다. 'day' 1-31 'weekday' 1-7 또는 "일요일", "월요일" 등 'week' 1-52 'hour' 0-23 'minute' 0-59 'second' 0-60 'iso-year' 4자리 ISO 8601 연도 'iso-quarter' 1-4 'iso-week' 1-52, 주의 시작은 항상 월요일 'iso-wee..
https://www.titanwolf.org/Network/q/5e2bf2fd-8971-472d-9092-235f1ce15046/y Question : Overwrite csv file on s3 fails in pyspark 952 visibility 0 arrow_circle_up 0 arrow_circle_down When I load data into pyspark dataframe from s3 bucket then make some manipulations (join, union) and then I try to overwrite the same path ('data/csv/') I read before. I'm getting this error: py4j.proto www.titanwolf..
- Total
- Today
- Yesterday
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라 레퍼럴
- 레퍼럴
- 연애학개론
- 모델 Y 레퍼럴
- 테슬라 리퍼럴 코드 생성
- follower
- COUNT
- 테슬라 레퍼럴 적용 확인
- 유투브
- wlw
- 테슬라 리퍼럴 코드 혜택
- 클루지
- 테슬라 추천
- 테슬라 레퍼럴 코드 확인
- 김달
- 인스타그램
- 할인
- Kluge
- 테슬라 크레딧 사용
- 모델y
- 책그림
- 테슬라
- 테슬라 리퍼럴 코드
- Bot
- 팔로워 수 세기
- 어떻게 능력을 보여줄 것인가?
- 개리마커스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |