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
| * = also endorsed by me | |
| () = number of recs | |
| [] = recommend starting point | |
| --- | |
| Cat Power (x4) | |
| Janelle Monae* (x4) [Archandroid] | |
| PJ Harvey (x4) | |
| Alabama Shakes* (x3) |
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
| # source ~/git-prompt.sh --> get from: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | |
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced | |
| red='\[\e[31m\]' | |
| grn='\[\e[32m\]' | |
| yel='\[\e[33m\]' | |
| blu='\[\e[34m\]' | |
| mag='\[\e[35m\]' | |
| cyn='\[\e[36m\]' |
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
| # dependencies | |
| node_modules | |
| # logs | |
| npm-debug.log | |
| # Environment config | |
| .env | |
| # Editors |
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
| const getWeekNum = (date) => { | |
| // create new Date obj to avoid mutating input | |
| const now = new Date(date.getUTCFullYear(), date.getMonth(), date.getDate()); | |
| now.setMilliseconds(0); | |
| const yearStart = new Date(now.getUTCFullYear(), 0, 1); | |
| const milisecsInWeek = 7 * 24 * 60 * 60 * 1000; | |
| return Math.floor((now.valueOf() - yearStart.valueOf()) / milisecsInWeek) + 1; | |
| }; |
OlderNewer