안녕하세요 Pingu입니다!🐧 프로젝트를 진행하려고 하는데 서버가 필요한 일이 생겨서, Swift로 서버를 구축하는 방법을 한 번 알아보려고 합니다. Swift Server Side 프레임워크에는 Perfect, Vapor, kitura 같은 것들이 있었는데, 제가 오늘 알아볼 것은 Vapor입니다. 일단 Vapor를 설치해줘야 하는데요! docs.vapor.codes/4.0/install/macos/ Vapor: Install → macOS Install on macOS To use Vapor on macOS, you will need Swift 5.2 or greater. Swift and all of its dependencies come bundled with Xcode. Install Xcode..
문제 링크 Word Search - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an m x n board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cells, where "adjacent" cells are horizontally or vertically neighboring. T..
안녕하세요 Pingu입니다.🐧 지난 글에서는 파일 시스템에서 가장 중요한 두 요소인 File, Directory에 대해 알아봤었습니다. 이번 글에서는 파일 시스템 자체를 구현하는 방법에 대해 알아볼 예정인데요, 이전 글까지도 계속 등장한 inode부터 시작해서 다양한 파일 시스템의 개념에 대해 알아보도록 하겠습니다. 제가 공부할 때 참고하고 있는 책인 OSTEP에서는 Chapter 40 - File System Implemention 부분입니다! File System Implementation 이번 글에서는 VSFS(the Very Simple File System)으로 알려진 간단한 파일 시스템을 구현하는 방법을 알아볼 예정입니다. VSFS는 UNIX의 여러 가지 파일 시스템을 단순화한 것으로 이를 공..
문제 링크 Subsets - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. Example 1: Input: nums = [1,2,3] Ou..
문제 링크 Sort Colors - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white, and blue. We will use the integers 0, 1..
문제 링크 문제 You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Example 1: Input: n = 2 Output: 2 Explanation: There are two ways to climb to the top. 1. 1 step + 1 step 2. 2 steps Example 2: Input: n = 3 Output: 3 Explanation: There are three ways to climb to the top. 1. 1 step + 1 step + ..
안녕하세요 Pingu입니다.🐧 지난 글에서는 여러 개의 디스크를 한 번에 사용하여 더 빠르고, 용량도 더 크고 신뢰도도 향상하는 방법인 RAID에 대해 알아봤었습니다. 이번 글에서는 그러한 디스크에 저장하는 파일과 파일을 구분하는 디렉터리에 대해 알아보려고 합니다. 제가 공부할 때 참고하는 책인 OSTEP에서는 Chapter 39 - Files and Directories 부분입니다! Files and Directories 지금까지 OS를 공부해 오면서 CPU를 가상화할 때 사용하던 프로세스, 메모리를 가상화할 때 사용한 가상 메모리를 통해 OS의 추상화를 살펴보았습니다. 이번 글에서는 컴퓨터 시스템에서 중요한 스토리지(저장 공간) 가상화에 대해 알아보려고 합니다. 저장공간에는 디스크, SSD 등이 있으..
벌써 2021년도 1달이나 지나 2월이 되었다. 시간이 너무 빠르다 ㅠ.ㅠ 열심히 iOS 공부, CS 공부를 하며 2021년도 보내고 있다.특히 요즘은 학부때 수강신청에 실패하여 듣지 못한 컴퓨터 네트워크를 공부하고 있다..정말 듣고싶은 과목이었지만 듣지못했는데, 공부해보니 정말 더 중요한거같다.공부 중 Socket 통신이란 개념을 배웠고 이를 사용하여 뭔가를 만들고 싶어졌고 마침! 곧 설날이기도 해서 계획을 하나 세워봤다. 이번 설날에는 뭔가 개인적으로 해커톤 비슷하게 간단한 프로젝트를 한 번 만들며 공부를 해보려고 한다.주제로 잡은건 라인, 카카오톡과 같은 메신저를 만드는 것이다.메신저의 경우 보통 Socket 통신으로 메시지를 주고 받는것 같은데, Swift에도 이러한 Socket 통신을 지원하니 ..
- Total
- Today
- Yesterday
- 동시성
- 자료구조
- Publisher
- 스위프트
- operator
- 테이블뷰
- 백준
- 알고리즘
- 코딩테스트
- Swift
- mac
- document
- Combine
- 앱개발
- 프로그래밍
- design
- 문법
- Xcode
- operating
- pattern
- Apple
- 아이폰
- dfs
- DP
- 코테
- OSTEP
- IOS
- BFS
- OS
- System
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |