import inspect def method_name(): return inspect.stack()[1][3] def method_name_caller(): return inspect.stack()[2][3] def asdf(): print(method_name_caller()) print(method_name()) def asdf2(): print(method_name_caller()) print(method_name()) asdf() https://stackoverflow.com/questions/5067604/determine-function-name-from-within-that-function-without-using-traceback Determine function name from wit..
https://stackoverflow.com/questions/1992314/what-is-the-difference-between-single-and-double-quotes-in-sql What is the difference between single and double quotes in SQL? What is the difference between single quotes and double quotes in SQL? stackoverflow.com
$ git ls-remote --heads git@github.com:user/repo.git branch-name http://daplus.net/git-%EC%A7%80%EC%A0%95%EB%90%9C-%EC%9B%90%EA%B2%A9-%EC%A0%80%EC%9E%A5%EC%86%8C%EC%97%90-%EC%9B%90%EA%B2%A9-%EB%B6%84%EA%B8%B0%EA%B0%80-%EC%9E%88%EB%8A%94%EC%A7%80-%ED%99%95%EC%9D%B8%ED%95%98/ [git] 지정된 원격 저장소에 원격 분기가 있는지 확인하는 방법은 무엇입니까? - 리뷰나라 주어진 원격 저장소에있는 경우 특정 분기에 대해 하위 트리 병합을 수행해야합니다. 문제는 원격 저장소가 로컬로 체크 아웃되지 않..
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에 이미 공통 스토리지 계층으로 많이 투자되어 있는 조직의 경우 대용량 랜덤 읽기 및 쓰기 ..

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..
public static void delete(String name) { AdminClient client = AdminClient.create(properties()); DeleteTopicsResult deleteTopicsResult = client.deleteTopics(Collections.singletonList(name)); while (!deleteTopicsResult.all().isDone()) { } } https://stackoverflow.com/questions/54140543/delete-topic-not-working-for-kafka-java-client-2-1-0/70729759#70729759 delete topic not working for kafka java cli..
https://stackoverflow.com/questions/90002/what-is-a-reasonable-code-coverage-for-unit-tests-and-why What is a reasonable code coverage % for unit tests (and why)? If you were to mandate a minimum percentage code-coverage for unit tests, perhaps even as a requirement for committing to a repository, what would it be? Please explain how you arrived at your ans... stackoverflow.com https://jamie95.t..
session.timeout.ms heartbeat.interval.ms max.poll.interval.ms max.poll.records enable.auto.commit auto.commit.interval.ms auto.offset.reset https://dev-jj.tistory.com/entry/Kafka-%EA%B0%99%EC%9D%80%EB%A9%94%EC%8B%9C%EC%A7%80%EB%A5%BC-%EB%B0%98%EB%B3%B5%EC%A0%81%EC%9C%BC%EB%A1%9C-%EC%86%8C%EB%B9%84%ED%96%88%EB%8D%98-%EB%A6%AC%EB%B0%B8%EB%9F%B0%EC%8B%B1-%EC%9D%B4%EC%8A%88-%ED%95%B4%EA%B2%B0-MAX-PO..
@Profile("prd") // 운영시에만 사용하겠다. @Profile("!prd") // 운영이 아닌 모든곳에서 사용하겠다. @Profile({"local", "dev"}) // local과 dev phase에 사용하겠다. @Value("${spring.profiles.active}") private String activeProfile; @Value("${spring.profiles.active:}") private String activeProfile; String profile = System.getProperty("spring.profiles.active; https://oingdaddy.tistory.com/393 Springboot Profile 설정방법 및 가져오기 프로젝트를 진행 시 p..
public static void create(String name) { AdminClient client = AdminClient.create(properties()); NewTopic topic = new NewTopic( name, (int)conf().get("partition"), Short.parseShort(String.valueOf(conf().get("replication.factor")))); client.createTopics(Collections.singleton(topic)); client.close(); } https://stackoverflow.com/questions/64077406/why-is-adminclient-not-failing-when-creating-a-topic..
https://stackoverflow.com/questions/20414804/java-backslash-encode-special-characters-like-quote-tab-newline-backslash-to Java backslash encode special characters like quote, tab, newline, backslash to make parseable I'm writing Java that gets strings like "C:\Temp\file.txt" and generates C source code containing those strings, the code will be compiled later. So I need to render the strings in ..
### char - 고정길이 - 고정길이 필드 사용 ### varchar, varchar2 - 가변길이 - 길이가 몇인지 계산 (추가 연산 비용) https://kasckasc.tistory.com/entry/Oracle-CHAR-VARCHAR-VARCHAR2-%EC%B0%A8%EC%9D%B4 [Oracle] CHAR, VARCHAR, VARCHAR2 차이 데이터베이스 데이터 유형 및 CHAR와 VARCHAR 비교 데이터 유형은 데이터베이스의 테이블에 특정 자료를 입력할 때, 그 자료를 받아들일 공간을 자료의 유형별로 나누는 기준이다. 따라서 선언한 kasckasc.tistory.com https://mozi.tistory.com/229 [DBA] 데이터타입 CHAR 와 VARCHAR 중 어느것을 써야할..
@Profile(value = {"swagger"}) @Configuration @EnableSwagger2 public class SwaggerConfiguration { ... } import org.apache.commons.lang3.StringUtils; import org.springframework.context.annotation.Profile; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMap..
brew install mysql mysql.server start http://meonggae.blogspot.com/2017/03/db-mac-mysql-1-error-2002-hy000-cant.html [db] mac에서 mysql환경설정 셋팅하기 1편 - 설치 및 접속, ERROR 2002 (HY000) : Can't connect to local MySQL server db, mysql, error2002 meonggae.blogspot.com
DatabaseMetaData dbm = con.getMetaData(); // check if "employee" table is there ResultSet tables = dbm.getTables(null, null, "employee", null); if (tables.next()) { // Table exists } else { // Table does not exist } https://stackoverflow.com/questions/2942788/check-if-table-exists Check if table exists I have a desktop application with a database embedded in it. When I execute my program I need ..
ResultSet rs = stmt.executeQuery("SELECT a, b, c FROM TABLE2"); ResultSetMetaData rsmd = rs.getMetaData(); String name = rsmd.getColumnName(1); https://stackoverflow.com/questions/696782/retrieve-column-names-from-java-sql-resultset Retrieve column names from java.sql.ResultSet With java.sql.ResultSet is there a way to get a column's name as a String by using the column's index? I had a look thr..
https://stackoverflow.com/questions/26544091/checking-if-type-list-in-python Checking if type == list in python I may be having a brain fart here, but I really can't figure out what's wrong with my code: for key in tmpDict: print type(tmpDict[key]) time.sleep(1) if(type(tmpDict[key])==list): ... stackoverflow.com https://stackoverflow.com/questions/25231989/how-to-check-if-a-variable-is-a-dictio..
https://www.w3schools.com/sql/sql_datatypes.asp SQL Data Types for MySQL, SQL Server, and MS Access W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com
- Total
- Today
- Yesterday
- 할인
- 테슬라 리퍼럴 코드 혜택
- 개리마커스
- 모델 Y 레퍼럴
- 메디파크 내과 전문의 의학박사 김영수
- follower
- 테슬라
- wlw
- 책그림
- 김달
- 모델y
- 어떻게 능력을 보여줄 것인가?
- Kluge
- 레퍼럴
- 테슬라 크레딧 사용
- Bot
- 인스타그램
- 테슬라 리퍼럴 코드
- 테슬라 레퍼럴
- 연애학개론
- 테슬라 리퍼럴 코드 생성
- COUNT
- 테슬라 레퍼럴 코드 확인
- 테슬라 레퍼럴 적용 확인
- 테슬라 추천
- 팔로워 수 세기
- 클루지
- 유투브
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |