create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
As configured in my dotfiles.
start new:
tmux
start new with session name:
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
def computeLCS(master, subseq): | |
""" | |
Wrapper method to compute the Longest Common Subsequence in an inputed master string given an inputed proposed subsequence string. | |
Note that the length of the 'subseq' string parameter must be less than or equal to the length of the 'master' string parameter. | |
This dynamic programming algorithm runs in O(n^2) time where n is the length of the 'master' string parameter. | |
The total space required is O(n^2) due to the memoization step. | |
""" | |
memoized = LCSLength(master, subseq) |