I want to make a website using TDD. But I want to read and practice with a couple of small projects first. I'll read it, and then try it myself and check my implementation with the repository.
I'm looking for projects with good test coverage, of less than 5k lines, written in JavaScript, Python, go or Rust. Where can I find this kind of projects? Github advanced search doesn't have the ability to look for number of lines of code or test coverage.
This is what I've found:
**npm modules** usually have tests:
- JavaScript, 1.8k lines, 77% coverage: https://github.com/jshint/fixmyjs
**katas, exercises, challenges**:
[exercism](https://github.com/exercism?q=&type=all&language=&sort=stargazers) has a repository for each language, with exercises and tests.
I have several ways of defining aliases mixed together and I want to make them all the same. But I don't even know why I've written them in different ways and now I don't know which to choose. I think `${ZDOTDIR:-$HOME}/.zshrc` is a bad idea. I should just define `$ZSHRC` somewhere and call it here, or I would have to change it in many places if I wanted to change the file location or name. But what about the rest, I have this in one place `'${=EDITOR} "$MYVIMRC"'` and this in another `"$EDITOR $TMUXRC"`, which are the same in my opinion.
```
# Quick access to the .zshrc file
alias ez='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc'
alias zshrc='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc'
alias ev='${=EDITOR} "$MYVIMRC"' # edit vimrc
alias vimrc='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc'
alias et="$EDITOR $TMUXRC" # edit tmux.conf
alias tmuxrc="$EDITOR $TMUXRC"
```
The "holy bible" of C programming. (I recommend you download it)
Mirror: http://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/books/The%20C%20Programming%20Language%202nd.pdf
I really liked this video. It isn't prepared, he just pauses the video when he has a bug. Any more videos like this for javascript?
I'm going to try now to do the same by myself and see if I get it right.