How to get my api key
How to get my api key Go to https://dev.twitter.com/apps/new9.5K and log in, if necessary Supply the necessary required fields, accept the TOS, and solve the CAPTCHA. Submit the form Copy the consumer key (API key) and consumer secret from the screen…
[JAVA] Eclipse Maven Spring Mybatis 개발환경 세팅 및 프로젝트 생성 DB연동(MySQL)
[JAVA] Eclipse Maven Spring Mybatis 개발환경 세팅 및 프로젝트 생성 DB연동(MySQL) JAVA 설치 JDK 설치 www.oracle.com 에서 Java SE Development Kit 7 버전을다운로드하여설치한다. http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 환경변수설정…
루비 기본 100분 1편(Ruby in 100 minutes – Part 1)
https://www.youtube.com/watch?v=vjyL6fLzJjA&list=PLfxK9Ru7VZqf2PCRir4NiKz210UpRnWjn
일일 시스템 점검 스크립트
19.1 일일 시스템 점검 스크립트 1. check.sh 만들기 [root@isp-dns ~]# vi check.sh echo -e “\n 1. 오늘날자:” date echo -e “\n 2. 디스크용량” df -h echo -e “\n 3. 포트점검” netstat -an | grep LISTEN echo -e “\n 4. /tmp점검” ls -al /tmp…
서버 점검 명령어
CPU CPU Check 작업/확인 cat /proc/cpuinfo CPU 정보를 확인할 수 있음 CPU Usage Check 작업/확인 top, sar 프로세스 사용률 및 CPU 사용률을 확인할 수 있음 DISK Mount Point Check 작업/확인 mount /etc/fstab 마운트 정보를 확인할 수 있음 Partition List Check 작업/확인 fdisk -l , cat/proc/partitions…
CodeIgniter 보안강화
http://www.codeigniter-kr.org/lecture/view/247/page/1/ 최근에 제가 운영하는 사이트에서 보안 문제로 말썽이 많았습니다. CodeIgniter 개발자분들은 한번씩은 꼭 생각해 주셔야 하는데요, 보안이 약한경우: 개인정보 유출이나 (SQL Injection), 악성코드 투입 (XSS), 세션 하이재킹 (MITM Attack), 등등… CodeIgniter 2.1.0에서 보안쪽으로 많이…
컨트롤러 Controllers 설명
http://sample.cikorea.net/mvc_sample/basic_sample 컨트롤러란 무엇인가? 간단하게 말하면 컨트롤러는 URL과 상호작용하는 클래스 파일이라고 할수 있습니다. 아래 URI를 보세요 : example.com/index.php/blog/ 위 예제에서 CodeIgniter 는 blog.php 라는 파일을 Controller 로서 찾은후 로드 합니다. 컨트롤러의 이름이 URI 의 첫번째 새그먼트와 동일하다면 해당 컨트롤러는…
index.php 죽이기!!
많은 분들이 codeigniter 도입 초반부에 index.php 없이 쓰려다 암초에 걸려서 포기하거나 스트레스를 받거나 하실 겁니다. (사실 저도 가끔 다른 환경에 설치하다보면 안될 때가 있습니다.) 그래서 여태까지 경험으로 축적했던 내용들을 풀어볼까 합니다. http://codeigniter-kr.org/index.php/lecture/lists 와 http://codeigniter-kr.org/lecture/lists 어느 것이 더…
How to Automatically Block someone who is Snooping around your Site
Security: Automatically block someone who is snooping around your site In this article, we will expand on our PHP Ban script and show you how to automatically ban people attempting to snoop around your website. For this article, you will need the PHP…
[Codeigniter 입문] Codeigniter의 개념 잡기와 게시판 만들기 4.5 – 글 보기
각설하고, 이번에는 지난 번 만들었던 간단한 리스트를 뿌려주는 프로그램에 덧붙여 보겠습니다. 먼저, 다음과 같이 컬럼를 추가합니다. 내용을 담기 위한 memo컬럼과 조회수를 보여줄 view컬럼을 추가했습니다. (나중에 쓰일건 천천히 하면서 추가합시다.) 그럼 먼저, 게시글을 클릭했을 때 게시글 조회를 할 수 있도록 해 봅시다. 먼저 컨트롤러에서 view 메소드를 추가해 봅니다. 딱히 설명할…