Mystic -- the Halloween version. Haunted!

Steve Thielemann a9e00446bb Sample "mystic" to test with. 4 anni fa
hh 73f1efc423 I See U 4 anni fa
.gitignore f47cec4328 Trying to keep git status cleaned up. 4 anni fa
.gitmodules d9fa0e92f7 Added googletest, zf_log README.md to fix. 4 anni fa
CMakeLists.txt 64646f2709 Initial mangle class. 4 anni fa
README.md 8975335369 Updated readme. Clearer notes on branches. 4 anni fa
TODO.md bb9a193fa7 Directions on setting this up. 4 anni fa
ansi-color.c 391202b7c6 Example ANSI color file from 4 anni fa
ansi-to-src.cpp bcdf438f40 Make the char * output a const char * output. 4 anni fa
bat.ans 93429d4162 Merge of bugz-ansi. 4 anni fa
build_images.sh bbbaa2b560 Added icu to images.h Cleaned up images.cpp (DRY) 4 anni fa
charman.cpp 28491069cc Working mangle, wrangle! 4 anni fa
charman.h 28491069cc Working mangle, wrangle! 4 anni fa
clang.md a6db75cee1 Added clang notes. 4 anni fa
ghead.ans 93429d4162 Merge of bugz-ansi. 4 anni fa
ghost.ans 756c36a132 Updated Beanzilla's ghost.ans 4 anni fa
hharry.cpp 28491069cc Working mangle, wrangle! 4 anni fa
icu.ans bbbaa2b560 Added icu to images.h Cleaned up images.cpp (DRY) 4 anni fa
images.cpp bbbaa2b560 Added icu to images.h Cleaned up images.cpp (DRY) 4 anni fa
input-int.cpp bd6f59beb9 Regex in c++. 4 anni fa
lastseen.cpp 5b83c281c0 Updated using C++ objects. Tests next to do. 4 anni fa
lastseen.h 5b83c281c0 Updated using C++ objects. Tests next to do. 4 anni fa
mystic.py a9e00446bb Sample "mystic" to test with. 4 anni fa
panther.ans 93429d4162 Merge of bugz-ansi. 4 anni fa
render.cpp bb7bb11cea Trying to isolate old char * code. 4 anni fa
render.h bb7bb11cea Trying to isolate old char * code. 4 anni fa
rsync_list.txt b453b5da1f I'm including my update script. 4 anni fa
show 930ebe20ff Ansi file to .c/.cpp. show ansi file in linux console 4 anni fa
show_bat_issue.sh 93429d4162 Merge of bugz-ansi. 4 anni fa
show_icu_issue.sh bbbaa2b560 Added icu to images.h Cleaned up images.cpp (DRY) 4 anni fa
show_skull_issue.sh 93429d4162 Merge of bugz-ansi. 4 anni fa
skull-blink.ans 93429d4162 Merge of bugz-ansi. 4 anni fa
skull.ans 93429d4162 Merge of bugz-ansi. 4 anni fa
terminal.cpp bb7bb11cea Trying to isolate old char * code. 4 anni fa
terminal.h bb7bb11cea Trying to isolate old char * code. 4 anni fa
test-lastseen.cpp 7dd34da986 Working tests for (some of) utils. 4 anni fa
test-utils.cpp 7dd34da986 Working tests for (some of) utils. 4 anni fa
try-re.c 3cff6c70e5 Updated re for clean output. Added zf_log. 4 anni fa
update_example b453b5da1f I'm including my update script. 4 anni fa
utils.cpp 28491069cc Working mangle, wrangle! 4 anni fa
utils.h 28491069cc Working mangle, wrangle! 4 anni fa
wolf.ans 93429d4162 Merge of bugz-ansi. 4 anni fa
wordplay.cpp 28491069cc Working mangle, wrangle! 4 anni fa
wordplay.h 28491069cc Working mangle, wrangle! 4 anni fa

README.md

# To Use:

# git submodule update --init

Do this instead. Avoid submodule hell.

git clone https://github.com/wonder-mice/zf_log.git
git clone https://github.com/google/googletest.git

sudo apt install cmake

cmake .
make

Also:

  • codium clang-format extension
  • codium c/c++ advanced lint

    apt install clang-format clang cppcheck

Build a "release" build

cmake -DCMAKE_BUILD_TYPE=Release .
make

To switch back to "debug" build

cmake -DCMAKE_BUILD_TYPE=Debug .
make

Branches

git checkout -b new-branch

or, a longer way to type that:

git branch new-branch
git checkout new-branch

git commit 

And your changes go into the new-branch

Pushing your new branch

git push -u origin new-branch

If you recall using git push -u when you first setup the git repo. Well, it's that all over again, but with a new branch.

Returning to reality

git checkout master

Pulling files from one branch into another

git checkout master
git checkout bugz-ansi -- ghost.ans ghead.ans bat.ans utils.h utils.cpp

This would pull files from bugz-ansi branch into the master branch.