Web Browser Notification API 지원 브라우져 최신 Chrome, Firefox, Safari에서는 지원하지만 IE는 엣지까지도 미지원 다중으로 들어가면 스택처럼 쌓이기도 한다. 샘플코드 var notification = window.Notification; notification.requestPermission(function(permission){}); var noty = new window.Notification('first', { body: 'hello', dir: 'auto', // or ltr, rtl lang: 'EN', //lang used within the notification. tag: 'notificationPopup', //An element ID to get/set the content icon: '' //T.. 프로젝트 개발인프라 SVN(Subversion) 원격 저장소 복제svnsync 명령을 통해 원격에 저장소를 로컬로 복제1. 로컬에 복제해 올 svn 저장소 생성 : svnadmin create [대상폴더] svnadmin create project_repo 2. 생성한 svn폴더의 사전 변경처리가 진행되지 않도록 후킹스크립트를 생성한다. (사전변경처리 후킹 스크립트 : [repository]/hooks/pre-revprop-change) #bin/sh exit 0; 3. svnsync init 명령으로 로컬과 대상 svn 저장소 설정 : svnsync init file://[절대패스 repository] svn://[대상 repository] svnsync init file:///home/svn/project_repo sv.. Mybatis 자동생성 메이븐 플러그인 mybatis-generator pom파일 설정 org.mybatis.generator mybatis-generator-maven-plugin 1.3.0 Generate MyBatis Artifacts generate generatorConfig.xml 설정 초기 설정후 구동후 발생된 예외구문 [ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.0:generate (default-cli) on project isms: Cannot connect to database (possibly bad driver/URL combination) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutio.. Spring 4.1이상부터 Junit 4.9 또는 그 이상의 버전 사용 Spring 4.1이상에서 Junit 테스트 결과 아래 오류를 만날경우NoClassDefFoundError : org/junit/runners/model/MultipleFailureException 해결책Junit 4.9이상으로 변경 subversion script (init.d svnserve) init.d 스크립트 #!/bin/bash # # /etc/rc.d/init.d/subversion # # Starts the Subversion Daemon # # chkconfig: 2345 90 10 # description: Subversion Daemon # processname: svnserve # pidfile: /var/lock/subsys/svnserve source /lib/lsb/init-functions [ -x /usr/bin/svnserve ] || exit 1 ### Default variables SYSCONFIG="/etc/sysconfig/subversion" ### Read configuration [ -r "$SYSCONFIG" ] && source "$SYSCONFI.. log4j 뷰티 쿼리 참고자료 : https://code.google.com/p/log4jdbc/ log4jdbc는 SQL 로그를 보다 인간적으로 볼 수 있게 해 주는 로그 라이브러리로 2007년 소스포지에서 1.0 버전을 시작으로 2008년 구글코드로 이전하였고 2012년 1.2까지 릴리즈하고 깃허브로 이전했다. Maven 프로젝트의 경우 1.16버전까지만 현재 사용할 수 있다. 적용방법 pom파일에 의존 라이브러리 추가후 jdbc url수정 log4j 설정에 추가하고자 하는 log4jdbc logger 설정, log4jdbc.log4j2.properties 파일 추가만 하면 완료되므로 5분이내에 적용이 가능하다. log4jdbc.log4j2.properties 예시 log4jdbc.spylogdelegator.name=n.. Maven Plugin - jetty 적용 Jetty Maven Plugin 설정(ver 6.1.26) org.mortbay.jetty maven-jetty-plugin 6.1.26 / src/main/resources/jetty/webdefault.xml 5 7070 60000 Jetty 설정파일 javascript lib 정리 1. Telerik Kendo UI (Drag And Drop)사이트 : http://demos.telerik.com/kendo-ui/dragdrop/area 2. AngularJS GridSter사이트 : http://angular-js.in/angular-gridster/ 3. AngularJS DashBoard Framework사이트 : http://ngmodules.org/modules/angular-dashboard-framework라이브데모 : http://sdorra.github.io/angular-dashboard-framework/#/sample/01 4. AngularJS Panel사이트 : http://pkukielka.github.io/angular-panels/ 5. NG-Mobi.. 이전 1 2 3 4 5 ··· 12 다음