Skip to content

Instantly share code, notes, and snippets.

View jbohren's full-sized avatar

Jonathan Bohren jbohren

View GitHub Profile
prefix=/opt/ros/hydro
Name: actionlib
Description: Description of actionlib
Version: 1.10.1
Cflags: -I/opt/ros/hydro/include -I/usr/include
Libs: -L/opt/ros/hydro/lib -lactionlib -l:/usr/lib/libboost_thread-mt.so -lpthread
Requires: actionlib_msgs message_runtime roscpp std_msgs
@jbohren
jbohren / gist:6419537
Last active December 22, 2015 04:49
link link link link link...

Linking an orocos/xenomai/barrett package:

/usr/lib/ccache/c++  -fPIC -g -Wl,-z,defs   -shared
-Wl,-soname,libbarrett_hw_manager-gnulinux.so -o
/home/jbohren/ws/groovy/wam/devel/lib/orocos/gnulinux/rtt_barrett_hw/libbarrett_hw_manager-gnulinux.so
CMakeFiles/barrett_hw_manager.dir/src/barrett_hw_manager.cpp.o
-L/home/jbohren/ws/groovy/underlay_isolated/install_isolated/lib
/home/jbohren/ws/groovy/underlay_isolated/install_isolated/lib/liborocos-rtt-gnulinux.so.2.6.0
-lboost_thread-mt -lpthread -lboost_python -L/usr/lib -lgsl -lgslcblas -lm
@jbohren
jbohren / ubuntu_fakeraid.md
Created October 9, 2013 22:27
installing Ubuntu Lucid 12.04 (12.04.3) on a system with with "fakeraid" (motherboard-based raid) RAID-1 Mirroring
  1. Configure your system's mirror setup
  2. Boot into Ubuntu livecd (or xubuntu if you hate Unity)
  3. Select Try Ubuntu
  4. Open up gparted (gnu partition editor)
  5. Select the RADIDed device (/dev/mapper/something...)
  6. Select the Device menu and select "create partition table"
  7. Under the Advanced dropdown, select gpt for the partition type, and continue
  8. Close gparted
  9. Open the Ubuntu installer program from the desktop
  10. Select "Something else" when it comes to the "Installation Type" panel, and continue
@jbohren
jbohren / gist:6998220
Last active December 25, 2015 15:29
Bootstrap system
# Vim 7.4
sudo add-apt-repository -y ppa:fcwu-tw/ppa
# Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
# Update lists
sudo apt-get update
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ABI compliance report for library libcamera_info_manager.so update from 1.10.4 to 1.10.5 version on x86_64
</title>
<!--Styles-->
<style type="text/css">
hr{color:Black;background-color:Black;height:1px;border: 0;}
@jbohren
jbohren / optimus_precise.md
Created January 7, 2014 21:20
NVidia Optimus with Ubuntu 12.04

First, uninstall everything nvidia: sudo apt-get purge nvidia-*

Second, add the precise-proposed package archive:

sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe" > /etc/apt/sources.list.d/ros-latest.list'

Third, install nvidia-prime>=0.5 and nvidia drivers:

alias cm='catkin_make'
alias cmi='catkin_make_isolated'
alias cmii='catkin_make_isolated --install'
alias wspwd='export ROS_WORKSPACE=$(pwd)'
alias wssave='echo -e "$(pwd)" > ~/.curws'
alias wsload='source $(cat ~/.curws)/setup.bash'
alias wscd='cd $(cat ~/.curws)/../src'
# Source a catkin workspace
@jbohren
jbohren / ubuntu_t440p.md
Created January 9, 2014 20:49
Ubuntu on Lenovo T440p

First, uninstall everything nvidia: sudo apt-get purge nvidia-*

Second, add the precise-proposed package archive:

sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe" > /etc/apt/sources.list.d/ros-latest.list'

Third, install nvidia-prime>=0.5 and nvidia drivers:

# COMPLETION SETTINGS
# add custom completion scripts
fpath=(~/.zsh/completion $fpath)
# compsys initialization
autoload -U compinit
compinit
catkin_run_tests () {
catkin_make run_tests_$1
}
#compdef rospack_complete
_arguments "1: :($(rospack list-names))"