2012년 7월 24일 화요일

[Oracle] Sql developer 3.1 설치 후 에러

++An error was encountered performing the requested operation:++

++ORA-00604: error occurred at recursive SQL level 1++
++ORA-01882: timezone region not found++
++00604. 00000 - "error occurred at recursive SQL level %s"++
++*Cause: An error occurred while processing a recursive SQL statement++
++(a statement applying to internal dictionary tables).++
++*Action: If the situation described in the next error on the stack++
++can be corrected, do so; otherwise contact Oracle Support.++
++Vendor code 604++


JAVA VM 옵션에서 시간대 설정이 안되어있기 때문임
아래 파일에 아래 옵션을 추가해주면 된다.


file;
D:\oracle\sqldeveloper\ver3.1.07.42\sqldeveloper\bin\sqldeveloper.conf

java VM option;
AddVMOption -Duser.timezone="+07:00"

2012년 7월 7일 토요일

[Android] 안드로이드 앱에서 Activity label 제거

1. AndroidMenifest.xml 을 연다
2. Activity 에 다음 줄을 추가한다.

android:theme="@android:style/Theme.NoTitleBar"



<activity android:name=".Activity"
    android:label="@string/app_name"
    android:theme="@android:style/Theme.NoTitleBar">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>

[Git] Git 활용한 Android project 관리 ( Git + Eclipse + Android + Google Code)

여기서 정리해보려고 하는 것은
  • 1. 안드로이드 프로젝트
  • 2. 이클립스에서 개발
  • 3. 구글 코드프로젝트를 사용
  • 4. 버전관리 시스템으로는 Git

전체적인 순서는
  • A1. 구글 코드에서 프로젝트 생성
  • A2. 이클립스에서 EGit 플러그인 설치
  • A3. Clone Git repository
  • A4. 기존의 안드로이드 프로젝트를 Git Repository로 커밋
  • A5. Push 로 전체 소스 업데이트


A1. 구글코드에서 프로젝트 생성
먼저 code.google.com 에서 android 프로젝트를 생성한다.
생성 시에는 버전관리 시스템을 Git로 선택한다.
그러면 다음과 같은 Git Repository 정보를 얻을 수 있다.

git clone https://[project name]@code.google.com/p/[project name]/ 


A2. 이클립스에서 EGit 플러그인 설치

A3. Clone Git repository

그림1. code.google.com 에서 받은 repository URI 정보를 이클립스에 입력한다.
그림2. 브랜치를 선택한다.


A4. 기존의 안드로이드 프로젝트를 Git Repository로 커밋
커밋하기 위해 기존의 프로젝트를 share project 한다.

 그림3. 기존의 안드로이드 프로젝트를 share project 한다.

그림4. 로컬저장소를 지정한다.
A5. Push 로 전체 소스 업데이트

그림5. 프로젝트를 커밋한다.

그림6. 프로젝트를 Push 해서 소스코드를 업데이트한다.




2012년 7월 4일 수요일

[jQuery] attr() 과 prop() 차이점



Attribute/Property.attr().prop()
accesskey
align
async
autofocus
checked
class
contenteditable
defaultValue
draggable
href
id
label
location *
multiple
nodeName
nodeType
readOnly
rel
selected
selectedIndex
src
style
tabindex
tagName
title
type
width **


http://blog.jquery.com/2011/05/12/jquery-1-6-1-released/ 에서 퍼옴