Skip to content

Instantly share code, notes, and snippets.

View mcallaway's full-sized avatar

Matt Callaway mcallaway

  • Bayer Crop Science
  • Saint Louis
View GitHub Profile
@mcallaway
mcallaway / Notes
Created April 7, 2016 19:36
Debugging MANIFEST_UNKNOWN
I push an image:
> docker push registry.gsc.wustl.edu/mcallawa/hello-world
The push refers to a repository [registry.gsc.wustl.edu/mcallawa/hello-world]
5f70bf18a086: Pushed
b652ec3a27e7: Pushed
latest: digest: sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf size: 708
I try to pull that image from a different location:
@mcallaway
mcallaway / docker.compose.yml
Last active September 8, 2016 08:50
docker-compose setup: docker-registry docker-auth apache redis
docker_auth:
image: "cesanta/docker_auth:stable"
command: --v=2 --alsologtostderr /config/auth_config.yml
ports:
- 5001:5001
volumes:
- ./docker-auth/config:/config:ro
- ./docker-auth/logs:/logs
heat_template_version: 2013-05-23
resources:
server_port:
type: OS::Neutron::Port
properties:
network: "development"
fixed_ips:
- subnet: "development-subnet"
heat_template_version: 2014-10-16
description: server cluster
parameters:
size:
type: number
default: 2
description: How many servers
heat_template_version: 2013-05-23
description: Template that installs a CoreOS server.
parameters:
image:
type: string
label: Image name or ID
description: Image to be used for server. Please use an Ubuntu based image.
default: CoreOS-835.9.0
@mcallaway
mcallaway / gist:e1e238c7c89217819d22
Created January 25, 2016 22:02
Here's a script for removing nova instances from your DB.
#!/bin/bash
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
auto lo
iface lo inet loopback
auto em1
allow-bond em1
iface em1 inet manual
bond-master bond0
auto em2
allow-bond em2
auto lo
iface lo inet loopback
#iface em1 inet manual
#iface em2 inet manual
auto br-ex
allow-ovs br-ex
iface br-ex inet static
address 10.200.0.41
netmask 255.255.252.0
gateway 10.200.0.1
```
... more ...
2015-04-13 13:26:10-0500 mcallawa-trusty: 2015/04/13 13:26:10 Genome::InstrumentData::AlignmentResult::Bwa id(TEST: >>tojaeyah5.10-929ec81<< bwa 0.5.9 [-t 4 -q 5::] on 6173R/4-TAGCTT (2851949190) for H_HY-03023 (2725316319) against NCBI-human-build36 (101947881) (88399148E20A11E49DE785073F0CD76F)): Oh no! Caught an exception while in the critical point where the BAM pipe was open: Failed to generate intermediate result!ERROR RUNNING COMMAND. Exit code 1 from: /opt/plenv/.plenv/versions/5.10.1/bin/perl5.10.1 -I /gscuser/mcallawa/git/genome/lib/perl/Genome/Site/TGI/SiteLib -e 'use above "Genome"; Genome::InstrumentData::IntermediateAlignmentResult->get_or_create(aligner_index_id => "f3df7303bda74e638982fedfc0774226", aligner_name => "bwa", aligner_params => "-t1 -q 5", aligner_version => "0.5.9", flagstat_file => "", input_file => "/tmp/211.tmpdir/gm-genome_sys-2015-04-13_13_26_02--k5f4/anonymous0/2851949190-sanger-fastq-0.fastq", input_pass => "1", instrument_data_id => "2851949190", instrum
@mcallaway
mcallaway / gist:f21068454a959b798806
Created April 13, 2015 16:01
joinx fails to build on trusty
mcallawa@mcallawa-trusty:~/git/joinx/build$ make
Scanning dependencies of target boost-1.56
[ 0%] Creating directories for 'boost-1.56'
[ 1%] Performing download step (DIR copy) for 'boost-1.56'
[ 1%] No patch step for 'boost-1.56'
[ 2%] No update step for 'boost-1.56'
[ 3%] Performing configure step for 'boost-1.56'
Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /usr