This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" #################### Vim #################### | |
" ########## File ########## | |
set nocompatible | |
set backspace=indent,eol,start " Backspace 사용에 이전 줄과 연결 | |
set backup " Backup 활성화 | |
set backupdir=~/.vim/backup | |
set history=50 " 명령어 기록 수 | |
set novisualbell " 화면 깜빡임 사용안함 | |
set noerrorbells " 오류음 사용안함 | |
set lazyredraw " 매크로 실행중 화면을 다시 그리지 않음 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you meet install errors, see abid-hussain's comment | |
sudo apt-get --force-yes install build-essential openssl libreadline6 libreadline6-dev curl git-core \ | |
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \ | |
libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison | |
&& | |
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%-- Created by IntelliJ IDEA. --%> | |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<form method="POST" action="loginhandle.jsp"> | |
<p>ID : <input type="text" name="userId"></p> | |
<p>PW : <input type="password" name="userPassword"></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%-- | |
Created by IntelliJ IDEA. | |
User: changju | |
Date: 13. 4. 24 | |
Time: 오후 9:36 | |
To change this template use File | Settings | File Templates. | |
--%> | |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
<html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created with IntelliJ IDEA. | |
* User: changju | |
* Date: 13. 4. 24 | |
* Time: 오후 9:40 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
package javaBean; | |
public class User { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def Bresenham(x1,y1,x2,y2) | |
if(x1 > x2) | |
Bresenham(x2,y2,x1,y1) | |
return | |
end | |
dx = x2 - x1 | |
dy = y2 - y1 | |
if( dy< 0 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APACHE 서버의 설치 | |
먼저 아파치 서버를 설치합니다. | |
1 | |
$ apt-get install apache2 | |
위의 명령을 실행했는데 설치가 안되면 다음 명령을 실행하고 나서 위의 명령을 다시 실행합니다. | |
1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Your Website</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define INITIAL_LIFE 5 | |
#define MIN_LEVEL 1 | |
#define MAX_LEVEL 10 | |
#define TRUE 1 | |
#define FALSE 0 | |
typedef struct{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text | |
install package control | |
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation') | |