'Tools'에 해당되는 글 9건

  1. 2016.12.21 Xcode 8 에 Vim 단축키 적용하기
  2. 2016.12.21 JMeter 에서 csv 사용하기
  3. 2016.12.21 JMeter 소개 및 설치
  4. 2015.12.13 나의 sublime text3 javascript 설정
  5. 2015.10.18 Git 명령어 정리
  6. 2015.10.15 sublime text 3 자동완성 툴
  7. 2015.10.15 node build 설정
  8. 2015.09.21 sublime text 3 html 설정
  9. 2015.08.05 sublime text 3 python 설정

Xcode 8 에 Vim 단축키 적용하기

|


# Xcode 8 에 Vim 단축키 적용하기
> 2016.12.21
> MacOS

1. Xcode 종료
1. [링크](https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md) 작업 수행
  1. Xcode 8 의 경우에만 수행합니다.
  1. 키체인 접근 실행
  1. 메뉴의 키체인 접근 - 인증서 지원 - 인증서 생성
    1. 이름 : XcodeSigner
    1. 신원 유형 : 자체 서명 루트
    1. 인증서 유형 : 코드 서명
  1. `sudo codesign -f -s XcodeSigner /Applications/Xcode.app`
1. [링크](https://github.com/XVimProject/XVim) 작업 수행
  1. Repository Clone
    ```
    mac $ git clone https://github.com/XVimProject/XVim.git
    mac $ cd XVim
    ```
  1. 출력되는 내용 확인
    ```
    mac $ xcode-select -p
    /Applications/Xcode.app/Contents/Developer
    ```
    * 만약 안나오면 `xcode-select -s` 수행 후 확인
  1. 설치
    ```
    mac $ make
    ```
    * 이 때 `y` 를 꼭 해줘야 한다.
1. Xcode 실행
  * `Load Bundle`
1. (Options) 삭제
  1. git clone 된 디렉터리 이동
    * `make uninstall` 
And


JMeter 에서 csv 사용하기

|


# JMeter 에서 csv 사용하기
> 2016.12.21

## CSV 이용 방법
* Add - Config Element - CSV Data Set Config
* Filename : 파일 경로
* Variable Names : ${변수명} 처럼 사용하기 위해 사용 할 변수명 설정
* 나머진 기본값

'Tools > JMeter' 카테고리의 다른 글

JMeter 소개 및 설치  (0) 2016.12.21
And


JMeter 소개 및 설치

|


# JMeter 소개 및 설치

> 2016.12.21
> MacOS 기준

## JMeter?
* 가장 범용적으로(?) 사용 되는 부하테스트 툴
* Java로 만들어졌으며 Apache 재단에서 관리된다. [링크](http://jmeter.apache.org/)

## JMeter 설치
* [링크](http://jmeter.apache.org/download_jmeter.cgi) 에서 다운로드
* 적당한 곳에 압축 풀고 압축 푼 디렉터리에서 `java -jar ./bin/ApacheJMeter.jar` 명령어로 JMeter 실행

## JMeter 기본 설정
* Thread Group 추가
	* Number of Threads : user 수
	* Ramp-Up Period : Thread 를 몇초 만에 모두 띄울 것인가
	* Loop Count : Loop 돌릴 횟수
* 필요한 로직을 Thread Group 밑에 구현
* 결과 출력
	* Add - Listner
		* View Results Tree / View Results in Table / Response Time Graph 추가

'Tools > JMeter' 카테고리의 다른 글

JMeter 에서 csv 사용하기  (0) 2016.12.21
And


나의 sublime text3 javascript 설정

|


기본 환경 설정은 아래의 다른 sublime 설정을 따르고 추가적인 설정을 진행


출처 : http://www.sitepoint.com/essential-sublime-text-javascript-plugins/


Control + Shift + P 로 팔렛트를 띄워 Package Controll Install 에서 아래의 것들을 설치한다.



1. Babel : JS Syntax

2. JSHint (& JSHint Gutter) : Alt + J 를 누르면 신택스 오류 띄워줌

아래와 같이 Set Linting Preferences 설정


{

  "node": true,

  "camelcase": true,

  "eqeqeq": true,

  "esnext": true,

  "globals": {},

  "globalstrict": true,

  "quotmark": true,

  "undef": true,

  "unused": true,

  "esnext": true,

  "quotmark": "single"

}


3. DocBlockr : /** 엔터 누르면 jsdoc 쓸 수 있게 해줌

4. JSFormat : 아직은 뭐가 좋은지 잘 모르겠다.




'Tools > Sublime Text 3' 카테고리의 다른 글

sublime text 3 자동완성 툴  (0) 2015.10.15
node build 설정  (0) 2015.10.15
sublime text 3 html 설정  (0) 2015.09.21
sublime text 3 python 설정  (0) 2015.08.05
And


Git 명령어 정리

|


GUI가 편하긴 하지만 내가 원하는 기능을 찾기 위해 이리저리 클릭을 해야 할 경우가 있다.

그럴 경우엔 차라리 명령어로 처리하는 것이 간편하다.




Commit


// If multiple -m options are given, their values are concatenated as separate paragraphs.

$ cd $GitRepoDIR

$ git commit -m "COMMIT_MESSAGE"





Push


$ cd $GitRepoDIR

$ git remote add origin https://github.com/kanziwoong/NEW_REPOSITORY_NAME.git

$ git push -u origin master





Pull


$ cd $GitRepoDIR

$ git pull





Create a new repository on the command line


$ cd $GitRepoDIR

$ echo # NEW_REPOSITORY_NAME >> README.md

$ git init

$ git add README.md

$ git commit -m "first commit"

$ git remote add origin https://github.com/kanziwoong/NEW_REPOSITORY_NAME.git

$ git push -u origin master







And


sublime text 3 자동완성 툴

|


아래의 언어들에 대해 자동 완성을 해준다고 한다.

JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, XML, XSLT, Django, HTML5, Perl, CSS, Twig, Less, Smarty, Node.js, Tcl, TemplateToolkit, PHP


공식 홈페이지 : http://sublimecodeintel.github.io/SublimeCodeIntel/




설치 방법


Command + Shift + P  -  Install Package  -  SublimeCodeIntel




사용 방법


Sublime Text 를 재실행 후 자동완성이 필요한 곳에서 Control + Shift + Space 하면 된다.

변수가 선언 된 곳을 찾고자 할 땐 Control + Alt + Command + Up 하면 되며

다시 작업 중이던 곳으로 내려올 땐 Control + Alt + Command + Left 하면 된다.




'Tools > Sublime Text 3' 카테고리의 다른 글

나의 sublime text3 javascript 설정  (0) 2015.12.13
node build 설정  (0) 2015.10.15
sublime text 3 html 설정  (0) 2015.09.21
sublime text 3 python 설정  (0) 2015.08.05
And


node build 설정

|


Tools - Build System - New Build System...


아래와 같이 적고 node라는 이름으로 저장 후 해당 빌드시스템 선택

{

  "cmd": ["node", "$file"],

  "selector": "*.js"

}



나의 경우 nvm으로 node version을 관리하고 있기 때문에 

{

  "cmd": ["/Users/kanziw/.nvm/versions/node/v4.2.0/bin/node", "$file"],

  "selector": "*.js"

}


으로 적었으며 일반적인 경우는 첫번째로 가능하다.

node 명령어를 찾을 수 없다고 한다면 node를 설치 했는지 확인 해봐야 하며

설치 했고 cli 환경에서 정상 작동 한다면 which node 명령어로 node 명령어의 전체 경로확인 후 해당 경로를 적어야 한다.



설정 파일 위치

/Users/kanziw/Library/Application Support/Sublime Text 3/Packages/User/node.sublime-build




'Tools > Sublime Text 3' 카테고리의 다른 글

나의 sublime text3 javascript 설정  (0) 2015.12.13
sublime text 3 자동완성 툴  (0) 2015.10.15
sublime text 3 html 설정  (0) 2015.09.21
sublime text 3 python 설정  (0) 2015.08.05
And


sublime text 3 html 설정

|


출처

http://sublimetext.info/docs/en/extensibility/snippets.html

https://github.com/skuroda/PackageResourceViewer

https://packagecontrol.io/installation#Simple



1. Package Control 설치


Command Palette에 Install Package가 없다면 Package Control부터 설치해야 한다.

(Command Palette : 맥에선 Cmd + Shift + P 누르면 나오는 메뉴)


https://packagecontrol.io/installation#Simple 에 접속하여 자신의 버전에 맞는 명령문을 복사한 뒤 콘솔창에 입력한다.

콘솔창은 Ctrl + ` 혹은 View - Show Console 에 있다.




2. PackageResourceViewer 설치


Command Palette - Install Package - PackageResourceViewer 설치

Command Palette - PackageResourceViewer: Open Resource - HTML - html.sublime-snippet 선택

http://sublimetext.info/docs/en/extensibility/snippets.html 를 참조하여 수정


수정 예)

<snippet>

<content><![CDATA[<!DOCTYPE html>

<html lang="ko">

    <head>

        <meta charset="utf-8">

        <title>$1</title>

    </head>

    <body>

        $0

    </body>

</html>]]></content>

<tabTrigger>html</tabTrigger>

<scope>text.html</scope>

</snippet>


저장한 뒤 html 문서 편집 시 html + tab 하면 위의 템플릿이 자동 완성 된다.





'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 python 설정  (0) 2015.08.05
And


sublime text 3 python 설정

|


출처

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
And


prev | 1 | next