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
<?xml version='1.0' encoding='UTF-8'?> | |
<scenario name="/tmp/tmprh7nfpq6"> | |
<networks> | |
<network id="1" name="s-n1" icon="" canvas="0" type="SWITCH"> | |
<position x="391.0" y="102.0" lat="47.578239258859554" lon="-122.12705559960862" alt="2.0"/> | |
</network> | |
<network id="2" name="h-n2" icon="" canvas="0" type="HUB"> | |
<position x="202.0" y="102.0" lat="47.578239258859554" lon="-122.12960232343909" alt="2.0"/> | |
</network> | |
</networks> |
package com.ericsender; | |
import com.google.common.base.Equivalence; | |
import com.google.common.collect.Iterators; | |
import java.util.*; | |
/** | |
* Combined LinkedHashMap with IdentityHashMap. | |
* Uses the Google common's Equivalence method of implementing IdentityHashMaps. |
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
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm