c824b75f3aa4022c1449635c84c1558293c5d57a
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
dblume Update README.md for change...

dblume authored 2 years ago

README.md  9) [ZIP](http://git.dlma.com/testcode.git/zipball/main)
README.md 10) or [TAR](http://git.dlma.com/testcode.git/tarball/main) buttons
David Blume Use Markdown in README.md

David Blume authored 8 years ago

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) 
dblume Add git ls-files and change...

dblume authored 2 years ago

README.md 21) Create two panes in tmux, run vim in one, and run entr in the other. You probably
README.md 22) only need the `git ls-files` for `entr`, but I provide a bash command group with
README.md 23) `find` here so I can easily copy and change it as needed.
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 24) 
dblume Add git ls-files and change...

dblume authored 2 years ago

README.md 25)     { git ls-files && find . -type f -regex '.*\.\(cfg\|local\)'; } | \
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 26)     entr -c sh -c 'ctags -R *; make -j$(nproc) && valgrind --leak-check=yes product/testcode'
README.md 27) 
dblume Add git ls-files and change...

dblume authored 2 years ago

README.md 28) `find` could also have been `find . -type f \( -name \*.cfg -or -name \*.local \)`.
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 29) 
dblume Add git ls-files and change...

dblume authored 2 years ago

README.md 30) To compile with debug info and run in gdb:
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 31) 
dblume Add git ls-files and change...

dblume authored 2 years ago

README.md 32)     ... | entr -c sh -c 'ctags -R *; make debug -j$(nproc) && gdb product/testcode'
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 33) 
dblume Add git ls-files and change...

dblume authored 2 years ago

README.md 34) Tip: In vim you can grep and use the QuickFix window with commands like...
README.md 35) 
README.md 36)     :grep -rI --exclude=tags --exclude=cscope.* --exclude-dir=obj searchterm .
David Blume Added some documentation fo...

David Blume authored 3 years ago

README.md 37)     :cw
README.md 38) 
David Blume Mention the vim QuickFix to...

David Blume authored 3 years ago

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

dblume authored 2 years ago

README.md 41) #### entr One-Liner for When no Makefile
README.md 42) 
README.md 43) [This entr command is handy](https://twitter.com/dblume/status/1421011043489255424) when composing interview questions without a Makefile:
README.md 44) 
dblume Another tweak to the entr o...

dblume authored 2 years ago

README.md 45)     ls -1 *.h *.cpp | entr sh -c 'g++ -Wall -std=c++17 -pthread *.cpp && valgrind --leak-check=yes ./a.out'
dblume Add entr one-liner for when...

dblume authored 2 years ago

README.md 46) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

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

David Blume authored 8 years ago

README    63) 
README    64) * Multiple directories for testing build systems and IDEs
README    65) * "make" essentially works.
README    66) 
David Blume Added some documentation fo...

David Blume authored 3 years ago

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

David Blume authored 8 years ago

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

David Blume authored 3 years ago

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

David Blume authored 8 years ago

README    72) 
README    73) * Compare make vs. cmake vs. autotools
David Blume Update the README

David Blume authored 8 years ago

README    74) * Experiment with ctags generation