C#

C# 기초 – csharpstudy 유튜브 강의 정리

  https://www.csharpstudy.com/ https://www.youtube.com/watch?v=NZ0csWCxD3g&list=PLiNvMfa_Y5hfgpgd3hgXdHACCZuIEozjL     C# 데이타 타입 C# yield 문 C# 구조체 (struct) C# 클래스 (class) 개념과 사용법 C# 이벤트(event) 활용 사례       C# yield 문 yield return은 데이터를 하나씩 리턴한다. yield break는 메소드를 끝낸다. (break 는 가장 가까운 반복문을 끝낸다.)   private void main() { foreach (var score in GetScores()) { Console.WriteLine(score); } } private IEnumerable<int> GetScores() // foreach 를 하나씩 돈다. { int[] scores = new int[] { 10, 20, 30, 40, 50 }; for (int i = 0; i < scores.Length; i++) { if…

Read More
C#

C# 중급 – csharpstudy 유튜브 강의 정리

  https://www.csharpstudy.com/ https://www.youtube.com/watch?v=T58M6aSanCw&list=PLiNvMfa_Y5hdz3Pitggrisaam_35ZqdtE   C# 접근 제한자 (Access Modifier) 의 개념과 사용법 C# 인터페이스 기초 인터페이스를 활용한 사례       C# 접근 제한자 (Access Modifier) 의 개념과 사용법   # 클래스 내부의 멤버에 대한 기본 액세스 권한은 private # class 나 struct 의 기본 기본 액세스 권한은 internal # internal 은 현재 어셈블리에서만 사용 가능함 # 어셈블리는 빌드하면 나오는 exe 파일이나 dll 파일을 말함         C# 인터페이스 기초   # 클래스 상속보다 더 가볍고 유연함   public interface ISendable { void Send(string msg); }   class…

Read More
WPF

WPF – Local SQL Database

    WPF Create and Work with Local SQL Database in your Project Walkthrough: Display data from a SQL Server database in a DataGrid control       1. WPF Create and Work with Local SQL Database in your Project   https://codedocu.com/Net-Framework/WPF/Code-Samples/Add-WPF-Local-SQL-Database-to-Application-and-Connect-Data?2140   https://www.youtube.com/watch?v=_1Hdk5pi8C4   1. mdf 데이터베이스 추가 Add New Item-> Service Based Database   2. 테이블 추가 Database-> Tables-> Add New Table   3. 테이블 작성 CREATE TABLE [dbo].[Table] ( [IDDetail] INT NOT NULL PRIMARY KEY, [URL] NVARCHAR(255) NULL, [Title] NVARCHAR(255) NULL, [Text] NVARCHAR(MAX) NULL ) // t-sql…

Read More
WPF

WPF 도움되는 정보

    Drag Dropping from WPF to Notepad How do I set a cookie on HttpClient’s HttpRequestMessage UserControl Thumb 컨트롤의 DragDelta 사용법 볼륨 컨트롤 MVVM 기본 코드       1. Drag Dropping from WPF to Notepad   https://stackoverflow.com/questions/13308745/drag-dropping-from-wpf-to-notepad   private void listView1_MouseMove(object sender, MouseEventArgs e) { try { if (e.LeftButton == MouseButtonState.Released) { alreadycopying = false; } if (e.LeftButton == MouseButtonState.Pressed && alreadycopying == false) { alreadycopying = true; System.IO.StreamWriter test = new System.IO.StreamWriter(@”C:\SuperSecretTestFile.txt”); test.WriteLine(“Test”); test.Close(); List<String> testlist = new List<string>(); testlist.Add(@”C:\SuperSecretTestFile.txt”); DataObject d = new DataObject(); d.SetData(DataFormats.FileDrop, testlist.ToArray<string>());…

Read More
C++

C++ 한정판 코딩강좌 (개발자 라라)

  https://www.youtube.com/watch?v=mWSlaRNLSls&list=PLhKL63I03LuZBRwUGElubYHHNXTcTARLk       Hello World 출력 자료형, for 반복문 if 와 for, 함수 사용 보충 논리식       1강 Hello World 출력   구글 검색 : visual studio 2019 community https://visualstudio.microsoft.com/ko/vs/community/   #include <cstdio> int main() { printf(“Hello World”); return 0; }     2강 자료형, for 반복문   // 변수 이름은 공백이 있으면 안됨. // 변수 이름은 숫자로 시작하면 안됨   # 자료형 #include <cstdio> int main() { // 4가지만 외워라. // int : 정수 // float : 실수 // bool : 참 거짓 // char…

Read More
WPF

