1. 윈도우 파워쉘(Windows Powershell) 프로그램을 관리자 권한으로 실행
2. 삭제할 앱 별로 다음 명령어 실행
- 알람, 시계(Alarm and Clock)
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
- 계산기(Calculator)
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
- 달력 및 메일(Calendar and Mail)
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
- 카메라(Camera)
Get-AppxPackage *windowscamera* | Remove-AppxPackage
- 그루브 음악(Groove Music)
Get-AppxPackage *zunemusic* | Remove-AppxPackage
- 지도(Maps)
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
- Microsoft Solitaire Collection
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
- 영화 & TV(Movies and TV)
Get-AppxPackage *zunevideo* | Remove-AppxPackage
- 피플(People)
Get-AppxPackage *people* | Remove-AppxPackage
- 윈도우폰(Windows Phone)
Get-AppxPackage *windowsphone* | Remove-AppxPackage
- 사진(Photos)
Get-AppxPackage *photos* | Remove-AppxPackage
- 스토어(WIndows Store)
Get-AppxPackage *windowsstore* | Remove-AppxPackage
- 녹음기(Sound Recorder)
Get-AppxPackage *soundrecorder* | Remove-AppxPackage
- XBOX
Get-AppxPackage *xboxapp* | Remove-AppxPackage
Modal 팝업창으로 submit 하기
window.showModalDialog를 사용하여 팝업창을 띄운 경우
페이지 내에서 submit하면 새창이 생긴다.
submit시
window.name = '모달이름'
target = '모달이름'
후 submit 하면 새창이 생기지 않는다.
페이지 내에서 submit하면 새창이 생긴다.
submit시
window.name = '모달이름'
target = '모달이름'
후 submit 하면 새창이 생기지 않는다.
Maven에서 로컬 jar 파일추가하기
*** 사용예 ***
<dependency>
<groupId>local-lib</groupId>
<artifactId>third</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/local.jar</systemPath>
</dependency>
*** 설명 ***
groupId : 임의값. (어떤 값이든 상관없음)
artifactId : 임의값. (어떤 값이든 상관없음)
version : 임의값. (어떤 값이든 상관없음)
scope : system
systemPath : jar 파일경로. ${project.basedir} 는 프로젝트의 ROOT 폴더
이렇게 추가한 jar 파일은 maven 빌드시 포함되지 않으므로 위와 같이 경로 설정
jQuery Progressbar 사용법
*** 활성여부 가져오기 ***
var isDisable = $("#progressbar").progressbar("option", "disabled");
*** 활성여부 설정하기 ***
$("#progressbar").progressbar("option", "disabled", true);
$("#progressbar").progressbar("disable"); //비활성
$("#progressbar").progressbar("enable"); //활성
*** 최대값 가져오기 ***
var maxVal = $("#progressbar").progressbar("option", "max");
*** 최대값 설정하기 ***
$("#progressbar").progressbar("option", "max", 100);
*** 현재값 가져오기 ***
var val = $("#progressbar").progressbar("option", "value");
var val = $("#progressbar").progressbar("value");
*** 현재값 설정하기 ***
$("#progressbar").progressbar("option", "value", 10);
$("#progressbar").progressbar("value", 10);
var isDisable = $("#progressbar").progressbar("option", "disabled");
*** 활성여부 설정하기 ***
$("#progressbar").progressbar("option", "disabled", true);
$("#progressbar").progressbar("disable"); //비활성
$("#progressbar").progressbar("enable"); //활성
*** 최대값 가져오기 ***
var maxVal = $("#progressbar").progressbar("option", "max");
*** 최대값 설정하기 ***
$("#progressbar").progressbar("option", "max", 100);
*** 현재값 가져오기 ***
var val = $("#progressbar").progressbar("option", "value");
var val = $("#progressbar").progressbar("value");
*** 현재값 설정하기 ***
$("#progressbar").progressbar("option", "value", 10);
$("#progressbar").progressbar("value", 10);
URLEncoder시 공백이 + 로 변경되는 현상
*** 해결방법 ***
URLEncoder 사용하여 encode 후 + 로 변경된 것을 공백(%20)으로 변경해준다.
*** 예제 ***
URLEncoder.encode(names, "UTF-8").replaceAll("\\+", "%20")
URLEncoder 사용하여 encode 후 + 로 변경된 것을 공백(%20)으로 변경해준다.
*** 예제 ***
URLEncoder.encode(names, "UTF-8").replaceAll("\\+", "%20")
Restful에서 HttpServletRequest, Get HttpServletResponse 파라미터로 가져오기
*** 사용법 ***
Context 어노테이션을 사용하여 가져온다.
@Context HttpServletRequest httpServletRequest;
@Context HttpServletResponse httpServletResponse;
*** 예제 ***
@Path("/login")
@POST
List<String> login(@Context HttpServletRequest httpServletRequest
, @Context HttpServletResponse httpServletResponse);
Context 어노테이션을 사용하여 가져온다.
@Context HttpServletRequest httpServletRequest;
@Context HttpServletResponse httpServletResponse;
*** 예제 ***
@Path("/login")
@POST
List<String> login(@Context HttpServletRequest httpServletRequest
, @Context HttpServletResponse httpServletResponse);
JQuery checkbox 사용법
*** 체크여부 조회 ***
var checkYn = $('#input_checkbox').is(':checked');
*** 체크 하기 ***
$('#input_checkbox').attr('checked', true);
*** 언체크 하기 ***
$('#input_checkbox').attr('checked', false);
var checkYn = $('#input_checkbox').is(':checked');
*** 체크 하기 ***
$('#input_checkbox').attr('checked', true);
*** 언체크 하기 ***
$('#input_checkbox').attr('checked', false);
피드 구독하기:
글 (Atom)