[ Home | Dev | Build | Git | Bash | Py | Cpp | Gtk | Other ]
clang-format
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
dump config : clang-format -style=llvm -dump-config > _clang-format
in current dir : clang-format -i -style=WebKit *.c *.h
Find lines longer than n chars
grep -ni '.\{80\}' window.c
Generating tags
https://www.geany.org/manual/current/index.html#symbols-and-tags-files
CFLAGS=$(pkg-config --cflags tinyc) geany -g tinyc.c.tags /usr/local/include/tinyc/*.h
Markdown
https://www.markdownguide.org/basic-syntax/
https://github.com/adam-p/markdown-here...
https://www.codecademy.com/resources/docs/markdown/tables
https://docs.github.com/en/github/writing-on-github/
Named anchor in markdown
https://stackoverflow.com/questions/5319754/
#### <a name="tith"></a>This is the Heading
patch
try : patch -p 1 -i '../dir/my_file.patch' --dry-run
do : patch -p 1 -i '../dir/my_file.patch'