2013년 8월 12일 월요일

갤럭시 드라이버 삼성 USB 통합드라이버

맨날 검색해야 되서

http://www.samsung.com/sec/support/pcApplication/USB/

바로 다운 :

http://down2.local.sec.samsung.com/uploadimg2/comLocal/service/support/consumer/download/SAMSUNG_USB_Driver_for_Mobile_Phones.zip



아틀란스토리 쿠폰 및 친구 [코코아러브미] 목록 공유 1탄 2013-08-13

아틀란스토리 쿠폰은

best-hero-down-load 

코코아러브미 친추 추천 하시고요. 아래는 공유 목록입니다.

비오는아침
아처아처
알랑가몰랑가
빵빠레아저씨
이르주르
감나무
Agnis
천벌의망치
여인네
계계
월하영
밀크빵
바보헌터
두리통
X준X
o사자왕o
이지러버
빈티지레어
나를사랑하라
오린
다크어벤저
다크스톤
멘탈킹
카이아스
맹룡강

쇼군
때리고봐
김오뎅
쌀밥
빡칸
김삿갓삿갓
케리팍
BF빠루
초복이

2013년 7월 16일 화요일

jre7 win7 firewall , eclipse ant ftp , jar socket reset,jre7 win7 방화벽

jre7 win7 firewall , eclipse ant ftp , jar socket reset,jre7 win7 방화벽,socket recv failed

I.when using executable

Exception:
java.net.SocketException: Permission denied: recv failed

Solution:
java -Djava.net.preferIPv4Stack=true -jar exe.jar



II. ant ftp task/ eclipse ant ftp task

Ant Error:
error during FTP transfer: Software caused connection abort: recv failed

Eclipse Ant Errors:
Buildfile: C:\dev\workspace\test\build.xml
biz:
      [ftp] sending files
      [ftp] transferring C:\dev\workspace\test\biz\mainManage\mainManage.php
      [ftp] try #1: IO error (biz\mainManage\mainManage.php), number of maximum retries reached (0), giving up

BUILD FAILED
C:\dev\workspace\test\build.xml:94: error during FTP transfer: java.net.SocketException: Connection reset


i've tried firewall exception eclipse.exe fail.
i've tried eclipse.ini vm argument "-Djava.net.preferIPv4Stack=true" , it's failed ,too

Solution:
cmd > netsh advfirewall set global StatefulFTP disable

Reference : http://stackoverflow.com/questions/6990663/java-7-prevents-ftp-transfers-on-windows-vista-and-7-if-firewall-is-on-any-idea

2013년 6월 30일 일요일

ubuntu sshfs usage

My Ubuntu version is 13.04 64bit

1.install package

#apt-get install sshfs


2.usage

#mkdir ~/workspace/remotedir
#sshfs remote-account@remote.server.com:/remote/directory ~/workspace/remotedir

3.unmount

#fusermount -u  ~/workspace/remotedir



file upload dynamic add delete from form

i need file upload form html.
I've been used only one file upload in a form or static muliple input type files in a form.
I need dynamic multiple file upload from a form.

I. Get a Sample
II.Run a Sample Code
III. Make It Your Own.
IV. Make It Shippable.


I. Get a Sample
 
I use readmine. The file upload routine is first view one file upload input field,
second press "order file add" button then file upload input is appear. this is what I want.
 
i can understand upload source. but i have to guess that how server works. 
 
here is redmine source code javascript.
======================================================================
application.js
======================================================================
var fileFieldCount = 1;

function addFileField() {
  var fields = $('attachments_fields');
  if (fields.childElements().length >= 10) return false;
  fileFieldCount++;
  var s = new Element('span');
  s.update(fields.down('span').innerHTML);
  s.down('input.file').name = "attachments[" + fileFieldCount + "][file]";
  s.down('input.description').name = "attachments[" + fileFieldCount + "][description]";
  fields.appendChild(s);
}

function removeFileField(el) {
  var fields = $('attachments_fields');
 var s = Element.up(el, 'span');
 if (fields.childElements().length > 1) {
  s.remove();
 } else {
  s.update(s.innerHTML);
 }
}

function checkFileSize(el, maxSize, message) {
  var files = el.files;
  if (files) {
    for (var i=0; i<files.length; i++) {
      if (files[i].size > maxSize) {
        alert(message);
        el.value = "";
      }
    }
  }
}
========================================================================= 

Now it's enough make a sample upload form.
======================================================================
uploadForm.html
======================================================================


======================================================================
uploadProc.php
=========================================================================
<?
print_r($_FILES);
?>
 


ssh port forwarding to MySQL server in linux machine


 ssh port forwarding to MySQL server in linux machine

#ssh -L 3306:localhost:3306 account@domain.com

#mysql -uroot -p 127.0.0.1

2013년 4월 12일 금요일

mysql CREATE DATABASE db_test CHARACTER SET utf8;

CREATE DATABASE db_test CHARACTER SET utf8;