- Posted
- Filed under ORACLE
- 전체 데이터베이트 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'
blog.visualp.com
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.");
}
}
}
[원문] 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
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
du -sh [directory path]
디렉토리의 전체 크기를 확인 할 수 있다.
첫째, 아파치 퍼미션 문제
해결책:
/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'