다들 목감기 인가 가래 끓고 장난 아니네

아내도 나도 둘째도 모두 콧물에 난리 ㅠㅠ

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

첫애도 열나고  (0) 2019.10.05
렌즈 고장  (0) 2019.09.18
그래도 추석이라고 보름달인데  (2) 2019.09.13
피자헛 오늘의 피자 맛있네  (0) 2019.09.07
딸래미 안과 다녀왔는데  (2) 2019.08.29
Posted by 구차니
Programming/node.js2019. 9. 15. 18:30

함수 내부의 함수는

내부 함수가 포함된 영역의 변수까진 유효하게 건드릴수 있는 듯 하다.

[링크 : https://www.w3schools.com/js/js_function_closures.asp]

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

postgres on node.js  (0) 2019.09.24
json2csv / node.js 에서 NULL 값 출력하기  (0) 2019.09.18
node.js util.format / sprintf?  (0) 2019.09.10
node.js xpath 지원함수 목록  (0) 2019.09.10
node.js csv2json  (0) 2019.08.21
Posted by 구차니
Programming/xml2019. 9. 14. 18:12

당연(?)하지만 and로 여러개 나열해주면 되는 듯?

 

//category[@name='Sport' and ./author/text()='James Small']

[링크 : https://stackoverflow.com/questions/10247978/xpath-with-multiple-conditions]

'Programming > xml' 카테고리의 다른 글

XML DOM과 SAX  (0) 2019.12.01
xpath exist boolean()  (0) 2019.09.29
xsd minOccurs, maxOccurs  (0) 2019.09.11
xpath count()  (0) 2019.09.09
xpath xsi  (0) 2019.08.12
Posted by 구차니

막상 찍으려고 보니.. 언제 떨궜는지도 기억이 안나는데..

렌즈 포커스 링이 눌려서 잘 안돌아간다 -_ㅠ

 

아무튼 먼가 조용하면서도 시끄러웠던 하루

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

렌즈 고장  (0) 2019.09.18
가족들 모두 골골골  (0) 2019.09.16
피자헛 오늘의 피자 맛있네  (0) 2019.09.07
딸래미 안과 다녀왔는데  (2) 2019.08.29
분노조절 실패모드  (0) 2019.08.24
Posted by 구차니

생각해보니 오늘 목 내일 금

토/일..

하루 못 쉬네.. 아쉽다 ㅠㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

현타 거나하게 오네..  (4) 2019.09.26
체불 퇴직금 신고  (0) 2019.09.19
새로운 달의 시작  (0) 2019.09.01
이번달도 끝  (0) 2019.08.31
모니터 갯수와 집중도의 반비례 관계...?  (2) 2019.08.30
Posted by 구차니

null로 써있는 것을 DB에 끌어갈때는 NULL로 인식시킨다고 하는데 해보긴 해야겠네..

 

 copy r from '/home/y.csv' delimiter ',' csv NULL AS 'null';

[링크 : https://stackoverflow.com/questions/19034674/copy-null-values-present-in-csv-file-to-postgres]

Posted by 구차니

2.14.0 쓰고 있었는데

2.15.x 부터 3-way diff를 지원한다고 한다.

이제.. kdiff3 안써도 되겠다 +_+!

[링크 : https://winmerge.org/docs/releasenotes.php]

Posted by 구차니
Programming/xml2019. 9. 11. 13:55

값이 설정 안되어 있으면 기본 값은 minOccurs=1, maxOccurs=1 로 된다고 한다.

 

[링크 : http://tcpschool.com/xml/xml_xsd_occurrenceIndicator]

[링크 : https://stackoverflow.com/questions/4821477/xml-schema-minoccurs-maxoccurs-default-values]

'Programming > xml' 카테고리의 다른 글

xpath exist boolean()  (0) 2019.09.29
xpath 복수개의 attribute 동시에 만족하는 항목 찾기  (0) 2019.09.14
xpath count()  (0) 2019.09.09
xpath xsi  (0) 2019.08.12
xpath concat  (0) 2019.08.08
Posted by 구차니
Programming/node.js2019. 9. 10. 12:45

sprintf() 처럼 %d로 치환해서 출력가능한 모듈이 util.format()으로 존재한다.

 

[링크 : https://nodejs.org/api/util.html#util_util_format_format_args]

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

json2csv / node.js 에서 NULL 값 출력하기  (0) 2019.09.18
js nested function과 변수 scope  (0) 2019.09.15
node.js xpath 지원함수 목록  (0) 2019.09.10
node.js csv2json  (0) 2019.08.21
node.js regex  (0) 2019.08.12
Posted by 구차니
Programming/node.js2019. 9. 10. 10:24

count()가 잘 안되서 지원이 안되는건줄 알았는데 엉뚱한 경로를 해놓고 헤매고 있었다..

FunctionResolver.prototype.addStandardFunctions = function() {
this.functions["{}last"] = Functions.last;
this.functions["{}position"] = Functions.position;
this.functions["{}count"] = Functions.count;
this.functions["{}id"] = Functions.id;
this.functions["{}local-name"] = Functions.localName;
this.functions["{}namespace-uri"] = Functions.namespaceURI;
this.functions["{}name"] = Functions.name;
this.functions["{}string"] = Functions.string;
this.functions["{}concat"] = Functions.concat;
this.functions["{}starts-with"] = Functions.startsWith;
this.functions["{}contains"] = Functions.contains;
this.functions["{}substring-before"] = Functions.substringBefore;
this.functions["{}substring-after"] = Functions.substringAfter;
this.functions["{}substring"] = Functions.substring;
this.functions["{}string-length"] = Functions.stringLength;
this.functions["{}normalize-space"] = Functions.normalizeSpace;
this.functions["{}translate"] = Functions.translate;
this.functions["{}boolean"] = Functions.boolean_;
this.functions["{}not"] = Functions.not;
this.functions["{}true"] = Functions.true_;
this.functions["{}false"] = Functions.false_;
this.functions["{}lang"] = Functions.lang;
this.functions["{}number"] = Functions.number;
this.functions["{}sum"] = Functions.sum;
this.functions["{}floor"] = Functions.floor;
this.functions["{}ceiling"] = Functions.ceiling;
this.functions["{}round"] = Functions.round;
};

[링크 : https://github.com/goto100/xpath/blob/master/xpath.js]

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

js nested function과 변수 scope  (0) 2019.09.15
node.js util.format / sprintf?  (0) 2019.09.10
node.js csv2json  (0) 2019.08.21
node.js regex  (0) 2019.08.12
node.js xpath 모듈  (0) 2019.08.08
Posted by 구차니