Programming (12) 썸네일형 리스트형 [Swift] 문자열 곱하기 , 반복하기 let str = "ok" let repeatStr = String(repeating: str, count: 4) print(repeatStr) 결과 "okokokok" swift 5.4 [Flutter / Error] 버전 코드는 이미 사용되었습니다. 다른 버전 코드를 사용해 보세요. 안드로이드 앱번들을 업데이트 할때 볼수있다. 안드로이드는 앱 폴더의 bundle.gradle을 바꿔주면되고 플러터는 pubspec.yaml 에서 + 뒤 숫자를 바꿔주면된다. [Error] IOS시뮬레이터가 갑자기 안될때 https://stackoverflow.com/questions/63336927/how-to-fix-command-phasescriptexecution-failed-with-a-nonzero-exit-code-on-flutt How to fix Command PhaseScriptExecution failed with a nonzero exit code on flutter run in macOS? I am working on a flutter app. I recently shifted to macOS and since then haven't been able to run the app. Other apps are running fine so I think the error is in within the c.. 이진탐색 일론머스크가 나에게 1~10000까지 숫자중에 자기가 생각한 숫자를 맞추면 테슬라를 준다고 한다면 비굴하게 우선 기회를 조금 더 달라고 한다. 부자라서 그런지 20번의 기회를 준다고 한다. 하지만 20번은 너무 부족하다. 범위가 너무 넓다. 나는 한번 더 비굴하게 그러면 틀렸을 때 힌트로 큰지 작은지 알려 달라고 했다. 이렇게 까지 하면 테슬라를 받을 수 있을까? 이진탐색은 오름차순으로 정렬된 배열에서 특정한 값을 찾는 알고리즘이다. 중간 값을 임의의 값으로 지정한 뒤 결과 값과 대소를 비교하는 방식이다. 이진탐색구현 Javascript Python Custom painter 로 bar chart 와 pie chart 그리기 참고 - https://medium.com/flutter-community/a-deep-dive-into-custompaint-in-flutter-47ab44e3f216 면접질문정리 흑역사방지를 위해서 정리할예정입니다. 1. 이진 탐색 2. 해시 데이터 3. 부동소수점 (Demical) 4. 플러터 테스트 코드 5. 플러터 상태관리 Express with Typescript 시작하기 (매우쉬움) 시작전 노드가 있나요? node -v 타입스크립트가 깔려있나요? npm install -g typescript 가보자고! package.json 을 생성해줍시다. npm init 기본적으로 express랑 typescript 랑 쓸꺼구요 @types ts-node 타입스크립트때문에 쓰는 모듈 추가해줍니다. npm i express npm i -D typescript ts-node @types/node @types/express 그리고 타입스크립트 설정 npx tsc --init tsconfig.json 파일이 생성되구요 안에 ts쓸때 규칙들이 있습니다. 안보시겠지만 이런거 공부하시면 매우 좋습니다. 폴더 두개만 만들게요 src/ ts파일 넣을거구요 dist/ 빌드된 js파일 넣을거구요 시작 npm i -.. [Typescript] 변수 선언 https://www.typescriptlang.org/docs/handbook/2/everyday-types.html Documentation - Everyday Types The language primitives. www.typescriptlang.org 타입스크립트는 자바스크립트의 변수에 타입을 선언할 수 있게 해줍니다. 1. 기본요소 string, number, boolean let message: string = "Hello world"; let age: number = 42; // 타입스크립트에서는 정수에 대한 특별한 런타임이 없기 때문에 int나 float이 아닌 number입니다. let isDone: boolean = true; 2. 배열 [1, 2, 3] 같은 배열은 number[]로.. Vue3에 Bootstrap5 적용하기 Bootstrap5-vue3 가 아직 알파버전이기때문에 이렇게설치한다. 부트스트랩 설치 yarn add bootstrap @popperjs/core main.js 에 임포트 import "bootstrap/dist/css/bootstrap.min.css" import "bootstrap/dist/js/bootstrap.js" 적용되는지확인 Vue router 4 4~5페이지 짜리 웹을 만들기 위해 라우터를 알아보았습니다. https://v3.vuejs.org/guide/routing.html#official-router Routing | Vue.js Routing Official Router For most Single Page Applications, it's recommended to use the officially-supported vue-router library (opens new window). For more details, see vue-router's documentation (opens new window). Simple Routing from Scratch If you only v3.vuejs.org 라우팅 할때는 라이브러리를 추천한다고하네.. 이전 1 2 다음