전체 글260 45 useful javascript tips 1 – Don’t forget var keyword when assigning a variable’s value for the first time.Assignment to an undeclared variable automatically results in a global variable being created. Avoid global variables.2 – use === instead of ==The == (or !=) operator performs an automatic type conversion if needed. The === (or !==) operator will not perform any conversion. It compares the value and the type, which.. 2015. 3. 30. HTML5 기본 Layout Template index.html header nav contents Rev Factory style.css html,body { padding: 0; margin: 0; text-align: center; height: 100%; } body { font-size: 12px; font-family: "돋음",dotum,sans-serif; color: #333; } #Head { position: relative; width: 100%; height: 50px; overflow: hidden; z-index: 10; background-color: #eee; } #bodyWrap { width: 100%; min-height: 100%; margin: -50px auto -30px; background-color: .. 2015. 3. 18. Deep Learning Study 참고 Python, C/C++, Java, Scala, Go 로 구현한 Deep Learning 코드https://github.com/yusugomori/DeepLearning http://deeplearning.net/tutorial 번역된 블로그 0. 딥러닝 시작하기 : http://neuralix.blogspot.kr/2014/02/0.html 1. 로지스틱 회귀 : http://neuralix.blogspot.kr/2014/01/blog-post_626.html 2. 다층신경망(MLP) : http://neuralix.blogspot.kr/…/mlp-multi-layer-perceptron.ht… 3. 제한된 볼츠만 기계(RBM) : http://neuralix.blogspot.kr/2014/02/dr.. 2015. 3. 15. Tomcat 8 New Features Tomcat 8 새로운 기능 - Java 7 이상이 필요 - Java Servlet 3.1 - JavaServer Pages 2.3 - Java Unified Expression Language 3.0 - JSR-356 스팩의 Java WebSocket 1.0 - NIO 커넥터 기본 - 개선된 APR - APR과 NIO API가 Comet 사용 가능 - Resources 설정 일원화 - DB pooling 이 DBCP 에서 DBCP2가 기본 1. 서블릿 3.1 - 입출력을 별도의 자바 쓰레드로 처리하는 방식의 Non-Blocking IO 지원 - 참고 소스 : WriteListener, ReadListener 를 구현하여 업로드, 다운로드시 비동기 작업 https://github.com/yanns/ser.. 2015. 3. 15. AngularJS progress setInterval AngularJS에서 로딩바를 1초마다 갱신하려고 setInterval( ) 을 사용하였으나,최초에 한번만 바인딩 되고 이후에 적용이 되지 않는 문제가 있다. API 문서를 살펴보니 AngularJS는 $interval 를 사용한다고.. 시작할때는 $interval( func, time )종료할때는 $interval.cancel( id ) $scope.progress = 0;var interval = $interval(function() {if ($scope.progress >= 100) {$interval.cancel(interval);interval = undefined;return;}var current = $scope.progress + 10;$scope.progress = current;cons.. 2015. 3. 11. 클라우드 스토리지 ZIP 다운로드 (구글드라이브, Mega) 구글드라이브- 파일들을 선택 하고 다운로드하면 기본적으로 압축하여 다운로드를 수행합니다.- 진행 메세지 : 우측하단에 진행상태를 보여주는 레이어가 나타납니다. - 진행메세지 단계는 아래와 같습니다.1. 파일을 검사하는 중입니다.2. 압축을 준비하는 중입니다.3. 다운로드를 위해 압축 중4. (브라우저 다운로드)- "다운로드를 위해 압축 중" 단계에서는 2초마다 export-status API를 호출하여 상태 Progress를 업데이트 합니다. (완전히 정상 동작하지는 않습니다. 대부분 계속 응답으로 0만 받다가 완료되고 다운로드 됨) - 서버내 임시파일로 압축을 한 뒤에 완료되면 다운로드하는 방식입니다.- 분할압축 옵션은 지원하지 않습니다.- 대용량 다운로드 테스트 (6GB) : 2GB까지만 압축되고 다.. 2015. 3. 7. 이전 1 ··· 15 16 17 18 19 20 21 ··· 44 다음