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
# User your favorite editor here! | |
alias word=vim | |
#Useful Aliases for Ubuntu (with ROS/Cuda/Anaconda...).Personalize! Also, Might need some fixing | |
## get rid of a common typo - command not found ## | |
alias cd..='cd ..' | |
## apt-get laziness # Debian encourages using apt now | |
alias update='sudo apt update' | |
alias upgrade='sudo apt upgrade' |
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 | |
#Redundant script to check packages. | |
PKG="$1" | |
if [ -z "$PKG" ]; then | |
echo "Package name is required!" | |
exit 128 | |
fi | |
# I actually wrote this script to test the line below |
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 | |
# create signed packages using caktin_tools' create quickly | |
# set the env. variables below or modify acordingly | |
# if you are running a different ROS distro, modify that as well. | |
if [ -z "$EMAIL" ] || [ -z "$NAME" ] ; then | |
echo "Set NAME and EMAIL variables, or modify the script. | |
This script was writen to create signed, licensed packages quickly using | |
caktin_tools' create ." | |
exit 1 | |
fi |
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 | |
# don't forget to SOURCE! | |
# USAGE: source ros-nev(.sh) MASTER_IP iface | |
# Specify IP for the ROS master and prioritize one of the inet interfaces. | |
# Usually, 1 is eth* and 2 is wifi*. If not found it falls back | |
# to the lower one. (2>1>0) where 0 is localhost | |
# Get MASTER_URI's IP | |
M_IP=$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/bash | |
verbose(){ | |
cat $output | |
} | |
help(){ | |
echo "trina-config: generate json file for the trina server" | |
echo "usage : trina-config" | |
echo "-h output this message" | |
echo "-v print out the json output" |
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 | |
sudo kill $(sudo lsof -t -i:$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/bash | |
if [ "$CONDA" == true ] ; then | |
if ! [ -z $CONDA_DEFAULT_ENV ] && ! [ "$CONDA_DEFAULT_ENV" == "root" ] ; then | |
echo "Deactivating ${CONDA_DEFAULT_ENV} first" | |
source deactivate | |
fi | |
export PATH=$NOCONDA_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/bash | |
#move this | |
tomove="return _wrap_new_WorldModel__SWIG_1(self, args);" | |
#to where tis is: | |
into="return _wrap_new_WorldModel__SWIG_2(self, args);" | |
# calculate how many lines to shift | |
fromln=$(grep -in "$tomove" Klampt/Python/klampt/src/robotsim_wrap.cxx | cut -d : -f 1) | |
toln=$(grep -in "$into" Klampt/Python/klampt/src/robotsim_wrap.cxx | cut -d : -f 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
name: "CaffeNet" | |
layers { | |
layer { | |
name: "data" | |
type: "data" | |
source: "cifar10_gcn-leveldb/cifar-train-leveldb" | |
batchsize: 100 | |
} | |
top: "data" | |
top: "label" |
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
repositories: | |
ddynamic_reconfigure: | |
type: git | |
url: https://github.com/pal-robotics/ddynamic_reconfigure | |
version: kinetic-devel | |
ecl/ecl_core: | |
type: git | |
url: https://github.com/stonier/ecl_core | |
version: release/0.62-noetic | |
ecl/ecl_lite: |