헬테이커 – 윈도우용 지옥 스티커 (개발자 라라)

  헬테이커 – 윈도우용 지옥 스티커를 만들어보았다 (개발자 라라)   https://www.youtube.com/watch?v=UkflQCKjDdg   구글 검색 helltaker sprite lucifer https://www.spriters-resource.com/pc_computer/helltaker/sheet/132965/     #  Debug 나 Release 폴더에 리소스 파일이 없어서 오류가 난다. 리소스 파일의 build action 을 None 으로 설정하라.       https://lektion-von-erfolglosigkeit.tistory.com/38 Helltaker_v1.3     https://blog.naver.com/chlwlsgur963/222017361013 HellTakerAni-master   https://github.com/TomoTherapy/FunnyStuff FunnyStuff-master    

Read More
기타

프론트엔드 강의 (드림코딩 by 엘리)

    https://github.com/dream-ellie   웹사이트 따라만들기, 반응형 헤더편 (HTML, CSS, Javascript) CSS Flexbox 완전 정리       웹사이트 따라만들기, 반응형 헤더편 | 프론트엔드 개발자 입문편: HTML, CSS, Javascript   https://www.youtube.com/watch?v=X91jsJyZofw   https://dream-ellie.github.io/responsive-nav-bar/index.html   # index.html <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″ /> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″ /> <link rel=”stylesheet” href=”style.css” /> <link href=”https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap” rel=”stylesheet” /> <title>Nav bar</title> <script src=”https://kit.fontawesome.com/2d323a629b.js” crossorigin=”anonymous” ></script> <script src=”main.js” defer></script> </head> <body> <!– Nav container –> <nav class=”navbar”> <!– Logo with text –> <div class=”navbar__logo”> <i class=”fab fa-accusoft”></i> <a href=””>DreamCoding</a> </div> <!– Menu –>…

Read More
JAVASCRIPT

자바스크립트 기초 강의 (ES5+) (드림코딩 by 엘리)

  클래스와 오브젝트의 차이점(class vs object), 객체지향 언어 클래스 정리 배열 제대로 알고 쓰자. 자바스크립트 배열 개념과 APIs 총정리 유용한 10가지 배열 함수들. Array APIs 총정리 JSON 개념 정리 와 활용방법 및 유용한 사이트 공유 비동기 처리의 시작 콜백 이해하기, 콜백 지옥 체험 프로미스 개념부터 활용까지 JavaScript Promise 비동기의 꽃 JavaScript async 와 await 그리고 유용한 Promise APIs 자바스크립트 최신 문법 (ES6, ES11) | 모르면 후회 하는 최신 문법과 사용법 정리   https://github.com/dream-ellie   # JavaScript reference https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference       클래스와 오브젝트의 차이점(class vs object), 객체지향 언어 클래스 정리…

Read More
PYTHON

파이썬 강의 노트 1 – 나도코딩

    파이썬 프로그램을 .exe 실행 파일로 만드는 방법 (PyInstaller)       1. 파이썬 프로그램을 .exe 실행 파일로 만드는 방법 (PyInstaller)   https://www.youtube.com/watch?v=Es1fQqqxIFQ   # pyinstaller 설치 pip install pyinstaller   # pyinstaller add folder with images in exe file https://stackoverflow.com/questions/51264169/pyinstaller-add-folder-with-images-in-exe-file   # 상대경로를 받아서 절대경로를 반환 import os def resource_path(relative_path): try: base_path = sys._MEIPASS except Exception: base_path = os.path.abspath(“.”) return os.path.join(base_path, relative_path)   # 그림 파일을 절대 경로로 지정해야한다. resource_path(“gui_basic\img.png”)   # 와일드 카드로 한번에 그림 파일을 지정 pyinstaller -w –add-data ‘.\gui_basic\*.png;gui_basic’ -F .\gui_basic\3_label.py   # 그림 파일을…

Read More
기타

깃허브 제대로 배우기 (드림코딩 by 엘리)

    # 깃, 깃허브 제대로 배우기 (기본 마스터편, 실무에서 꿀리지 말자) https://www.youtube.com/watch?v=Z9dvM7qgN9s&t=3s       # git 설치   https://git-scm.com/     # Sourcetree 설치   https://www.sourcetreeapp.com/   – mecurial 체크 해제     # 기본 설정 (터미널 이용)   # 모든 설정 확인 git config –list   # 모든 설정 편집기로 열기 git config –global -e   # vscode 를 기본 편집기로 지정 git config –global core.editor “code”   # vscode를 기본 편집기로 지정하고 vscode 에서 설정 파일을 닫기 전까지 대기 (터미널 사용 불가) git config –global core.editor…

Read More