Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash -e
SB_ID="${1:-0}" # Default to sb_id=0
RO_DRIVE="$PWD/xenial.rootfs.ext4"
KERNEL="$PWD/vmlinux"
TAP_DEV="fc-${SB_ID}-tap0"
KERNEL_BOOT_ARGS="panic=1 pci=off reboot=k tsc=reliable quiet 8250.nr_uarts=0 ipv6.disable=1 $R_INIT"
#KERNEL_BOOT_ARGS="console=ttyS0 reboot=k panic=1 pci=off nomodules ipv6.disable=1 $R_INIT"
ros@ubuntu:~$ roslaunch icclab_summit_xl irlab_sim_summit_xls_complete.launch
... logging to /home/ros/.ros/log/87b1b1ae-ce4d-11e9-9bbf-000c29e563e7/roslaunch-ubuntu-4557.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.
inconsistent namespace redefinitions for xmlns:xacro:
old: http://www.ros.org/wiki/xacro
new: http://wiki.ros.org/xacro (/opt/ros/kinetic/share/ur_description/urdf/ur5.urdf.xacro)
inconsistent namespace redefinitions for xmlns:xacro:
@dizz
dizz / postinst
Created September 2, 2019 08:27
Fix for installing ros-kinetic-realsense
#!/bin/sh
# postinst script for ros librealsense package
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
@dizz
dizz / 0_reuse_code.js
Created August 18, 2016 11:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dizz
dizz / orch.yaml
Created July 1, 2016 12:15
orchestration template
heat_template_version: 2013-05-23
description: >
This template sets up a 2 node wordpress installation
parameters:
key_name:
type: string
description: Name of keypair to assign to servers
default: YOUR_KEY_NAME # FILL HERE: Name of your ssh key
image:
[andy:...CN/Source/mcn-demo/d-aaa-sm]keystone catalog (master✱)
/usr/local/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
/usr/local/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
/usr/local/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.
DEBUG (session) REQ: curl -g -i -X GET http://bart.cloudcomplab.ch:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool) Starting new HTTP connection (1): bart.cloudcomplab.ch
DEBUG (connectionpool) "GET /v2.0/ HTTP/1.1" 200 346
DEBUG (session) RESP: [200] Content-Length: 346 Vary: X-Auth-Token Connection: keep-alive Date: Mon, 25 Jan 2016 10:48:16 GMT Content-Type: application/json X-Openstack-Request-Id: req-9a348bcd-29c1-4082-b99c-6a7522f9db14
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://bart.cloudcomplab.ch:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG (v2) Making authentication request to http://bart.cloudcomplab.ch:5000/v2.0/tokens
DEBUG (connectionpool) "POST /v2.0/tokens HTTP/1.1" 200 21200
DEBUG (session)
[root@bart ~]# nc 193.175.132.160 8003
mercredi 20 janvier 2016, 11:02:56 (UTC+0100)
cigale:8003
[root@bart ~]# nc 193.175.132.160 8773
mercredi 20 janvier 2016, 11:03:05 (UTC+0100)
cigale:8773
[root@bart ~]# nc 193.175.132.160 8774
mercredi 20 janvier 2016, 11:03:09 (UTC+0100)
[andy:~]$ heat stack-show test-rcb
+-----------------------+----------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+-----------------------+----------------------------------------------------------------------------------------------------------------------------------+
| capabilities | [] |
| creation_time | 2016-01-18T13:43:15Z |
| description | Deploys the RCB service instance resources. |
| disable_rollback | True
/app $ free
total used free shared buffers
Mem: 8176168 6481868 1694300 0 12160
-/+ buffers: 6469708 1706460
Swap: 0 0 0
/app $ ls /proc
1 devices kallsyms modules swaps
12 diskstats kcore mounts sys