Skip to content

Instantly share code, notes, and snippets.

View csu's full-sized avatar

Christopher Su csu

  • San Francisco, CA
View GitHub Profile
csu@ubuntu:catkin_ws$ roslaunch rosbridge_server rosbridge_websocket.launch
... logging to /home/csu/.ros/log/7f1ddbee-6e1c-11e4-a707-000c298b2b40/roslaunch-ubuntu-13356.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://localhost:59558/
SUMMARY
========
csu@ubuntu:~$ sudo aptitude install ros-groovy-desktop
The following NEW packages will be installed:
autoconf{a} automake{a} autotools-dev{a} binfmt-support{a} cmake{a} cmake-data{a} collada-dom-dev{a} collada-dom2.4-dp-base{ab} collada-dom2.4-dp-dev{a} comerr-dev{a} debhelper{a} dh-apparmor{a}
docutils-common{a} docutils-doc{a} doxygen{a} fonts-lmodern{a} fonts-lyx{a} fonts-texgyre{a} gir1.2-gtk-2.0{a} graphviz{a} hddtemp{a} krb5-multidev{a} latex-beamer{a} latex-xcolor{a} libapr1{a}
libapr1-dev{a} libaprutil1{a} libaprutil1-dev{a} libasound2-dev{a} libassimp-dev{a} libassimp3{a} libatk1.0-dev{a} libavahi-client-dev{a} libavahi-common-dev{a} libavcodec-dev{a} libavcodec54{a}
libavformat-dev{a} libavformat54{a} libavutil-dev{a} libavutil52{a} libblas3{a} libbz2-dev{a} libcaca-dev{a} libcairo-script-interpreter2{a} libcairo2-dev{a} libcdt5{a} libcf0{a} libcgraph6{a}
libcppunit-1.13-0{a} libcppunit-dev{a} libcurl4-openssl-dev{a} libdbus-1-dev{a} libdrm-dev{a} libeigen3-dev{a} libfltk1.1{a} libfltk
csu@ubuntu:~$ sudo apt-get install ros-hydro-ros-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
@csu
csu / archive.html
Created April 13, 2014 23:46
Jekyll Archive Template
---
layout: page
title: Archive
---
<main class="content" role="main">
<br />
<section id="archive">
<h3>2014</h3>
{%for post in site.posts %}
#!/usr/bin/env python
import urllib2
import pinboard
pinuser = raw_input('Pinboard username: ')
pinpasswd = raw_input('Pinboard password: ')
oldtag = raw_input('Tag to rename: ')
newtag = raw_input('Rename tag to: ')
@csu
csu / gist:5252298
Created March 27, 2013 06:57
Embedding PDF documents using Google Docs
<iframe src="http://docs.google.com/gview?url=http://18069595.nhd.weebly.com/files/theme/dikotter-transcript.pdf&embedded=true" style="width:900px; height:900px;" frameborder="0"></iframe>
@csu
csu / gist:5252295
Last active December 15, 2015 11:19
Link to control iFrame
<a href="/files/theme/map_guangdong.html" TARGET="dataframe" id="rectangle11">
@csu
csu / gist:5252291
Created March 27, 2013 06:55
Interactive Data Map iFrames
<iframe name="mapframe" id="mapframe" src="http://18069595.nhd.weebly.com/files/theme/mapframe.html" height=400 width=58%></iframe>
<iframe name="dataframe" id="dataframe" src="http://18069595.nhd.weebly.com/files/theme/dataframe.html" height=400 width=40%></iframe>