금요일, 12월 23, 2016

Change row id of jqGrid.

aftersavefunc: function(rowID, response) {
var row = matrixTable.jqGrid('getLocalRow', rowID);
var newID = response.responseJSON.id;
row._id_ = newID;

matrixTable.jqGrid('setRowData', rowID, {id:newID});
$("tr[id='" + rowID +"']").attr("id", newID);

var _index = matrixTable.jqGrid('getGridParam', '_index');
var valueTemp = _index[rowID];
delete _index[rowID];
_index[newID] = valueTemp;

}

월요일, 9월 19, 2016

화요일, 4월 19, 2016

Maven

Maven 시스템 환경변수 참조하기

시스템 환경변수 JAVA_HOME 환경변수를 참조하려면 ${env.JAVA_HOME} 을 이용한다.


다음은 Apache Hive의 JDBC Driver 인 hive-jdbc.jar를 참조하면 발생하는 JDK의 tools.jar를 참조하기 위한 방법이다.

       
        <dependency>
            <groupid>jdk.tools</groupid>
            <artifactid>jdk.tools</artifactid>
            <version>1.7.0_17</version>
            <scope>system</scope>
            <systempath>${env.JAVA_HOME}/lib/tools.jar</systempath>
        </dependency>
       
 

수요일, 1월 13, 2016

Shaky mouse pointer

VAIO Z Series TouchPad에서 마우스 포인터가 떨리는 문제 해결 방법

터치패드의 속성 확인
$ xinput list-props "SynPS/2 Synaptics TouchPad"
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (153): 1
Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (283): 1
Device Accel Constant Deceleration (284): 2.500000
Device Accel Adaptive Deceleration (285): 1.000000
Device Accel Velocity Scaling (286): 12.500000
Synaptics Edges (308): 1752, 5192, 1620, 4236
Synaptics Finger (309): 25, 30, 0
Synaptics Tap Time (310): 180
Synaptics Tap Move (311): 221
Synaptics Tap Durations (312): 180, 180, 100
Synaptics ClickPad (313): 1
Synaptics Middle Button Timeout (314): 0
Synaptics Two-Finger Pressure (315): 282
Synaptics Two-Finger Width (316): 7
Synaptics Scrolling Distance (317): 100, 100
Synaptics Edge Scrolling (318): 0, 0, 0
Synaptics Two-Finger Scrolling (319): 1, 1
Synaptics Move Speed (320): 1.000000, 1.750000, 0.039809, 0.000000
Synaptics Off (321): 2
Synaptics Locked Drags (322): 0
Synaptics Locked Drags Timeout (323): 5000
Synaptics Tap Action (324): 2, 3, 0, 0, 1, 3, 0
Synaptics Click Action (325): 1, 3, 0
Synaptics Circular Scrolling (326): 0
Synaptics Circular Scrolling Distance (327): 0.100000
Synaptics Circular Scrolling Trigger (328): 0
Synaptics Circular Pad (329): 0
Synaptics Palm Detection (330): 0
Synaptics Palm Dimensions (331): 10, 200
Synaptics Coasting Speed (332): 20.000000, 50.000000
Synaptics Pressure Motion (333): 30, 160
Synaptics Pressure Motion Factor (334): 1.000000, 1.000000
Synaptics Resolution Detect (335): 1
Synaptics Grab Event Device (336): 0
Synaptics Gestures (337): 1
Synaptics Capabilities (338): 1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (339): 77, 75
Synaptics Area (340): 0, 0, 0, 0
Synaptics Soft Button Areas (341): 3472, 0, 3900, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (342): 8, 52
Device Product ID (272): 2, 7
Device Node (273): "/dev/input/event3

노이즈 제거 값 설정
$ xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Noise Cancellation" 8 52