This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
출처) | |
http://bigdatazone.blogspot.kr/2013/04/jaxb2marshaller-marshaling-and.html | |
final StringWriter out = new StringWriter(); | |
marshaller.marshal(query, new StreamResult(out)); | |
String xml = out.toString(); | |
이부분을 보고 이해 했다. | |
StringWriter을 생성하고 StreamResult에 라이터를 랩핑해서 넘겨주면 내부 처리 결과를 String 으로 담아주나보다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shutter 사용시 캡쳐 후 이미지 편집 아이콘이 비 활성화 되어있어서 편집이 불가능하다. | |
(편집 후 특정 영역에 빨간색 네모 박스를 치고 싶다 ;;) | |
shutteg를 띄운뒤 편집 아이콘에 마우스를 over 하면 goo:lib-canvas-perl 이 없다고 나온다 | |
** 소프트웨어 센터에서 | |
libgoo-canvas-perl 패키지를 설치해주면 된다. ** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
우분투 xps 15 9550 터치패드 문제 | |
xps 15 9550에서 발생하는 문제로 | |
타이핑하는 도중 터치패드에 손바닥이 닿게 되면 센서가 오동작해서 | |
마우스 클릭으로 인지되어 불편함을초래 하게 된다. | |
부팅시에 특정드라이버를 로딩하지 않게 함으로써 해결 가능한듯 하다. | |
sudo vi /etc/modprobe.d/blacklist.conf | |
### 파일내에 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
제어판 > 키보드바로가기 > 추가버튼 클릭 > "파일브라우져열기" : caja -n /home/hdm 으로 작성 > 바로가기 단축키 Ctrl + Alt + E 로 설정 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
우분투에서 터치패드를 사용하는 경우 타이핑 칠때마다 손바닥에 터치패드가 닿아서 | |
클릭되는 현상이 발생한다. 짜증이 이만 저만이 아니라서 아예 설정에서 터치패드 탭이 되었을때 클릭이 아닌 | |
명시적으로 터치패트를 꾸욱 클릭 했을때만 클릭이 적용되도록 변경 하면 된다. | |
[설정방법] | |
제어판 > 마우스 > {터치패드탭} > v터치패드로 마우스 단추누르기 사용 해제 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
팀내 지태님이 공유해주신 꿀팁 기록 | |
안녕하세요. 김지태입니다. | |
예전에 git fetch -p 명령어를 가지고 리모트 삭제된 브랜치 정리하는 커맨드를 공유 드린 적이 있는데 | |
로컬 브랜치도 계속 쌓여가서 방법을 찾아보니 아래와 같이 하는 방법이 있네요. | |
git branch -d {branch} 를 하면 머지된 브랜치는 삭제하고 머지 안된 브랜치는 삭제 안되는 유용한 명령어가 있네요.(help 쳐보면 이렇게 옵션을 잘 설명해 줬는데 이걸 못보다니 ㅠㅠ...) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://openparadigm.tistory.com/63 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/questions/31374726/spring-boot-how-to-add-another-war-files-to-the-embedded-tomcat | |
1. 링크내용외에 아래 디펜던시 추가 필요 | |
<dependency> | |
<groupId>org.apache.tomcat.embed</groupId> | |
<artifactId>tomcat-embed-jasper</artifactId> | |
</dependency> | |
2. war가 배포될 경로만들어줘야 함. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MOUSE_ID=$(xinput | grep "Mouse" | awk '{gsub("id=", "", $9); print $9}') | |
echo "MOUSE_ID : " $MOUSE_ID | |
xinput --set-prop ${MOUSE_ID} "Device Accel Constant Deceleration" 2.5 | |
echo "SET MOUSE SPEED to 2.5 (faster 1 / slower 9)" | |
### 시작프로그램에 등록 해서 사용한다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://hamonikr.org/board_Device/7213 |