Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/env python | |
| """Simple script to merge multiple RRD files together. | |
| Accepts any number of RRD file names as arguments. Produces an "rrdtool dump" | |
| style file on stdout. The last RRD file should have a slot for every possible | |
| record in the resulting merged RRD. | |
| Run something like: | |
| $ python simple-merge-rrd.py filea.rrd fileb.rrd filec.rrd | \ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| FROM ubuntu | |
| RUN apt-get update | |
| RUN apt-get install -y socat | |
| VOLUME /foo | |
| CMD socat UNIX-LISTEN:/foo/bar.sock - |
| #How to generate debian for package foobar | |
| # Need to have install pip package stdeb | |
| PKG=foobar | |
| pip install -d . $PKG | |
| tar xfvz $PKG*.tar.gz | |
| cd $PKG* | |
| python setup.py --command-packages=stdeb.command bdist_deb | |
| #Debian is generated within deb_dist directory |
| #!/usr/bin/env bash | |
| # | |
| # Copyright: © 2015 Jeffrey Clark <https://github.com/h0tw1r3/> | |
| # License: GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html) | |
| # | |
| set -o errtrace | |
| error() { | |
| echo "ERROR in $0 : line $1 exit code $2" | |
| exit $2 |
Chromium OS is cool. Chromium OS with crouton is cooler. Chromium OS with Docker is even cooler. This is specifically a guide for the HP Chromebook 13 G1 (aka HP Spyder Chromebook), but I can't think of any reason it wouldn't work with other devices. The Chromebook Pixel 2 (2015), for example...as you'll notice, the guide this was forked from assumed that machine.
| location ^~ /demo { | |
| alias /var/www/demo/; | |
| autoindex on; | |
| # set to on means use localtime | |
| autoindex_localtime on; | |
| # show size with unit 'MB' instead of 'Byte' | |
| autoindex_exact_size off; | |
| } |
| apt update && apt upgrade | |
| apt install python python-dev pip clang | |
| pip install --upgrade pip | |
| pip install conda | |
| ## All the following packages are needed by conda | |
| pip install auxlib ruamel.yaml requests | |
| ## Install pycosat (this can be ignored if https://github.com/ContinuumIO/pycosat/pull/29 is fixed) | |
| wget https://pypi.python.org/packages/76/0f/16edae7bc75b79376f2c260b7a459829785f08e463ecf74a8ccdef62dd4a/pycosat-0.6.1.tar.gz#md5=c1fc35b17865f5f992595ae0362f9f9f | |
| tar -xf pycosat-0.6.1.tar.gz |
The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom: