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 | |
# Author: Timo Korthals <tkorthals@cit-ec.uni-bielefeld.de> | |
# Template by https://gist.github.com/restrepo/4207109 | |
# Function: | |
# Convert a master latex file | |
# into a single document by including hierarchically | |
# automatically all the LaTeX documents | |
# which are arguments of | |
# \include, \input, or \import | |
# ignoring any \includeonly |
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
/* | |
Export bookmarks from Chrome as text. | |
Go to Bookmarks Manager->Organize->Export to HTML file. | |
Then open that file with chrome, open console (Ctrl+Shift+J) and run this command: | |
*/ | |
[].map.call(document.querySelectorAll("dt a"), function(a) { | |
return a.textContent + " - " + a.href | |
}).join("\n"); |
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 | |
echo "Installing rsb" | |
# Folder where the repositories are cloned into | |
REP_FOLDER=~/repositoriesRSB | |
# Spread location of "spread-src-4.4.0.tar.gz" aka "spread 3.0" | |
SPREAD_FOLDER=~/Downloads | |
# Installing location | |
PREFIX=/usr | |
# Branch of the repositories | |
BRANCH=0.11 |
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 nav_msgs.msg import OccupancyGrid | |
import numpy as np | |
import StringIO | |
# Check for the numpy serialization for ROS | |
# messages w/o publisher: | |
# http://wiki.ros.org/rospy_tutorials/Tutorials/numpy | |
# This is our buffer | |
buff = StringIO.StringIO() |
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 | |
echo "You should remove your old installation if it exist (CAUTION: You might damage your system)" | |
echo "sudo apt-get remove gstreamer1.0* libgstreamer1.0* libgstreamer-plugins-base1.0* libgstreamer-plugins-good1.0* libgstreamer-plugins-bad1.0* libgstreamer-plugins-ugly1.0* libgstreamer1.0-0:i386 libgstreamer1.0-0* libgstreamer-plugins-good1.0-0* libgstreamer-plugins-base1.0-0* libgstreamer1.0-0*" | |
echo "" | |
echo "Install some stuff like:" | |
echo "apt-get install libx264-dev liborc-0.4-dev liborc-0.4-0" | |
# Run as sudo | |
if [ $EUID != 0 ]; then |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer