Skip to content

Instantly share code, notes, and snippets.

View jamtur01's full-sized avatar
💭
I may be slow to respond.

James Turnbull jamtur01

💭
I may be slow to respond.
View GitHub Profile
@jamtur01
jamtur01 / gist:9458261
Created March 10, 2014 02:03
Murmur launch
docker run -i -t jamtur01/mumur
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"
Failed to set initial capabilities
<W>2014-03-10 02:02:59.776 Initializing settings from /.murmurd/murmur.ini (basepath /.murmurd)
<W>2014-03-10 02:02:59.777 OpenSSL: OpenSSL 1.0.1 14 Mar 2012
<W>2014-03-10 02:02:59.777 SSL: Adding recommended CA StartCom Certification Authority
<W>2014-03-10 02:02:59.777 SSL: Adding recommended CA AAA Certificate Services
<W>2014-03-10 02:02:59.778 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<C>2014-03-10 02:02:59.778 WARNING: You are running murmurd as root, without setting a uname in the ini file. This might be a security risk.
<W>2014-03-10 02:02:59.782 ServerDB: Openend SQLite database /murmur.sqlite
@jamtur01
jamtur01 / find_docs.py
Created March 12, 2014 04:43
Finds Docs PRs, updates labels and opens in browser
import webbrowser
import sys
import requests
import json
mytoken = 'secret_token'
url = 'https://api.github.com/repos/dotcloud/docker'
hurl = 'https://github.com/dotcloud/docker'
addlabels = {}
labelarray = [ '/project/doc' ] #start with the docs label, and then any others for code
@jamtur01
jamtur01 / hashes.rst
Created March 16, 2014 05:06
Template for hashes
title:Package and File Signatures
description:This page includes all the Docker package and file signatures and hashes used to verify downloads.
keywords:binaries, installation, docker, documentation, hash, signature, package

Package and File hashes and signatures

Registering file input {:path=>["/var/log/secure", "/var/log/messages"], :level=>:info}
No sincedb_path set, generating one based on the file path {:sincedb_path=>"/root/.sincedb_2a4be4329ee4405425fe42a7e40250e5", :path=>["/var/log/secure", "/var/log/messages"], :level=>:info}
Registering file input {:path=>["/var/log/cron"], :level=>:info}
No sincedb_path set, generating one based on the file path {:sincedb_path=>"/root/.sincedb_1e3cf6fba627b1a5d046b00da35fa7cb", :path=>["/var/log/cron"], :level=>:info}
Pipeline started {:level=>:info}

Keybase proof

I hereby claim:

  • I am jamtur01 on github.
  • I am jamtur01 (https://keybase.io/jamtur01) on keybase.
  • I have a public key whose fingerprint is F8B4 0CC6 6074 2F32 44D6 492A 215A FE50 E414 7032

To claim this, I am signing this object:

docker info
Containers: 112
Images: 108
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 332
Execution Driver: native-0.1
Kernel Version: 3.8.0-29-generic
Username: training
Registry: [https://index.docker.io/v1/]
@jamtur01
jamtur01 / sh_docker.js
Created March 29, 2014 20:52
A SHJS - http://shjs.sourceforge.net/ - Syntax Highlighting for Docker Dockerfiles
if (! this.sh_languages) {
this.sh_languages = {};
}
sh_languages['docker'] = [
[
[
/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,
'sh_number',
-1
],
root@docker:~# docker run -d ubuntu:12.04 /bin/bash
274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb
root@docker:~# docker inspect 274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb
[{
"ID": "274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb",
"Created": "2014-04-10T04:12:06.923103947Z",
"Path": "/bin/bash",
"Args": [],
"Config": {
$ docker -H=docker.lovedthanlost.net:4243 info
2014/04/14 09:12:01 malformed HTTP response "\x15\x03\x01\x00\x02\x02"
$ docker --tls -H=docker.lovedthanlost.net:4243 info
Containers: 33
Images: 104
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 170
Execution Driver: native-0.1
go get -u github.com/dotcloud/gordon/pulls
# github.com/dotcloud/gordon
../src/github.com/dotcloud/gordon/display.go:7: import /Users/james/go/pkg/darwin_amd64/github.com/aybabtme/color/brush.a: object is [darwin amd64 go1.2 X:none] expected [darwin amd64 go1.2.1 X:none]