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 | |
# | |
# Copyright (c) 2016 | |
# Author: Victor Arribas <v.arribas.urjc@gmail.com> | |
# License: GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html> | |
## Download practices' container | |
wget -nc https://github.com/RoboticsURJC/JdeRobot-TeachingRobotics/archive/master.zip | |
unzip -q master.zip |
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
# find files bigger than 100Mb. If match .log extension, rename it to .bigfile | |
find log/ -type f -size +100M -exec rename -v 's/\.log$/\.bigfile/i' {} \; |
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
_GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH | |
BASE=$HOME/git/build.d/JdeRobot-sandbox/src/gazebo_plugins | |
BASE=$HOME/git/build.d/JdeRobot/src/stable/components/gazeboserver/plugins | |
GAZEBO_PLUGIN_PATH=$BASE/quadrotor2:$BASE/flyingKinect2:$_GAZEBO_PLUGIN_PATH | |
export GAZEBO_PLUGIN_PATH | |
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 | |
# | |
# Copyright (c) 2015 | |
# Author: Victor Arribas <v.arribas.urjc@gmail.com> | |
# License: GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html> | |
# | |
# Usage: | |
# add_to_ignore.sh https://github.com/github/gitignore/blob/master/C++.gitignore | |
set -e |
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
varribas@Ubuntu14lts:/tmp/gitignore-test$ git --version | |
git version 1.9.1 | |
varribas@Ubuntu14lts:/tmp$ mkdir gitignore-test | |
varribas@Ubuntu14lts:/tmp$ cd gitignore-test/ | |
varribas@Ubuntu14lts:/tmp/gitignore-test$ git init . | |
Initialized empty Git repository in /tmp/gitignore-test/.git/ | |
varribas@Ubuntu14lts:/tmp/gitignore-test$ mkdir -p a/b b c | |
varribas@Ubuntu14lts:/tmp/gitignore-test$ touch a/A a/b/B b/B c/C | |
varribas@Ubuntu14lts:/tmp/gitignore-test$ git add . |
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
/* Code example related to | |
https://github.com/RoboticsURJC/JdeRobot/issues/211 | |
Additional docs: | |
- http://www.boost.org/doc/libs/1_59_0/libs/format/doc/format.html | |
- http://studiofreya.com/cpp/a-few-boostformat-examples/ | |
*/ | |
#include <iostream> | |
#include <boost/format.hpp> |
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 | |
# | |
# Copyright (c) 2015 | |
# Author: Victor Arribas <v.arribas.urjc@gmail.com> | |
# License: GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html> | |
# Usage | |
if [ -z "$1" ]; then | |
echo "Little script to launch an SCHROOT throught a specific workspace" |
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 | |
# | |
# Copyright (c) 2015 Victor Arribas Raigadas | |
# | |
# This software is under GPL3 Lincense. | |
# You could get a copy at http://www.gnu.org/licenses/gpl-3.0.html | |
# | |
# Requires: | |
# * NetworkManager >= 0.96 | |
# |
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
# PCLVisualizer | |
http://pointclouds.org/ | |
From official doc: | |
http://pointclouds.org/documentation/tutorials/pcl_visualizer.php#pcl-visualizer |
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
# | |
# Copyright (C) 2015 Victor Arribas | |
# Copyright (C) 2015 JDE Developers Team | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |