Skip to content

Instantly share code, notes, and snippets.

Tully Foote tfoote

Block or report user

Report or block tfoote

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ros-kinetic-drone-demo.Dockerfile
FROM devbase-xenial
RUN sudo /bin/sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' \
&& sudo apt-key adv --keyserver hkp:// --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 \
&& sudo /bin/sh -c 'echo "deb `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list \
&& wget -O - | apt-key add -' \
&& sudo apt-get update \
&& sudo apt-get install -y \
ros-kinetic-desktop-full \
gazebo7 \
tfoote / Activate Ubuntu Old Releases
Created Jun 25, 2018
Run these commands to switch an EOL image to support apt from the old-releases repository
View Activate Ubuntu Old Releases
sed -i 's/archive/old-releases/' /etc/apt/sources.list
sed -i 's/security/old-releases/' /etc/apt/sources.list
tfoote /
Last active Jun 22, 2018
A quick script to check declared licenses recursively
#!/usr/bin/env python3
# Copyright (c) 2018 Open Source Robotics Foundation
# Apache License
# Version 2.0, January 2004
View TempfileManager
# Copyright 2017 Open Source Robotics Foundation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
#!/usr/bin/env python
# A simple script to print the realtime factor under simulated time.
import time
import rospy
from rosgraph_msgs.msg import Clock
last_wall_time = time.time()
last_clock_time = rospy.Time(0)
View recursive depends of depth_image_proc
$ apt-rdepends ros-kinetic-depth-image-proc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Depends: libboost-all-dev
Depends: libboost-date-time1.55.0
Depends: libboost-filesystem1.55.0
Depends: libboost-regex1.55.0
Depends: libboost-signals1.55.0
View libqt4-dev recursive rdepends
Reverse Depends: automoc (1.0~version-0.9.88-5)
Reverse Depends: kdelibs5-dev (>= 4:4.14.2-5)
Reverse Depends: libace-qtreactor-dev (6.2.8+dfsg-1)
Reverse Depends: libakonadi-dev (>= 1.13.0-2+deb8u1)
Reverse Depends: libappstreamqt-dev (0.7.3-1)
Reverse Depends: libattica-dev (0.4.2-1)
Reverse Depends: libavahi-qt4-dev (0.6.31-5)
Reverse Depends: libavogadro-dev (>= 1.0.3-10.1+b2)
Reverse Depends: libbluedevil-dev (2.0~rc1-6-g7bb223c-2)
tfoote / moinmoin_recaptcha.patch
Last active Jan 15, 2016
This is the diff to add recaptcha to moin moin 1.9.7
View moinmoin_recaptcha.patch
diff --git a/ b/
index 83a6505..a6dab02 100755
--- a/
+++ b/
@@ -420,6 +420,9 @@ If you don't want that, hit '''%(cancel_button_text)s''' to cancel your changes.
from import TextCha
+ from import ReCaptcha
+ request.write(ReCaptcha(request).render())
tfoote /
Created Nov 13, 2015
A simple script to run to validate rospkg's os detection
#!/usr/bin/env python
from rospkg.os_detect import OsDetect, OsNotDetected
d = OsDetect()
n, v, c = d.detect_os()
print('Detected name: "%s", version: "%s", codename: "%s"' % (n, v, c))
except OsNotDetected as ex:
tfoote / ca-certificates diff
Created Nov 6, 2015
ca-certificates rdepends
View ca-certificates diff
$ 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 @@
+ rubygems-integration
+ python3-tornado
You can’t perform that action at this time.