This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virsh list --all | |
모든 가상 머신 목록 출력 | |
virsh start windows10 | |
windows10 이름의 가상 머신을 시작 (부팅) | |
virsh shutdown windows10 | |
종료 | |
virsh reboot windows10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- dsm 좌표와 degree 좌표간의 변환 (같은 타원체인경우) | |
-- 1270630 -> 127.108333333333333333 | |
-- 373445 -> 37.579166666666666666666666 | |
CREATE OR REPLACE FUNCTION GET_DSM_TO_DEGREE(P_DSM IN VARCHAR2) | |
RETURN VARCHAR2 | |
IS | |
V_DEGREE VARCHAR2(40); | |
BEGIN | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 두 좌표사의 거리를 반환하는 tibero(oracle) 함수 | |
# 삼각함수를 이용하여 반환 | |
# 반환단위는 km(킬로미터) | |
CREATE OR REPLACE FUNCTION RADIANS(V_DEGREES IN NUMBER) | |
RETURN NUMBER DETERMINISTIC | |
IS | |
BEGIN | |
/* | |
-- radians = degrees / (180 / pi) |