3ba1579e0ec5494b0102661832b1d6bb9494f66c
David Blume Use Markdown in README.md

David Blume authored 8 years ago

README.md  1) # testcode
README.md  2) 
README.md  3) This is just a test project. You can do anything here, test g++, make, cmake,
README.md  4) git, cscope, and IDE projects.
README.md  5) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md  6) ## Getting the project
David Blume Use Markdown in README.md

David Blume authored 8 years ago

README.md  7) 
README.md  8) You can get a copy of this project by clicking on the
README.md  9) [ZIP](http://git.dlma.com/testcode.git/zipball/master)
README.md 10) or [TAR](http://git.dlma.com/testcode.git/tarball/master) buttons
README.md 11) near the top right of the GitList web page.
David Blume first commit

David Blume authored 8 years ago

README    12) 
David Blume Update the README

David Blume authored 8 years ago

README    13) You can clone from the origin with:
README    14) 
David Blume Use Markdown in README.md

David Blume authored 8 years ago

README.md 15)     git clone ssh://USERNAME@dlma.com/~/git/testcode.git
David Blume Update the README

David Blume authored 8 years ago

README    16) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 17) ## IDEs
README.md 18) 
README.md 19) ### tmux vim entr
README.md 20) 
README.md 21) Create two panes in tmux, run vim in one, and run entr in the other with a command like:
README.md 22) 
README.md 23)     find . -type f \( -name \*.[ch]pp -or -name \*.[ch] \) | \
README.md 24)     entr -c sh -c 'ctags -R *; make -j$(nproc) && valgrind --leak-check=yes product/testcode'
README.md 25) 
README.md 26) or, to compile with debug info and run in gdb:
README.md 27) 
README.md 28)     find . -type f \( -name \*.[ch]pp -or -name \*.[ch] \) | \
README.md 29)     entr -c sh -c 'ctags -R *; make debug -j$(nproc) && gdb product/testcode'
README.md 30) 
README.md 31) Tips: you can also run ctags and cscope, and in vim you can grep and use the QuickFix window with commands like...
README.md 32) 
README.md 33)     :grep -rI searchterm .
README.md 34)     :cw
README.md 35) 
David Blume Mention the vim QuickFix to...

David Blume authored 3 years ago

README.md 36) See [this QuickFix tip for sorting results by filename](http://git.dlma.com/dotfiles.git/commit/0cb566c53caf931c8b3f423dcfded4660b220cbb).
README.md 37) 
dblume Add entr one-liner for when...

dblume authored 2 years ago

README.md 38) #### entr One-Liner for When no Makefile
README.md 39) 
README.md 40) [This entr command is handy](https://twitter.com/dblume/status/1421011043489255424) when composing interview questions without a Makefile:
README.md 41) 
README.md 42)     ls -1 *.cpp | entr sh -c 'g++ -Wall -std=c++14 *.cpp && valgrind --leak-check=yes ./a.out'
README.md 43) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 44) ### Visual Studio Code and WSL2
README.md 45) 
README.md 46) Once you've got the [Remote -WSL extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl)
README.md 47) for WSL, you can invoke Code from the WSL side.
README.md 48) 
README.md 49)     code .
README.md 50) 
README.md 51) Or, if it's not in your path, something like...
README.md 52) 
README.md 53)     /mnt/c/Users/$USER/AppData/Local/Programs/Microsoft\ VS\ Code/bin/code .
README.md 54) 
README.md 55) ### Other IDEs
README.md 56) 
README.md 57) Look for the presence of their project files. They should work normally.
README.md 58) 
README.md 59) ## Current Features
David Blume first commit

David Blume authored 8 years ago

README    60) 
README    61) * Multiple directories for testing build systems and IDEs
README    62) * "make" essentially works.
README    63) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 64) ## Is it any good?
David Blume Use Markdown in README.md

David Blume authored 8 years ago

README.md 65) 
README.md 66) [Yes](https://news.ycombinator.com/item?id=3067434).
README.md 67) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 68) ## To Do
David Blume first commit

David Blume authored 8 years ago

README    69) 
README    70) * Compare make vs. cmake vs. autotools
David Blume Update the README

David Blume authored 8 years ago

README    71) * Experiment with ctags generation