본문 바로가기

카테고리 없음

2021-01-18 08시 개발자 글 모음 | "2006 한국정보올림피아드 참가 후기" 외 7개 이야기

[Server] Apache Reverse Proxy 구현 by 홍석준

  • 아래 그림과 같이 클라이언트에서 요청을 보내면 프록시 서버가 중간에 위치하여 요청에 대하여 검증을 한다거나 부가적인 작업을 수행할 수 있게됩니다
  • 리버스 프록시는 대개 내부망으로 연결을 하지만 이번 실습에서는 해당 프록시 서버로 들어오는 요청에 대해서 네이버로 요청을 보내는 실습을 해보았습니다
  • com 으로 보낸다는 의미 7 : 클라이언트가 우회해서 이 리버스 프록시 된 웹사이트로 접속하는 것을 방지하기 위해 응답 헤더의 정보에서 www


[leetCode] 717. 1-bit and 2-bit Characters (Python) by 장동현 about Python

  • The second character can be represented by two bits (10 or 11)
  • 0] Output: True Explanation: The only way to decode it is two-bit character and one-bit character
  • 0] Output: False Explanation: The only way to decode it is two-bit character and two-bit character


golang - Windows 플랫폼에서의 GUI 라이브러리 walk by 최흥배 about Windows,GoLang

  • online game server programmer
  • Visual Studio


파이썬으로 구현한 정렬 by 배진오 about Python

  • def bubble_sort(items: list): for i in range(len(items) - 1): for j in range((len(items) - 1) - i): if items[j] < items[j+1]: temp = items[j] items[j] = items[j+1] items[j+1] = temp print(f'{i + 1} 회차 정렬 : {items}') return items if __name__=="__main__": items = [3
  • len(items)): if items[selection] < items[j]: selection = j temp = items[i] items[i] = items[selection] items[selection] = temp print(f'{i + 1} 회차 정렬 : {items}') return items if __name__=="__main__": items = [3
  • -1): if items[j] > items[j-1]: temp = items[j] items[j] = items[j-1] items[j-1] = temp continue break print(f'{i + 1} 회차 정렬 : {items}') return items if __name__=="__main__": items = [3


[leetCode] 876. Middle of the Linked List (Python) by 장동현 about Node,Python

  • 6]) Since the list has two middle nodes with values 3 and 4
  • The number of nodes in the given list will be between 1 and 100
  • head: ListNode) -> ListNode: pre_node = post_node = head while pre_node and pre_node


Rollup.js 환경설정 by 이소영

  • 이 글에서는 디자인 시스템 개발 환경을 구축하는 단계에서 rollup
  • 이 글에서 구성한 환경 구축 내용만 보고 싶으시다면 @soyoung/design-system-config 에서 보실 수 있습니다
  • js은 webpack이나 parcel과 같이 크고 복잡한 코드의 모듈(파일)을 라이브러리나 어플리케이션으로 만들어주는 번들러입니다


리눅스 ssh sftp 만 되게 하는 계정을 만들어 봅시다. by 조경완 about Linux

  • 이 유저에 대해서 root의 위치를 /home/ftpuser로 바꿀 겁니다
  • 위에 보시면 chrootDirectory를 /home/ftpuser로 되어 있는데요
  • /home/ftpuser에는 올리려고 해도 안 올라감을 알 수 있는데요


2006 한국정보올림피아드 참가 후기 by 최백준

  • 3번 문제: 내리막 길은 다이나믹 프로그래밍으로 해결할 수 있는 문제이다
  • 당시에 담금질 기법의 이름만 아는 수준이었어서 대회가 종료된 후에 매우 아쉬웠다
  • 당시에 내가 풀 수 있는 가장 어려운 트리 다이나믹 문제는 2213번: 트리의 독립집합이었다