본문 바로가기

Programing (프로그래밍)

NotePad++ 노트패드++ 설치 및 셋팅 하기 & 단축키 & PHP NotePad++ 노트패드++ 설치 및 셋팅 하기 & 단축키 & PHP 1. 백업설정 도구 - 환경설정 에서 다중백업으로 설정하고, 백업 위치는 기본 폴더위치를 복사해서 붙여넣기 한다. 필요시 해당 폴더에 가서 백업 자료를 가져오면 된다. %AppData%\Notepad++\backup 2. 폰트 및 스타일 설정 기본폴더 : %AppData%\Notepad++ 기본폴더에 stylers.xml 파일을 덮어 쓰기 한다. 폰트는 D2코딩 폰트를 사용했다. stylers.xml 의 설정 내용은 아래와 같다. 3. 다크스타일의 테마 ( VS2015-Dark.xml ) 다크스타일 테마도 좋은듯하여 하나 챙겨두었다. VSCODE 스타일을 따라한듯하다. 출처 : https://github.com/Ludomancer/V.. 더보기
HTML - Table 기본구조 ( 테이블 표 caption figure figcaption table thead tbody tfoot tr th td ) HTML - Table 기본구조 ( 테이블 표 caption figure figcaption table thead tbody tfoot tr th td ) 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 32 33 caption 학생나이 홍길동33 김영희23 figcaption 상단 학생나이 홍길동33 김영희23 figcaption 하단 figcaption 상단 caption 학생나이 홍길동33 김영희23 figcaption 하단 Colored by Color Scripter cs caption 은 상단만 나오고 figcaption 은 상하단에 표출이 가능하다. caption 과 figcaption 은 .. 더보기
WPF & C# - SoundPlayer wav ( 사운드플레이어 웨이브 MP3 ) WPF & C# - SoundPlayer wav ( 사운드플레이어 웨이브 MP3 ) MainWindow.xaml 1 2 3 4 5 6 선택 재생 전체 재생 Colored by Color Scripter cs MainWindow.xaml.cs 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91.. 더보기
WPF & C# - SystemSounds.Beep.Play ( 시스템사운드 / Beep / Question / Exclamation / Asterisk / Hand ) WPF & C# - SystemSounds.Beep.Play ( 시스템사운드 / Beep / Question / Exclamation / Asterisk / Hand ) MainWindow.xaml 1 2 3 4 5 6 7 Beep Question Exclamation0 Asterisk Hand Colored by Color Scripter cs MainWindow.xaml.cs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 private void btnPlayBeep_Click(object sender, RoutedEventArgs e) { SystemSounds.Beep.Play(); } private void btnPlayQuesti.. 더보기
WPF & C# - SplashScreen ( 스플래쉬 / 스플래시 / 스플래쉬스크린 / 스플래시스크린 / 로딩중 / Loading ) WPF & C# - SplashScreen ( 스플래쉬 / 스플래시 / 스플래쉬스크린 / 스플래시스크린 / 로딩중 / Loading ) MainWindow.xaml 1 2 3 SplashScreen Colored by Color Scripter cs MainWindow.xaml.cs 1 2 3 4 5 6 7 8 9 public MainWindow() { InitializeComponent(); for (int i = 0; i 더보기
WPF & C# - FunctionKey matching 단축키 + ini 파일 ( 펑션키 LeftCtrl + LeftShift + LeftAlt + F1 ) WPF & C# - FunctionKey matching 단축키 + ini 파일 ( 펑션키 LeftCtrl + LeftShift + LeftAlt + F1 ) MainWindow.xaml 1 2 3 Colored by Color Scripter cs MainWindow.xaml.cs 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 public MainWindow.. 더보기
WPF & C# - 특정한 날짜 & 요일 & 시간 사이인지 여부 ( day / week / dayofweek ) WPF & C# - 특정한 날짜 & 요일 & 시간 사이인지 여부 ( day / week / dayofweek ) 특정날짜 + 특정 시간 인지 여부 - 1회성 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ///// 특정날짜 + 특정시간 사이인지 여부 - 1회성 private void btn01_Click(object sender, RoutedEventArgs e) { string dtStr01 = "2022-05-05 22:13:30"; string dtStr02 = "2022-05-05 22:22:00"; btn01.Content = isCurrentTime01(dtStr01, dtStr02); } bool isCurrentTime01(string dt.. 더보기
WPF & C# - isCurrentTime ( 현재 시간이 A와 B 시간 사이에 있는지 여부 Long으로 대충 ) WPF & C# - isCurrentTime ( 현재 시간이 A와 B 시간 사이에 있는지 여부 Long으로 대충 ) 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 private void btn_Click(object sender, RoutedEventArgs e) { string startTime = "2022/05/05 01:19:00"; string endTime = "2022/05/05 01:19:10"; btn.Content = isCurrentTime(startTime, endTime); btn.Content += "\r\n" + startTime + " 더보기