Skip to content

Instantly share code, notes, and snippets.

View alexreg's full-sized avatar

Alexander Regueiro alexreg

View GitHub Profile
From d4a2e0b5eb93b041b7c1b8e917923a0428434723 Mon Sep 17 00:00:00 2001
From: Alex Regueiro <alexreg@gmail.com>
Date: Sat, 29 Dec 2012 05:12:33 +0000
Subject: [PATCH] Update src/32bitSafePerl
Now supports OS X 10.8.x (Mountain Lion).
---
src/32bitSafePerl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
ERROR [vcstools] Tarball download unpack failed: "geometry_experimental-release-release-tf2_kdl-0.3.5 is not a subdirectory with contents in members ['geometry-experimental-release-release-tf2_kdl-0.3.5']"[/vcstools]
ERROR [vcstools] Tarball download unpack failed: "geometry_experimental-release-release-tf2_tools-0.3.5 is not a subdirectory with contents in members ['geometry-experimental-release-release-tf2_tools-0.3.5']"[/vcstools]
ERROR [vcstools] Tarball download unpack failed: "geometry_experimental-release-release-tf2_geometry_msgs-0.3.5 is not a subdirectory with contents in members ['geometry-experimental-release-release-tf2_geometry_msgs-0.3.5']"[/vcstools]
ERROR [vcstools] Tarball download unpack failed: "geometry_experimental-release-release-tf2_ros-0.3.5 is not a subdirectory with contents in members ['geometry-experimental-release-release-tf2_ros-0.3.5']"[/vcstools]
ERROR [vcstools] Tarball download unpack failed: "geometry_experimental-release-release-tf2_msgs-0.3.5 is not a subdirectory with co
@alexreg
alexreg / log
Created February 21, 2013 02:56
Shell log for installation of Catkin (as part of ROS)
alex-mbp:ros_catkin_ws alex$ ./src/catkin/bin/catkin_make_isolated --install
Base path: /Users/alex/ros_catkin_ws
Source space: /Users/alex/ros_catkin_ws/src
Build space: /Users/alex/ros_catkin_ws/build_isolated
Devel space: /Users/alex/ros_catkin_ws/devel_isolated
Install space: /Users/alex/ros_catkin_ws/install_isolated
WARNING(s) in /Users/alex/ros_catkin_ws/src/camera_info_manager/package.xml:
- The test dependency on "rostest" is redundant with: build_depend, run_depend
WARNING(s) in /Users/alex/ros_catkin_ws/src/diagnostic_analysis/package.xml:
- The test dependency on "rosbag" is redundant with: build_depend, run_depend
Warning: /usr/local/share/python is not needed in PATH.
Formerly homebrew put Python scripts you installed via `pip` or `pip3`
(or `easy_install`) into that directory above but now it can be removed
from your PATH variable.
Python scripts will now install into /usr/local/bin.
You can delete anything, except 'Extras', from the /usr/local/share/python
(and /usr/local/share/python3) dir and install affected Python packages
anew with `pip install --upgrade`.
Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
Date/Time: 2013-06-28 20:10:52 +0100
OS Version: 10.8.4 (Build 12E55)
Architecture: x86_64
Report Version: 11
Command: Firefox
Path: /Applications/Firefox.app/Contents/MacOS/firefox
Version: 22.0 (2213.6.18)
Parent: launchd [379]
@alexreg
alexreg / gist:5889117
Created June 29, 2013 00:31
Textual crash
Process: Textual [52312]
Path: /Applications/Textual.app/Contents/MacOS/Textual
Identifier: com.codeux.irc.textual
Version: 3.0.5 (3.0.5 [Unstable])
Code Type: X86-64 (Native)
Parent Process: launchd [379]
User ID: 501
Date/Time: 2013-06-29 01:30:51.469 +0100
OS Version: Mac OS X 10.8.4 (12E55)
Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libaspell.15.1.4.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
array_cmp() { local a="$1[i]" b="$2[i]" na nb i ; eval na=\${!$1[@]} nb=\${!$2[@]} ; for i in $na $nb ; do [[ "${!a}" = "${!b}" ]] || return $? ; done ; }
a=("foo")
b=("foo")
c=("foo", "bar")
array_cmp a b; echo $? $ should give 0!
array_cmp a a; echo $?
array_cmp b b; echo $?
array_cmp a c; echo $?
array_cp() {
local _a="$1[i]" _b="$2[i]" _na i
eval _na=\${!$1[@]} $2=()
for i in $_na ; do
eval $2[i]=${!_a}
done
}
-bash: syntax error near unexpected token `('
@alexreg
alexreg / brew-config
Last active December 20, 2015 21:09
Installing cclive with brew
HOMEBREW_VERSION: 0.9.4
ORIGIN: git://github.com/mxcl/homebrew.git
HEAD: 4b05ba7e71821a42d464ceca58b794134b0b4eb9
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.8.4-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP3.app/Contents/Developer
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336