본문 바로가기

반응형

전체 글

[Autohotkey] Numbering powerpoint pages Recently, in our office, it's mandatory to provide page numbers in each slide including total number of slides in order to check the progress of presentation. I was surprised that there is not official tool for it since powerpoint doesn't provide the number of total slides. Furthermore, it's getting worse if there are hidden pages in the document. So, I made some simple tool for numbering powerp.. 더보기
Creating a database using classes in Flutter/Dart When developing an app, there are times when a database is needed. Let's imagine creating an app that handles the following types of data.Product IDProduct NameProduct ColorsProduct Price401ABCRed, Green$1,000202DEFBlue, Black$2,000105GHKGreen, Indigo$1,400231JKLBlack$1,100 We have 4 columns and 5 rows, with a header row containing item names.I'd like to transfer the table into Dart code. Data C.. 더보기
윈도우11 자동 로그인 - Python app으로 구현하기 지난 번 포스트에 윈도우 11 자동 로그인 방법을 알려드렸습니다…만, 2023.06.21 - [PC팁] - 윈도우11 자동 로그인 한 번에 해결할 방법은 없을지 고민을 좀 해봤습니다. 1. 레지스트리 세팅 변경으로 윈도우 자동 로그인 아래와 같이 Microsoft Learn site에는 레지스트리 세팅 변경으로 윈도우 자동 로그인할 수 있는 방법을 제공합니다. https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon Configure Windows to automate logon - Windows Server This article describes how to tu.. 더보기
윈도우11 자동 로그인 [Update 2023.07.12] 최근 새 랩탑PC에 윈도우11을 설치한 후 확인해보니, "Windows Hello 로그인만 허용함" 옵션이 보이질 않았습니다. 업데이트가 된 걸까요? Microsoft 홈페이지를 뒤지다 보니 아래와 같은 자동로그인 설정을 "자동"으로 해주는 App이 있네요. 링크 걸어 둡니다. 다운로드 후 실행하면 암호 입력 창이 나오고, 입력하면 자동로그인 설정이 한 번에 끝납니다. [웹사이트] https://learn.microsoft.com/en-us/sysinternals/downloads/autologon Autologon - Sysinternals Bypass password screen during logon. learn.microsoft.com [App 다운로드] htt.. 더보기
[Flutter] Lotto 번호 생성기 Lotto 맞았으면하는 생각에 몇 주간 Lotto를 구매하려다가... 기존의 담청 History를 좀 이용할 수 없을까 고민을 좀 해봤습니다. 이래저래 고민을 해봤는데... ^^ 사실 이전 Lotto의 번호와 다음 Lotto의 번호에 관련성이 없는 독립실행이라 사실 History를 이용하는 건 의미가 없긴하겠더라구요. 일단 3가지를 적용해서 Random하게 번호를 뽑도록 구현해봤습니다. 첫번째, 당첨 번호는 중복되지않음 사실 중복될 수도 있겠지만, ^^ 가능성이 희박하다는 가정하에, 기존 당첨번호는 제외하고 번호를 뽑습니다. 두번째, 기존 당첨번호에서 많이 등장한 숫자가 더 확률이 높도록 조정 얘기한데로 독립실행이라 사실 큰 의미는 없어보입니다만, 확실히 자주 나오는 숫자는 자주 나오는 경향이 있으니 반.. 더보기
Regular Expression(정규식) 코딩을 비롯해서 수많은 경우에 정규식은 아주 다양하게 사용됩니다. 예를 들어 VS code 상에서 특정한 규칙의 패턴을 검색해서 동시에 변환한다던가할때도 사용 가능하고, 대다수의 언어에서 제공하는 Regular Expression 기능을 이용해서 텍스트를 처리할때 많이 사용하게됩니다. 이 포스팅에서는 다양한 경우의 정규식 예에 대해 알아보려고합니다. 추가로 제가 사용하게 되는 경우마다 예제를 업데이트해나가려고합니다. 우선 예제 코드를 두고, 각각의 경우에 어떤 것들이 선택되는지 캡처화면으로 보여드리겠습니다. 예제 코드 const constData = { "1inch": 33991.537894, "aave": 234.800741, "ada": 53576.821414, "aed": 70729.394532, .. 더보기
[Dart / Flutter] 한글 초성 검색 구현하기 한글 초성 검색은 여기저기서 사용할 필요가 생깁니다. 초성 검색이라고하면, 예를 들어 "테스트"라는 String을 검색할 때, "ㅌㅅㅌ"로 검색해도 검색이 되도록 하는 기능이구요. 스마트폰 전화번호부 검색 등에서 한 번은 써보셨을겁니다. 이번 포스팅에서는 Dart로 해당 코드를 구현해보겠습니다. 먼저 전체 코드입니다. bool contains_initialConsonant(String string, String query) { /* Hangul UTF16 structure : ① Hangul characters start from 44032(== '가'). ② A group of same initial consonant has 588 characters. ③ Initial consonants are 19.. 더보기

반응형