start new:
tmux
start new with session name:
tmux new -s myname
| look process: | |
| `lsof -i :<PORT NUMBER> | |
| kill process | |
| `kill -9 <PID>` |
| #add 'node_modules' to .gitignore file | |
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin master |
| first_name | Recency | Frequency | Monetary | |
|---|---|---|---|---|
| Jesse | 14 | 311 | 1547 | |
| Frances | 175 | 151 | 2349 | |
| Carl | 79 | 77 | 7189 | |
| Lisa | 99 | 852 | 8626 | |
| Donald | 108 | 318 | 5224 | |
| Clarence | 30 | 171 | 8048 | |
| Pamela | 131 | 350 | 5507 | |
| William | 47 | 363 | 1024 | |
| Lisa | 13 | 151 | 1440 |
| #29 April 2017 - 1 May 2017 | |
| 1. Learn basic Frontend | |
| Reference : - https://github.com/kamranahmedse/developer-roadmap | |
| - https://github.com/bmorelli25/Become-A-Full-Stack-Web-Developer | |
| - https://github.com/mikesprague/udacity-nanodegrees | |
| 2. Learn TypeScript | |
| Reference : - https://www.typescriptlang.org/ | |
| - https://learnxinyminutes.com/docs/typescript/ | |
| - http://tutorialzine.com/2016/07/learn-typescript-in-30-minutes/ | |
| - http://lividsoftware.com/post/How-to-code-and-debug-TypeScript |
| # Railscast | |
| http://railscasts.com/episodes/308-oh-my-zsh | |
| # Install Zsh | |
| sudo apt-get update && sudo apt-get install zsh | |
| # Install Oh-my-zsh | |
| wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh | |
| # Make ZSH default shell |
| xinput list //find your id touchpad | |
| xinput list-props 13 //In my case, 13 is my toucpad id | |
| //find your id properties, like : | |
| libinput Tapping Enabled (290): 0 | |
| xinput set-prop 13 290 1 //make tapping enabled |
| git filter-branch -f --env-filter 'if [[ "$GIT_COMMIT" = "119900cd7054c64f2b8e4774e59afbfc39a28e73" ]]; then export GIT_COMMITTER_NAME="Lee Treveil" GIT_AUTHOR_NAME="Lee Treveil" GIT_COMMITTER_EMAIL="leetreveil@gmail.com" GIT_AUTHOR_EMAIL="leetreveil@gmail.com"; fi' HEAD |
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
| let anagram = (s1, s2) => | |
| s1.split('').sort().join('') === s2.split('').sort().join('') | |