
Flutter Layout Demo 코드 (리팩토링 후)main.dartviews/layout_demo_page.dartcomponents/icon_group.dart // main.dartimport 'package:flutter/material.dart';import 'views/layout_demo_page.dart';void main() { runApp(const MyApp());}class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return Mater..
import 'package:flutter/material.dart';void main() { runApp(const MyApp());}class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.orange), useMateri..
티스토리 스토리 서비스 목록 프로그래머가 되고픈 구구콘검색하기 DB/MySQL [MySQL] Delimiter 사용법 프로호구래머 2020. 9. 16. 21:56 우선, 영어로 delimiter는 구분자를 의미한다. 그러므로 MySQL에서는 구분자를 변경하기 위해 delimiter 명령어를 사용한다. mysql에서 구분자를 디폴트로 세미콜론(;)을 문장 구분자로 이용한다. select * from hogu; Each stored program(Trigger나 Procedure을 의미하는 듯 하다.)은 body에 SQL문을 포함할 수 있다. 포함된 SQL문은 세미콜론(;)으로 나뉘어진 여러 문장들로 구성된 복합문 일수도 있다. 만약 delimiter를 재정의하지 않은 예시이다. CREATE PROCEDU..
콘솔로 마리아 db 접속해서 프로시저를 실행하려고 했다. mysql -uzzz -p 이런식으로 마리아 db 로그인 해서 MariaDB [zzz]> 이런상태에서 프로시저를 실행하려고 했는데 에러가 났다. CREATE OR REPLACE PROCEDURE `aa`( OUT `RESULT` ) COMMENT 'aa' BEGIN DECLARE _row_count INT DEFAULT 0; ... END 이런식의 프로시져.. 하지만 실행했더니 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use ne..
package robot_bbs_insert;import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.InputStreamReader;public class ReadFile { public static String DIR_NAME = "D:\\bet365\\"; public static String FILE_NAME = "baseball.txt"; public void readFiles(String dir) throws Exception { File dirFile=new File(dir); String [] filenames = dirFile.list(); for(String fi..
package robot_bbs_insert;import java.awt.Robot;import java.awt.Toolkit;import java.awt.datatransfer.Clipboard;import java.awt.datatransfer.StringSelection;import java.awt.event.KeyEvent;import java.io.File;/** * 클립보드에 있는것을 메모장에 붙여넣고 저장 */public class Notepad { public static String DIR_NAME = "D:\\bet365\\"; public static String FILE_NAME = "baseball.txt"; public void fileDelete(String dest) ..
package robot_bbs_insert;import java.awt.Robot;import java.awt.Toolkit;import java.awt.datatransfer.Clipboard;import java.awt.datatransfer.StringSelection;import java.awt.event.InputEvent;import java.awt.event.KeyEvent;public class DevToolsHtml { String URL = "https://aaa.com/"; public void devToolsHtml() throws Exception { Runtime rt=Runtime.getRuntime(); //IE 실행 String ie="C:\\Program F..
package robot_bbs_insert;import java.awt.MouseInfo;import java.awt.PointerInfo;public class MouseLocation { public static void main(String[] args) throws InterruptedException { PointerInfo pt=MouseInfo.getPointerInfo(); while(true) { pt=MouseInfo.getPointerInfo(); System.out.println(pt.getLocation()); Thread.sleep(1000); } }}
프로그램 언어 같은것들은 미국에서 많이 만들어서리.. 걔네들은 영어를 쓰니 언어깨짐에 대해 신경안써도 되지만.. 한글을 쓰는 우리나라는 언어가 깨지면.. 뭐 할 수 있는게 없으니.. 보통 중요한것이 아니다. 보통 이클립스 쓸때 언어가 Alt+Enter 하면 Properties 가 나와 속성같은것을 볼 수 있는데 Text file encoding 보면 Defaut (inherited from container: MS949) 로 되어 있다. 그래서 그걸 구지 한글이 깨진다고 UTF-8 같은것으로 바꾸면 소스에 있는 주석등에 쓴 한글이 다 깨진다. 보통 피곤한것이 아니다. 그래서 에디터 속성을 바꾸지 말고 파일 읽고 쓸때 속성을 넣어서 하는것이 현명할 것이다. 그래서 간단하게 BufferedReader in ..
Runtime rt=Runtime.getRuntime(); String ie="C:\\Program Files (x86)\\Mincrosoft\\Edge\\Application\\msedge.exe"; Process pro=null; try{ pro=rt.exec(ie); pro.waitFor(); catch(Exception e){ e.printStackTrace(); } 다음글에서 자바 로봇 api를 사용해서 화면 최대화 하는 방법을 살펴본다.
- Total
- Today
- Yesterday
- webix
- xe애드온
- XE3
- 스크래핑
- ocajp
- 파이썬
- 프로씨
- 플러터
- 자바 smtp
- XE
- 파싱
- xe addon
- 오라클
- proc
- EC
- MySQL
- 이클립스
- 라이믹스
- php
- KG
- esql
- 포인터
- Python
- 문자열
- ocjap
- C언어
- C
- JDBC
- 자바
- 인포믹스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |