The Voronoi tesselation shows the closest point on the plane for a given set of points. This example updates the Voronoi diagram in response to mouse interaction! Colors by Cynthia Brewer; algorithm by Steven Fortune; implementation based on work by Nicolas Garcia Belmonte; interaction inspired by Raymond Hill.
This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. The chart employs conventional margins and a number of D3 features:
- d3.csv - load and parse data
- d3.scale.ordinal - x-position encoding and color encoding
- d3.scale.linear - y-position encoding
- d3.format - SI prefix formatting (e.g., “10M” for 10,000,000)
- d3.max - compute domains
- d3.keys - compute column names
- d3.svg.axis - display axes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker images tianon/debian | |
REPOSITORY TAG ID CREATED SIZE | |
tianon/debian sid 48c561d00c03 5 weeks ago 159.4 MB (virtual 159.4 MB) | |
tianon/debian jessie c7a9f3b2159e 5 weeks ago 160.6 MB (virtual 160.6 MB) | |
tianon/debian 7.1 617698bd3cd3 5 weeks ago 157.5 MB (virtual 157.5 MB) | |
tianon/debian latest 08c9d0ea8240 9 weeks ago 157.5 MB (virtual 157.5 MB) | |
tianon/debian wheezy 08c9d0ea8240 9 weeks ago 157.5 MB (virtual 157.5 MB) | |
tianon/debian 7.0 a1390ca6935c 3 months ago 157.4 MB (virtual 157.4 MB) | |
tianon/debian 6.0.7 764a25351209 4 months ago 149.5 MB (virtual 149.5 MB) | |
tianon/debian squeeze 764a25351209 4 months ago 149.5 MB (virtual 149.5 MB) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run -i -t -privileged docker ./hack/make.sh test | |
/proc/self/fd /go/src/github.com/dotcloud/docker | |
/go/src/github.com/dotcloud/docker | |
---> Making bundle: test (in bundles/0.6.3-dev/test) | |
Fri Sep 27 01:26:51 UTC 2013 | |
++ cd . | |
++ go test -v -ldflags '-X main.GITCOMMIT f435970 -X main.VERSION 0.6.3-dev -d -w' | |
warning: building out-of-date packages: | |
path/filepath | |
io/ioutil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1:perf_event,blkio,net_cls,freezer,devices,cpuacct,cpu,cpuset:/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jpetazzo/busybox | |
ADD entrypoint.sh / | |
ENTRYPOINT ["/entrypoint.sh"] | |
CMD ["sh", "-c", "echo $SOME_TEST_VARIABLE"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tianon/centos-null:5.9 | |
RUN yum install -y wget | |
RUN wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm && rpm -Uvh epel-release-5-4.noarch.rpm && rm epel-release-5-4.noarch.rpm | |
RUN yum install -y git | |
RUN git clone https://github.com/yyuu/pyenv.git /.pyenv | |
ENV PYENV_ROOT /.pyenv | |
ENV PATH /.pyenv/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 1 8:6 / / rw,noatime,nodiratime - ext4 /dev/sda6 rw,data=ordered | |
16 15 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw | |
17 15 0:14 / /run rw,nosuid,nodev,relatime - tmpfs tmpfs rw,size=3292172k,mode=755 | |
18 15 0:5 / /dev rw,nosuid,relatime - devtmpfs udev rw,size=10240k,nr_inodes=4106451,mode=755 | |
19 18 0:12 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw | |
20 18 0:10 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000 | |
21 18 0:15 / /dev/shm rw,nosuid,nodev,noexec,relatime - tmpfs shm rw | |
22 15 0:16 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw | |
23 22 0:7 / /sys/kernel/debug rw,nosuid,nodev,noexec,relatime - debugfs debugfs rw | |
24 22 0:17 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime - tmpfs cgroup_root rw,size=10240k,mode=755 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mojo::JSON; | |
my $json = Mojo::JSON->new; | |
my $str = '{"some":"json","more":"stuff"}'; | |
my $obj = $json->decode($str); | |
$obj->{some} = 'changed'; | |
$obj->{new} = 'brand new!'; | |
delete $obj->{more}; # remove that nonsense |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/01/20 16:41:59 POST /v1.9/containers/mongodb-mms/restart?t=10 | |
[/var/lib/docker|689cb5a3] +job restart(mongodb-mms) | |
[/var/lib/docker|689cb5a3] -job restart(mongodb-mms) | |
2014/01/20 16:41:59 http: panic serving @: runtime error: invalid memory address or nil pointer dereference | |
goroutine 63 [running]: | |
net/http.func·009() | |
/usr/lib/go/src/pkg/net/http/server.go:1093 +0xae | |
runtime.panic(0x875740, 0x10a25a8) | |
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106 | |
github.com/dotcloud/docker/execdriver/lxc.(*driver).kill(0xc2100d83c0, 0x0, 0xf, 0xa040a0, 0x7f715fbba8e0) |
OlderNewer