Sunday, November 26, 2017

Adobe Brackets tab 누를때 spaces 아니라 tab 문자 사용하는 법

맨 우측 아래 status bar 에 보면 spaces / tab 전환하는 버튼 있음
Spaces : / Tab Size : 로 표기되어 있음
키워드 : In the lower-right of the status bar you should see an indicator saying "Tab Size."
레퍼런스 : Adobe brackets: write spaces instead of tabs

Monday, November 13, 2017

Adobe brackets 에서 라인 지우기 / 라인 옮기기 hotkey

라인을 지우려면 Ctrl Shift D,
라인을 이동하려면 Ctrl Shift up/down arrow 를 쓰면 된다.
키워드 : line, move, delete, remove

Wednesday, October 18, 2017

Adobe brackets 에서의 regex

perl 등 일반적인 regex 와 사용법은 비슷하다.
$1 $2 : matched words
(.+) : characters
(\S+) : non-space characters
[a-zA-z0-9]+ : 일반적인 알파벳과 숫자 섞인 word
등등
키워드 : regular expressions

Friday, September 29, 2017

dropbox 에서 맥과 윈도우 동시에 쓸때 파일명 문자 주의점

맥의 파일명에서만 쓸수 있는 < > 같은 문자로 파일 이름을 지은 후
윈도우에서 동기화를 하면 그 파일은 윈도우 쪽에서는 존재하지 않게 되므로 주의.
키워드 : file, mac os x, windows, file name, characters

Sunday, September 24, 2017

Windows 의 cmd 에서 drive 변경 없이 cd 하는 법

Command line 에서 D 드라이브로 chdir 하려면

> d:
> cd D:\myfolder

와 같이 하는데 이걸 한줄로 하려면

> cd /D D:\myfolder

와 같이 하면 된다.

Saturday, September 23, 2017

Windows 10 의 cmd 에서 network 상의 다른 컴퓨터로 cd 하려면

윈도우의 command line 에서 같은 네트워크 상의 다른 컴퓨터의 폴더로 들어가려면
cd 대신 pushd 를 쓰면 된다.

예: pushd \\mycomputer\john\myfolder

(pushd 를 쓸때마다 E: F: G: .. 이렇게 네트워크 드라이브가 하나씩 늘어나기 때문에,
Z: 까지 만들어지면 더이상 pushd 를 쓸수 없으므로 기존 네트워크 드라이브의 연결을 끊어주어야
pushd 를 계속 사용할 수 있다. 본래 pushd 의 용도는 나중에 popd 를 해서 원래 current directory 로
돌아가도록 하는 용도라 네트워크에 사용하면 이런 현상이 생기는 것임)

검색어 : chdir, change directory, folder, LAN
출처 : How do I change to a mapped network drive at the command line?

Saturday, August 26, 2017

dropbox 에서 변경 내역 보는 법

https://www.dropbox.com/events
로 들어가 보면 됨
키워드 : 드롭박스

Wednesday, May 31, 2017

Open specific folder in Finder

Open specific folder in Finder
Use the following keyboard shortcuts to open a specific folder in Finder:
Command-Shift-C -- top-level Computer folder
Command-Shift-D -- Desktop folder
Command-Shift-F -- All My Files folder
Command-Shift-G -- Go to Folder window
Command-Shift-H -- Home folder for your account
Command-Shift-I -- iCloud Drive folder
Command-Shift-O -- Documents folder
Command-Shift-R -- AirDrop folder
Command-Shift-U -- Utilities folder
Command-Option-L -- Downloads folder
검색어 : mac os x finder documents shortcut
레퍼런스 : 15 Finder shortcuts every Mac user needs to know

Tuesday, March 7, 2017

Wednesday, March 1, 2017

윈도우에서 관리자 모드로 command 창 띄우는 shortcut

Windows key + X -> A
키워드 : hotkey
검색어 : command line, prompt

Monday, February 20, 2017

윈도우10 설치중 "업그레이드 도우미의 작동이 중지되었습니다" 에러



다음 링크에서 직접 받으면 잘 되는 경우가 많이 있다.
https://www.microsoft.com/ko-kr/software-download/windows10

키워드 : install, format, windows 10

Tuesday, February 14, 2017

정해진 횟수만큼 ping 하는 법

-c 를 이용한다. 예를 들어 4번 한다면 다음과 같이 함.
$ ping -c 4 127.0.0.1
-c 를 안하면 ^C 로 멈출때까지 무한히 ping 을 하게 됨

open -n, open -a

terminal 에서
open -a
하면 그 어플리케이션이 열린다.
open -n -a
하면 어플리케이션이 별도의 instance 로 열림

예) open -n -a blender
키워드 : command line
레퍼런스 : How to open multiple instances of an application in OS X

Mac OS 에서 파일 패스명 복사하는 법

폴더나 파일을 선택하고 Command + Option + C 하면 된다.
또는 다음과 같이 오른클릭 후 Option 누르면 Copy ~ as pathname 이라는 명령어가 팝업메뉴에 생긴다.

그러면 이제 복사된 path를 Command + Shift + G 해서 띄운 창에 붙여넣으면 됨

키워드 : file path, copy, OS X, shortcuts