import operator dict = {'A':1, 'D':4, 'C':3, 'B':2} # key sort_dict = sorted(dict.items()) print(sort_dict) # value sort_dict = sorted(dict.items(), key=lambda x:x[1]) print(sort_dict) https://sinsomi.tistory.com/entry/%EB%AC%B8%EB%B2%95-Python-%EB%94%95%EC%85%94%EB%84%88%EB%A6%AC-%EC%A0%95%EB%A0%AC%ED%95%98%EA%B8%B0 [문법 / Python] 딕셔너리 정렬하기 딕셔너리를 정렬하는 방법들을 알아보겠습니다. 딕셔너리는 리스트처럼 sort()함수를 사용할 수 없기..
### chunk rows 1. read 2. process 3. write ### difference size - chunk - page https://jojoldu.tistory.com/331 6. Spring Batch 가이드 - Chunk 지향 처리 Spring Batch의 큰 장점 중 하나로 Chunk 지향 처리를 얘기합니다. 이번 시간에는 Chunk 지향 처리가 무엇인지 한번 살펴보겠습니다. 6-1. Chunk? Spring Batch에서의 Chunk란 데이터 덩어리로 작업 할 때 각 커� jojoldu.tistory.com
function getParameterByName(name, url) { if (!url) url = window.location.href; name = name.replace(/[\[\]]/g, '\\$&'); var regex = new RegExp('[?&]' + name + '(=([^]*)|&|#|$)'), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, ' ')); } // query string: ?foo=lorem&bar=&baz var foo = getParameterByName('foo'); /..
https://web.dev/image-support-for-async-clipboard/ Image support for the async clipboard API Chrome 76 adds expands the functionality of the Async Clipboard API to add support for png images. Copying and pasting images to the clipboard has never been easier. web.dev
3 in [1, 2, 3] # => True https://stackoverflow.com/questions/9542738/python-find-in-list Python: Find in list I have come across this: item = someSortOfSelection() if item in myList: doMySpecialFunction(item) but sometimes it does not work with all my items, as if they weren't recognized in the list ... stackoverflow.com
new Blob([new Uint8Array([1, 2, 3, 4]).buffer]); https://stackoverflow.com/questions/44147912/arraybuffer-to-blob-conversion/44148694 ArrayBuffer to blob conversion I have a project where I need to display djvu schemas in browser. I found this old library on Github which, as far as I understood, converts djvu files to bmp and then puts them into canvas elemen... stackoverflow.com https://heropy...
https://gist.github.com/seunggabi/49fa44e51d2fe1d0b6e9865898cb9302 boot.sh boot.sh. GitHub Gist: instantly share code, notes, and snippets. gist.github.com https://wooriworld2006.tistory.com/426 Springboot jar execute script 스프링으로 개발한 후 메이븐 컴파일 하여 war 파일을 톰켓에 넣어 실행 할 경우에는 톰캣 서비스를 통해서 시작/중지 가능하다. 물론 톰캣이 서비스에 등록되어있다고 가정 했을경우임. 서버에� wooriworld2006.tistory.com http://blog.naver.com/PostView.nhn?blog..
https://gist.github.com/seunggabi/6b8b985b5a076e1b90a1eaf1ac8059c8 deploy_hdfs.sh deploy_hdfs.sh. GitHub Gist: instantly share code, notes, and snippets. gist.github.com https://stackoverflow.com/questions/16437548/how-to-overwrite-the-existing-files-using-hadoop-fs-copytolocal-command How to overwrite the existing files using hadoop fs -copyToLocal command Is there any way we can overwrite exis..
https://gist.github.com/seunggabi/f5a9f05f602b1b532b880bbc4da7c4c0 mail.sh mail.sh. GitHub Gist: instantly share code, notes, and snippets. gist.github.com https://www.thegeekdiary.com/linux-unix-how-to-send-mails-with-attachments-using-mailx-command/ Linux / UNIX : How to send mails with attachments using mailx command – The Geek Diary www.thegeekdiary.com https://tecadmin.net/ways-to-send-emai..
// array buffer to JSON const dataString JSON.stringify(Array.from(new Uint8Array(arrayBuffer))); // send around // JSON to ArrayBuffer new Uint8Array(JSON.parse(dataString)).buffer https://gist.github.com/nuclearglow/ab251744db0ebddd504eea28153eb279 ArrayBuffer JSON ArrayBuffer ArrayBuffer JSON ArrayBuffer. GitHub Gist: instantly share code, notes, and snippets. gist.github.com
df -k : 킬로바이트 단위로 현재 남은 용량을 확인 df -m : 메가바이트 단위로 남은 용량을 왁인 df -h : 보기 좋게 보여줌 df . : 현재 디렉토리가 포함된 파티션의 남은 용량을 확인 du -a : 현재 디렉토리의 사용량을 파일단위 출력 du -s : 총 사용량을 확인 du -h : 보기 좋게 바꿔줌 du -sh * : 한단계 서브디렉토리 기준으로 보여준다. https://ra2kstar.tistory.com/135 UNIX/LINUX : 용량 확인 명령어 (df/du) unix/linux Unix/Linux 디스크 용량 확인 (df/du) 디스크 용량을 확인하는 명령어들이다. df : 디스크의 남은 용량을 확인 df -k : 킬로바이트 단위로 현재 남은 용량을 확인 df -m : 메가바..
cat * > merged https://unix.stackexchange.com/questions/3770/how-to-merge-all-text-files-in-a-directory-into-one How to merge all (text) files in a directory into one? I've got 14 files all being parts of one text. I'd like to merge them into one. How to do that? unix.stackexchange.com
if [ "$#" -eq 2 ] then echo "Its works!" else echo "need to two params" exit 1 fi https://stackoverflow.com/questions/4341630/checking-for-the-correct-number-of-arguments Checking for the correct number of arguments How do i check for the correct number of arguments (one argument). If somebody tries to invoke the script without passing in the correct number of arguments, and checking to make sur..
title ```java String test = "test"; ``` https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab How to add a collapsible section in markdown. How to add a collapsible section in markdown. GitHub Gist: instantly share code, notes, and snippets. gist.github.com https://gist.github.com/ericclemmons/b146fe5da72ca1f706b2ef72a20ac39d HTML5 in GitHub HTML5 in GitHub. GitHub Gist: insta..
Environment VariableDescriptionEnvironment VariableDescription BUILD_NUMBER The current build number, such as "153" BUILD_ID The current build id, such as "2005-08-22_23-59-59" (YYYY-MM-DD_hh-mm-ss, defunct since version 1.597) BUILD_URL The URL where the results of this build can be found (e.g. http://buildserver/jenkins/job/MyJobName/666/) NODE_NAME The name of the node the current build is ru..
- Total
- Today
- Yesterday
- 인스타그램
- 테슬라 레퍼럴 코드 확인
- 개리마커스
- 테슬라 리퍼럴 코드 생성
- 모델 Y 레퍼럴
- 테슬라 리퍼럴 코드 혜택
- 모델y
- 테슬라 리퍼럴 코드
- 테슬라
- 레퍼럴
- Bot
- Kluge
- follower
- 책그림
- 유투브
- COUNT
- 메디파크 내과 전문의 의학박사 김영수
- 연애학개론
- 테슬라 레퍼럴 적용 확인
- 김달
- 테슬라 크레딧 사용
- 할인
- 테슬라 레퍼럴
- wlw
- 팔로워 수 세기
- 테슬라 추천
- 어떻게 능력을 보여줄 것인가?
- 클루지
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |