Posted
Filed under ORACLE
oracle 계정으로 접속해서 오라클이 설치된 bin 디렉토리로 이동후~ exp 명령을 사용합니다.

- 전체 데이터베이트 export 방법
[oracle@localhost ~]$ ./exp userid=system/manager file='/home/oracle/full.dmp' full=y

- user별 export 방법
[oracle@localhost ~]$ ./exp userid=scott/tiger file='/home/oracle/scott.dmp'
2010/05/27 13:59 2010/05/27 13:59
Posted
Filed under Action Script
[원문] http://blog.flasia.com/archives/99

[as 2.0]
function dataSendLoad() {
	//변수를 PHP 파일로 전송할 개체 생성
	var mySendVars = new LoadVars();

	//개체에 변수 입력
	var mySendVars.sendvars = "testVars";

	//PHP로부터 보내진 변수들을 로드할 LoadVars 개체 생성
	var myLoadVars  = new LoadVars();

	//로드 완료 후 실행 할 함수 정의
	mySendVars.onLoad = function(success) {
		...
	}

	//PHP 파일로 변수 전송 및 로드
	mySendVars.sendAndLoad("send_load.php", myLoadVars, "POST");
}











[as 3.0]

package {
 import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.ProgressEvent;
 import flash.net.URLLoader;
 import flash.net.URLRequest;
 import flash.net.URLRequestMethod;
 import flash.net.URLLoaderDataFormat;
 import flash.net.URLVariables;
 import flash.events.IOErrorEvent;
 public class Main extends Sprite {
  // 변수를 주고 받을 PHP파일
  private var url : String = "send_load.php";
  // PHP에 전달한 변수
  private var variables : URLVariables;  
  public function Main() : void {
   variables = new URLVariables();
   // 변수값 할당
   variables.sendvars = "testVars";  
   sendData(url, variables);
  }
  public function sendData(_url:String, _vars:URLVariables):void {
   var request : URLRequest = new URLRequest(_url);
   request.data = _vars;
   // 전송방식
   request.method = URLRequestMethod.POST;  
   var loader:URLLoader = new URLLoader();
   // 데이터 형식 지정(BINARY, TEXT, VARIABLES)
   loader.dataFormat = URLLoaderDataFormat.VARIABLES;
   loader.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
   loader.addEventListener(Event.COMPLETE, onCompleteHandler);
   loader.addEventListener(IOErrorEvent.IO_ERROR, onIOErrorHandler);
   loader.load(request);
  }
  private function onProgressHandler(e:ProgressEvent):void {
   trace("@ PHP Loading");
  }
  private function onCompleteHandler(e:Event):void {
   var loader : URLLoader = URLLoader(e.target);
   trace( "loader.data : " + loader.data );
  }
  private function onIOErrorHandler(e:IOErrorEvent):void {
   trace("Error loading URL.");
  }
 }
}





2010/05/26 22:08 2010/05/26 22:08
Posted
Filed under Linux

[원문] http://blog.naver.com/nalba100/60047002386

원판의 개수가 1개일때는 이동횟수 f(1)=1
원판의 개수가 2개일때는 이동횟수 f(2)= 2×f(1)+1 = 3
원판의 개수가 3개일때는 이동횟수 f(3)= 2×f(2)+1 = 7
원판의 개수가 4개일때는 이동횟수 f(4)= 2×f(3)+1 = 15
원판의 개수가 5개일때는 이동횟수 f(5)= 2×f(4)+1 = 31
원판의 개수가 6개일때는 이동횟수 f(6)= 2×f(5)+1 = 63
원판의 개수가 7개일때는 이동횟수 f(7)= 2×f(6)+1 = 127
원판의 개수가 8개일때는 이동횟수 f(8)= 2×f(7)+1 = 255
원판의 개수가 9개일때는 이동횟수 f(9)= 2×f(8)+1 = 511

2010/05/26 21:58 2010/05/26 21:58
Posted
Filed under Action Script

Unfortunatly, no method exits on the TextField class in AS3 as it does not extend the Sprite class, which contains the buttonMode property.

This is most apparent with the annoying problem of having a TextField inside your Sprite/MovieClip you;re trying to use as a button, where even after setting buttonMode = true on the button, rolling over the textfield inside the button will revert the Cursor back to default.

To get round this simply use the mouseChildren = false property on your Sprite/Movieclip button.

i.e.

myTextFieldContainingSprite.buttonMode = true;

myTextFieldContainingSprite.mouseChildren = false;

myTextFieldContainingSprite.addEventListener(MouseEvent.MOUSE_DOWN …… etc

2010/05/26 21:29 2010/05/26 21:29
Posted
Filed under C#
1. Microsoft.JScript 어셈블리를 참조한다.
2.
  escape    => Microsoft.JScript.GlobalObject.escape("바꿀 문자열");
  unescape => Microsoft.JScript.GlobalObject.unescape("바꿀 문자열");

2010/05/25 02:15 2010/05/25 02:15
Posted
Filed under Linux

du -sh [directory path]
디렉토리의 전체 크기를 확인 할 수 있다.

2010/05/19 09:21 2010/05/19 09:21
Posted
Filed under Linux
1. Disk full.

     2. Bad sector encountered.

     3. The swap file was deleted by another process within a multitasking
        environment on a workstation in which the SHARE utility has not been
        loaded.

     See Also:  Error 5311 in this chapter, "The Runtime Environment"
     chapter of the Programming and Utilities Guide.
2010/05/18 21:33 2010/05/18 21:33
Posted
Filed under 분류없음
how to use er-win
2010/05/13 10:05 2010/05/13 10:05
Posted
Filed under Htm&Javascript
function function1() {
    window.moveTo(x,y);
}
2010/05/12 17:32 2010/05/12 17:32
Posted
Filed under Linux
You don't have permission to access / on this server.

 

첫째, 아파치 퍼미션 문제


해결책:

 /home/유저명 이 유저명 디렉토리 권한을 chmod 711 유저명으로 하면 해결된다.

# chmod 711 aaa


둘째, SELinux 설정 문제

요   약:
SELinux is preventing the httpd from using potentially mislabeled files(/home/aaa/public_html/index.html)

해결책:

# restorecon -v '/home/aaa/public_html/index.html'
# restorecon -R -v '/home/aaa/public_html'

2010/05/10 17:22 2010/05/10 17:22