Skip to content

Instantly share code, notes, and snippets.

Chris Corbyn d11wtq

  • Melbourne, Australia
Block or report user

Report or block d11wtq

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View docker_error.txt
core@localhost ~ $ docker pull d11wtq/ruby
Pulling repository d11wtq/ruby
0377ecb9c406: Pulling dependent layers
4fc4423c202c: Error pulling image (1.9.3-p484) from d11wtq/ruby, endpoint: https://cdn-registry-1.docker.io/v1/, exit status 2: Download complete
4fc4423c202c: Error pulling image (1.9.3-p484) from d11wtq/ruby, exit status 2:
gzip: stdin: unexpected end of fileendent layers
View Dockerfile
FROM ubuntu
RUN useradd -m -s /bin/bash test
USER test
ENV HOME /home/test
WORKDIR /home/test
RUN echo date >> ~/.bashrc
View update-engine.log
-- Logs begin at Tue 2014-01-21 10:19:32 UTC, end at Sun 2014-02-09 17:18:01 UTC. --
Feb 09 04:26:39 localhost systemd[1]: Starting Update Engine...
Feb 09 04:26:40 localhost update_engine[343]: [0209/042640:INFO:main.cc(160)] Chrome OS Update Engine starting
Feb 09 04:26:40 localhost update_engine[343]: [0209/042640:INFO:omaha_request_params.cc(181)] Target Channel set to dev-channel from LSB file
Feb 09 04:26:40 localhost update_engine[343]: [0209/042640:INFO:omaha_request_params.cc(195)] Current Channel set to dev-channel from LSB file in rootfs
Feb 09 04:26:40 localhost update_engine[343]: [0209/042640:INFO:update_check_scheduler.cc(84)] Next update check in 11m43s
Feb 09 04:26:40 localhost systemd[1]: Started Update Engine.
Feb 09 04:27:15 localhost update_engine[343]: [0209/042715:INFO:update_attempter.cc(796)] Updating boot flags...
Feb 09 04:38:13 localhost update_engine[343]: [0209/043813:INFO:prefs.cc(55)] certificate-report-to-send-update not present in /var/lib/update_engine/prefs
Feb 09 04:38:13
View babashka.bash
vagrant@local /vagrant $ babashka vm
-> vm
-> docker
`- is met?
0
vagrant@local /vagrant $ echo $?
1
View docker.log
vagrant@local ~ $ docker run -t -i -rm ubuntu bash
Unable to find image 'ubuntu' (tag: latest) locally
Pulling repository ubuntu
5ac751e8d623: Error pulling image (quantal) from ubuntu, Driver devicemapper failed to create image rootfs 511136ea39cc9ea5ea540: Error pulling image (lucid) from ubuntu, Driver devicemapper failed to create image rootfs 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158: Error mounting '/dev/mapper/docker-8:4-547505-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158' on '/var/lib/docker/devicemapper/mnt/511136ea3c5a64f264b78b5433619f676bd305a4: Error pulling image (saucy) from ubuntu, Driver devicemapper failed to create image rootfs 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158: Error mounting '/dev/mapper/docker-8:4-547505-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158' on '/var/lib/docker/devicemapper/mnt/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158': invalid argument 03b4d4702f3ba7d4d2698e22c15
View docker.log
vagrant@local ~ $ sudo docker -d -D
[/var/lib/docker|69523644] +job initserver()
[/var/lib/docker|69523644.initserver()] Creating server
[debug] driver.go:79 Error loading driver aufs: AUFS was not found in /proc/filesystems
[debug] deviceset.go:478 Generated prefix: docker-8:4-547505
[debug] deviceset.go:481 Checking for existence of the pool 'docker-8:4-547505-pool'
[debug] deviceset.go:240 loadMetadata()
[debug] deviceset.go:283 loadMetadata END
[debug] runtime.go:632 Using graph driver devicemapper
[debug] runtime.go:647 Creating images graph
@d11wtq
d11wtq / spinner.sh
Last active Aug 29, 2015
Bash spinner, WIP.
View spinner.sh
#!/bin/bash
TTY=/dev/tty
spin() {
width=20
delta=1
#fwd_chars=("\\" "|" "/" "-")
#rev_chars=("/" "|" "\\" "-")
fwd_chars=">"
@d11wtq
d11wtq / Dockerfile
Created Mar 7, 2014
Suggested syntax to exclude directories from layers in an image.
View Dockerfile
FROM gentoo
MAINTAINER Bob
EXCLUDE /usr/portage
RUN emerge-webrsync
RUN emerge sys-devel/llvm
RUN emerge sys-devel/clang --autounmask-write
RUN etc-update --automode -5
RUN emerge sys-devel/clang
View generics.cpp
class ASTNode {
public:
template <class T> virtual T accept(Visitor<T> *visitor);
};
template <class T> class Visitor {
public:
virtual T visit(CallNode *node) = 0;
virtual T visit(BinExprNode *node) = 0;
};
@d11wtq
d11wtq / Spanish.md
Last active Aug 29, 2015
Spanish Study
View Spanish.md

El estudio del castellano

Las conjugaciones de los verbos

Verbo Sujeto Conjugación
You can’t perform that action at this time.