Skip to main content

Posts

Windows shutdown commands

shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy] -s : 종료 -r : 재부팅 -i : GUI 화면 원문: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shutdown.mspx?mfr=true

rm 대신에 trash 를 사용합니다

리눅스에서 GUI환경에서는 삭제하면 휴지통으로 들어가는데... 콘솔에서 rm 명령으로 삭제하면 휴지통에 들어가지 않고 바로 삭제 됩니다. 실수로 삭제할 경우 복구 하기도 힘들고 해서 rm 명령어 대신에 trash 명령으로 휴지통으로 보내 버리도록 합니다. -------------------------------------------- apt-get install trash-cli -------------------------------------------- 로 trash 설치후 .profile 이나 .bashrc 파일을 열어 alias 를 추가합니다. -------------------------------------------- alias rm='trash' -------------------------------------------- 끝.

GWT SuperDevMode

GWT 2.6 Eclipse kepler gwt project 생성후 1. TestProject.gwt.xml 문서내 <module rename-to='textproject'>   ....   <!-- allow Super Dev Mode -->   <add-linker name="xsiframe"/>    .... </module> 2. 메뉴 Run > Run Configurations 에서 Java Application 선택 하여 마우스 오른쪽 New 선택 2.1. Name : 아무거나 2.2. Main 탭에서      Project : 생성한 프로젝트 선택 (TestProject)      Main Class : com.google.gwt.dev.codeserver.CodeServer 2.3. Arguments 탭에서      Program arguments : -src 프로젝트경로 ( -src src/ com.test.TestProject ) 2.4. Classpath 탭에서      User Entries 선택후 Add External JARs 로 gwt-codeserver.jar 추가 마지막으로 Run --------------------------------------------------------------------------------- Compiling module com.test.TestProject    Compiling 1 permutation       Compiling permutation 0...       Source Maps Enabled    Compile...