Author Archives: apollo89

About apollo89

아폴로89 입니다.

가상 사설망(VPN)

  가상 사설망(VPN)이란 인터넷과 같은 공중망을 이용하여 사설망이 요구하는 서비스를 제공할 수 있도록 구축한 망으로 공중망 내에서 마치 단일 회사만 사용하는 전용선처럼 사용할 수 있는 기술을 말합니다. 공중망을 공유하기 때문에 낮은 비용으로 전용선과 같은 수준의 능력을 제공하므로, 최근 많은 기업의 … Continue reading

Posted in Network | Tagged , , , , , | 2 Comments

파일의 첫라인을 지우는 스크립트.

  작업을 하다가 엄청난 수의 파일중에 특정문자열(“format=%S”) 이 포함된 파일의 첫번째 줄을 지워야 하는 문제가 발생해서 스크립트를 하나 작성했다. 물론 하부 디렉토리도 많이 있으며, 모든 파일 대상이다. find 명령어와 sed 명령을 이용해 해결했다. 응용하면 더 잼있는 것도 만들수 있을 듯.. … Continue reading

Posted in System, Util/Tools | Tagged , , , , | Leave a comment

파이썬(python) 스터디 – String

  Programming Languages 에서 Google’s Python Class 의 String 을 스터디.. http://code.google.com/intl/ko-KR/edu/languages/google-python-class/strings.html 대충 읽고 나니 연습문제가! 지난번에 받은 google-python-exercises 에서 basic/string1.py 을 풀어보았다. # A. donuts # Given an int count of a number of donuts, return a string # … Continue reading

Posted in Python/Ruby/Perl | Tagged , , , | Leave a comment

파이썬(python) 스터디 – 설치

  파이썬 스터디를 시작했다.. Google Code 에 좋은 Code University 가 있더라.. http://code.google.com/intl/ko-KR/edu/ Programming Languages 에서 Google’s Python Class 부터 시작하기로 했다. 먼저 Python Set Up 부터.. http://www.python.org/download/ 에 가면 각종 버전별로 다운로드 받을 수 있다. 자신의 OS 에 맞게 … Continue reading

Posted in Python/Ruby/Perl | Tagged , , , | Leave a comment

농협 피싱 조심.

  한 2일 전에 농협 보안 강화하라는 문자가 왔다.. 딱 보자마자 피싱이구나 생각이 들었는데.. 어떻게 생겼나 궁금해서 접속해 봤다.. (지금은 열리지 않는다.) 보안강화 하라는 창이 뜨고 다른 메뉴는 눌러지지 않는다. 보안 강화 신청하기를 누르면 위와 같은 창이뜬다.. 딱봐도 입력하기 무지 … Continue reading

Posted in Security/Hacking | Tagged , , | Leave a comment

자바스크립트 해제

  자바스크립트 해제 즐겨찾기에 아래의 내용 편집해서 넣으면 속칭 긁기 안되는 사이트 글기가 가능해짐.. javascript:function r(d){d.oncontextmenu=null;d.onselectstart=null;d.ondragstart=null;d.onkeydown=null;d.onmousedown=null; d.body.oncontextmenu=null;d.body.onselectstart=null;d.body.ondragstart=null;d.body.onkeydown=null; d.body.onmousedown=null;};function unify(w){r(w.document);if(w.frames.length>0){for(var i=0;i<w.frames.length;i++){try{unify(w.frames[i].window);}catch(e){}};};};unify(self);  

Posted in Javascript/Html | Tagged | Leave a comment

연봉 1억 이상 고소득 신의 직업 알고보니

  연봉 1억 이상 고소득 신의 직업 알고보니… 연간 억대 수입을 올리는 농민과 어민 숫자가 가파르게 증가하고 있다. 통계청은 ‘2010년 농림어업총조사’ 자료를 분석한 결과 농수산물 판매로 1억원 이상 벌어들인 농가는 2010년 기준 2만6000가구로 2005년(1만6000가구)보다 58.5% 늘었다고 24일 발표했다. 부농이 전체 … Continue reading

Posted in Scrap | Tagged , | Leave a comment

구글 애드센스 특정 광고 차단

  구글 애드센스 특정 광고 차단 * 특정 도메인 차단 1. 광고에 마우스 우클릭해서 링크바로가기 복사(절대 광고를 클릭하면 안됨) 2. 메모장에 붙여 넣어 adurl 항목의 도메인 복사 3. 애드센스 로그인 > 광고 허용 및 차단 > 차단옵션 > 광고주 URL … Continue reading

Posted in Etc, Javascript/Html | Tagged , , , , , | Leave a comment

Flume 설치

  1. Flume 설치 ]$ wget https://github.com/downloads/cloudera/flume/flume-distribution-0.9.4-bin.tar.gz ]$ tar xvzf flume-distribution-0.9.4-bin.tar.gz ]$ ln -s flume-distribution-0.9.4 flume ]$ cd /service/workspace/flume 2 Flume 설정 2.1 flume-site.xml 설정 ]$ vi conf/flume-site.xml … flume.master.servers localhost This is the address for the config servers status … Continue reading

Posted in Bigdata/Hadoop | Tagged , | Leave a comment

Hive 설치

  1 Hive 설치 설치 위치 : /service/workspace (각자 환경에 맞게 구성) ]$ wget http://mirror.apache-kr.org/hive/hive-0.8.1/hive-0.8.1.tar.gz ]$ tar xvzf hive-0.8.1.tar.gz ]$ ln -s hive-0.8.1 hive ]$ cd /service/workspace/hive&nbsp; 2 Hive 설정 2.1 hive-site.xml 설정 ]$ vi conf/hive-site.xml <?xml version=”1.0″?> <?xml-stylesheet type=”text/xsl” … Continue reading

Posted in Bigdata/Hadoop | Tagged , , | Leave a comment