728x90

 

에자일 방법론은 다음의 4가지 선언에서 시작되었다고 한다.

1. 프로세스나 툴 보다는 멤버간의 교류를 소중히 여길 것.

2. 포괄적인 문서에 힘을 쏟기 보다는 동작하는 소프트웨어의 개발에 힘을 기울일 것.

3. 계약의 협상보다는 고객과의 협력을 중시할 것.

4. 계획에 따르기 보다는 변화에 유연하게 대응할 것.

728x90

'프로그래밍 > java' 카테고리의 다른 글

에러코드 정리  (0) 2016.05.25
스프링 DI  (0) 2016.03.29
java.lang.UnsupportedClassVersionError  (0) 2016.03.28
java 윤년, 평년 구분하기  (0) 2016.01.18
마이바티스 메뉴얼  (0) 2015.08.26
728x90

java.lang.UnsupportedClassVersionError 

(Unsupported major.minor version 49.0)  <- 이거 중요하다. 잘 외워두자

이 에러는 자바의 컴파일 버전이 충돌이 나서이다.
하위버전의 클래스파일을 상위버전이 읽어들일때는 상관없지만 
상위버전의 클래스파일을 하위버전이 읽어올때는 위와 같은 에러를 낸다

< 에러 상세코드 >
version 50.0   컴파일 버전 : 1.6 
version 49.0   컴파일 버전 : 1.5
version 48.0   컴파일 버전 : 1.4

해결책>>

내텀퓨터 ->속성 -> 고급-> 환경변수에서 자바의 버전을 알맞게 셋팅한다. 
즉... 상위 버전에서 컴파일된 파일들은 모두 자신이 현재 쓸려고 하는 하위버전대로 다시 컴파일 하여야 한다.


진짜 해결>>

컴파일시 발생하는 Unsupported major.minor version 49.0 에러 원인 

Unsupported major.minor version 49.0 에러 딱보니 버전문제다.
JRE 라이브러리 버젼을 통일시켜 주었는데도 안된다.
뭐가 문제냐!! 바로 컴파일시 JDK버젼이 문제였다.
프로젝트 프로퍼티에서 Java Compiler탭에서 Compiler compliance level을 설정을 변경해주자

이상 끝~
컴파일러의 jre 버전이 5.0 인데 웹서버 (톰켓)의 jre 버전이 1.4이거나 낮은 버전일 경우 다음과 같은 에러가 발생한다


참조] http://mars0717.egloos.com/1061030



728x90

'프로그래밍 > java' 카테고리의 다른 글

스프링 DI  (0) 2016.03.29
에자일 방법론  (0) 2016.03.29
java 윤년, 평년 구분하기  (0) 2016.01.18
마이바티스 메뉴얼  (0) 2015.08.26
spring unchecked warning 발생 시 대처 법  (0) 2015.08.05
728x90

jQuery 자식 팝업 창에서 부모창 컨트롤


$(opener.document).find("#Form").attr("action","index.do").submit();

자식창 -> 부모창으로 값 전달하기


-opener.document.getElementById("id").value="value"; //dom 객체로 제어

$("#id",opener.document).val("value"); // jQuery 방식 1

$("input[name=imgFile]", parent.document.body).val() // 방식 2

$(opener.document).find("#id").val("value"); //방식 3

 

- opener.location.href="javascript:fun();"; //일반적인 방법

$(opener.location).attr("href","javascript:fun();"); //jQuery 이용

출처 : http://jp1020.tistory.com/

728x90

'프로그래밍 > 자바스크립트' 카테고리의 다른 글

자바스크립트 event.keyCode  (0) 2016.04.26
jQuery selectBox 제어  (0) 2016.04.14
jquery radio, select, checkbox  (0) 2013.10.28
정규 표현식 요약  (0) 2013.10.02
quick menu 바  (0) 2013.07.19
728x90

잠겨있는 계정을 언락 시켜준다.

 

SQL>ALTER USER HR ACCOUNT UNLOCK;

 

계정의 비밀번호 재 설정

 

SQL>ALTER USER HR IDENTIFIED BY a1234; (HR 계정의 비밀번호를 HR로 변경하였습니다.)

728x90

'프로그래밍 > Oracle' 카테고리의 다른 글

오라클 테이블스페이스 생성  (0) 2019.04.04
오라클 분석함수  (0) 2016.05.04
ORACLE PLS-553 오류 처리  (0) 2015.04.29
오라클 백업  (0) 2015.04.24
오라클 테이블 정보 보기  (0) 2015.04.23
728x90

GregorianCalendar gc = new GregorianCalendar();

int year = gc.get(Calendar.YEAR);

// 윤년 or 평년 : true -> 윤년 , false -> 평년

String resYmd = gc.isLeapYear(year) ? "윤년" : "평년";

System.out.printf("%d 년도는 %s 입니다.", year, resYmd);


728x90

'프로그래밍 > java' 카테고리의 다른 글

에자일 방법론  (0) 2016.03.29
java.lang.UnsupportedClassVersionError  (0) 2016.03.28
마이바티스 메뉴얼  (0) 2015.08.26
spring unchecked warning 발생 시 대처 법  (0) 2015.08.05
Java 정규식  (0) 2015.07.24
728x90

