-- '(' 앞에 공백 없어야 한다 (DBeaver 에서)
-- ? 은 output
 CALL PROC_MYPROCESS(
             'valueA' --commentA
            ,'valueB' --commentB
            ,? 
        );


CORBA spec

카테고리 없음 2019. 11. 28. 16:51

https://docs.webix.com/tutorials__quick_start.html

<!DOCTYPE HTML>
<html>
    <head>
    <link rel="stylesheet" href="http://cdn.webix.com/edge/webix.css" type="text/css"> 
    <script src="http://cdn.webix.com/edge/webix.js" type="text/javascript"></script>  
    </head>
    <body>
        <script type="text/javascript" charset="utf-8">

		/* place for UI configuration */
		webix.ui({
		  rows:[
			  { view:"template", 
				type:"header", template:"My App!" },
			  { view:"datatable", 
				autoConfig:true, 
				data:{
				  title:"My Fair Lady", year:1964, votes:533848, rating:8.9, rank:5
				}
			  }
		  ]
		});
        </script>
    </body>
</html>

DBeaver tips

카테고리 없음 2019. 11. 22. 13:56

ctrl + ] : 새 sql tab
ctrl + e : tab 간 이동

alt + x : 현재 tab 의 모든 쿼리 실행




(https://stackoverflow.com/questions/2218999/remove-duplicates-from-an-array-of-objects-in-javascript)

var arr=[
{"JANQTY":"49","STD_ITM_NM":"연결송수구명판" ,"EBGTAMT":"1" },
{"JANQTY":"38","STD_ITM_NM":"하론소화기"   , "EBGTAMT":"0"},
{"JANQTY":"49","STD_ITM_NM":"연결송수구명판" ,"EBGTAMT":"0" },
{"JANQTY":"15","STD_ITM_NM":"압력스위치"   ,"EBGTAMT":"0" },
{"JANQTY":"49","STD_ITM_NM":"연결송수구명판" ,"EBGTAMT":"1" }
];


console.log('BEFORE @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ :', arr);

console.log('BEFORE @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ :', JSON.stringify(arr));


arr = [...new Map(arr.map(obj => [JSON.stringify(obj), obj])).values()];


console.log('AFTER  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ :', arr);

console.log('AFTER  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ :', JSON.stringify(arr));

/*

Details:-

  1. Doing .map() on the data list and converting each individual object into a [key, value] pair array(length =2), the first element(key) would be the stringified version of the object and second(value) would be an object itself.
  2. Adding above created array list to new Map() would have the key as stringified object and any same key addition would result in overriding the already existing key.
  3. Using .values() would give MapIterator with all values in a Map (obj in our case)
  4. Finally, spread ... operator to give new Array with values from the above step.

*/


https://stackoverflow.com/questions/1344908/how-do-i-stage-all-files-at-once-in-git-gui

  1. Click 'Tools'>Add...
  2. Name it whatever you want (I chose 'add all')
  3. In the 'Command' field, type git add *
  4. Optionally check the boxes to remove a dialog window, output window, and global configuration.
  5. Click the Add button in the bottom right.

firefox hotkey

firefox 2019. 11. 15. 10:00