블로그 이미지
암초보

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

Tag

05-06 00:19
2015. 9. 24. 15:09 프로그래밍/jQuery

1. $('#a input')


2. $('input', $('#a))



1,2번은 동일한 기능을 수행한다.

'프로그래밍 > jQuery' 카테고리의 다른 글

datatable plugin  (0) 2013.08.28
datetimepicker plugin  (0) 2013.06.27
filter() 와 find()의 차이점  (0) 2013.05.21
posted by 암초보
2015. 9. 23. 17:49 프로그래밍/Java

Path = Paths.get("/aaa/bbb/ccc/ddd");

Path.getNameCount(); => returns 4

Path.getName(0) => returns "aaa"

Path.getName(3) => returns "ddd"



참고 : https://docs.oracle.com/javase/tutorial/essential/io/pathOps.html


'프로그래밍 > Java' 카테고리의 다른 글

StringBuilder와 StringBuffer 차이  (0) 2013.12.16
스레드 풀 활용  (0) 2013.10.31
Callable 과 Thread  (0) 2013.10.31
Comparator & Comparable 이용한 정렬  (0) 2013.05.20
java.util.ConcurrentModificationException  (1) 2013.05.15
posted by 암초보
2015. 9. 23. 17:45 프로그래밍/Spring


this.getClass().getAnnotation(RequestMapping.class).value()[0];

'프로그래밍 > Spring' 카테고리의 다른 글

Spring Framework 레퍼런스 번역  (0) 2016.04.04
Spring Boot로 블로그 만드는 강좌(밀키 스프링 블로그)  (0) 2016.03.30
바인딩  (0) 2014.06.27
타입 변환  (0) 2014.04.29
스프링이란?  (0) 2011.10.31
posted by 암초보
2015. 4. 30. 10:11 프로그래밍/기타
posted by 암초보
2015. 4. 16. 17:05 프로그래밍/기타

아래와 같이 jenkins에서 Add Credentials 시 주의사항..

- Kind : SSH Username with private key

- Private Key - Enter Directly 로 등록할 경우

(Private Key를 설정하는 방법은 3가지가 있는데 그중.. Enter Directly를 사용)


ssh-keygen 명령어로 생성한

id_rsa.pub를 복사하는 것이 아니라..


idx_rsa 파일의 텍스트를 복사해서 붙여넣으면 된다.


삽질 결과, 아래 링크에서 해답을 찾음.

https://docs.google.com/document/d/1Qq-EkiUnC5x8BuM4AZWo-yRUQTrkberzz8JfdCM6yuc/edit?pli=1

'프로그래밍 > 기타' 카테고리의 다른 글

참고 site  (0) 2015.11.04
Bug reporting  (0) 2015.04.30
Chrome 스크린샷 확장 프로그램  (0) 2014.12.15
성능 테스트 참고  (0) 2014.11.19
vim 에서 쉘로 빠져나가기  (0) 2014.09.24
posted by 암초보
2015. 3. 17. 09:55 프로그래밍/HTML&CSS

<head>

            <meta http-equiv="X-UA-Compatible" content="IE=edge" />



위와 같이 head 태그 바로 다음에 meta 태그가 나오지 않고..

이 사이에 다른 무언가(?)가 들어가면 정상 동작 하지 않는다..


이유는 모른다...


결론만 말하면

IE에서 meta 태그는 head 태그 안에서...

제일 처음에 위치해야 정상 동작한다.

(위의 호환성 보기 관련 meta 태그만 그러한 것인지는 확인 못했음)

posted by 암초보
2015. 3. 10. 11:14 프로그래밍/Code

Declare the variable in the smallest possible scope.



posted by 암초보
2015. 1. 20. 13:36 프로그래밍/TDD


Fast

Independent

Repeatable

Self-Validating

Timely

'프로그래밍 > TDD' 카테고리의 다른 글

@Ignore 활용법  (0) 2015.11.05
Given When Then  (0) 2015.11.04
테스트는 왜....  (0) 2015.01.20
TEST 용 import static 템플릿  (0) 2011.10.05
특정 테스트 메소드만 실행는 방법  (0) 2011.09.29
posted by 암초보
2015. 1. 20. 10:26 프로그래밍/TDD


"No matter how flexible your architecture is, no matter how nicely partitioned your

design, without tests you will be reluctant to make changes because of the fear that you

will introduce undetected bugs."

- Clean Code Chapter 9

'프로그래밍 > TDD' 카테고리의 다른 글

Given When Then  (0) 2015.11.04
F.I.R.S.T  (0) 2015.01.20
TEST 용 import static 템플릿  (0) 2011.10.05
특정 테스트 메소드만 실행는 방법  (0) 2011.09.29
Mockito  (0) 2011.09.26
posted by 암초보
2015. 1. 14. 16:55 프로그래밍/JavaScript

attachEvent를 사용하면 된다..


addEventListener('scroll')  =  attachEvent('onscroll')




'프로그래밍 > JavaScript' 카테고리의 다른 글

JavaScript does NOT support Method Overloading  (0) 2015.12.08
splice  (0) 2013.05.31
Math.floor, Math.round, Math.ceil  (0) 2012.02.02
Firefox css style float  (0) 2011.06.17
substring  (0) 2011.04.18
posted by 암초보