본문 바로가기

전체 글

ubuntu에서 touchpad는 오른손 잡이로, mouse는 왼손 잡이로 설정하기 ubuntu에서 touchpad는 오른손 잡이로, mouse는 왼손 잡이로 설정하기 우분투 설정에서 mouse는 왼손 잡이로 설정 아래 명령어를 이용하여 마우스 버튼 배치만 변경 $ xinput set-button-map 'Logitech USB Optical Mouse' 3 2 1 참고 : http://askubuntu.com/questions/376994/make-mouse-left-handed-and-touchpad-right-handed 더보기
root 권한 없이 npm 설치하기 root 권한 없이 npm 설치하기~/.npmrcprefix=${HOME}/.npm-packages ~/.zshrcNPM_PACKAGES="${HOME}/.npm-packages" NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" PATH="$NPM_PACKAGES/bin:$PATH" 참고 : https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md 더보기
인증서 연장하기기기 Setting up a SSL Cert from Comodo1. CSR 생성(4096)$ openssl req -nodes -newkey rsa:4096 -keyout myserver.key -out server.csr 2. CSR을 서비스 제공 업체에 제공하고, 나머지 key파일을 이메일로 받는다.3. 이메일로 받은 key파일을 모두 묶어둔다.cat www_hoodpub_com.crt COMODORSADomainValidationSecureServerCA.crt AddTrustExternalCARoot.crt >> hoodpub.com.pem 4. nginx에서 설정된 파일 명으로 key 명을 변경mv myserver.key hoodpub.com.key 5. nginx 재시작sudo /etc/init... 더보기
emacs 즐겨쓰는 키 자주 사용하는 설정 변수 variable memo flymake-python-pyflakes-load pep8 모드 변경시 자주 사용하는 단축키 shortcut key memo Ctrl c, Ctrl + 글자 확대 더보기
소규모 문자 전송 서비스 문자 전송 사비스http://www.bluehouselab.com/ 더보기
git 관련 궁금한 내용. Git 관련 질문 merge vs rebase commit message 에서 동사의 권장 형태 init 이후, 처음 push -u 의 의미 git remote 연산 시작시에, 패스워드 계속 물어보는 경우 git log 의 결과에서 [index] 이후에 나타나는 코드의 의미 rede-review branch가 best practice가 아니라면, 대안은? history 에 들어 있는 author 변경하기 $ git rebase -i [기준 commit] $ git commit --amend --author="Author Name " $ git rebase --continue https://stackoverflow.com/a/3042512/1118583 더보기
android app 재시작하기 android app 재시작하기http://www.android.pk/blog/general/launch-app-through-adb-shell/format$ adb shell am force-stop $ adb shell am start -a example$ adb shell am force-stop com.ionicframework.hellomaptab2968152 $ adb shell am start -a android.intent.action.MAIN -n com.ionicframework.hellomaptab2968152/.helloMapTab2 더보기
avd 생성하기 AVD 생성하기# target 조회 하기( 어떤 형식의 target을 기본으로 하여 avd를 만들지 판단) $ android list targets 예)---------- id: 5 or "Google Inc.:Google APIs:19" Name: Google APIs Type: Add-On Vendor: Google Inc. Revision: 8 Description: Android + Google APIs Based on Android 4.4.2 (API level 19) Libraries: * com.google.android.media.effects (effects.jar) Collection of video effects * com.android.future.usb.accessory (usb... 더보기