Skip to content

Instantly share code, notes, and snippets.

@tfoote
tfoote / detect_os.py
Created November 13, 2015 03:11
A simple script to run to validate rospkg's os detection
#!/usr/bin/env python
from rospkg.os_detect import OsDetect, OsNotDetected
try:
d = OsDetect()
n, v, c = d.detect_os()
print('Detected name: "%s", version: "%s", codename: "%s"' % (n, v, c))
except OsNotDetected as ex:
print(str(ex))
@tfoote
tfoote / ca-certificates diff
Created November 6, 2015 18:40
ca-certificates rdepends
$ diff -u /tmp/*.rdepends
--- /tmp/trusty.rdepends 2015-11-06 10:37:52.103677788 -0800
+++ /tmp/vivid.rdepends 2015-11-06 10:37:51.623680899 -0800
@@ -3,7 +3,9 @@
ubuntu-desktop
ssh-import-id
software-properties-common
+ rubygems-integration
python3-urllib3
+ python3-tornado
@tfoote
tfoote / gist:3849425
Created October 7, 2012 20:10
Converting to package based catkin
Now at: http://www.ros.org/wiki/catkin/GroovyInProgressUpgradeNotes
@tfoote
tfoote / dmesg.txt
Last active August 29, 2015 14:27
The output of dmesg and syslog
linaro@linaro-gnome:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.0-gfe70f23 (pramod@pramod-Lenovo-G580) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Wed Jun 24 12:35:56 IST 2015
[ 0.000000] CPU: ARMv7 Processor [511f06f0] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: QCT APQ8064 CDP
[ 0.000000] Truncating memory at 0x90000000 to fit in 32-bit physical address space
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: at arch/arm/mach-msm/board-8064.c:651 apq8064_calculate_reserve_sizes+0x2e8/0x31c()
@tfoote
tfoote / libboost-all-dev.install.txt
Created December 11, 2014 04:47
libboost-all-dev large dependencies for install
$ docker run -ti ubuntu:trusty bash
root@a08a6f73d4de:/# apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty-proposed InRelease
Get:1 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:3 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Get:4 http://archive.ubuntu.com trusty-proposed Release.gpg [933 B]
@tfoote
tfoote / gist:907b682bee704db09c76
Created June 20, 2014 00:11
Bloom 405 Error Log
[bloom] bloom version 0.5.10
[debug] track_branches(['bloom', 'master'], None)
[debug] Tracking branches: []
[debug] Checking out to indigo-devel
[debug] Requested checkout reference is the same as the current branch
[debug] track_branches(['bloom'], None)
[debug] Tracking branches: []
[debug] Checking out to indigo-devel
[debug] Requested checkout reference is the same as the current branch
[debug] /home/tfoote/work/common_msgs:$ git ls-tree bloom:CONTENT_MOVED_TO_MASTER_BRANCH
@tfoote
tfoote / gist:1e4c4f5cbedcb8cabfc0
Created June 20, 2014 00:09
Bloom 405 failure console output
Open a pull request from 'rosdistro/rosdistro:bloom-common_msgs-11' into 'ros/rosdistro:master'?
Continue [Y/n]?
==> git checkout -b bloom-common_msgs-11
Switched to a new branch 'bloom-common_msgs-11'
==> Pulling latest rosdistro branch
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
remote: Counting objects: 39636, done.
remote: Compressing objects: 100% (24260/24260), done.
remote: Total 39636 (delta 22449), reused 29328 (delta 15356)
Receiving objects: 100% (39636/39636), 6.38 MiB | 3.03 MiB/s, done.

Keybase proof

I hereby claim:

  • I am tfoote on github.
  • I am tully (https://keybase.io/tully) on keybase.
  • I have a public key whose fingerprint is 2241 45C0 DBB0 EB24 D09D 2AD5 E44D 3BFB 54DD 9EA2

To claim this, I am signing this object: