ubuntu 12.04 sudo apt-get update fail
404 Not Found [IP: 91.189.91.24 80]
solve
============================================================
cd /etc/apt
sudo cp sources.list sources.list.old
sudo sed -i 's,http://.*ftp.daum.net,http://old-releases.ubuntu.org,g' sources.list
sudo apt-get update
2014년 10월 28일 화요일
2013년 8월 12일 월요일
아틀란스토리 쿠폰 및 친구 [코코아러브미] 목록 공유 1탄 2013-08-13
아틀란스토리 쿠폰은
best-hero-down-load
코코아러브미 친추 추천 하시고요. 아래는 공유 목록입니다.
비오는아침
아처아처
알랑가몰랑가
빵빠레아저씨
이르주르
감나무
Agnis
천벌의망치
여인네
계계
월하영
밀크빵
바보헌터
두리통
X준X
o사자왕o
이지러버
빈티지레어
나를사랑하라
오린
다크어벤저
다크스톤
멘탈킹
카이아스
맹룡강
쇼군
때리고봐
김오뎅
쌀밥
빡칸
김삿갓삿갓
케리팍
BF빠루
초복이
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
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
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일 금요일
2012년 3월 15일 목요일
wbfs 확장자 파일로 게임 넣기, wii backup manager 이용
확장자가 wbfs 인 파일을 wii usb 하드 드라이브로 넣는 방법입니다.
웹에서 확장자가 wbfs 인 파일을 받아서 내 컴퓨터에 가지고 있다.
- 다운로드
Wii Backup Manager http://homebrews-wii.googlecode.com/files/WiiBackupManager0.3.5-beta1.7z
1.usb wii 하드 디스크 연결(저는 F 디스크 입니다.)
2.wii backup manager 실행
3.Files | DVD | Drive 1 | Drive 2 | Logs 탭중에서 [Files] 탭 선택후 Add > Files 버튼 클릭 *.wbfs 파일 선택

4.Files | DVD | Drive 1 | Drive 2 | Logs 탭중에서 [Drive 1] 탭 선택후 Drive > Drive (F:) 선택 (내 wii usb 하드 드라이브)

5. Files | DVD | Drive 1 | Drive 2 | Logs 탭중에서 [Files] 탭으로 돌아가서 선택 , wii usb hdd 로 넣을 게임선택을 체크 한 후
[Transfer] > Driver 1 선택하면 완료 됩니다.

웹에서 확장자가 wbfs 인 파일을 받아서 내 컴퓨터에 가지고 있다.
- 다운로드
Wii Backup Manager http://homebrews-wii.googlecode.com/files/WiiBackupManager0.3.5-beta1.7z
1.usb wii 하드 디스크 연결(저는 F 디스크 입니다.)
2.wii backup manager 실행
3.Files | DVD | Drive 1 | Drive 2 | Logs 탭중에서 [Files] 탭 선택후 Add > Files 버튼 클릭 *.wbfs 파일 선택
4.Files | DVD | Drive 1 | Drive 2 | Logs 탭중에서 [Drive 1] 탭 선택후 Drive > Drive (F:) 선택 (내 wii usb 하드 드라이브)
5. Files | DVD | Drive 1 | Drive 2 | Logs 탭중에서 [Files] 탭으로 돌아가서 선택 , wii usb hdd 로 넣을 게임선택을 체크 한 후
[Transfer] > Driver 1 선택하면 완료 됩니다.
2012년 3월 8일 목요일
가비아 mx 레코드 등록
호스트 정보 관리
mail. 도메인명 아이피 주소 입력
호스트 이름 : @
메일 호스트 : mail.example.co.kr.
우선순위 : 10
메일호스트 뒤에 . 꼭 찍어야 합니다.
저장
=====================================
nslookup 확인
윈도우 실행 > cmd
C:\Users\jason>nslookup
기본 서버: cns3.bora.net
Address: 203.248.252.2
> server ns.gabia.co.kr
기본 서버: ns.gabia.co.kr
Address: 211.234.118.50
> q=mx
서버: ns.gabia.co.kr
Address: 211.234.118.50
*** ns.gabia.co.kr이(가) q=mx을(를) 찾을 수 없습니다. Query refused
> set q=mx
> example.co.kr
서버: ns.gabia.co.kr
Address: 211.234.118.50
example.co.kr MX preference = 10, mail exchanger = mail.example.co.kr
example.co.kr nameserver = ns.gabia.net
example.co.kr nameserver = ns1.gabia.co.kr
example.co.kr nameserver = ns.gabia.co.kr
>
mail. 도메인명 아이피 주소 입력
호스트 이름 : @
메일 호스트 : mail.example.co.kr.
우선순위 : 10
메일호스트 뒤에 . 꼭 찍어야 합니다.
저장
=====================================
nslookup 확인
윈도우 실행 > cmd
C:\Users\jason>nslookup
기본 서버: cns3.bora.net
Address: 203.248.252.2
> server ns.gabia.co.kr
기본 서버: ns.gabia.co.kr
Address: 211.234.118.50
> q=mx
서버: ns.gabia.co.kr
Address: 211.234.118.50
*** ns.gabia.co.kr이(가) q=mx을(를) 찾을 수 없습니다. Query refused
> set q=mx
> example.co.kr
서버: ns.gabia.co.kr
Address: 211.234.118.50
example.co.kr MX preference = 10, mail exchanger = mail.example.co.kr
example.co.kr nameserver = ns.gabia.net
example.co.kr nameserver = ns1.gabia.co.kr
example.co.kr nameserver = ns.gabia.co.kr
>
피드 구독하기:
글 (Atom)