List ss = new ArrayList(Arrays.asList(s.split(DELIMITER))); List ii = Arrays.asList(i.split(DELIMITER)); ss.retainAll(ii); if (ss.size() == ii.size()) { return true; } https://jishushu.tistory.com/17 [Java] ArrayList의 출력/addAll()/ removeAll()/ retainAll() ArrayList에 대해 공부하기 전에 자바의 Collection Framework에 대해 잠깐 정리. 컬렉션 프레임워크란 쉽게 말하면 데이터를 효과적으로 처리하고 저장할 수 있도록 데이터 처리 알고리즘을 클래스로 jishushu.tistory.com
private void print(List list) { System.out.println(Arrays.toString(list.toArray())); } https://stackoverflow.com/questions/10168066/how-to-print-out-all-the-elements-of-a-list-in-java How to print out all the elements of a List in Java? I am trying to print out all the elements of a List, however it is printing the pointer of the Object rather than the value. This is my printing code... for(int ..
set hive.exec.max.dynamic.partitions=10000; https://github.com/HomoEfficio/dev-tips/blob/master/Hive%20Dynamic%20Partition%20Insert.md GitHub - HomoEfficio/dev-tips: 개발하다 마주쳤던 작은 문제들과 해결 방법 정리 개발하다 마주쳤던 작은 문제들과 해결 방법 정리. Contribute to HomoEfficio/dev-tips development by creating an account on GitHub. github.com
List list = Arrays.asList("A", "E", "I", "O", "U");int size = list.size();Map map = IntStream.range(0, size) .boxed() .collect(Collectors.toMap( i -> list.get(i), i -> i));Map map = list.stream() .collect(Collectors.toMap( YourObject::getLang, // 키 생성 함수 Function.identity() // 값으로 사용할 객체 ));https://blog.advenoh.pe.kr/java/%EC%9E%90%EB%B0%948-%EC%8A%A4%ED%8A%..
INSERT OVERWRITE TABLE table_name_orc SELECT * FROM table_name https://community.cloudera.com/t5/Support-Questions/How-to-convert-hive-table-format-to-ORC/td-p/281421 How to convert hive table format to ORC I have a super large json file and I have created an external hive table to read the file which is partitioned by date and hour. However, I ran into out-of-memory error when pulling out data ..
https://asana.com/ko/resources/leadership-styles?utm_campaign=NB--APAC--EN--Catch-All--All-Device--DSA&utm_source=google&utm_medium=pd_cpc_nb&gclsrc=aw.ds&gclid=CjwKCAjwndCKBhAkEiwAgSDKQcNg1s46Sq4-B2hTUImwHXZOpqVASAxpis95aqig431d_6LlTMo5pRoCvCoQAvD_BwE 일반적인 리더십 스타일 11가지와 나에게 맞는 스타일을 찾는 방법 • Asana 일반적인 리더십 스타일에는 권위주의형, 참여형, 위임형, 비전형, 코치형, 관계 중시형, 민주형, 선도형, 지시형이 포함됩니다. asana.com
https://stackoverflow.com/questions/5844672/delete-an-element-from-a-dictionary Delete an element from a dictionary Is there a way to delete an item from a dictionary in Python? Additionally, how can I delete an item from a dictionary to return a copy (i.e., not modifying the original)? stackoverflow.com
https://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#lists Tutorial: Using Thymeleaf 1 Introducing Thymeleaf 1.1 What is Thymeleaf? Thymeleaf is a Java library. It is an XML/XHTML/HTML5 template engine able to apply a set of transformations to template files in order to display data and/or text produced by your applications. It is better s www.thymeleaf.org
l = ['' ,'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] m = {s : i for i, s in enumerate(l)} https://security-nanglam.tistory.com/427 [python] List to Dict (리스트를 딕셔너리로 변환) 총 정리!! 검색어 : List to Dict List 에서 Dict으로 변환하는 방법에는 여러가지 방법이 있습니다...! string_list = ['A','B','C'] 위와 같은 리스트가 있을때, 딕셔너리로 변환시키는 여러가지 방법들 ..! 1. Dictionary.. security-nanglam.tistory.com https:..
각 서비스의 WAS에서 생성하는 객체의 크기와 생존 주기가 모두 다르고, 장비의 종류도 다양하다. WAS의 스레드 개수와 장비당 WAS 인스턴스 개수, GC 옵션 등은 지속적인 튜닝과 모니터링을 통해서 해당 서비스에 가장 적합한 값을 찾아야 한다. stop-the-world GC 실행을 위해서 멈춤 GC 튜닝이란 stop-the-world 시간을 줄이는 것 null 할당 System.gc() 메서드 실행 - 절대 호출하면 안됨 weak genreational hypothesis unreachable 오래된 객체에서 젊은 객체로의 참조는 아주 적게 존재 Young Generation: 새롭게 생성된, Minor GC Old Generation: Young 살아남은 객체가 복사됨 Major(Full) GC ..
public class StringReverse { public static void main(String[] args) { String str = "ABCDE"; StringBuffer sb = new StringBuffer(str); String reverse = sb.reverse().toString(); System.out.println(sb); // "EDCBA" System.out.println(reverse); // "EDCBA" } } https://hianna.tistory.com/543 [Java] 문자열 거꾸로 뒤집기 문자열을 거꾸로 뒤집는 방법 2가지를 소개합니다. 반복문 사용하기 StringBuffer / reverse() 메소드 사용하기 1. 반복문 사용하기 코드 public ..
seunggabi@seunggabi ~ echo 'test' | base64 -w0 dGVzdAo= seunggabi@seunggabi ~ echo 'dGVzdAo=' | base64 --decode test seunggabi@seunggabi ~ https://linuxhint.com/bash_base64_encode_decode/ Bash base64 encode and decode I am a trainer of web programming courses. I like to write article or tutorial on various IT topics. I have a YouTube channel where many types of tutorials based on Ubu..
public static String encodeBase64(String s) { return Base64.getEncoder().encodeToString(s.getBytes()); } public static String decodeBase64(String s) { try { if (isBase64(s)) { return new String(Base64.getDecoder().decode(s)); } else { return s; } } catch (Exception e) { return s; } } public static boolean isBase64(String s) { String pattern = "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{..
'asdf'.replace(/]+>/g, ''); https://www.codegrepper.com/code-examples/javascript/how+to+replace+all+html+tags+in+javascript how to replace all html tags in javascript Code Example var htmlString= "\n Hello World\n This is the text that we should get.\n Our Code World © 2017\n "; var stripedHtml = htmlString.replace(/]+>/g, ''); var decodedStripedHtml = he.decode(stripedHtml); // Hello World // w..
async function doAjaxThings() { // await code here let result = await makeRequest("GET", url); // code below here will only execute when await makeRequest() finished loading console.log(result); } document.addEventListener("DOMContentLoaded", function () { doAjaxThings(); // create and manipulate your DOM here. doAjaxThings() will run asynchronously and not block your DOM rendering document.crea..
https://github.com/jisungbin/NewAutoReplyBot-Helper/blob/master/API/API.md GitHub - jisungbin/NewAutoReplyBot-Helper: 새로운 자동응답 봇의 도움말 페이지 입니다. 새로운 자동응답 봇의 도움말 페이지 입니다. Contribute to jisungbin/NewAutoReplyBot-Helper development by creating an account on GitHub. github.com
Map myMap = new HashMap() {{ put("a", "b"); put("c", "d"); }}; https://stackoverflow.com/questions/6802483/how-to-directly-initialize-a-hashmap-in-a-literal-way How to directly initialize a HashMap (in a literal way)? Is there some way of initializing a Java HashMap like this?: Map test = new HashMap{"test":"test","test":"test"}; What would be the correct syntax? I stackoverflow.com
String[] strings = list.toArray(String[]::new); https://stackoverflow.com/questions/4042434/converting-arrayliststring-to-string-in-java Converting 'ArrayList to 'String[]' in Java How might I convert an ArrayList object to a String[] array in Java? stackoverflow.com
https://stackoverflow.com/questions/11715646/scroll-automatically-to-the-bottom-of-the-page Scroll Automatically to the Bottom of the Page I have a list of questions. When I click on the first question, it should automatically take me to a specific element at the bottom of the page. How can I do this with jQuery? stackoverflow.com
ArrayList list = new ArrayList(originalList.subList(0, 10)); https://stackoverflow.com/questions/26568205/resolve-a-java-util-arraylistsublist-notserializable-exception resolve a java.util.ArrayList$SubList notSerializable Exception I am using SubList function on an object of type List. The problem is that I am using RMI and because the java.util.ArrayList$SubList is implemented by a non-seriali..
descendingIterator descendingSet first() last() lower() higher() floor() ceiling() https://blog.naver.com/kimstcool01/220896128159 JAVA) TreeSet의 기본 사용법 / 객체 오름차순, 내림차순 정렬 / 범위 검색 TreeSet의 기본 메서드123456789101112131415161718192021222324252627282930313233343536 TreeSet
https://stackoverflow.com/questions/20359810/how-to-trigger-jenkins-builds-remotely-and-to-pass-parameters How to trigger Jenkins builds remotely and to pass parameters I am invoking a Jenkins job remotely using: wget http://:8080/job/Test-Jenkins/build?token=DOIT Here Test-Jenkins job is invoked and DOIT is the security token that I have used. ... stackoverflow.com
아프리카에서 가젤은 아침에 일어날 때마다 가장 빠른 사자보다 더 빨리 달리지 않으면 죽는다는 사실을 상기한다. 사자도 아침에 깨어나면 가장 느리게 달리는 가젤보다 더 빨리 달리지 않으면 굶어 죽는다는 생각을 한다. 당신이 사자 쪽이든 가젤 편이든 이는 중요하지 않다. 어쨌든 해가 뜨면 달리기 시작해야 한다. - 아프리카 속담 - 백만장자 트레이너 주식, 채권, 통화, 원유 매매 하지만 군중을 따르지 않고 틀에서 벗어나면 시장을 이겨 큰돈을 벌 수 있다. 규칙을 잘 지키고 옳은 자세 인간의 본성과 정면 충돌 추세추종 기법 순간의 통찰이 여러 달의 이성적 분석만큼이나 가치 있을 수 있다. 확률과 그 기댓값에 대한 그의 이해는 남달랐다. 자기만의 방식으로 매매했던 것이다. 제대로만 배우면 매매기법을 익힐 수 ..
https://www.tutorialspoint.com/set-vs-hashset-vs-treeset-in-java Set vs HashSet vs TreeSet in Java Set vs HashSet vs TreeSet in Java A Set is a generic set of values with no duplicate elements. A TreeSet is a set where the elements are sorted. A HashSet is a set where the elements are not sorted or ordered. It is faster than a TreeSet. The HashSet is an www.tutorialspoint.com
- Total
- Today
- Yesterday
- COUNT
- Kluge
- 할인
- 김달
- 클루지
- 모델 Y 레퍼럴
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라 레퍼럴
- 팔로워 수 세기
- wlw
- 연애학개론
- 레퍼럴
- 테슬라 레퍼럴 적용 확인
- 책그림
- 테슬라 크레딧 사용
- 모델y
- 테슬라 리퍼럴 코드 혜택
- 개리마커스
- follower
- 테슬라
- 테슬라 추천
- 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 | 29 | 30 | 31 |