본문 바로가기

문장 분리하기 2026년8월 버전 한라인에 영어로 된 여러문장이 있을때 읽기 적당한 문장의 사이즈로 분리해준다. 글자수가 500자를 넘지 않으면 문장을 분리하지 않는다. 기본은 마침표에서 문장을 분리하는거지만 각종 예외조항이 적용됨. import refrom pathlib import Path# ============================================================# 파일 설정# ============================================================BASE_DIR = Path(__file__).resolve().parentINPUT_FILE = BASE_DIR / "a.txt"OUTPUT_FILE = BASE_DIR / "b.txt"MAX_LENGTH = 500#.. 더보기
맥북 시스템 테이터 정리 ( Library 폴더 정리 ) ios 시뮬레이터가 있다면 일단 정리 하자 rm -rf ~/Library/Developer/CoreSimulator/Devices 안드로이드 시뮬레이터도 일단 정리 rm -rf ~/.android/avd ios 런타임// 여기서 안쓰는거 삭제 /Library/Developer/CoreSimulator/Profiles/Runtimes 더보기
revenuecat 구글플레이 연동시 오류 (Permissions to call subscriptions API) Permissions to call subscriptions API설정을 잘 했는데 여기서 오류가 난다. 구글의 구독 API는 설정 후 실제 반영까지 최대 36시간 걸린다고 한다. 그런데 빨리 확인해볼수 있는 방법이 있다. 구글 플레이의 수익창출 > 구독설정에서 문구나 가격등을 변경하면 거의 실시간으로 구독 API가 반영됨. There is a workaround to get this validated sooner. In Google Play Console, open your app's dashboard and visit the 'Monetize' section. Go to Products -> Subscriptions/in-app products, and change the description o.. 더보기
flutter 개발중 디스크용량 부족 해결 1. flutter clean 빌드 파일 삭제함 ( 꽤 용량 많음) 2. dart pub cache clean플러터 전역캐시 삭제 3. rm -rf ~/.gradle/caches그래들 캐시 삭제 4. rm -rf ~/Library/Caches/*시스템 캐시 삭제 기타 안쓰는 에뮬레이터 삭제 ~/Library/Developer/Xcode/DerivedData 삭제 클린빌드 flutter cleancd iosrm -rf Pods Podfile.lockpod install --repo-updatecd ..flutter pub get 더보기
맥북 에서 스피커 음성 녹음 하기 블랙홀 설치brew install blackhole-2ch 오디오 출력 설정 1. macOS → 오디오 MIDI 설정 2. “다중 출력 장치” 생성 3. 체크: 맥 스피커, 블랙홀 둘다 체크 퀵타임 플레이어 녹음새로운 오디오 녹음 > 입력 > 블랙홀 스피커 음성 실행 (녹음중) mp3 변환 > ffmpeg -i recording.m4a -codec:a libmp3lame -qscale:a 2 output.mp3 더보기
맥북에서 고품질 TTS 만들어서 서버에서 서비스하기 1. 맥북의 음성 설정에서 유나 프리미엄 목소리를 다운로드 받는다. 2. Text 파일을 mp3로 변환 한다. ❯ say -v "Yuna (Premium)" -f mer.txt -o output.aiff❯ ffmpeg -i output.aiff -codec:a libmp3lame -qscale:a 2 output.mp3 3. cloudflare R2 서비스에 가입한다. ( 10기가 까지 무료 , 전송료 무료 ) 4. cloudflare 버킷 만들기 (버킷에 mp3 파일 올려둔다.) 5. cloudflar workers & page 만들기 Worker 생성하기Cloudflare 대시보드 왼쪽 메뉴에서 Workers & Pages -> Overview로 들어갑니다.Create applicatio.. 더보기
앱스토어 구독결제 심사리젝 ( 구독만료 테스트 아이디 ) Guideline 2.1 - Information NeededWe are not able to continue our review because we need access to a demo account with an expired subscription to review the entire purchase flow.Next StepsTo resolve this issue, provide a user name and password for a demo account with expired subscriptions in the App Review Information section of App Store Connect.Resources- Watch a video with tips for preventing.. 더보기
앱스토어 구독결제 심사 리젝 (Guideline 3.1.2 - Business - Payments - Subscriptions) 앱스토어에 올린 구독결제 심사에 아래와 같은 리젝 메일이 왔다. Guideline 3.1.2 - Business - Payments - SubscriptionsIssue DescriptionThe submission did not include all the required information for apps offering auto-renewable subscriptions.The app's metadata is missing the following required information:- A functional link to the Terms of Use (EULA). If you are using the standard Apple Terms of Use (EULA), include a link.. 더보기