// 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..
Understanding StringUtils.join performance decisions Understanding StringUtils.join performance decisions I was looking at the implementation of Apache Commons' StringUtils.join method and stumbled upon a line I assume is thought for performance but I don't understand why they did it the way it is, with stackoverflow.com
import static java.nio.charset.StandardCharsets.*; byte[] ptext = subject.getBytes(ISO_8859_1); subject = new String(subject, UTF_8); mail.setSubject(subject); https://stackoverflow.com/questions/5729806/encode-string-to-utf-8 Encode String to UTF-8 I have a String with a "ñ" character and I have some problems with it. I need to encode this String to UTF-8 encoding. I have tried it by this way, ..
--conf "spark.executor.extraJavaOptions=-Dlog4j.configuration=log4j.xml -Dfile.encoding=utf-8" https://stackoverflow.com/questions/41203431/configuring-spark-logging-with-log4j-xml Configuring Spark logging with log4j.xml I guesss its a silly question, but I couldnt find answer anywhere. Can I configure logging in spark using log4j.xml? In spark documentation its mentioned you can configure logg..
[137,80,78,71,13,10,26,10,0,...] var imgsrc = "data:image/png;base64," + btoa(String.fromCharCode.apply(null, new Uint8Array([137,80,78,71,13,10,26,10,0,...]))); document.getElementById('image').src = imgsrc; https://stackoverflow.com/questions/4564119/how-to-convert-a-byte-array-into-an-image How to convert a byte array into an image? Using Javascript, I'm making an AJAX call to a WCF service, ..
const obj = {}; const arr = []; function isEmpty(param) { return Object.keys(param).length === 0; } console.log(isEmpty(obj)); // true console.log(isEmpty(arr)); // true const obj = {}; const arr = []; function isEmptyObject(param) { return Object.keys(param).length === 0 && param.constructor === Object; } console.log(isEmptyObject(obj)); // true console.log(isEmptyObject(arr)); // false https:/..
mvn spring-boot:run -Drun.jvmArguments="-Xms4048m -Xmx8096m" https://stackoverflow.com/questions/23072187/how-can-i-configure-the-heap-size-when-starting-a-spring-boot-application-with-e How can I configure the heap size when starting a Spring Boot application with embedded Tomcat? I am trying to deploy a Spring Boot powered web app to production. The app is built with Spring Boot 1.0.1 and has ..
_.uniqBy(data, function (e) { return e.id; }); _.uniqBy(data, 'id'); https://stackoverflow.com/questions/31740155/lodash-remove-duplicates-from-array Lodash remove duplicates from array This is my data: [ { url: 'www.example.com/hello', id: "22" }, { url: 'www.example.com/hello', id: "22" }, { url: 'www.example.com/ stackoverflow.com
- Total
- Today
- Yesterday
- 인스타그램
- 팔로워 수 세기
- 테슬라 레퍼럴 적용 확인
- 테슬라 추천
- 책그림
- Kluge
- 어떻게 능력을 보여줄 것인가?
- 테슬라 리퍼럴 코드 혜택
- COUNT
- 테슬라 레퍼럴
- 테슬라 크레딧 사용
- 모델 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 |