전체 글
-
eclipse 설치하기ANDROID 2016. 12. 22. 15:46
안녕하세요. 안드로이드 개발을 위한 이클립스 설치 방법입니다. 안드로이드 개발할려면 이것저것 설치할게 많아서 항상 헷갈렸는데. http://shuman.tistory.com/117 위 주소에서 보고 따라하니까 쉽더라구요! 그 외에 아래는 제가 위 글 따라하면서 정리한 내용입니다. 하지만 이젠 이클립스는 지원이 끊긴 상황이기 때문에 안드로이드 스튜디오로 넘어가야 합니다.. 굳이! 이클립스로 개발하겠다! 싶은 분들만 보시면 될거같아용 ----------------------------------------------------------------------------------- 1. 일단 java 가 설치되어있어야 한다. 미 설치시 the required 64-bit java 1.7.0 virtual m..
-
기초 쿼리문 만들기MYSQL 2015. 6. 23. 21:46
안녕하세요~ PHP -> 게시판 만들기를 하다가 혹시 쿼리문이 이해가 안간다면 쿼리를 아예 모르는건데요! 아주아주~~ 간다한 쿼리문부터 설명을 드릴려고 합니다. 쿼리문은 크게크게 테이블을 생성,삭제, 변경하는 쿼리문과 데이터를 추출,변경,삭제 하는 쿼리문으로 나눠지는데요. 저는 데이터를 추출,변경,삭제 하는 쿼리문 을 설명해드리겠습니다. ^^ 테이블을 생성,삭제, 변경 은 클릭으로도 다 되니까 일단은 클릭클릭으로 만드세요.^^ 1. 데이터를 추출 하는 쿼리문 [구조] SELECT * FROM TABLE_NAME WHERE 1=1 ORDER BY FILED_NAME LIMIT 0,1 위 쿼리가 간단한 구조인데요. 하나하나 쪼개서 설명을 드리면 SELECT -> 데이터를 선택한다는 의미겠네요. * -> 모든..
-
라디오박스,체크박스(radio,checkbox) 체크여부 및 값 가져오기JQUERY 2015. 6. 23. 21:26
안녕하세요. 아래 샘플은 라디오 박스를 기준으로 적어놨지만 체크박스도 동일합니다. 1. checked 여부 확인 $("input:checkbox[id='ID']").is(":checked") == true : false /* by ID */ $("input:checkbox[name='NAME']").is(":checked") == true : false /* by NAME */ 2. checked/unchecked 처리 $("input:checkbox[id='ID']").attr("checked", true); /* by ID */ $("input:checkbox[name='NAME']").attr("checked", false); /* by NAME */ 3. 특정 라디오버튼 선택 / 모든 라디오버튼 ..
-
텍스트의 길이를 확인하는 함수JAVASCRIPT 2015. 6. 23. 21:21
다음은 자바스크립트 (javascript)로 텍스트 길이를 확인하는 함수입니다. function getTextLength(str) { var len = 0; for (var i = 0; i < str.length; i++) { if (escape(str.charAt(i)).length == 6) { len++; } len++; } return len; } 사용 예 alert(getTextLength("안녕하세요~~")) 라고 하면 alert 창에 길이가 나올것이다.
-
리눅스 파일 권한 관련 명령어LINUX 2015. 6. 23. 21:19
리눅스 에서 파일이 삭제되거나 디렉토리 이동이 안될 때가 있는데 이럴때는 파일의 권한을 봐야 한다. 소유자가 누구인가, 소유그룹은 누구인가 , 파일을 실행시킬 수 있는가 등등을 확인해 봐야한다. 아래는 chmod 와 chown 명령어를 사용해 권한을 수정하는 방법을 설명했다. ls -al 로 파일의 자세한 정보를 볼 수 있다 # 참고 : 맨앞에 문자가 - 일 경우 파일, d 이면 디렉토리, l 이면 링크를 나타냄 ) r : Read = 4 w : Write = 2 x : eXcute = 1 -rwxrwxrwx ( 777 ) -r--r--r-- ( 444 ) -rwx--x--x ( 711 ) 2~4필드 : 소유주 ( User ) 권한 5~7필드 : 그룹 ( Group ) 권한 8~10필드 : 나머지 ( O..
-
리눅스초보자들이 알아야할 기본 명령어LINUX 2015. 6. 23. 21:13
안녕하세요 ^^ 처음 리눅스를 접할때 디렉토리 이동은 어떻게 하지 파일 리스트는 어떻게 보지.. 하던게 생각나 기본적으로 자주 쓰는 것들만 정리해놨습니다. cd 디렉토리변경 cd ../dir/tem du 하드사용량 체크 du ls 파일 리스트 ls -al ls -aC ls -R cp 파일 복사 cp index.html index.old mv 파일 이름 파일 위치 변경 mv index.htm index.html mv file ../main/new_file mkdir 폴더생성 mkdir download rm 파일 삭제 rm test.html rm -r rmdir 디렉토리 삭제 rmdir cgi-bin pwd 현재 디렉토리 경로 pwd chmod 파일 권한 변경 -rwxr-xr-x guestbookt.html..
-
AJAX 기본 문법AJAX 2015. 6. 23. 21:06
AJAX 사용은 보통 페이지 이동없이 데이터를 처리할때 사용합니다. 예를 들면 주소를 선택할때 사용됩니다. 서울특별시 인천광역시 경기도 등등등 이 있을때 인천광역시를 선택하면 서구 동구 연수구 부평구....이 바뀌면서 나올때 사용 할 수있다. 아래 예제는 시,도를 선택했을때 구,군이 선택되어 나오는 예제다.. ajax 문법이다. $(function(){ $("#member_sido").change(function(){ $.post("./ajax_address.php",{ mode:"member_sido", member_sido:$("#member_sido").val() },function(result){ //alert(result) $("#ajax_member_gugun").html(result); })..