-
var
는function-scoped
이고,let
,const
는block-scoped
입니다. -
function-scoped
와block-scoped
가 무슨말이냐?
mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1
Tmux-Part2
Stanford IOS 강좌를 보며 정리해봄
What your application is(but not how it is displayed)
application이 무엇을 하는지를 말한다. 화면에 어떻게 그려질 것인가에 대한 것과는 관계가 없다.
- 계산기를 예를들면 실질적인 계산을 하는 부분
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import os | |
from django.db import models | |
def set_filename_format(now, instance, filename): | |
""" | |
file format setting | |
e.g) |
IOS랑 통신을 하게되면서 기존에 웹에서만 할때는 session으로 가능했는데 다른 대처방안을 찾다가 JWT(Json Web Token)을 알게 되었다.
영어표기로는 JWT
읽기로는 JOT
(발음주의)라고 읽는다.
CORS(Cross-origin resource sharing)문제때문에 주로 쓴다. 쿠키는 발행한 서버에서만 유효하다. site-a.com에서 발행한 쿠키는 site-b.com에서 사용할 수 없다. 토큰은 HTML Body 형태로 전송하기 때문에 다른 도메인에서 API를 호출해야 하는 서비스 구성에 유용하다.
요새는 바야흐로 대 해적시대 Docker시대이다.
그럼 대체 저 고래가 뭔데? 라는 의문이 가질 수 있다.
그래서 Docker의 특징을 살펴보고 Vagrant랑 비교했을때 차이점을 살펴보고자 한다.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Documented | |
@Retention(RetentionPolicy.CLASS) // default CLASS -> SOURCE, RUNTIME으로 변경할 필요 없음 | |
@Target(ElementType.METHOD) | |
public @interface PerformaceLogging { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long begin = Sytem.currentTimeMillis(); | |
// do something.... | |
// 기존코드 | |
System.out.println(Sytem.currentTimeMillis() - begin); |
NewerOlder