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
# Distributed under the OSI-approved BSD 3-Clause License. | |
# Base on https://github.com/vector-of-bool/CMakeCM/blob/master/modules/FindFilesystem.cmake | |
#[=======================================================================[.rst: | |
FindFilesystem | |
############## | |
This module supports the C++17 standard library's filesystem utilities. Use the | |
:imp-target:`std::filesystem` imported target to enable support of it. |
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
[ INFO]: pub1 a boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > > | |
[ INFO]: pub2 b boost::shared_ptr<sensor_msgs::PointCloud2_<boost::fast_pool_allocator<void, boost::default_user_allocator_new_delete, std::mutex, 32u, 0u> > > | |
[ INFO]: sub a boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> | |
[ INFO]: Received message a is equal to p | |
[ INFO]: sub b boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> | |
[ INFO]: Received message b is a new instance | |
[ WARN]: length PC2 with frame b | |
[ WARN]: write PC2 with frame b | |
[ WARN]: read PointCloud2 with frame b |
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 | |
[ $# -lt 1 ] && echo "Provide path to simulator logs" && exit 1 | |
dir=$1 | |
[ ! -f "${dir}/state.tlog" ] && echo "The given path is incorrect, it doesn't contain file state.tlog" && exit 1 | |
tracer_conf="${dir}/../../path_tracer.yml" | |
[ $# -gt 1 ] && tracer_conf="$2" |
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
qpdf --qdf --object-streams=disable $1 $1.tmp # uncompress /FlateDecode sections | |
perl -pe 's/(?<=\/T \()(.*?)(?=\))/ "x" x length($1) /e' $1.tmp > $1.tmp2 # remove /T commands containing author name in comments | |
qpdf --compress-streams=y $1.tmp2 $1.tmp3 # recompress streams | |
qpdf --empty --pages $1.tmp3 1-z -- $1.anonymous.pdf # remove document metadata (this also removes whole comments) | |
rm $1.tmp* # cleanup |
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
FROM osrf/subt-virtual-testbed:cloudsim_bridge_latest | |
RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | sudo apt-key add - && echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" | sudo tee /etc/apt/sources.list.d/cuda.list && echo "deb https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 /" | sudo tee /etc/apt/sources.list.d/nvidia-ml.list && sudo apt-get -yy update | |
ARG cuda_maj=10 | |
ARG cuda_min=0 | |
ARG cuda=$cuda_maj-$cuda_min | |
ARG cudnn=7 | |
RUN sudo apt-get install -y --no-install-recommends cuda-cudart-$cuda cuda-compat-$cuda cuda-libraries-$cuda cuda-npp-$cuda cuda-nvtx-$cuda cuda-cublas-$cuda libnccl2="*+cuda$cuda_maj.$cuda_min" libcudnn$cudnn="$cudnn.*+cuda$cuda_maj.$cuda_min" && sudo apt-get clean && sudo apt-mark hold libnccl2 && sudo apt-mark hold libcudnn$cudnn && sudo ln -s cuda-$cuda /usr/local/cuda && echo "/usr/local/nvidia/lib" | sudo tee /etc/ld.so.conf.d/nvidia.con |
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
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
import sys, os | |
import re | |
try: bibtexdb = open(sys.argv[1]).read() | |
except: print "Error: specify the file to be processed!" | |
if not os.path.isfile('journalList.txt'): |
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
@version:3.19 | |
options { | |
chain_hostnames(no); | |
flush_lines(0); | |
stats_freq(0); | |
flush_lines(0); | |
log_msg_size(65536); | |
}; |
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
ignition-dome: | |
ubuntu: [ignition-dome] | |
ignition-cmake2: | |
ubuntu: [libignition-cmake2-dev] | |
ignition-common3: | |
ubuntu: [libignition-common3-dev] | |
ignition-fuel-tools5: | |
ubuntu: [libignition-fuel-tools5-dev] | |
ignition-gazebo4: | |
ubuntu: [libignition-gazebo4-dev] |
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
######################################### | |
# DO NOT REPORT ANY BUGS FROM DARKTABLE INSTALLED THIS WAY. | |
# | |
# This is an unofficial compilation & installation guide. | |
# Darktable developers explicitly say that they don't support Windows ANY way and won't fix ANY bugs on Windows. | |
# Please, respect their decision and do not bother them with Windows bugreports. | |
# | |
# If you find a bug, please verify it on a regular Linux/Mac system or inside a virtual machine. | |
# | |
# There is a chance an official Windows build will appear. Just subscribe to https://github.com/darktable-org/darktable/pull/1327 to be informed. |
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 | |
[ $# -lt 1 ] && echo "Provide path to simulator logs" && exit 1 | |
dir="$1" | |
[ ! -f "${dir}/state.tlog" ] && echo "The given path is incorrect, it doesn't contain file state.tlog" && exit 1 | |
tracer_conf="$(d="${dir}"; while [ "$d" != "/" ]; do if [ -f "${d}/path_tracer.yml" ]; then echo "${d}/path_tracer.yml"; break; else d="$(dirname "$d")"; fi; done)" | |
[ -z "${tracer_conf}" ] && echo "path_tracer.yml not found in the given or any parent directory" >&2 && exit 1 |