'etc'에 해당되는 글 45건

  1. 2014.03.22 mint linux, ssh 활성화
  2. 2014.03.13 [git] 파일 하나만 다른 브런치로부터 가져오기
  3. 2014.03.05 [git] 파일 하나만 전의 리비전으로 되돌리기
  4. 2014.03.05 [git] 다른 브랜치의 파일 비교하기
  5. 2014.03.01 [linux] 파일 찾기, find
  6. 2014.02.28 [TerminalIDE] vim
  7. 2014.02.28 [app] 안드로이드에서 개발환경을 만든다! Termianl IDE
  8. 2014.02.25 [firefox] 파이어폭스 속도 향상
  9. 2014.02.25 [firefox] 설정 초기화
  10. 2014.02.18 [git] git, 리모드 브랜치부터 새로운 로컬브랜치를 생성
  11. 2013.12.15 [vim] copy and paste, 복붙
  12. 2013.11.13 [etc] 안드로이드 기기, 위치 추적
  13. 2013.10.28 [git] 마지막 commit commet 수정
  14. 2013.10.16 정규표현식 테스트 사이트, regex test
  15. 2013.10.15 [git] git clean, 언트렉킹 파일 제거
  16. 2013.10.08 [etc] google spreadsheet, countif
  17. 2013.09.19 [git] git 간편안내서
  18. 2013.09.19 [git] 다른 branch의 한 파일만 가져오기
  19. 2013.09.19 [git] git revert, 이전 커밋으로 되돌림
  20. 2013.09.10 [git] branch 삭제
  21. 2013.08.13 [mac] terminal에서 현재 위치 finder로 열기
  22. 2013.07.29 [git] 파일지정해서 이전의 소스로 되돌리기.
  23. 2013.07.19 [etc] Facebook, Twitter 프로필 이미지 사이즈
  24. 2013.07.16 [etc] git commit 메세지 수정
  25. 2013.06.04 [GoogleDoc] 셀비교
  26. 2013.05.30 ISO 국가코드
  27. 2013.04.12 [etc] 노트2 + 맥북 : USB 테더링
  28. 2013.01.08 [mac][terminal] 파일명 일괄변경, 일괄복사, mv, cp
  29. 2012.12.13 [google] 고급검색 연산자 2
  30. 2012.11.15 [etc] git 7

mint linux, ssh 활성화

etc 2014. 3. 22. 12:37



http://linuxg.net/how-to-enable-ssh-on-linux-mint-15-14-13-12/

Posted by tenn
,





git checkout [branch_name] -- [filename]





http://stackoverflow.com/questions/2364147/how-to-get-just-one-file-from-another-branch

Posted by tenn
,




git checkout HEAD path/to/file.txt


git checkout [commit revision] [file name]


http://stackoverflow.com/questions/2733873/reverting-a-single-file-to-a-previous-version-in-git

Posted by tenn
,




git diff --name-status branch1..branch2


git difftool branch1:config/environment.rb branch2:config/environment.rb



http://blog.firsthand.ca/2011/05/compare-git-branches-compare-two-files.html



Posted by tenn
,

[linux] 파일 찾기, find

etc 2014. 3. 1. 17:30



** 파일이름으로 검색

하위디렉토리 까지 찾아줌


find . -name '*.sh'


find






Posted by tenn
,

[TerminalIDE] vim

etc 2014. 2. 28. 10:21

이동


h : left

j  : down

k : up

l : right

Posted by tenn
,


https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside&hl=en




git도 되고

vim도 되고

자바도 되고

심심할 일은 없겠다.

Posted by tenn
,



url 입력창     about:config


network.http.pipelining       false -> true




앱캐시를 켜는 듯??


http://firefoxinside.tistory.com/31

Posted by tenn
,

[firefox] 설정 초기화

etc 2014. 2. 25. 11:58

파이어폭스 설정 초기화


① url 입력창에 about:support 입력

② reset firefox 클릭




http://blog.creation.net/530

Posted by tenn
,



git checkout -b test origin/test




http://stackoverflow.com/questions/1783405/git-checkout-remote-branch

Posted by tenn
,

[vim] copy and paste, 복붙

etc 2013. 12. 15. 09:44

우리의 영원한 친구

복사 붙붙붙



**한줄

dd  : 한줄잘라내기

p   :  붙여넣기


yy : 한줄 복사

p


** 여러줄

v -> v : 영역 지정


y  : 복사

p


d : 잘라내기

p




참고로  : undo는 u





Posted by tenn
,



https://www.google.com/android/devicemanager


계정에 등록되어 있는 기기의 위치를 알수 있다.

벨소리도 울린다!

Posted by tenn
,



$ git commit --amend


http://git-scm.com/book/ko/Git-%EB%8F%84%EA%B5%AC-%ED%9E%88%EC%8A%A4%ED%86%A0%EB%A6%AC-%EB%8B%A8%EC%9E%A5%ED%95%98%EA%B8%B0

Posted by tenn
,



https://www.debuggex.com/

Posted by tenn
,



언트렉킹 파일 제거
git clean -xdf 

Posted by tenn
,

