Mystic -- the Halloween version. Haunted!

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

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.