본문 바로가기

전체 글172

[42seoul] ft_server : Dockerfile을 활용한 간단한 서비스 배포 🚢 ft_server @42seoul : (2020.07.25 ~ 2020.08.08) 📖 About Docker를 활용하여 하나의 컨테이너에 Nginx, mysql, phpmyadmin, wordpress 서비스를 만드시오. 단, DockerHub를 사용하지 않고 직접 DOCKERFILE을 만듭니다. (OS : debian) 서비스 구성은 아래와 같습니다. ip : localhost 조건 http://localhost -> https://localhost 리디렉션 Nginx : autoindex https://localhost/wordpress https://localhost/phpmyadmin wordpress, phpmyadmin은 mysql과 연결 📝 Review 도커의 기초 개념, 명령어, DO.. 2021. 10. 28.
[42seoul] ft_printf : printf() 직접 구현하기 🖨 ft_printf @42seoul : (2020.07.01 ~ 2020.07.25) 📖 About 이 프로젝트는 단순합니다. 의 printf() 함수를 직접 구현합니다.(This project is pretty straight forward. You will recode printf) 📝 Review C에서 가장 먼저, 많이(?) 쓰는 함수 printf("Hello World!"); 를 사용하지 않고 내가 직접 구현한다니!! 신선한 충격이었습니다. 🎃 printf()가 의 write() 기반으로 구현되어 있으며 문자열 파싱과 가변인자 처리를 어떻게 하는지 배울 수 있었습니다. width, precision 계산은 덤 자주 사용되는 함수들의 원형에 대해 호기심이 생겼고, 나도 구현할 수 있다는 용기를 .. 2021. 10. 28.
[42seoul] Get_next_line : \n(개행) 단위로 파일 읽기 📠 Get_next_line @42seoul : (2020.07.01 ~ 2020.07.15) 📖 About 이 프로젝트는 fd에 저장된 파일 내용을 "\n" 개행 단위 줄로 반환하는 함수를 구현합니다.(The aim of this project is to make you code a function that returns a line ending with a newline, read from a file descriptor.) Type Function Description file read get_next_line(int fd, char **line) Write a function which returns a line read from a file descriptor, without the newlin.. 2021. 10. 28.
[42seoul] libft : 나만의 C 라이브러리 만들기 📚 libft @42seoul : (2020.04.15 ~ 2020.05.01) 📖 About 일반적으로 C언에서 자주 사용하는 함수들을 직접 구현합니다. (The aim of this project is to code a C library regrouping usual functions that you’ll be allowed to use in all your other projects.) 구현 목록 Libc Functions : , Non- Libc Functions Linked-list Functions 📝 Review C에서 include하여 사용하는 , 의 함수 뿐만 아니라 자주 사용되는 split, join 함수 등 직접 구현하면서 C의 기본 문법과 포인터 연산, 메모리 관리(Heap), Ma.. 2021. 10. 28.