This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eu | |
catkin config --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON | |
catkin build | |
cat ./build/*/**/compile_commands.json > build/compile_commands.json && sed -i -e ':a;N;$!ba;s/\]\n*\[/,/g' build/compile_commands.json | |
compdb -p build list > compile_commands.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ip route del 0.0.0.0/0 via 192.168.13.1 dev enp2s0 | |
ip route add 192.168.13.0/24 via 192.168.13.1 dev enp2s0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Locates the tensorflow library and include dirs. | |
include(FindPackageHandleStandardArgs) | |
unset(TENSORFLOW_FOUND) | |
find_path(Tensorflow_INCLUDE_DIR | |
NAMES | |
tensorflow/core | |
tensorflow/cc | |
third_party |