본문 바로가기

2017/09

(90)
bitbucket eclipse에서 소스 pulling하기 https://bitbucket.org 1.주소 입력 2.projects 클릭 3.해당 프로젝트 클릭 4.해당 Repository 클릭 5. 리프지토리에서 git clone https://~~~ url 복사 6. 전자정부 프레임워크에서 git tool에 url copy and paste 7. 넥스트..... 끝
background layer 만들기 처리중입니다. 처리가 완료되면 페이지가 활성화 됩니다.
vi 사용하기 Once you opened a file with vim you can insert text by typing i, for instance. If you want to save your file use :w (write) or :q (quit) or :wq (for write and quit) or :q! (quit and do not save). Sometimes you need to hit the ESC key to be able to type the commands.Vim requires some learning, but is widely used and it is very versatile.Check the community help wiki: https://help.ubuntu.com/commu..
캐랙터 셋 변경하기 https://mariadb.com/kb/en/library/setting-character-sets-and-collations/ ALTER DATABASE dbName COLLATE = 'utf8_general_ci';
mariadb 특정 디비 모든 권한 주기 GRANT ALL PRIVILEGES ON mydb.* TO 'myuser'@'%' WITH GRANT OPTION;
angular cli 와 jquery plugin .angular-cli.json 에서 "scripts": ["../node_modules/jquery/dist/jquery.min.js","./assets/js/swipe.js"], 위와같이 추가해 주면 된다
Anagular 4 와 jquery plugin 사용하기 angular에서 jquery 플러그인을 비추하지만 빠른 개발을 위해 swipe기능을 jquery plugin으로 대체하기로함 일단 jquery 부터 설치 npm install jquery --savenpm install @types/jquery --save 그다음에 swipe js를 assets 밑에 아무데나 두자 webpack이 알아서 찾아준다 그리고 사용할 component에서 declare var jQuery:any; jQuery('.view-comment-list .article:eq(' + $index + ')').swipe({ excludedElements: [], swipeLeft: function (event, distance, duration, fingerCount, fingerData..
[MSSQL] 락(lock) 걸린 쿼리(Query)를 확인하고 해제하기 출처 : http://walkingfox.tistory.com/27 MS-SQL을 사용하다 보면 여러가지 이유로 Lock이 걸려서 더 이상 작업이 안되는 경우 가 있습니다.이 경우 아래의 방법으로 확인하고 해결할 수 있습니다. 1. sp_lock 실행 Lock 내용 확인. Mode가 X 인 것들을 확인하고, spid 를 기억해 둔다. 보통 spid 가 여러개 중복되어 출력되는 경우가 많다. 예) exec sp_lock 2. dbcc inputbuffer(spid) 클라이언트에서 MSSQL로 보낸 최종 명령문을 표시한다. 1번에서 Mode 가 X 인 것의 spid를 입력하면 해당 내용이 출력된다. 예) dbcc iniputbuffer(60) 3. sp_who spid 1번에서 확인된 spid 를 입력하면 ..