Microsoft/vscode2019. 8. 8. 10:16

visual studio 하듯 하면 되네?

f9로 break point 설정하고

f5로 디버깅 모드 시작

 

launch.json 에서 아래와 같이 args를 추가하고 array 해주면 인자가 입력된다.

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceFolder}\\test.js",
            "args": ["input.txt","output.txt"]
        }
    ]
}

 

[링크 : https://nodejs.org/ko/docs/guides/debugging-getting-started/]

[링크 : https://nerv2000.tistory.com/105]

[링크 : https://code.visualstudio.com/docs/nodejs/nodejs-debugging]

[링크 : https://stackoverflow.com/questions/29968919/how-to-start-nodejs-with-custom-params-from-vscode]

Posted by 구차니
Programming/android2019. 8. 8. 09:35

failed to find target with hash string 'android-27'

요런 에러가 발생하면 구버전 SDK를 쓰고 있는데 현재 시스템에 해당 버전의 SDK가 없어서 발생하는 에러라고 한다.

[링크 : https://elecs.tistory.com/157]

 

File-Settings - Appearance - System Setting - Android SDK 에서 에러에 맞는 SDK를 설치후 리빌드

[링크 : https://hunit.tistory.com/365]

 

error: resource android:attr/dialogCornerRadius not found.

[링크 : https://blog.soobinpark.com/149]

 

이건 도움을 별로 못 받았고

버전을 보니 0.7.6이 현재 깨져서 받지 못하게 된 상태라 0.7.5로 일단 변경해서 빌드는 완료

[링크 : https://jitpack.io/#mancj/MaterialSearchBar]

Posted by 구차니
Programming/node.js2019. 8. 7. 23:15

<element>text</element>

에서 text만 꺼내주는 함수(?)

'Programming > node.js' 카테고리의 다른 글

node.js regex  (0) 2019.08.12
node.js xpath 모듈  (0) 2019.08.08
node.js readline과 r/w stream  (0) 2019.07.31
node.js xpath select() select1()  (0) 2019.07.25
node.js xpath apidoc  (0) 2019.07.25
Posted by 구차니
Programming/web 관련2019. 8. 7. 10:43

맨날 json beautifier 찾아서 온라인으로 했는데

오프라인으로 바로 처리되니 편하네

 

[링크 : https://chrome.google.com/webstore/search/json%20view?hl=ko]

'Programming > web 관련' 카테고리의 다른 글

web gl on chrome  (0) 2021.12.14
markdown 문법 - 체크박스  (0) 2020.10.15
resizable table cell  (0) 2019.06.17
web framework  (0) 2019.06.05
ECDHE?  (0) 2019.04.26
Posted by 구차니

import schema에 다가 csv 파일등을 넣어주는 녀석

go로 짰고 받아보니.. elf 실행파일인데...

 

테스트로 해보니까 걍 테이블을 text로 생성해 버린다.

그래도 최대 자릿수 찾을줄 알았는데 그게 아니라 아쉽네

[링크 : https://github.com/lukasmartinelli/pgfutter]

 

+

csv가 아닌 tsv의 경우 아래처럼 사용자 delimiter에 탭을 지정해주면 된다.

pgfutter csv -d $'\t' traffic_violations.csv

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

postgresql - 테이블 형상 보기  (0) 2019.08.08
psql 테이블 목록보기  (0) 2019.08.08
postgres \COPY  (0) 2019.08.06
union sql  (0) 2019.06.28
postgresql csv update  (0) 2019.06.26
Posted by 구차니

아..

예전에 된거 같아서 때려박아 보는데 relation이 없다고 나와서 급 멘붕..

postgres=# \COPY PERSON FROM 'person.csv' DELIMITER E'\t' CSV HEADER QUOTE E'\b' ;
오류:  "person" 이름의 릴레이션(relation)이 없습니다

 

원하던 글은 아니지만 다른글에서 원인 발견

copy는 생성된 테이블에 데이터를 넣어주는 매크로/함수인거지 테이블을 생성해주지 않음

[링크 : https://stackoverflow.com/questions/21018256/]

 

+

2019.09.02

\copy와 copy는 다른 명령이구나..

힌트:  COPY FROM 명령은 PostgreSQL 서버 프로세스가 한 파일을 읽어 처리합니다. 클라이언트 쪽에 있는 파일을 읽어 처리 하려면, psql의 \copy 내장 명령어를 사용하세요.

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

psql 테이블 목록보기  (0) 2019.08.08
pgfutter  (0) 2019.08.06
union sql  (0) 2019.06.28
postgresql csv update  (0) 2019.06.26
postgresql csv import  (0) 2019.06.25
Posted by 구차니

드럽게 비싸네 -_-

하나는 아래가 부러졌고(실수로 안꼽고 돌리는 바람에 부딛혀서)

다른 하나도 오래되서 검어져서 겸사겸사 교체하려고 2개 구매

 

그나저나 대우쪽이 위니아쪽에 AS가 넘어갔는지 다른 사이트로 돌린다.

[링크 : http://www.winia-eshop.com/product/detail.do?prodSeq=1092]

Posted by 구차니
Linux2019. 8. 5. 18:20

smart tool에서 보다 보니 

current temperature와

drive trip temperature 두개가 나오는데

이것이 무엇이다 라고 명확하게 정의된건 못 찾았지만..

 

구글 북스를 통해서 보면..

아마도 하드웨어 적으로 정해진 최대온도인 것으로 보인다.

 

[링크 : https://serverfault.com/questions/614717/]

[링크 : https://www.backblaze.com/blog/hard-drive-temperature-does-it-matter/ ]

[링크 : https://books.google.co.kr/books?id=aBPTCQAAQBAJ&pg=PA687&lpg=PA687&dq=Drive+Trip+Temperature&source=bl&ots=WLBN-kCXKh&sig=ACfU3U1p0EMPdPxUppgkAnIzv1piEY4pUg&hl=ko&sa=X&ved=2ahUKEwjNnJfLwevjAhWMIqYKHZ0DBBw4ChDoATAEegQICRAB#v=onepage&q=Drive%20Trip%20Temperature&f=false]


모르겠다 먼지..

'Linux' 카테고리의 다른 글

jq - json in linux command line  (0) 2019.08.16
awk NR, NF  (0) 2019.08.12
uniq  (0) 2019.07.30
xz.. 느려!!!  (0) 2019.07.26
musl / uclibc  (0) 2019.07.15
Posted by 구차니

포켓몬 고를 시작했는데 거기서 나온 딱 맞는 몬스터 이름 ㅋㅋ

딸래미 별명으로 아주 딱인 듯

 

[링크 : https://pokemon.gameinfo.io/ko/pokemon/453-croagunk]

Posted by 구차니

우리동네 롯데마트 하루 30건 배송으로 제한한다고..

 

우리집 같이 차 없는 사람은 오지 말란건가?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

세탁망 구매  (4) 2019.08.06
삐딱구리 딸래미들  (2) 2019.08.04
딸래미와 포켓몬 고 시작  (0) 2019.07.21
잠에서 헤어나질 못함..  (0) 2019.07.20
체력 완전 오링  (0) 2019.06.30
Posted by 구차니