출처
http://programmingsummaries.tistory.com/352
http://dezang.net/692
http://www.clien.net/cs2/bbs/board.php?bo_table=lecture&wr_id=269657
윈도우의 cmd 환경을 리눅스와 같이 사용할 수 있도록 해주는, 내겐 너무 편한 툴이다.
나의 경우는 ConEmu 포터블을 다운받아 N드라이브 탐색기에 올려 클라우드 환경에서 사용 중이다.
참고
{Git Bash_Note}
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
'Windows' 카테고리의 다른 글
| GPT에 EFI & USB 3.0 으로 Windows7 설치 (0) | 2015.06.04 |
|---|---|
| Win8.1 K(N), PRO K(N) 정식 ISO 파일 다운로드 및 부팅USB 만들기 (0) | 2015.05.06 |
Java
# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-x64.tar.gz"
# tar xf jdk-8u51-linux-x64.tar.gz -C /usr/local/
# chown -R root. /usr/local/jdk1.8.0_51/
// 맨 아래 추가
# vi ~/.bash_profile
export JAVA_HOME=/usr/local/jdk1.8.0_51
export PATH=$PATH:$JAVA_HOME/bin
# source ~/.bash_profile
Mysql
# yum install -y mysql-server MySQL-python
// 파일 수정 및 추가
# vi /etc/my.cnf
controller # vi /etc/my.cnf
bind-address=192.168.56.0
default-storage-engine=innodb
innodb_file_per_table
collation-server=utf8_general_ci
init-connect='SET NAMES utf8'
character-set-server=utf8
# service mysqld start
# chkconfig mysqld on
# mysql_install_db
# mysql_secure_installation
// 유저 생성
# mysql -u root -p
mysql> grant all privileges on DBNAME.* to 'USERNAME'@'localhost' identified by 'PASSWORD' with grant option;
mysql> flush privileges;
// 비밀번호 찾기
# service mysqld stop
# mysqld_safe --skip-grant-tables &
# mysql
mysql> use mysql;
mysql> select host, user, password from user;
mysql> update user set password=password('NEW_PASSWOD') where user='USERNAME';
mysql> Bye
# /etc/rc.d/init.d/mysqld restart
'Linux > CentOS' 카테고리의 다른 글
| Linux에서 Windows 공유폴더 사용(samba) (1) | 2015.10.05 |
|---|---|
| yum으로 rpm만 다운로드 하기 (0) | 2015.06.10 |
| CentOS에 ntfs usb 마운트 (0) | 2015.06.05 |
| Linux GPT 파티션 (0) | 2015.06.04 |
| Docker in CentOS 7 minimal (0) | 2015.04.09 |
출처
http://blog.naver.com/sungback/90192049900
https://packagecontrol.io/installation#st3
http://blog.gaerae.com/2014/03/sublime-text-3-default-settings.html
1. 사용자 설정하기
Preferences -> Settings - User -> 아래 내용 붙여넣기
{
"auto_complete": true,
"auto_indent": true,
"default_encoding": "UTF-8",
"disable_formatted_linebreak": true,
"font_size": 14,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"smart_indent": true,
"tab_size": 2,
"trim_trailing_white_space_on_save": true,
"word_wrap": true,
"line_padding_top": 2,
"line_padding_bottom": 2,
"font_face": "NanumGothicCoding",
"tab_size": 4,
"draw_white_space": "all",
"translate_tabs_to_spaces": true,
"default_line_ending": "unix",
"rulers": [80, 120],
"highlight_line": true,
"fade_fold_buttons": false,
"bold_folder_labels": true,
"caret_style": "phase",
"line_padding_top": 1,
"line_padding_bottom": 1,
"always_show_minimap_viewport": true,
"draw_minimap_border": true
}
2. 키보드 단축키 등 설정하기
Preferences -> Key Bindings - User -> 아래 내용 붙여넣기
[
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+shift+v"], "command": "paste" },
{ "keys": ["ctrl+shift+r"], "command": "reindent", "args": {"single_line": false} },
{ "keys": ["ctrl+alt+b"], "command": "run_existing_window_command",
"args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}
}
]
3. Package Control(유용한 패키지를 설치하기 위한 플러그인?) 설치
Ctrl + ` 눌러서 콘솔을 연다.
아래 내용 중 SUBLIME TEXT 3 것 복사해서 붙여넣는다
https://packagecontrol.io/installation#st3
sublime text 3 를 재시작 한다.
Ctrl + Shift + p 를 눌러 아래 2개를 차례대로 설치한다.
package install, sublimeREPL
4. 실행
sublime text 3 우측 하단에 Plain Text 를 눌러 Python - Python 으로 변경
간단한 예제 코드를 작성한 뒤 Ctrl + b 를 눌러 Python을 누르면 아래쪽에 실행 결과가 나온다.
입력이 필요한 실행은 Ctrl + Alt + b 를 눌러 실행한다.
'Tools > Sublime Text 3' 카테고리의 다른 글
| 나의 sublime text3 javascript 설정 (0) | 2015.12.13 |
|---|---|
| sublime text 3 자동완성 툴 (0) | 2015.10.15 |
| node build 설정 (0) | 2015.10.15 |
| sublime text 3 html 설정 (0) | 2015.09.21 |