기본지식

 

IDE0 HDD : /dev/hda 로 인식됨,  디스크내의 파티션은 hda1 / hda2 / hda3 .....

IDE1 HDD : /dev/hdb 로 인식됨, 디스크내의 파티션은 hdb1 / hdb2 /hdb3....

 

하드디스크 추가하고 리눅스 부팅후...

 

1. fdisk -l 로 디스크가 추가된 것을 확인 할 수 있다.

 

[root@localhost ~]# fdisk -l

Disk /dev/hda: 20.0 GB, 20060651520 bytes
255 heads, 63 sectors/track, 2438 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14        2438    19478812+  8e  Linux LVM

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321    7  HPFS/NTFS      <- 추가된 hdd
[root@localhost ~]#

 

 

2. fdisk로 파티션 설정하기


[root@localhost ~]# fdisk /dev/hdb

The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321    7  HPFS/NTFS

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): d     <- 파티션 삭제
Selected partition 1

Command (m for help): p

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n     <- 파티션 추가
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-19457, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-19457, default 19457):
Using default value 19457

Command (m for help): p

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321   83  Linux

 

Command (m for help): v
5165 unallocated sectors

Command (m for help): w  <- 저장하고 종료
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

 

3. 디스크 format : mkfs

 

[root@localhost home]# mkfs
Usage: mkfs [-V] [-t fstype] [fs-options] device [size]
[root@localhost ~]# mkfs.ext3 /dev/hdb1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
19546112 inodes, 39072080 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=41943040
1193 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@localhost ~]#


 

3. mount 하기

 

먼저 mount할 디렉토리를 만든다

mkdir /home/music

 

/dev/hdb1을 /home/music 에 마운트 한다.

mount /dev/hdb1 /home/music

 

4. /etc/fstab 내용 추가 ( 리부팅후에도 적용되도록)

 

#vi /etc/fstab

/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hdb1               /home/music             ext3    defaults        1 1    <- 추가된 내용

Posted by 네이허


728x90

'프로그래밍 > 리눅스' 카테고리의 다른 글

특정 IP만 ssh 접속 허용하기  (0) 2019.05.21
GREP 활용  (0) 2019.04.24
apache server 버전 확인  (0) 2015.09.14
리눅스 언어 설정  (0) 2015.07.24
httpd: apr_sockaddr_info_get() failed  (0) 2015.04.27
728x90

USER AGENT TOKEN WHAT IS MY USER AGENT


User Agent Analyser


Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; MASMJS; rv:11.0) like Gecko



 

User Agent Fragments and Token


Mozilla/5.0 : 


"Mozilla" formerly was the codename of the Netscape Navigator and is currently used by the most browsers. The version 5 of the Netscape Navigator was the last, unreleased version, before the switch to the successor Mozilla Firefox. You will find the Mozilla/5.0 token on the most modern browser.


Windows NT 6.3 :


Windows NT 6.3 is the platform token, used by Microsoft Windows 8.1.


WOW64 :


WOW64 means, a 32-bit Microsoft Windows is running on a 64-bit processor.


Trident/7.0 :


Trident/7.0 is the identifier for the Microsoft Trident-HTML-Rendering-Engine. Version 7 currently identifies all Internet Explorer 11 versions.


MASMJS :


MASMJS is an OEM identifier and means, that this user agent is used on a Samsung device.


Fore more OEM identifier see our Windows OEM Manufacturer List.


rv:11.0 :


rv:11.0 is a revision number.


like :


Behaves like Gecko, Googlebot or other. See next token for more informations.


Gecko :


Gecko is the open source browser engine designed to support open Internet standards and is uses in several browsers like Firefox, SeaMonkey and other.

728x90

'프로그래밍 > 모바일앱' 카테고리의 다른 글

익스플로러에서 sencha touch 사용하기  (0) 2012.07.04
728x90

네이버 나눔 고딕을 임포트 할 경우 메모리에 계속 오버로드 되는 문제가 발생한다.

 

1. 가급적 경량의 웹 폰트를 사용하자.

2. 메뉴 등을 이미지화 시켜서 사용하자. (png, gif 이미지)

3. 맑은 고딕을 사용하자. (거의 대부분의 컴퓨터에 기본값으로 설정 된 폰트다.)

 

웹에이전시에서 예쁜 홈페이지를 만든답시고 무거운 폰트를 로딩해서 사용한다.

 

원래 홈페이지란 사용자에게 유용한 정보를 전달하기 위해 만드는 도구이다.

 

홈페이지는 경량화되어야 하고, 유용한 정보를 충실하게 담으면 된다고 생각한다.

 

깔끔하고 보기 편한 홈페이지를 만들도록 노력하자.

 

 

728x90

'프로그래밍 > 웹표준' 카테고리의 다른 글

IE호환성 모드 설정  (0) 2016.10.19
jquery input type='file' 초기화 처리  (0) 2016.07.12
다음 사진 올리는 방법  (0) 2015.08.12
html5 기본구조  (0) 2013.08.09
html form 전송 시 character set 설정  (0) 2013.06.17

+ Recent posts