Skip to content

Instantly share code, notes, and snippets.

View singun's full-sized avatar
🎯
Focusing

Daewook Shin singun

🎯
Focusing
  • Coupang
  • Seoul, Republic of Korea
View GitHub Profile
@singun
singun / hexo-command.md
Last active February 7, 2016 16:19
command for hexo

###Commands:

  • clean Removed generated files and cache.
  • config Get or set configurations.
  • deploy Deploy your website.
  • generate Generate static files.
  • help Get help on a command.
  • init Create a new Hexo folder.
  • list List the information of the site
  • migrate Migrate your site from other system to Hexo.
  • new Create a new post.
@singun
singun / java-puzzler-4.md
Last active February 11, 2016 00:35
초등학교 수준의 문제

아래 코드는 어떤 결과를 출력할까?

public class HelloWorld{
     public static void main(String []args){
        System.out.println(12345 + 5432l);
     }
}

66666이 출력된다고 예상했으나, 결과는 17777이 출력되었다. 두번째 피연산자를 보면 마지막 글자가 숫자 1이 아니라 소문자 l이다. 1과 l은 구분하기 쉽지 않다. 따라서 long 자료형의 숫자를 나타낼 때는 절재 소문자 l을 사용하지 말 것

@singun
singun / nginx.md
Last active February 18, 2016 01:49
nginx & uWSGI 설치 및 flask 어플리케이션 배포

트리

이진트리(Binary tree)

이진트리의 개요

모든 노드의 차수를 2 이하로 정하여 전체 트리의 차수가 2 이하가 되도록 만든 것

이진트리의 추상 자료형

@singun
singun / domain_ssl.md
Created February 19, 2016 12:32
나만의 도메인을 가져보자
@singun
singun / git.md
Last active February 19, 2016 14:28
깃 명령어
  • git branch -v -a
  • git reset --hard origin/dev
  • git log
  • git stash
  • git stash pop
  • git config color.ui true
@singun
singun / my-first-junit.md
Created February 21, 2016 10:03
나의 첫번째 JUnit test

입사한지 1년 만에 처음으로 JUnit을 사용해보았다. 업무를 위해서 사용한 것은 아니었고, 내가 짠 트리 자료구조의 함수들이 올바르게 동작하는지 확인하기 위해서 작성했다. 이 경험을 바탕으로 업무에서도 테스트 코드를 작성해보려고 한다.

이번에 처음 알게 된 사실이지만