This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew tap caskroom/fonts | |
| brew cask search /nerd/ | |
| brew cask install font-dejavusansmono-nerd-font-mono |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { infocmp -1 xterm-256color ; echo "\tsitm=\\E[3m,\n\tritm=\\E[23m,"; } > /tmp/xterm-256color.terminfo | |
| tic /tmp/xterm-256color.terminfo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IPYNB_PORT=1075 # same as in server config | |
| alias sshpy="ssh -NL $IPYNB_PORT\:localhost:$IPYNB_PORT [email protected] &" # the server should be same with that runing notebook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-keygen | |
| ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host | |
| ssh remote-host |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| perl -alne '@starts = split /,/,$F[9]; @ends = split /,/,$F[10]; @sizes = map {$ends[$_] - $starts[$_]} 0..($F[8]-1); @offsets = map {$_ - $F[4]} @starts; $" = ","; print "$F[2]\t$F[4]\t$F[5]\t$F[0]/$F[1]\t0\t$F[3]\t$F[6]\t$F[7]\t0,0,0\t$F[8]\t@sizes\t@offsets"' ref.txt > ref.bed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| printf '\033[0;34m%s\033[0m\n' "Installing font for statusline..." | |
| mkdir $HOME/.fonts | |
| wget -O $HOME/.fonts/PowerlineSymbols.otf https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf | |
| fc-cache -vf $HOME/.fonts | |
| mkdir $HOME/.fonts.conf.d | |
| wget -O $HOME/.fonts.conf.d/10-powerline-symbols.conf https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf |