목록개발이야기 (529)
준호씨의 블로그
터미널에서 git 자동완성 (tab 으로 자동완성) 하기와 prompt 에 git 정보를 출력하는 방법이다. brew 로 bash-completion 설치 brew install git && brew install bash-completion ~/.bash_profile 에 다음 내용을 추가 한다. if [ -f $(brew --prefix)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi GIT_PS1_SHOWDIRTYSTATE=true PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\[\033[01;31m\]$(__git_ps1 " {%s}")\[\03..
use POSIX 'strftime'; my $date = strftime '%Y%m%d', localtime; print $date; result $ perl test.pl 20171115관련글perl - n일 전 날짜 구하기 references http://www.perlmonks.org/?node_id=673547
authorized_key 모듈을 이용해서 배포 할 수 있다. 참고 authorized_key - Adds or removes an SSH authorized key
june101 june102 june103 ... june200 :for i in range(101,200) | put = 'june'.i | endfor 관련글 ssh known_hosts 등록. 처음 접속하는 호스트 yes/no 이슈 해결 http://junho85.pe.kr/667 참고 http://vim.wikia.com/wiki/Making_a_list_of_numbers