주말만기다려 님의 글 61
networkaddress.cache.ttl 적용 시 주의점
1. 개요 DNS 캐시 관련 컨트롤을 위해 사용하는 networkaddress.cache.ttl 적용 시 주의점 2. 현상 networkaddress.cache.ttl 는 일반적인 Java Syst…
JSP include 방식의 차이점
1. 개요 JSP include를 위한 2가지 방식 2. %@ include file="파일“% 방식 이른바 정적 방식이라고 한다. jsp - java로 만들어지기 전에 두 jsp가 merge된다고…
Pinned clusters란?
1. Pinned cluster란? Java heap에 있는 object들은 일반적으로 이동이 가능하다. 즉, Garbage Collector가 heap을 정리할 때 움직일 수 있다는 것이다. 하지…
IBM JVM Tuning 사례
1. KCluster, PCluster에 대하여 KCluster : -Xk 옵션 PCluster : -Xp 옵션 2. Pinned Object / Pinned Class (KCluster, PClu…
macOS homebrew install
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" == This s…
Python PIP로 moviepy 설치하기
$ pip3 install moviepy Collecting moviepy Downloading moviepy-0.2.3.2-py2.py3-none-any.whl (122kB) 100% |█████…
Python PIP로 requests_toolbelt 설치하기
$ pip3 install requests_toolbelt Collecting requests_toolbelt Downloading requests_toolbelt-0.8.0-py2.py3-none…
Python PIP로 requests 설치하기
$ pip3 install requests Collecting requests Downloading requests-2.18.4-py2.py3-none-any.whl (88kB) 100% |████…
파이썬(Python) 기초 - 클래스(Class)
1. 더하는 계산기 구현하기 class Calc: def __init__(self): self.result=0 def add(self,num): self.result+=num return self.…
파이썬(Python) 기초 - 예외(Exception, Finally) 처리하기
1. 문자-숫자 변환 예외 처리하기 try: a=int(input("Number1: ")) b=int(input("Number2: ")) print(a+b) print(a-b) print(a*b) …
파이썬(Python) 기초 - 조건(Condition) & 반복문(Loop) 다루기
1. 주식 종가와 날짜를 입력받은 후 해당 날짜만큼 연속으로 하한가(-30%)를 기록했을 때와 상한가(30%)를 기록했을 때의 주가 구하기 stockPrice=int(input("종가: ")) da…
파이썬(Python) 기초 - 문자열(String) 다루기
1. 입력받은 문자열 거꾸로 출력하기 yourWord=input("Word : ") newWord="" for s in yourWord: newWord = s + newWord print(newWo…