=COUNTIF(A4:A,"NG")



A4〜

NG의 갯수를 카운트




Posted by tenn
,

[git] git 간편안내서

etc 2013. 9. 19. 10:47



http://rogerdudler.github.io/git-guide/index.ko.html

Posted by tenn
,


git checkout [branch] [file]


하면 파일 하나만 가져온다.


git reset HEAD [file]





Posted by tenn
,




git revert [commit 명]


이전의 커밋으로 되돌림.

이력이 남음.


(이력이 남지 않는 것은 git reset)



http://en.sourceforge.jp/magazine/09/03/16/0831212/3

Posted by tenn
,

[git] branch 삭제

etc 2013. 9. 10. 21:22


Local branch 삭제

git branch -d hoge


remote branch 삭제

git push --delete origin hoge




혹은 


Local

$ git branch -D bugfix

Remote

$ git branch -rd origin/bugfix
Deleted remote branch origin/bugfix (was 2a14ef7).
$ git push



http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-remotely

Posted by tenn
,



open .



Posted by tenn
,

git checkout [commit번호] [file...]



Posted by tenn
,

** 페이스북


프로필이미지 구하기

http://graph.facebook.com/[facebook id]/picture?type=large


small    50x50

normal    100x100

large    180x180



** 트위터

http://a0.twimg.com/profile_images/3441454604/cffb106a40dd3b574fdc6b6424944c34_normal.jpeg

url의 normal을 bigger나 mini로 바꾸어주면 이미지를 얻을수 있다.


bigger : 73 x 73

normal : 48 x48

mini : 24 x 24

Posted by tenn
,


git commit --amend -m "your new message"


http://stackoverflow.com/questions/179123/how-do-i-edit-an-incorrect-commit-message-in-git


Posted by tenn
,

[GoogleDoc] 셀비교

etc 2013. 6. 4. 17:43

A1셀과 B1셀을 비교.


=EXACT(A1,B1)


결과 : TRUE, FALSE



Posted by tenn
,

ISO 국가코드

etc 2013. 5. 30. 17:06



http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes



Posted by tenn
,



노트2

> pdanet 설치

USB debug 모드


맥북

> http://www.junefabrics.com/iphone/mac.php 에서 pda넷 설치

connet 



--> OK!



Posted by tenn
,


일괄 변경


ls | sed "s/\(.*\)변경전파일명의문자열\(.*\)/mv '&' '\1변경후파일명의문자열\2' /" |sh



ex ) png파일의 끝에 _thumb를 붙임

a.png → a_thumb.png


ls | sed "s/\(.*\).png\(.*\)/mv '&' '\1_thumb.png\2' /" |sh



일괄변경 & 일괄복사


*.png -> *_thumb.png 같은 디렉토리에 일괄복사

find ./ -name "*.png" | sed -e 'p' -e 's/.png/_thumb.png/g' | xargs -n 2 cp


*.png -> *_thumb.png 로 이름 바꿈

find ./ -name "*.png" | sed -e 'p' -e 's/.png/_thumb.png/g' | xargs -n 2 mv  



Posted by tenn
,

[google] 고급검색 연산자

etc 2012. 12. 13. 10:57



*** 특정 사이트 검색

site:


keyword site:yahoo.com    <- 사이트 지정 검색

keyword -site:yahoo.com   <- 지정 사이트 제외 검색






*** filetype 지정 검색


filetype:pdf  <- pdf 파일 검색






*** 메일 고급검색



http://support.google.com/mail/bin/answer.py?hl=ko&answer=7190

Posted by tenn
,

[etc] git

etc 2012. 11. 15. 18:52








사용법(생성부터 발행까지)


git clone [URL]


git submodule init
git submodule update

git checkout [branch名]   : 브랜치 지정
git branch   : 브랜치 확인

git commit [files ..] -m "comment"  : commit
git push origin [branch]


-----------------------------
사용법

git diff    : 변경비교
git add [file ..] 
git status
git log -[num]  : 로그 확인 
git checkout -- [file] : 변경을 취소하고 이전 커밋 상태로 돌림.

-----------------------------
파일삭제

xcode에서 trash로 보내지말고, reference만 제거한후
git rm [file]  : 파일 한개
git rm -r [path] :  디렉토리 전부
한 후,

git commit -a -m "comment"
git push origin [branch]
-----------------------------
브랜치 만들기

git branch [branch名]
git checkout [branch名]
git branch



stash : 완결되지 않은 작업을 저장.


#현재 작업을 저장해두고 branch를 head로 돌린다.(git reset --hard)
git stash save

#저장되어 있는 stash들 보기
git stash list

#stash를 꺼내와서 적용
#stash들은 stack에 저장된다. 따라서 가장 최근에 save한 stash가 현재 branch에 적용된다.
git stash pop

#git stash pop 과 비슷한 명령어지만 stash list에서 삭제하지 않는다는 점이 다르다.
git stash apply

#필요 없는 stash를 삭제
git stash drop

#전체 stash list를 삭제

git stash clear



ref : http://www.dreamy.pe.kr/zbxe/CodeClip/157790










Posted by tenn
,