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
## Public Domain | |
# Victor Arribas <v.arribas.urjc@gmail.com> | |
def deco(fn): | |
def wrapper(*args, **kwargs): | |
print 'wrapped' | |
fn(*args, **kwargs) | |
return wrapper | |
@deco |
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) 1997-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, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
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 | |
# This script injects JdeRobot requirements into Gazebo user settings. | |
# This step should be done *once* installed. But also each time you | |
# fetch and compile newest code in order to update these files. | |
# Notice that cp `-f` could be mandatory instead. | |
# State: beta. | |
# Inject cfg files (=Ice configs) | |
mkdir -p ~/.gazebo/cfg |
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
# push into 'isolated' workspace | |
echo $HOME | grep -q $(pwd) || export HOME=$(pwd) | |
# setup gazebo env | |
. /usr/local/share/jderobot/gazebo/gazebo-setup.sh | |
# for chroot envs... | |
[ -z $DISPLAY ] && export DISPLAY=:0 | |
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 | |
# Terminal invoker | |
xterm -T "Terminal launcher" -geometry 40x3+0+0 -e ' | |
while true | |
do | |
echo "Press Ctrl+C for a complete exit" | |
echo "Press enter to open a new console ;)" | |
read | |
x-terminal-emulator & |
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 | |
set -e | |
# Change it to fit your repository! | |
GITHUB_USER=varhub | |
GITHUB_REPO=JdeRobot | |
TWICE=$1 |
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 | |
set -e | |
set -u | |
GREP_ISSUE_NUMBER='[#\[][0-9][0-9]*' | |
SEPARATOR='\t\t\t' | |
# retrive full log | |
git log --full-history --all --oneline --pretty=tformat:"%s" > git.messages |
NewerOlder