Fox Moon
현재 시간 SELECT SYSDATE() FROM DUAL; SELECT NOW() FROM DUAL; 현재 시간 SELECT CURTIME() FROM DUAL; 현재 날짜 SELECT CURDATE() FROM DUAL; 날짜 더하기 SELECT DATE_ADD('20220530', INTERVAL 5 DAY) DATE FROM DUAL; 주 더하기 SELECT DATE_ADD('20220530', INTERVAL 5 WEEK) DATE FROM DUAL; 달 더하기 SELECT DATE_ADD('20220530', INTERVAL 5 MONTH) DATE FROM DUAL; 년 더하기 SELECT DATE_ADD('20220530', INTERVAL 5 YEAR) DATE FROM DUAL...
2022.05.30
C++ 차량 번호판 분석 프로그램 한글 인식은 개선 필요. // Main.cpp #include "Main.h" #include "Main_function.h" /////////////////////////////////////////////////////////////////////////////////////////////////// int main(int argc, char** argv) { string plateNum = ""; string result_plateNum, result_image; Mat image, image0, image_wrap, image1, image2, image3, image4, image5, image6, image7,...
2022.05.27
C++, OpenCV로 만든 낚시 매크로, 다양한 응용이 가능하나 즉시 사용 가능한 게임은 비공개.. #include <iostream> #include <ctime> #include <opencv2/opencv.hpp> #include <windows.h> #include <time.h> #include <string> using namespace std; using namespace cv; #ifdef _DEBUG #pragma comment(lib, "opencv_world343d.lib") #else #pragma comment(lib, "opencv_world343.lib") #endif int ob...
2022.05.26
https://gist.github.com/fronteer-kr/14d7f779d52a21ac2f16 를 참고하여 php버전을 만듬. 백업용으로 이곳에 기록해둠. PHP 소스코드 class ConvGridGps { const RE = 6371.00877; // 지구 반경(km) const GRID = 5.0; // 격자 간격(km) const SLAT1 = 30.0; // 투영 위도1(degree) const SLAT2 = 60.0; // 투영 위도2(degree) const OLON = 126.0; // 기준점 경도(degree) const OLAT = 38.0; // 기준점 위도(degree) const XO = 43; // 기준점 X좌표(GRID) const YO = 136; // 기1준점 Y좌표(GR...
2022.05.24
원격 데스크톱 기본 포트 : 3389(TCP, UDP) 변경할 포트 : 3390(TCP, UDP) 1. Windows PowerShell을 관리자 권한으로 실행 2. 현재 사용중인 Port 확인 > Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber" PortNumber : 3389 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\ WinStations\RDP-Tcp PSPar...
2022.05.19
SQLite 에 todo_database.db 데이터 베이스 생성하여 자료 등록,수정,삭제,일괄 등록/삭제 기능 구현 예제 todo.dart addTodo.dart clearList.dart main.dart lib/todo.dart class Todo { String? title; String? content; int? active; int? id; Todo({this.title, this.content, this.active, this.id}); // sqflite 패키지는 데이터를 Map 형태로 다룸 Map<String, dynamic> toMap() { return { 'id': id, 'title': title, 'content': content, 'active': active, }; }...
2022.05.18
브라우저 콘솔창에 아래 코드 실행 한 화면에 보여지는 사진을 삭제 많은 사진이 보여지면 삭제할 수 있는 사진도 많아짐 (브라우저 화면 비율 축소) // Selector for Images and buttons const ELEMENT_SELECTORS = { checkboxClass: '.ckGgle', deleteButton: 'button[aria-label="삭제"]', //confirmationButton: '#yDmH0d > button.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.nCP5yc.AjY5Oe.qfvgSe.kHssdc.HvOprf', confirmationButton: 'div.XfpsVe.J9fJmf > button.VfPpkd...
2022.05.14