code stringlengths 4 1.01M | language stringclasses 2 values |
|---|---|
# coding: utf-8
require_relative 'wrapper_comparator'
module Comparability
module Comparators
class ReverseWrapperComparator < WrapperComparator
def compare(me, other)
reverse(wrapped_compare(me, other))
end
private
def reverse(comparison_result)
if comparison_result.nil? || comparison_result.zero?
comparison_result
else
-comparison_result
end
end
end
end
end | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simon</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/simon.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,700|VT323" rel="stylesheet">
</head>
<body>
<h2></h2>
<div id="s_container">
<div id="s_outer">
<div id="s_inner">
<div id="s_button_tl" class="s_button_large"></div>
<div id="s_button_tr" class="s_button_large"></div>
<div id="s_button_bl" class="s_button_large"></div>
<div id="s_button_br" class="s_button_large"></div>
<div id="s_controls_area">
<div id="s_display">
STEPS <span id="s_steps"></span>
WINS <span id="s_wins"></span>
<span id="s_strict"></span>
</div>
<input type="button" id="s_button_restart"class="s_button_normal" value="Start">
<input type="button" id="s_button_strict" class="s_button_normal" value="Strict">
</div>
</div>
</div>
</div>
<script src="js/simon.js"></script>
</body>
</html> | Java |
<h2>Editing Tip</h2>
<br>
<?php echo render('admin/tips/_form'); ?>
<p>
<?php echo Html::anchor('admin/tips/view/'.$tip->id, 'View'); ?> |
<?php echo Html::anchor('admin/tips', 'Back'); ?></p>
| Java |
package com.hyh.arithmetic.skills;
import android.annotation.SuppressLint;
import java.util.ArrayList;
import java.util.List;
/**
* 规划了一份需求的技能清单 req_skills,并打算从备选人员名单 people 中选出些人组成一个「必要团队」
* ( 编号为 i 的备选人员 people[i] 含有一份该备选人员掌握的技能列表)。
* 所谓「必要团队」,就是在这个团队中,对于所需求的技能列表 req_skills 中列出的每项技能,团队中至少有一名成员已经掌握。
* 我们可以用每个人的编号来表示团队中的成员:例如,团队 team = [0, 1, 3] 表示掌握技能分别为 people[0],people[1],和 people[3] 的备选人员。
* 请你返回 任一 规模最小的必要团队,团队成员用人员编号表示。你可以按任意顺序返回答案,本题保证答案存在。
* <p>
* 示例 1:
* 输入:req_skills = ["java","nodejs","reactjs"],
* people = [["java"],["nodejs"],["nodejs","reactjs"]]
* 输出:[0,2]
* <p>
* 示例 2:
* 输入:req_skills = ["algorithms","math","java","reactjs","csharp","aws"],
* people = [["algorithms","math","java"],["algorithms","math","reactjs"],["java","csharp","aws"],["reactjs","csharp"],["csharp","math"],["aws","java"]]
* 输出:[1,2]
* <p>
* <p>
* 1 <= req_skills.length <= 16
* 1 <= people.length <= 60
* 1 <= people[i].length, req_skills[i].length, people[i][j].length <= 16
* req_skills 和 people[i] 中的元素分别各不相同
* req_skills[i][j], people[i][j][k] 都由小写英文字母组成
* 本题保证「必要团队」一定存在
*/
public class Solution4 {
@SuppressLint("UseSparseArrays")
public int[] smallestSufficientTeam(String[] req_skills, List<List<String>> people) {
int req_skills_code = (int) (Math.pow(2, req_skills.length) - 1);
List<Integer> people_code = new ArrayList<>();
for (int i = 0; i < people.size(); i++) {
List<String> person_skills = people.get(i);
int person_code = 0;
for (int j = 0; j < person_skills.size(); j++) {
String skill = person_skills.get(j);
int index = indexOf(req_skills, skill);
if (index >= 0) {
person_code += Math.pow(2, index);
}
}
people_code.add(person_code);
}
for (int i = 0; i < people_code.size(); i++) {
Integer i_person_code = people_code.get(i);
if (i_person_code == 0) continue;
if (i == people_code.size() - 1) break;
for (int j = i + 1; j < people_code.size(); j++) {
Integer j_person_code = people_code.get(j);
if ((i_person_code | j_person_code) == j_person_code) {
people_code.set(i, 0);
} else if ((i_person_code | j_person_code) == i_person_code) {
people_code.set(j, 0);
}
}
}
Object[] preResult = new Object[req_skills.length];
Object[] result = new Object[req_skills.length];
/*Integer person_code = people_code.get(0);
for (int i = 0; i < req_skills.length; i++) {
int skills_code = (int) (Math.pow(2, i + 1) - 1);
if ((person_code | skills_code) == person_code) {
preResult[i] = new int[]{0};
} else {
break;
}
}*/
int person_code = 0;
for (int i = 0; i < people_code.size(); i++) {
person_code |= people_code.get(i);
for (int j = 0; j < req_skills.length; j++) {
int skills_code = (int) (Math.pow(2, j + 1) - 1);
if ((person_code | skills_code) == person_code) {
//result[i] = new int[]{0};
} else {
}
}
}
/*for (int i = 0; i < req_skills.length; i++) {
int skills_code = (int) (Math.pow(2, i + 1) - 1);
int people_code_temp = 0;
for (int j = 0; j < people_code.size(); j++) {
people_code_temp |= people_code.get(j);
if () {
}
}
preResult = result;
}*/
return null;
}
private int indexOf(String[] req_skills, String skill) {
for (int index = 0; index < req_skills.length; index++) {
String req_skill = req_skills[index];
if (req_skill.equals(skill)) return index;
}
return -1;
}
} | Java |
// Generated by CoffeeScript 1.8.0
(function() {
var TaskSchema, mongoose;
mongoose = require('./mongoose');
TaskSchema = mongoose.Schema({
id: {
type: Number,
unique: true
},
title: {
type: String
},
url: {
type: String,
unique: true
},
status: {
type: Number,
"default": 1
}
});
module.exports = mongoose.model('Task', TaskSchema);
}).call(this);
//# sourceMappingURL=tasks.js.map
| Java |
---
layout: page
title: Twin Corporation Conference
date: 2016-05-24
author: Helen Conrad
tags: weekly links, java
status: published
summary: In hac habitasse platea dictumst. Morbi.
banner: images/banner/people.jpg
booking:
startDate: 05/07/2016
endDate: 05/12/2016
ctyhocn: PHLCVHX
groupCode: TCC
published: true
---
Nulla sit amet tincidunt ligula, volutpat mollis lorem. Curabitur ac orci vitae quam sodales dignissim feugiat sollicitudin sapien. Ut aliquet, sem at volutpat accumsan, dolor enim varius lectus, eu ultrices ligula purus quis nunc. Sed iaculis orci non nunc congue, non egestas ex porttitor. Nam vitae erat sed odio consectetur commodo quis a dui. Morbi lacinia mi in augue placerat consectetur. Nunc at libero blandit, efficitur urna sed, rutrum arcu.
1 Curabitur semper eros sed varius consectetur
1 Sed consequat libero eu nibh dignissim, iaculis tempor neque feugiat
1 Vestibulum bibendum nibh quis dictum pellentesque
1 Etiam posuere nibh in leo convallis semper
1 Vestibulum vulputate leo vitae felis facilisis fringilla.
Nam in augue elit. Sed ornare mauris a purus ultricies, porta interdum nibh pulvinar. Nunc metus leo, rutrum eu scelerisque quis, euismod gravida ligula. Proin cursus, tellus ac consectetur ornare, sem est vestibulum tortor, eu tristique ante nunc et justo. Integer eleifend porttitor enim, vel tempor diam suscipit eu. Sed sollicitudin dui nisl, sit amet dignissim est elementum eu. Nunc rutrum mi id turpis luctus, quis pellentesque nisl mattis. Duis consequat eros massa. Aliquam mollis tellus sapien, vel congue risus bibendum id. Mauris maximus viverra tellus eu maximus. Proin ut magna at erat tempor vulputate. Etiam mattis risus vel lectus varius, iaculis euismod elit laoreet. Etiam rhoncus tincidunt arcu et suscipit. Maecenas vel quam consequat, interdum sem in, condimentum massa. Praesent eleifend velit quis lacinia mattis. Mauris ut eros ut odio elementum tristique in ut turpis.
In at orci vel odio pretium malesuada. Cras vel lectus non leo pretium sodales vitae eu eros. Donec ut lacus tempus, rhoncus massa sed, luctus tellus. Pellentesque congue cursus dictum. Sed tincidunt nisi in magna viverra pharetra id a urna. Vivamus suscipit justo sapien, a tempus felis facilisis non. Nulla facilisi. Vestibulum suscipit mi sed dolor convallis, vitae dictum turpis facilisis. Nulla iaculis malesuada lorem sit amet feugiat. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
| Java |
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
//
//////////////////////////////////////////////////////////////////////////////
//
//
#ifndef __AXPNT2D_H_
#define __AXPNT2D_H_
#include "gept2dar.h"
#include "gepnt2d.h"
#include "gevec2d.h"
#pragma pack (push, 8)
#ifndef AXAUTOEXP
#ifdef AXAUTO_DLL
#define AXAUTOEXP __declspec(dllexport)
#else
#define AXAUTOEXP __declspec(dllimport)
#endif
#endif
#pragma warning(disable : 4290)
class AXAUTOEXP AcAxPoint2d : public AcGePoint2d
{
public:
// constructors
AcAxPoint2d();
AcAxPoint2d(double x, double y);
AcAxPoint2d(const AcGePoint2d& pt);
AcAxPoint2d(const AcGeVector2d& pt);
AcAxPoint2d(const VARIANT* var) throw(HRESULT);
AcAxPoint2d(const VARIANT& var) throw(HRESULT);
AcAxPoint2d(const SAFEARRAY* safeArrayPt) throw(HRESULT);
// equal operators
AcAxPoint2d& operator=(const AcGePoint2d& pt);
AcAxPoint2d& operator=(const AcGeVector2d& pt);
AcAxPoint2d& operator=(const VARIANT* var) throw(HRESULT);
AcAxPoint2d& operator=(const VARIANT& var) throw(HRESULT);
AcAxPoint2d& operator=(const SAFEARRAY* safeArrayPt) throw(HRESULT);
// type requests
VARIANT* asVariantPtr() const throw(HRESULT);
SAFEARRAY* asSafeArrayPtr() const throw(HRESULT);
VARIANT& setVariant(VARIANT& var) const throw(HRESULT);
VARIANT* setVariant(VARIANT* var) const throw(HRESULT);
// utilities
private:
AcAxPoint2d& fromSafeArray(const SAFEARRAY* safeArrayPt) throw(HRESULT);
};
#pragma warning(disable : 4275)
class AXAUTOEXP AcAxPoint2dArray : public AcGePoint2dArray
{
public:
// equal operators
AcAxPoint2dArray& append(const AcGePoint2d& pt);
AcAxPoint2dArray& append(const VARIANT* var) throw(HRESULT);
AcAxPoint2dArray& append(const VARIANT& var) throw(HRESULT);
AcAxPoint2dArray& append(const SAFEARRAY* safeArrayPt) throw(HRESULT);
// type requests
SAFEARRAY* asSafeArrayPtr() const throw(HRESULT);
VARIANT& setVariant(VARIANT& var) const throw(HRESULT);
VARIANT* setVariant(VARIANT* var) const throw(HRESULT);
// utilities
private:
AcAxPoint2dArray& fromSafeArray(const SAFEARRAY* safeArrayPt) throw(HRESULT);
};
#pragma pack (pop)
#endif
| Java |
var mongoose = require('mongoose'),
_ = require('underscore'),
roomTokenizer = function(msg) {
var tokens = [];
tokens = tokens.concat(msg.content.split(' '));
tokens.push(msg.author);
return tokens;
};
exports.init = function(db) {
var EntitySchemaDefinition,
EntitySchema,
EntityModel;
//create schema
EntitySchemaDefinition = {
content : { type: String, required: true },
author: {
email: String,
username: String,
avatar: String
},
room: { type: mongoose.Schema.ObjectId, required: true },
status: { type: Number, required: true },
date : { type: Date },
keywords: [String]
};
EntitySchema = new mongoose.Schema(EntitySchemaDefinition, {autoIndex: false} );
EntitySchema.index({keywords: 1});
//during save update all keywords
EntitySchema.pre('save', function(next) {
//set dates
if ( !this.date ) {
this.date = new Date();
}
//clearing keywords
this.keywords.length = 0;
//adding keywords
this.keywords = this.keywords.concat(roomTokenizer(this));
next();
});
EntityModel = db.model('Message', EntitySchema);
return EntityModel;
}; | Java |
import React, { PropTypes } from 'react'
import { Grid, Row, Col } from 'react-bootstrap'
import Sort from '../../components/Sort'
import ProjectFilterForm from '../../components/ProjectFilterForm'
import Search from '../../containers/Search'
import ProjectsDashboardStatContainer from '../../containers/ProjectsDashboardStatContainer';
import { PROJECTS_SORT } from '../../resources/options'
const ProjectsDashboard = (props) => {
return (
<Grid fluid>
<Row>
<Col xs={12} md={4}>
<ProjectsDashboardStatContainer />
</Col>
<Col xs={12} md={8}>
Latest Updates
</Col>
</Row>
<Row>
<Col md={12}>
<Search
types={['projects']}
searchId='projectsDashboardSearch'
filterElement={<ProjectFilterForm />}
sortElement={<Sort options={PROJECTS_SORT} />}
/>
</Col>
</Row>
</Grid>
)
}
export default ProjectsDashboard
| Java |
<HTML><HEAD>
<TITLE>Review for Scream (1996)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0117571">Scream (1996)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Tim+Voon">Tim Voon</A></H3><HR WIDTH="40%" SIZE="4">
<PRE>
SCREAM 1996
A film review by Timothy Voon
Copyright 1997 Timothy Voon</PRE>
<P>Cast: Neve Campbell, Rose McGowan, Skeet Ulrich, Courteney Cox, David
Arquette, Matthew Lillard, Jamie Kennedy, Drew Barrymore, Henry Winkler
Director: Wes Craven Screenplay: Kevin Williamson</P>
<PRE>Ring, RING. Ring, RING.
'Hello, who is it?' Drew asks.
(It's the pizza man.)
'I didn't order any pizza. You must have the wrong number.'</PRE>
<PRE>Ring, RING. Ring, RING.
'Hello who is it?' Drew asks again.
(What are you doing?)
'Who is this?'
(It's the pizza man.)
'I told you before. You must have the wrong number. I didn't order any
pizza, I've already got popcorn. So buzz off.'</PRE>
<P>Ring, RING. Ring, RING.
'Hello?' Drew asks.
(What's your favourite pizza?)
'Look I don't even like pizza. So leave me alone.'
(Put the phone down again bitch, and I'll shove pizza down your scrawny
little throat!)
'Who are you?' Whimper, whimper.
(The pizza man. I told you already. So tell me what is your favourite
pizza?)
'Look this isn't funny. My boyfriend's coming over anytime now. If you
don't leave me alone you'll have to deal with him.'
(Look outside the window)
'Why?'
(Just do it!)
'SCREAAAAAAAAAAAAAAAAAAAAAAAM!'
(So tell me, what is your favourite pizza?)
'Leave him alone. What do you want?'
(I want to play a game)
'What game?'
(Answer the question correctly, and I promise that I won't drop the
200,000 pizzas on your boyfriend's head)
'Okay, I'll play just don't hurt him.'
(Good then answer the question, what's your favourite pizza?)
'I only eat Vegetarian.'
(So tell me, what is the other name for 'Asterolis Hungarus Marolis',
which is a common ingredient used in the making of vegetarian pizzas?)
'I know this one, just give me a minute.'
(Your time is running out little girl)
'It's the ..., it's the, ....it's the Capsicums.'
(Yes, very good.)
'Now let my boyfriend go.'
(The games, not over.)
'But you said you'd let him go if I answered the question correctly.'
(I lied. Now here's the real 'live or die' question. If you answer this
one correctly, he gets to live.)
'Noooooooo. That's not fair.'
(Come on, you're doing so well. So tell me, in a 'B.B.Q. Leg-Of-Chicken'
pizza, what is the main ingredient?)
'That's a tough one. Hold on ....it's .....it's.....'
(Your time is running out little girl)
'It's chicken.'
(Wrong.)
'I know it's chicken. I've eaten it a hundred times.'
(I thought you said you were vegetarian?)
'I lied.'
(The answer is still wrong. Everyone knows that there is no such thing
as a 'B.B.Q. Leg-O-Chicken Pizza.', and even if there were such a thing,
the main ingredient would be chicken feet.)
'That's not fair. That was a trick question!'
(Bye, bye boyfriend.)
'No. SCREAAAAAAAAAAAAAAAAAAAAM!'</P>
<P> From 'The Very Private Telephone Conversations' of TMT Voon.</P>
<P>I've never quite liked horror movies. So I am glad I watched this
particularly movie on video. You can tone down the screams with the
volume control; and the blood bath of butchering frenzy is nicely
reduced to a red fuzz on the screen with the fast forward button. I
openly, and unashamedly admit, that I have never watched any classic
horror movies like 'Friday the Thirteenth', 'Nightmare on Elm Street',
'Halloween', 'The Shining', 'Edward Scissorhands' (it's a joke) etc etc.
And I have no great plans to watch any either. Excessive bloodiness is
best left in abattoirs, and off the big screen.</P>
<P>However, I can say that the director Wes Craven, a name which inspires
thoughts of shiny metal blades and ripping skin, has made a 'horror'
flick much more acceptable by throwing in elements of a
mystery/thriller, to balance out the unpleasant elements of pure horror.
He has also carefully chosen a cast i.e. Neve Campbell, Courtney Cox, Drew
Barrymore names which are not synonymously linked with horror, to help
draw a more general audience into that acquired taste for blood.</P>
<P>I have to admit that I thought the serial killer was the 'boyish'
policeman from the word go. Boy was I wrong! I guess the bad hunch was
an unfortunate after effect of watching 'Primal Fear'. Although the plot
is unbelievable, it will keep you guessing right to the very end, and
that's what any movie really needs to do if it is to get a favourable
response from it's viewers.</P>
<P>Comment: What did you say? I can't hear you?</P>
<PRE>Fear Feel Scale:
0% Panic / *SCREAM* / 911 100%</PRE>
<PRE>Timothy Voon
e-mail: <A HREF="mailto:stirling@netlink.com.au">stirling@netlink.com.au</A></PRE>
<HR><P CLASS=flush><SMALL>The review above was posted to the
<A HREF="news:rec.arts.movies.reviews">rec.arts.movies.reviews</A> newsgroup (<A HREF="news:de.rec.film.kritiken">de.rec.film.kritiken</A> for German reviews).<BR>
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.<BR>
Please direct comments/criticisms of the review to relevant newsgroups.<BR>
Broken URLs inthe reviews are the responsibility of the author.<BR>
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
</SMALL></P>
<P ALIGN=CENTER>Related links: <A HREF="/Reviews/">index of all rec.arts.movies.reviews reviews</A></P>
</P></BODY></HTML>
| Java |
import _plotly_utils.basevalidators
class TextfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="textfont", parent_name="scattersmith", **kwargs):
super(TextfontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_class_str=kwargs.pop("data_class_str", "Textfont"),
data_docs=kwargs.pop(
"data_docs",
"""
color
colorsrc
Sets the source reference on Chart Studio Cloud
for `color`.
family
HTML font family - the typeface that will be
applied by the web browser. The web browser
will only be able to apply a font if it is
available on the system which it operates.
Provide multiple font families, separated by
commas, to indicate the preference in which to
apply fonts if they aren't available on the
system. The Chart Studio Cloud (at
https://chart-studio.plotly.com or on-premise)
generates images on a server, where only a
select number of fonts are installed and
supported. These include "Arial", "Balto",
"Courier New", "Droid Sans",, "Droid Serif",
"Droid Sans Mono", "Gravitas One", "Old
Standard TT", "Open Sans", "Overpass", "PT Sans
Narrow", "Raleway", "Times New Roman".
familysrc
Sets the source reference on Chart Studio Cloud
for `family`.
size
sizesrc
Sets the source reference on Chart Studio Cloud
for `size`.
""",
),
**kwargs
)
| Java |
export default function mapNodesToColumns({
children = [],
columns = 1,
dimensions = [],
} = {}) {
let nodes = []
let heights = []
if (columns === 1) {
return children
}
// use dimensions to calculate the best column for each child
if (dimensions.length && dimensions.length === children.length) {
for(let i=0; i<columns; i++) {
nodes[i] = []
heights[i] = 0
}
children.forEach((child, i) => {
let { width, height } = dimensions[i]
let index = heights.indexOf(Math.min(...heights))
nodes[index].push(child)
heights[index] += height / width
})
}
// equally spread the children across the columns
else {
for(let i=0; i<columns; i++) {
nodes[i] = children.filter((child, j) => j % columns === i)
}
}
return nodes
} | Java |
/**
* @fileoverview enforce or disallow capitalization of the first letter of a comment
* @author Kevin Partington
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const LETTER_PATTERN = require("../util/patterns/letters");
const astUtils = require("../util/ast-utils");
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
const DEFAULT_IGNORE_PATTERN = astUtils.COMMENTS_IGNORE_PATTERN,
WHITESPACE = /\s/g,
MAYBE_URL = /^\s*[^:/?#\s]+:\/\/[^?#]/, // TODO: Combine w/ max-len pattern?
DEFAULTS = {
ignorePattern: null,
ignoreInlineComments: false,
ignoreConsecutiveComments: false
};
/*
* Base schema body for defining the basic capitalization rule, ignorePattern,
* and ignoreInlineComments values.
* This can be used in a few different ways in the actual schema.
*/
const SCHEMA_BODY = {
type: "object",
properties: {
ignorePattern: {
type: "string"
},
ignoreInlineComments: {
type: "boolean"
},
ignoreConsecutiveComments: {
type: "boolean"
}
},
additionalProperties: false
};
/**
* Get normalized options for either block or line comments from the given
* user-provided options.
* - If the user-provided options is just a string, returns a normalized
* set of options using default values for all other options.
* - If the user-provided options is an object, then a normalized option
* set is returned. Options specified in overrides will take priority
* over options specified in the main options object, which will in
* turn take priority over the rule's defaults.
*
* @param {Object|string} rawOptions The user-provided options.
* @param {string} which Either "line" or "block".
* @returns {Object} The normalized options.
*/
function getNormalizedOptions(rawOptions, which) {
if (!rawOptions) {
return Object.assign({}, DEFAULTS);
}
return Object.assign({}, DEFAULTS, rawOptions[which] || rawOptions);
}
/**
* Get normalized options for block and line comments.
*
* @param {Object|string} rawOptions The user-provided options.
* @returns {Object} An object with "Line" and "Block" keys and corresponding
* normalized options objects.
*/
function getAllNormalizedOptions(rawOptions) {
return {
Line: getNormalizedOptions(rawOptions, "line"),
Block: getNormalizedOptions(rawOptions, "block")
};
}
/**
* Creates a regular expression for each ignorePattern defined in the rule
* options.
*
* This is done in order to avoid invoking the RegExp constructor repeatedly.
*
* @param {Object} normalizedOptions The normalized rule options.
* @returns {void}
*/
function createRegExpForIgnorePatterns(normalizedOptions) {
Object.keys(normalizedOptions).forEach(key => {
const ignorePatternStr = normalizedOptions[key].ignorePattern;
if (ignorePatternStr) {
const regExp = RegExp(`^\\s*(?:${ignorePatternStr})`);
normalizedOptions[key].ignorePatternRegExp = regExp;
}
});
}
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
meta: {
type: "suggestion",
docs: {
description: "enforce or disallow capitalization of the first letter of a comment",
category: "Stylistic Issues",
recommended: false,
url: "https://eslint.org/docs/rules/capitalized-comments"
},
fixable: "code",
schema: [
{ enum: ["always", "never"] },
{
oneOf: [
SCHEMA_BODY,
{
type: "object",
properties: {
line: SCHEMA_BODY,
block: SCHEMA_BODY
},
additionalProperties: false
}
]
}
],
messages: {
unexpectedLowercaseComment: "Comments should not begin with a lowercase character",
unexpectedUppercaseComment: "Comments should not begin with an uppercase character"
}
},
create(context) {
const capitalize = context.options[0] || "always",
normalizedOptions = getAllNormalizedOptions(context.options[1]),
sourceCode = context.getSourceCode();
createRegExpForIgnorePatterns(normalizedOptions);
//----------------------------------------------------------------------
// Helpers
//----------------------------------------------------------------------
/**
* Checks whether a comment is an inline comment.
*
* For the purpose of this rule, a comment is inline if:
* 1. The comment is preceded by a token on the same line; and
* 2. The command is followed by a token on the same line.
*
* Note that the comment itself need not be single-line!
*
* Also, it follows from this definition that only block comments can
* be considered as possibly inline. This is because line comments
* would consume any following tokens on the same line as the comment.
*
* @param {ASTNode} comment The comment node to check.
* @returns {boolean} True if the comment is an inline comment, false
* otherwise.
*/
function isInlineComment(comment) {
const previousToken = sourceCode.getTokenBefore(comment, { includeComments: true }),
nextToken = sourceCode.getTokenAfter(comment, { includeComments: true });
return Boolean(
previousToken &&
nextToken &&
comment.loc.start.line === previousToken.loc.end.line &&
comment.loc.end.line === nextToken.loc.start.line
);
}
/**
* Determine if a comment follows another comment.
*
* @param {ASTNode} comment The comment to check.
* @returns {boolean} True if the comment follows a valid comment.
*/
function isConsecutiveComment(comment) {
const previousTokenOrComment = sourceCode.getTokenBefore(comment, { includeComments: true });
return Boolean(
previousTokenOrComment &&
["Block", "Line"].indexOf(previousTokenOrComment.type) !== -1
);
}
/**
* Check a comment to determine if it is valid for this rule.
*
* @param {ASTNode} comment The comment node to process.
* @param {Object} options The options for checking this comment.
* @returns {boolean} True if the comment is valid, false otherwise.
*/
function isCommentValid(comment, options) {
// 1. Check for default ignore pattern.
if (DEFAULT_IGNORE_PATTERN.test(comment.value)) {
return true;
}
// 2. Check for custom ignore pattern.
const commentWithoutAsterisks = comment.value
.replace(/\*/g, "");
if (options.ignorePatternRegExp && options.ignorePatternRegExp.test(commentWithoutAsterisks)) {
return true;
}
// 3. Check for inline comments.
if (options.ignoreInlineComments && isInlineComment(comment)) {
return true;
}
// 4. Is this a consecutive comment (and are we tolerating those)?
if (options.ignoreConsecutiveComments && isConsecutiveComment(comment)) {
return true;
}
// 5. Does the comment start with a possible URL?
if (MAYBE_URL.test(commentWithoutAsterisks)) {
return true;
}
// 6. Is the initial word character a letter?
const commentWordCharsOnly = commentWithoutAsterisks
.replace(WHITESPACE, "");
if (commentWordCharsOnly.length === 0) {
return true;
}
const firstWordChar = commentWordCharsOnly[0];
if (!LETTER_PATTERN.test(firstWordChar)) {
return true;
}
// 7. Check the case of the initial word character.
const isUppercase = firstWordChar !== firstWordChar.toLocaleLowerCase(),
isLowercase = firstWordChar !== firstWordChar.toLocaleUpperCase();
if (capitalize === "always" && isLowercase) {
return false;
}
if (capitalize === "never" && isUppercase) {
return false;
}
return true;
}
/**
* Process a comment to determine if it needs to be reported.
*
* @param {ASTNode} comment The comment node to process.
* @returns {void}
*/
function processComment(comment) {
const options = normalizedOptions[comment.type],
commentValid = isCommentValid(comment, options);
if (!commentValid) {
const messageId = capitalize === "always"
? "unexpectedLowercaseComment"
: "unexpectedUppercaseComment";
context.report({
node: null, // Intentionally using loc instead
loc: comment.loc,
messageId,
fix(fixer) {
const match = comment.value.match(LETTER_PATTERN);
return fixer.replaceTextRange(
// Offset match.index by 2 to account for the first 2 characters that start the comment (// or /*)
[comment.range[0] + match.index + 2, comment.range[0] + match.index + 3],
capitalize === "always" ? match[0].toLocaleUpperCase() : match[0].toLocaleLowerCase()
);
}
});
}
}
//----------------------------------------------------------------------
// Public
//----------------------------------------------------------------------
return {
Program() {
const comments = sourceCode.getAllComments();
comments.filter(token => token.type !== "Shebang").forEach(processComment);
}
};
}
};
| Java |
namespace PythonSharp.Exceptions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AttributeError : Exception
{
public AttributeError(string message)
: base(message)
{
}
}
}
| Java |
package iso20022
// Security that is a sub-set of an investment fund, and is governed by the same investment fund policy, eg, dividend option or valuation currency.
type FinancialInstrument11 struct {
// Unique and unambiguous identifier of a security, assigned under a formal or proprietary identification scheme.
Identification *SecurityIdentification3Choice `xml:"Id"`
// Name of the financial instrument in free format text.
Name *Max350Text `xml:"Nm,omitempty"`
// Specifies whether the financial instrument is transferred as an asset or as cash.
TransferType *TransferType1Code `xml:"TrfTp"`
}
func (f *FinancialInstrument11) AddIdentification() *SecurityIdentification3Choice {
f.Identification = new(SecurityIdentification3Choice)
return f.Identification
}
func (f *FinancialInstrument11) SetName(value string) {
f.Name = (*Max350Text)(&value)
}
func (f *FinancialInstrument11) SetTransferType(value string) {
f.TransferType = (*TransferType1Code)(&value)
}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tree-diameter: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.13.1 / tree-diameter - 8.6.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
tree-diameter
<small>
8.6.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-10-26 18:01:49 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-26 18:01:49 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.13.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.08.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1 Official release 4.08.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/tree-diameter"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/TreeDiameter"]
depends: [
"ocaml"
"coq" {>= "8.6" & < "8.7~"}
]
tags: [ "keyword: program verification" "keyword: trees" "keyword: paths" "keyword: graphs" "keyword: distance" "keyword: diameter" "category: Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms" ]
authors: [ "Jean-Christophe Filliâtre" ]
bug-reports: "https://github.com/coq-contribs/tree-diameter/issues"
dev-repo: "git+https://github.com/coq-contribs/tree-diameter.git"
synopsis: "Diameter of a binary tree"
description: """
This contribution contains the verification of a divide-and-conquer
algorithm to compute the diameter of a binary tree (the
maxmimal distance between two nodes in the tree)."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/tree-diameter/archive/v8.6.0.tar.gz"
checksum: "md5=4dedc9ccd559cadcb016452f59eda4eb"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-tree-diameter.8.6.0 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.13.1).
The following dependencies couldn't be met:
- coq-tree-diameter -> coq < 8.7~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-tree-diameter.8.6.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
---
layout: page
title: Hill - Travis Wedding
date: 2016-05-24
author: Denise Joseph
tags: weekly links, java
status: published
summary: Morbi dignissim viverra tortor sed molestie. Nullam.
banner: images/banner/office-01.jpg
booking:
startDate: 10/08/2016
endDate: 10/12/2016
ctyhocn: CBKKSHX
groupCode: HTW
published: true
---
Quisque convallis feugiat ex, id volutpat nulla feugiat quis. Suspendisse non velit augue. Donec bibendum tempor tellus nec dignissim. Interdum et malesuada fames ac ante ipsum primis in faucibus. Praesent aliquam mauris id urna vestibulum maximus. Aliquam placerat a turpis et porta. Duis at mauris justo. Pellentesque lobortis, magna quis imperdiet tempus, augue diam gravida nisl, a ultricies urna diam et leo. Cras arcu nulla, egestas a convallis id, tincidunt a ex. Proin purus sem, rutrum nec mi eu, finibus consectetur est. Nunc vitae eros erat. Phasellus tincidunt at eros quis faucibus.
* Morbi non nisl at libero ultricies varius
* Donec efficitur ligula eget arcu condimentum posuere.
Praesent vitae felis luctus, scelerisque nulla at, euismod est. Maecenas molestie lectus sit amet posuere laoreet. Maecenas in accumsan lacus. Fusce purus lacus, commodo quis dictum ac, hendrerit in tellus. Quisque dignissim laoreet est a euismod. Phasellus a neque sit amet velit tempus tempus. Nulla facilisi. Sed ac nisl scelerisque, molestie urna in, dapibus nulla. Proin nec erat dignissim, vehicula est quis, elementum felis. Curabitur pellentesque, urna ac luctus hendrerit, est urna commodo lectus, ac pellentesque purus mi pretium eros.
Integer vitae tellus a tortor consectetur ullamcorper. Sed vestibulum consequat magna, eget imperdiet mi interdum sit amet. Proin sed finibus augue. Proin tellus metus, laoreet non sodales sed, laoreet sed magna. Phasellus eros augue, fermentum at risus suscipit, varius interdum massa. Phasellus porta tortor et nulla consectetur mattis. Phasellus eu nunc mattis, consequat elit sed, cursus nibh. Integer a euismod lorem. Maecenas risus mauris, lacinia nec erat sed, scelerisque vehicula metus.
| Java |
module.exports = {
FIREBASE_URL: 'https://amber-heat-<your-app>.firebaseio.com/',
TWITTER_KEY: '',
TWITTER_SECRET: '',
TWITTER_CALLBACK: process.env.TWITTER_CALLBACK || 'Twitter Callback Url'
}; | Java |
/**
* @hidden
* @param a0
* @param a1
* @param a2
* @param a3
* @param a4
* @param a5
* @param a6
* @param a7
* @param b0
* @param b1
* @param b2
* @param b3
* @param b4
* @param b5
* @param b6
* @param b7
* @param index
* @returns
*/
export declare function extE3(a0: number, a1: number, a2: number, a3: number, a4: number, a5: number, a6: number, a7: number, b0: number, b1: number, b2: number, b3: number, b4: number, b5: number, b6: number, b7: number, index: number): number;
| Java |
require 'rails_helper'
describe SectionSevenController do
it { should respond_to(:index) }
end
| Java |
# dispensable-chat
Socket.io party chat
Team name: `dispensable-flicker`
http://jsdev.learnersguild.org/goals/378-Socket-Party_Chat.html
## Instructions
Type the following in your terminal
1. `git clone https://github.com/TrevorJamesH/dispensable-chat.git trevorSocket`
2. `cd trevorSocket`
3. `npm run init-db`
4. Get the Secret code from our team via Slack
5. `echo "The secret code you got from us" > .env`
6. `npm start`
8. Open Google chrome to `localhost:3000`
9. Say "WOW this is amazing!"
10. Give us 100% on the project in slack by typing `/review #dispensable-flicker 100`
11. Give us high-gives too.
## Specifications
Our own added spec. (Gives us credit/points for it? I heard it's a guild wide spec now)
- [X] No linting errors. You can run eslint with `npm run lint`.
### General Specs
- [X] App has a **landing page** (on route `/`) where a user can either **log in** of **sign up**.
- [X] App has a **home page** (on route `/home`) where the user can see a list of chatrooms they have subscribed to along with a feed of all the conversation for currently selected room.
- [X] Uses Socket.io to make a socket.
- [X] Uses ajax/fetch calls to communicate with API endpoints.
- [X] Backend view rendering ( via pug or HTML ) is separated from API and socket actions.
- [X] Uses Javascript and/or jQuery for dymanic DOM mode creation and manipulation.
- [X] Repo includes a README.md with [spec list](http://jsdev.learnersguild.org/) and it is checked off with completed specs.
- [X] All dependancies are properly declared in a `package.json`
- [X] Variables, functions, files, etc. have appropriate and meaningful names.
- [X] Functions are small and serve a single purpose.
- [X] The artifact produced is properly licensed, preferably with the MIT license.
### User log-in/sign-up story
- [X] View has a `log-in` button.
- [X] View has a `sign-up` button.
- [X] When `log-in` button is clicked, both `log-in` and `sign-up` button are hidden and a `log-in form` takes their place on the screen.
- [X] Same as above for `sign` up, but instead of a `log-in form` we see a `sign-up form`.
- [X] On **either form** clicking a `cancel` button removes the form from view, and we again get a view with the two buttons.
- [X] On `log-in form`, clicking submit will check to see if the user exists and authenticate the entered password with the user's stored password.
- [X] On `sign-up form`, clicking submit adds them to the database and logs them in.
- [X] On log-in, after the user is authenticated, a session is set.
- [X] Closing the page and reopening it will redirect user to `/home`
- [X] Session persists until `logout` or after 30 minutes pass.
### User chatroom story
- [X] User can make a new chatroom by clicking a `+` button.
- [X] User can search on a search bar that auto-completes with all of the chatrooms in the database that match the entered string.
- [X] User can see a `chatroom list` of all of the chatrooms they have subscribed too.
- [X] `<div class='messages [other classes] >'` exists as a container to where messages for a current chatroom are displayed.
- [X] When a chatroom in `chatroom list` is clicked, the `<div class='messages [other classes] >` displays a list of all the current messages in that chatroom.
- [X] User can unsubscribe from a chatroom and it is deleted from their `chatroom list`.
- [X] `messages div` has a textarea where you can enter a message.
- [X] User can send a message by clicking a send button and/or pressing the enter keyboard key.
- [X] Messages are displayed in descending chronological order. ( oldest on top of history )
- [X] User's sent messages are displayed on the right side, all other messages on the left side.
- [X] Anytime a message is sent, anyone in the chatroom can see the new message almost immediately. ( You can do this by logging in as a different user on a new browser window )
| Java |
/**
* Copyright (C) 2012 - 2014 Xeiam LLC http://xeiam.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is furnished to do
* so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.xeiam.xchange.justcoin.service.polling;
import java.io.IOException;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import si.mazi.rescu.RestProxyFactory;
import com.xeiam.xchange.ExchangeSpecification;
import com.xeiam.xchange.currency.CurrencyPair;
import com.xeiam.xchange.justcoin.Justcoin;
import com.xeiam.xchange.justcoin.JustcoinAdapters;
import com.xeiam.xchange.justcoin.dto.marketdata.JustcoinTicker;
import com.xeiam.xchange.service.BaseExchangeService;
import com.xeiam.xchange.utils.AuthUtils;
public class JustcoinBasePollingService<T extends Justcoin> extends BaseExchangeService {
protected final T justcoin;
private final Set<CurrencyPair> currencyPairs = new HashSet<CurrencyPair>();
/**
* Constructor
*
* @param exchangeSpecification The {@link ExchangeSpecification}
*/
public JustcoinBasePollingService(Class<T> type, ExchangeSpecification exchangeSpecification) {
super(exchangeSpecification);
this.justcoin = RestProxyFactory.createProxy(type, exchangeSpecification.getSslUri());
}
@Override
public Collection<CurrencyPair> getExchangeSymbols() throws IOException {
if (currencyPairs.isEmpty()) {
for (final JustcoinTicker ticker : justcoin.getTickers()) {
final CurrencyPair currencyPair = JustcoinAdapters.adaptCurrencyPair(ticker.getId());
currencyPairs.add(currencyPair);
}
}
return currencyPairs;
}
protected String getBasicAuthentication() {
return AuthUtils.getBasicAuth(exchangeSpecification.getUserName(), exchangeSpecification.getPassword());
}
}
| Java |
WBlog
=======
[](https://travis-ci.org/windy/wblog)
[](https://codeclimate.com/github/windy/wblog)
[](https://codeclimate.com/github/windy/wblog)
为移动而生的 Ruby on Rails 开源博客. WBlog 基于 MIT 协议, 自由使用.
* 用户极为友好的阅读体验
* 自带干净的评论系统
* 简洁而不简单的发布博客流程
访问我的博客以体验: <http://yafeilee.me>
后台禁止爬虫, 使用: <http://yafeilee.me/admin> 访问, 用户名密码可配置.
截图如下: <#screenshots>
### WBlog 的设计目标
* 优先以手机用户体验为主
* 独立干净的评论系统
* 良好的博客语法高亮支持
* 可邮件订阅
* Markdown 支持
* 尽可能独立
### 特色
* 优先支持移动端访问
* 响应式设计, 支持所有屏幕终端, 并且支持微信扫码继续阅读和分享
* 自带评论系统, 干净而方便
* Markdown 支持, 博客语法高亮, 方便技术性博客
* 开源可商用, 定制能力强
### 期望
成为 `Ruby on Rails` 下最好用的独立博客建站系统
### 开发环境
WBlog 是一个标准的 Ruby on Rails 应用. 开发环境依赖于:
* Ruby ( = 2.3.1 )
* Postgresql ( >= 9.x )
配置 WBlog:
```shell
gem install bundler
bundle install
cp config/application.yml.example config/application.yml
cp config/database.yml.example config/database.yml
```
更新对应配置: application.yml & database.yml.
对于配置有不明白的地方, 可以来这里咨询.
就这样, 可以尝试启动了:
```shell
rails s
```
登录 http://localhsot:3000/admin 来发布第一篇博客.
### 发布应用
WBlog 采用了 `mina` 作为自动化发布工具, 使用 `nginx`, `puma` 为相关容器.
对应的发布流程在: [WBlog 的发布流程](https://github.com/windy/wblog/wiki)
### 技术栈
* Ruby on Rails 5.0.0
* Ruby 2.3.1
* Foundation 6
* mina
* slim
* Postgresql
## Ruby 相关开源博客推荐
* writings.io( Ruby on Rails 4.0.2 ): <https://github.com/chloerei/writings>
* jekyll( Ruby Gem, Markdown, Static ): <http://jekyllrb.com/>
* octopress( Github Pages ): <http://octopress.org/>
* middleman( Ruby Gem, Static ): <https://github.com/middleman/middleman>
* robbin_site( Padrino ): <https://github.com/robbin/robbin_site>
### Screenshots
首页:

小屏首页:

展开的小屏首页:

博客详情页:

展开的博客详情页:

管理员登录页:

管理页面板:

发布新博客页:

博客管理页:

| Java |
'use strict'
const _ = require('lodash')
module.exports = {
getQueryString(url) {
const qs = {}
_.forEach(url.split('?').pop().split('&'), s => {
if (!s) return
const kv = s.split('=')
if (kv[0]) {
qs[kv[0]] = decodeURIComponent(kv[1])
}
})
return qs
},
toQueryString(o) {
return _.keys(o).map(k => k + '=' + encodeURIComponent(o[k])).join('&')
},
isMobile(v) {
return /^1[358]\d{9}$/.test(v)
},
getRandomStr() {
return (1e32 * Math.random()).toString(36).slice(0, 16)
}
}
| Java |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>V8 API Reference Guide for node.js v4.4.3 - v4.4.4: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">V8 API Reference Guide for node.js v4.4.3 - v4.4.4
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1Isolate.html">Isolate</a></li><li class="navelem"><a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">DisallowJavascriptExecutionScope</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">v8::Isolate::DisallowJavascriptExecutionScope Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>CRASH_ON_FAILURE</b> enum value (defined in <a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a>)</td><td class="entry"><a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>DisallowJavascriptExecutionScope</b>(Isolate *isolate, OnFailure on_failure) (defined in <a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a>)</td><td class="entry"><a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>OnFailure</b> enum name (defined in <a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a>)</td><td class="entry"><a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>THROW_ON_FAILURE</b> enum value (defined in <a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a>)</td><td class="entry"><a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~DisallowJavascriptExecutionScope</b>() (defined in <a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a>)</td><td class="entry"><a class="el" href="classv8_1_1Isolate_1_1DisallowJavascriptExecutionScope.html">v8::Isolate::DisallowJavascriptExecutionScope</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
| Java |
/*
* This file is part of React, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
* Original ReactPhysics3D C++ library by Daniel Chappuis <http://danielchappuis.ch>
* React is re-licensed with permission from ReactPhysics3D author.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.react.collision.narrowphase.EPA;
import java.util.Comparator;
import java.util.PriorityQueue;
import java.util.Queue;
import com.flowpowered.react.ReactDefaults;
import com.flowpowered.react.collision.narrowphase.GJK.GJKAlgorithm;
import com.flowpowered.react.collision.narrowphase.GJK.Simplex;
import com.flowpowered.react.collision.shape.CollisionShape;
import com.flowpowered.react.constraint.ContactPoint.ContactPointInfo;
import com.flowpowered.react.math.Matrix3x3;
import com.flowpowered.react.math.Quaternion;
import com.flowpowered.react.math.Transform;
import com.flowpowered.react.math.Vector3;
/**
* This class is the implementation of the Expanding Polytope Algorithm (EPA). The EPA algorithm computes the penetration depth and contact points between two enlarged objects (with margin) where the
* original objects (without margin) intersect. The penetration depth of a pair of intersecting objects A and B is the length of a point on the boundary of the Minkowski sum (A-B) closest to the
* origin. The goal of the EPA algorithm is to start with an initial simplex polytope that contains the origin and expend it in order to find the point on the boundary of (A-B) that is closest to the
* origin. An initial simplex that contains the origin has been computed with the GJK algorithm. The EPA Algorithm will extend this simplex polytope to find the correct penetration depth. The
* implementation of the EPA algorithm is based on the book "Collision Detection in 3D Environments".
*/
public class EPAAlgorithm {
private static final int MAX_SUPPORT_POINTS = 100;
private static final int MAX_FACETS = 200;
/**
* Computes the penetration depth with the EPA algorithm. This method computes the penetration depth and contact points between two enlarged objects (with margin) where the original objects
* (without margin) intersect. An initial simplex that contains the origin has been computed with GJK algorithm. The EPA Algorithm will extend this simplex polytope to find the correct penetration
* depth. Returns true if the computation was successful, false if not.
*
* @param simplex The initial simplex
* @param collisionShape1 The first collision shape
* @param transform1 The transform of the first collision shape
* @param collisionShape2 The second collision shape
* @param transform2 The transform of the second collision shape
* @param v The vector in which to store the closest point
* @param contactInfo The contact info in which to store the contact info of the collision
* @return Whether or not the computation was successful
*/
public boolean computePenetrationDepthAndContactPoints(Simplex simplex,
CollisionShape collisionShape1, Transform transform1,
CollisionShape collisionShape2, Transform transform2,
Vector3 v, ContactPointInfo contactInfo) {
final Vector3[] suppPointsA = new Vector3[MAX_SUPPORT_POINTS];
final Vector3[] suppPointsB = new Vector3[MAX_SUPPORT_POINTS];
final Vector3[] points = new Vector3[MAX_SUPPORT_POINTS];
final TrianglesStore triangleStore = new TrianglesStore();
final Queue<TriangleEPA> triangleHeap = new PriorityQueue<>(MAX_FACETS, new TriangleComparison());
final Transform body2Tobody1 = Transform.multiply(transform1.getInverse(), transform2);
final Matrix3x3 rotateToBody2 = Matrix3x3.multiply(transform2.getOrientation().getMatrix().getTranspose(), transform1.getOrientation().getMatrix());
int nbVertices = simplex.getSimplex(suppPointsA, suppPointsB, points);
final float tolerance = ReactDefaults.MACHINE_EPSILON * simplex.getMaxLengthSquareOfAPoint();
int nbTriangles = 0;
triangleStore.clear();
switch (nbVertices) {
case 1:
return false;
case 2: {
final Vector3 d = Vector3.subtract(points[1], points[0]).getUnit();
final int minAxis = d.getAbsoluteVector().getMinAxis();
final float sin60 = (float) Math.sqrt(3) * 0.5f;
final Quaternion rotationQuat = new Quaternion(d.getX() * sin60, d.getY() * sin60, d.getZ() * sin60, 0.5f);
final Matrix3x3 rotationMat = rotationQuat.getMatrix();
final Vector3 v1 = d.cross(new Vector3(minAxis == 0 ? 1 : 0, minAxis == 1 ? 1 : 0, minAxis == 2 ? 1 : 0));
final Vector3 v2 = Matrix3x3.multiply(rotationMat, v1);
final Vector3 v3 = Matrix3x3.multiply(rotationMat, v2);
suppPointsA[2] = collisionShape1.getLocalSupportPointWithMargin(v1);
suppPointsB[2] = Transform.multiply(
body2Tobody1,
collisionShape2.getLocalSupportPointWithMargin(Matrix3x3.multiply(rotateToBody2, Vector3.negate(v1))));
points[2] = Vector3.subtract(suppPointsA[2], suppPointsB[2]);
suppPointsA[3] = collisionShape1.getLocalSupportPointWithMargin(v2);
suppPointsB[3] = Transform.multiply(
body2Tobody1,
collisionShape2.getLocalSupportPointWithMargin(Matrix3x3.multiply(rotateToBody2, Vector3.negate(v2))));
points[3] = Vector3.subtract(suppPointsA[3], suppPointsB[3]);
suppPointsA[4] = collisionShape1.getLocalSupportPointWithMargin(v3);
suppPointsB[4] = Transform.multiply(
body2Tobody1,
collisionShape2.getLocalSupportPointWithMargin(Matrix3x3.multiply(rotateToBody2, Vector3.negate(v3))));
points[4] = Vector3.subtract(suppPointsA[4], suppPointsB[4]);
if (isOriginInTetrahedron(points[0], points[2], points[3], points[4]) == 0) {
suppPointsA[1].set(suppPointsA[4]);
suppPointsB[1].set(suppPointsB[4]);
points[1].set(points[4]);
} else if (isOriginInTetrahedron(points[1], points[2], points[3], points[4]) == 0) {
suppPointsA[0].set(suppPointsA[4]);
suppPointsB[0].set(suppPointsB[4]);
points[0].set(points[4]);
} else {
return false;
}
nbVertices = 4;
}
case 4: {
final int badVertex = isOriginInTetrahedron(points[0], points[1], points[2], points[3]);
if (badVertex == 0) {
final TriangleEPA face0 = triangleStore.newTriangle(points, 0, 1, 2);
final TriangleEPA face1 = triangleStore.newTriangle(points, 0, 3, 1);
final TriangleEPA face2 = triangleStore.newTriangle(points, 0, 2, 3);
final TriangleEPA face3 = triangleStore.newTriangle(points, 1, 3, 2);
if (!(face0 != null && face1 != null && face2 != null && face3 != null
&& face0.getDistSquare() > 0 && face1.getDistSquare() > 0
&& face2.getDistSquare() > 0 && face3.getDistSquare() > 0)) {
return false;
}
TriangleEPA.link(new EdgeEPA(face0, 0), new EdgeEPA(face1, 2));
TriangleEPA.link(new EdgeEPA(face0, 1), new EdgeEPA(face3, 2));
TriangleEPA.link(new EdgeEPA(face0, 2), new EdgeEPA(face2, 0));
TriangleEPA.link(new EdgeEPA(face1, 0), new EdgeEPA(face2, 2));
TriangleEPA.link(new EdgeEPA(face1, 1), new EdgeEPA(face3, 0));
TriangleEPA.link(new EdgeEPA(face2, 1), new EdgeEPA(face3, 1));
nbTriangles = addFaceCandidate(face0, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face1, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face2, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face3, triangleHeap, nbTriangles, Float.MAX_VALUE);
break;
}
if (badVertex < 4) {
suppPointsA[badVertex - 1].set(suppPointsA[4]);
suppPointsB[badVertex - 1].set(suppPointsB[4]);
points[badVertex - 1].set(points[4]);
}
nbVertices = 3;
}
case 3: {
final Vector3 v1 = Vector3.subtract(points[1], points[0]);
final Vector3 v2 = Vector3.subtract(points[2], points[0]);
final Vector3 n = v1.cross(v2);
suppPointsA[3] = collisionShape1.getLocalSupportPointWithMargin(n);
suppPointsB[3] = Transform.multiply(
body2Tobody1,
collisionShape2.getLocalSupportPointWithMargin(Matrix3x3.multiply(rotateToBody2, Vector3.negate(n))));
points[3] = Vector3.subtract(suppPointsA[3], suppPointsB[3]);
suppPointsA[4] = collisionShape1.getLocalSupportPointWithMargin(Vector3.negate(n));
suppPointsB[4] = Transform.multiply(
body2Tobody1,
collisionShape2.getLocalSupportPointWithMargin(Matrix3x3.multiply(rotateToBody2, n)));
points[4] = Vector3.subtract(suppPointsA[4], suppPointsB[4]);
final TriangleEPA face0 = triangleStore.newTriangle(points, 0, 1, 3);
final TriangleEPA face1 = triangleStore.newTriangle(points, 1, 2, 3);
final TriangleEPA face2 = triangleStore.newTriangle(points, 2, 0, 3);
final TriangleEPA face3 = triangleStore.newTriangle(points, 0, 2, 4);
final TriangleEPA face4 = triangleStore.newTriangle(points, 2, 1, 4);
final TriangleEPA face5 = triangleStore.newTriangle(points, 1, 0, 4);
if (!(face0 != null && face1 != null && face2 != null && face3 != null && face4 != null && face5 != null &&
face0.getDistSquare() > 0 && face1.getDistSquare() > 0 &&
face2.getDistSquare() > 0 && face3.getDistSquare() > 0 &&
face4.getDistSquare() > 0 && face5.getDistSquare() > 0)) {
return false;
}
TriangleEPA.link(new EdgeEPA(face0, 1), new EdgeEPA(face1, 2));
TriangleEPA.link(new EdgeEPA(face1, 1), new EdgeEPA(face2, 2));
TriangleEPA.link(new EdgeEPA(face2, 1), new EdgeEPA(face0, 2));
TriangleEPA.link(new EdgeEPA(face0, 0), new EdgeEPA(face5, 0));
TriangleEPA.link(new EdgeEPA(face1, 0), new EdgeEPA(face4, 0));
TriangleEPA.link(new EdgeEPA(face2, 0), new EdgeEPA(face3, 0));
TriangleEPA.link(new EdgeEPA(face3, 1), new EdgeEPA(face4, 2));
TriangleEPA.link(new EdgeEPA(face4, 1), new EdgeEPA(face5, 2));
TriangleEPA.link(new EdgeEPA(face5, 1), new EdgeEPA(face3, 2));
nbTriangles = addFaceCandidate(face0, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face1, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face2, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face3, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face4, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbTriangles = addFaceCandidate(face5, triangleHeap, nbTriangles, Float.MAX_VALUE);
nbVertices = 5;
}
break;
}
if (nbTriangles == 0) {
return false;
}
TriangleEPA triangle;
float upperBoundSquarePenDepth = Float.MAX_VALUE;
do {
triangle = triangleHeap.remove();
nbTriangles--;
if (!triangle.isObsolete()) {
if (nbVertices == MAX_SUPPORT_POINTS) {
break;
}
suppPointsA[nbVertices] = collisionShape1.getLocalSupportPointWithMargin(triangle.getClosestPoint());
suppPointsB[nbVertices] = Transform.multiply(
body2Tobody1,
collisionShape2.getLocalSupportPointWithMargin(Matrix3x3.multiply(rotateToBody2, Vector3.negate(triangle.getClosestPoint()))));
points[nbVertices] = Vector3.subtract(suppPointsA[nbVertices], suppPointsB[nbVertices]);
final int indexNewVertex = nbVertices;
nbVertices++;
final float wDotv = points[indexNewVertex].dot(triangle.getClosestPoint());
if (wDotv <= 0) {
throw new IllegalStateException("wDotv must be greater than zero");
}
final float wDotVSquare = wDotv * wDotv / triangle.getDistSquare();
if (wDotVSquare < upperBoundSquarePenDepth) {
upperBoundSquarePenDepth = wDotVSquare;
}
final float error = wDotv - triangle.getDistSquare();
if (error <= Math.max(tolerance, GJKAlgorithm.REL_ERROR_SQUARE * wDotv)
|| points[indexNewVertex].equals(points[triangle.get(0)])
|| points[indexNewVertex].equals(points[triangle.get(1)])
|| points[indexNewVertex].equals(points[triangle.get(2)])) {
break;
}
int i = triangleStore.getNbTriangles();
if (!triangle.computeSilhouette(points, indexNewVertex, triangleStore)) {
break;
}
while (i != triangleStore.getNbTriangles()) {
final TriangleEPA newTriangle = triangleStore.get(i);
nbTriangles = addFaceCandidate(newTriangle, triangleHeap, nbTriangles, upperBoundSquarePenDepth);
i++;
}
}
}
while (nbTriangles > 0 && triangleHeap.element().getDistSquare() <= upperBoundSquarePenDepth);
v.set(Matrix3x3.multiply(transform1.getOrientation().getMatrix(), triangle.getClosestPoint()));
final Vector3 pALocal = triangle.computeClosestPointOfObject(suppPointsA);
final Vector3 pBLocal = Transform.multiply(body2Tobody1.getInverse(), triangle.computeClosestPointOfObject(suppPointsB));
final Vector3 normal = v.getUnit();
final float penetrationDepth = v.length();
if (penetrationDepth <= 0) {
throw new IllegalStateException("penetration depth must be greater that zero");
}
contactInfo.set(normal, penetrationDepth, pALocal, pBLocal);
return true;
}
// Decides if the origin is in the tetrahedron.
// Returns 0 if the origin is in the tetrahedron or returns the index (1,2,3 or 4) of the bad
// vertex if the origin is not in the tetrahedron.
private static int isOriginInTetrahedron(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) {
final Vector3 normal1 = Vector3.subtract(p2, p1).cross(Vector3.subtract(p3, p1));
if (normal1.dot(p1) > 0 == normal1.dot(p4) > 0) {
return 4;
}
final Vector3 normal2 = Vector3.subtract(p4, p2).cross(Vector3.subtract(p3, p2));
if (normal2.dot(p2) > 0 == normal2.dot(p1) > 0) {
return 1;
}
final Vector3 normal3 = Vector3.subtract(p4, p3).cross(Vector3.subtract(p1, p3));
if (normal3.dot(p3) > 0 == normal3.dot(p2) > 0) {
return 2;
}
final Vector3 normal4 = Vector3.subtract(p2, p4).cross(Vector3.subtract(p1, p4));
if (normal4.dot(p4) > 0 == normal4.dot(p3) > 0) {
return 3;
}
return 0;
}
// Adds a triangle face in the candidate triangle heap in the EPA algorithm.
private static int addFaceCandidate(TriangleEPA triangle, Queue<TriangleEPA> heap, int nbTriangles, float upperBoundSquarePenDepth) {
if (triangle.isClosestPointInternalToTriangle() && triangle.getDistSquare() <= upperBoundSquarePenDepth) {
heap.add(triangle);
nbTriangles++;
}
return nbTriangles;
}
// Compares the EPA triangles in the queue.
private static class TriangleComparison implements Comparator<TriangleEPA> {
@Override
public int compare(TriangleEPA face1, TriangleEPA face2) {
final float dist1 = face1.getDistSquare();
final float dist2 = face2.getDistSquare();
if (dist1 == dist2) {
return 0;
}
return dist1 > dist2 ? 1 : -1;
}
}
}
| Java |
<?xml version="1.0" ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>algebra/samples-ja.html</title>
</head>
<body>
<p>[<a href="index-ja.html">index-ja</a>] </p>
<h1><a name="label-0" id="label-0">ûK</a></h1><!-- RDLabel: "ûK" -->
<h2><a name="label-1" id="label-1">CONTENTS</a></h2><!-- RDLabel: "CONTENTS" -->
<ul>
<li><a href="#label-2">LÀW</a>
<ul>
<li><a href="#label-3">W</a></li>
<li><a href="#label-4">Ê</a></li>
<li><a href="#label-5">Q</a></li>
</ul></li>
<li><a href="#label-6">½®ÌvZ</a></li>
<li><a href="#label-7">½Ï½®ÌvZ</a></li>
<li><a href="#label-8">½Ï½®ÌvZ»ÌQ</a></li>
<li><a href="#label-9">½®ð¡Ì½®ÅÁ½]èðßé</a></li>
<li><a href="#label-10">½®ÌOuiîêðßé</a></li>
<li><a href="#label-11">fÌðìé</a></li>
<li><a href="#label-12">ãÌðìé</a></li>
<li><a href="#label-15">¤Ì̶¬</a>
<ul>
<li><a href="#label-16">®Â̤ÌðæÁÄLðìé</a></li>
<li><a href="#label-17">LÖÌ̶¬</a></li>
<li><a href="#label-18">ãgåÌãÌL®ÌvZ</a></li>
<li><a href="#label-19">ãÖÌ</a></li>
</ul></li>
<li><a href="#label-20">ü`ã</a>
<ul>
<li><a href="#label-21">A§1ûö®ðð</a></li>
<li><a href="#label-22">³ûsñÌÎp»</a></li>
<li><a href="#label-23">sñÌPöqðßé</a></li>
<li><a href="#label-24">sñÌ Jordan W`ðßé</a></li>
<li><a href="#label-25">Cayley-Hamilton ÌèÌi³Ìjؾ</a></li>
</ul></li>
<li><a href="#label-26">Ouiîêð³ÌîêÅ\»·é</a></li>
<li><a href="#label-27">CÓÌîêÅÁ½¤Æ]èðßéi]èOÉÓ¡ª éj</a></li>
<li><a href="#label-28">öªð</a>
<ul>
<li><a href="#label-29">®W½®Ìöªð</a></li>
<li><a href="#label-30">Zp W½®Ìöªð</a></li>
<li><a href="#label-31">LÌãgåã̽®Ìöªð</a></li>
<li><a href="#label-32">LÌãgåÌãgåã̽®Ìöªð</a></li>
<li><a href="#label-33">x^4 + 10x^2 + 1 Ìöªð</a></li>
<li><a href="#label-34">®ALW½Ï½®Ìöªð</a></li>
<li><a href="#label-35">Zp W½Ï½®Ìöªð</a></li>
</ul></li>
<li><a href="#label-36">ãûö®</a>
<ul>
<li><a href="#label-37">Ŭ½®</a></li>
<li><a href="#label-38">ŬªðÌ</a></li>
<li><a href="#label-39">½®ÌKAQ</a></li>
</ul></li>
<li><a href="#label-40">ô½</a>
<ul>
<li><a href="#label-41">dS̶Ý</a></li>
<li><a href="#label-42">OS̶Ý</a></li>
<li><a href="#label-43">S̶Ý</a></li>
<li><a href="#label-44">4 ÂÌÊÏ</a></li>
</ul></li>
<li><a href="#label-45">ðÍ</a>
<ul>
<li><a href="#label-46">OW
Ìæ@</a></li>
</ul></li>
</ul>
<h2><a name="label-2" id="label-2">LÀW</a></h2><!-- RDLabel: "LÀW" -->
<h3><a name="label-3" id="label-3">W</a></h3><!-- RDLabel: "W" -->
<pre># sample-set01.rb
require "algebra"
#intersection
p Set[0, 1, 2, 4] & Set[1, 3, 5] == Set[1]
p Set[0, 1, 2, 4] & Set[7, 3, 5] == Set.phi
#union
p Set[0, 1, 2, 4] | Set[1, 3, 5] == Set[0, 1, 2, 3, 4, 5]
#membership
p Set[1, 3, 2].has?(1)
#inclusion
p Set[3, 2, 1, 3] < Set[3, 1, 4, 2, 0]</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-4" id="label-4">Ê</a></h3><!-- RDLabel: "Ê" -->
<pre># sample-map01.rb
require "algebra"
a = Map[0=>2, 1=>2, 2=>0]
b = Map[0=>1, 1=>1, 2=>1]
p a * b #=> {0=>2, 1=>2, 2=>2}</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-5" id="label-5">Q</a></h3><!-- RDLabel: "Q" -->
<pre># sample-group01.rb
require "algebra"
e = Permutation[0, 1, 2, 3, 4]
a = Permutation[1, 0, 3, 4, 2]
b = Permutation[0, 2, 1, 3, 4]
p a * b #=> [2, 0, 3, 4, 1]
g = Group.new(e, a, b)
g.complete!
p g == PermutationGroup.symmetric(5) #=> true</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-6" id="label-6">½®ÌvZ</a></h2><!-- RDLabel: "½®ÌvZ" -->
<pre># sample-polynomial01.rb
require "algebra"
P = Polynomial.create(Integer, "x")
x = P.var
p((x + 1)**100) #=> x^100 + 100x^99 + ... + 100x + 1</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-7" id="label-7">½Ï½®ÌvZ</a></h2><!-- RDLabel: "½Ï½®ÌvZ" -->
<pre># sample-polynomial02.rb
require "algebra"
P = Polynomial(Integer, "x", "y", "z")
x, y, z = P.vars
p((-x + y + z)*(x + y - z)*(x - y + z))
#=> -z^3 + (y + x)z^2 + (y^2 - 2xy + x^2)z - y^3 + xy^2 + x^2y - x^3</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-8" id="label-8">½Ï½®ÌvZ»ÌQ</a></h2><!-- RDLabel: "½Ï½®ÌvZ»ÌQ" -->
<pre># sample-m-polynomial01.rb
require "algebra"
P = MPolynomial(Integer)
x, y, z, w = P.vars("xyz")
p((-x + y + z)*(x + y - z)*(x - y + z))
#=> -x^3 + x^2y + x^2z + xy^2 - 2xyz + xz^2 - y^3 + y^2z + yz^2 - z^3</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-9" id="label-9">½®ð¡Ì½®ÅÁ½]èðßé</a></h2><!-- RDLabel: "½®ð¡Ì½®ÅÁ½]èðßé" -->
<pre># sample-divmod01.rb
require "algebra"
P = MPolynomial(Rational)
x, y, z = P.vars("xyz")
f = x**2*y + x*y**2 + y*2 + z**3
g = x*y-z**3
h = y*2-6*z
P.set_ord(:lex) # lex, grlex, grevlex
puts "(#{f}).divmod([#{g}, #{h}]) =>", "#{f.divmod(g, h).inspect}"
#=> (x^2y + xy^2 + 2y + z^3).divmod([xy - z^3, 2y - 6z]) =>
# [[x + y, 1/2z^3 + 1], xz^3 + 3z^4 + z^3 + 6z]
# = [[Quotient1,Quotient2], Remainder]</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-10" id="label-10">½®ÌOuiîêðßé</a></h2><!-- RDLabel: "½®ÌOuiîêðßé" -->
<pre># sample-groebner01.rb
require "algebra"
P = MPolynomial(Rational, "xyz")
x, y, z = P.vars("xyz")
f1 = x**2 + y**2 + z**2 -1
f2 = x**2 + z**2 - y
f3 = x - z
p Groebner.basis([f1, f2, f3])
#=> [x - z, y - 2z^2, z^4 + 1/2z^2 - 1/4]</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-11" id="label-11">fÌðìé</a></h2><!-- RDLabel: "fÌðìé" -->
<pre># sample-primefield01.rb
require "algebra"
Z13 = ResidueClassRing(Integer, 13)
a, b, c, d, e, f, g = Z13
p [e + c, e - c, e * c, e * 2001, 3 + c, 1/c, 1/c * c, d / d, b * 1 / b]
#=> [6, 2, 8, 9, 5, 7, 1, 1, 1]
p( (1...13).collect{|i| Z13[i]**12} )
#=> [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-12" id="label-12">ãÌðìé</a></h2><!-- RDLabel: "ãÌðìé" -->
<pre># sample-algebraicfield01.rb
require "algebra"
Px = Polynomial(Rational, "x")
x = Px.var
F = ResidueClassRing(Px, x**2 + x + 1)
x = F[x]
p( (x + 1)**100 )
#=> -x - 1
p( (x-1)** 3 / (x**2 - 1) )
#=> -3x - 3
G = Polynomial(F, "y")
y = G.var
p( (x + y + 1)** 7 )
#=> y^7 + (7x + 7)y^6 + 8xy^5 + 4y^4 + (4x + 4)y^3 + 5xy^2 + 7y + x + 1
H = ResidueClassRing(G, y**5 + x*y + 1)
y = H[y]
p( 1/(x + y + 1)**7 )
#=> (1798/3x + 1825/9)y^4 + (-74x + 5176/9)y^3 +
# (-6886/9x - 5917/9)y^2 + (1826/3x - 3101/9)y + 2146/9x + 4702/9</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-13" id="label-13">±êƯ¶à̪ÌlɯéB</a></h3><!-- RDLabel: "±êƯ¶à̪ÌlɯéB" -->
<pre># sample-algebraicfield02.rb
require "algebra"
F = AlgebraicExtensionField(Rational, "x") {|x| x**2 + x + 1}
x = F.var
p( (x + 1)**100 )
p( (x-1)** 3 / (x**2 - 1) )
H = AlgebraicExtensionField(F, "y") {|y| y**5 + x*y + 1}
y = H.var
p( 1/(x + y + 1)**7 )</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-14" id="label-14">[gÌvZ</a></h3><!-- RDLabel: "[gÌvZ" -->
<pre># sample-algebraic-root01.rb
require "algebra"
R2, r2, r2_ = Root(Rational, 2) # r2 = sqrt(2), -sqrt(2)
p r2 #=> sqrt(2)
R3, r3, r3_ = Root(R2, 3) # r3 = sqrt(3), -sqrt(3)
p r3 #=> sqrt(3)
R6, r6, r6_ = Root(R3, 6) # R6 = R3, r6 = sqrt(6), -sqrt(6)
p r6 #=> -r2r3
p( (r6 + r2)*(r6 - r2) ) #=> 4
F, a, b = QuadraticExtensionField(Rational){|x| x**2 - x - 1}
# fibonacci numbers
(0..100).each do |n|
puts( (a**n - b**n)/(a - b) )
end</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-15" id="label-15">¤Ì̶¬</a></h2><!-- RDLabel: "¤Ì̶¬" -->
<h3><a name="label-16" id="label-16">®Â̤ÌðæÁÄLðìé</a></h3><!-- RDLabel: "®Â̤ÌðæÁÄLðìé" -->
<pre># sample-quotientfield01.rb
require "algebra"
Q = LocalizedRing(Integer)
a = Q.new(3, 5)
b = Q.new(5, 3)
p [a + b, a - b, a * b, a / b, a + 3, 1 + a]
#=> [34/15, -16/15, 15/15, 9/25, 18/5, 8/5]</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-17" id="label-17">LÖÌ̶¬</a></h3><!-- RDLabel: "LÖÌ̶¬" -->
<pre># sample-quotientfield02.rb
require "algebra"
F13 = ResidueClassRing(Integer, 13)
P = Polynomial(F13, "x")
Q = LocalizedRing(P)
x = Q[P.var]
p ( 1 / (x**2 - 1) - 1 / (x**3 - 1) )
#This is equivalent to the following
F = RationalFunctionField(F13, "x")
x = F.var
p ( 1 / (x**2 - 1) - 1 / (x**3 - 1) )</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-18" id="label-18">ãgåÌãÌL®ÌvZ</a></h3><!-- RDLabel: "ãgåÌãÌL®ÌvZ" -->
<pre># sample-quotientfield03.rb
require "algebra"
F13 = ResidueClassRing(Integer, 13)
F = AlgebraicExtensionField(F13, "a") {|a| a**2 - 2}
a = F.var
RF = RationalFunctionField(F, "x")
x = RF.var
p( (a/4*x + RF.unity/2)/(x**2 + a*x + 1) +
(-a/4*x + RF.unity/2)/(x**2 - a*x + 1) )
#=> 1/(x**4 + 1)</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-19" id="label-19">ãÖÌ</a></h3><!-- RDLabel: "ãÖÌ" -->
<pre># sample-quotientfield04.rb
require "algebra"
F13 = ResidueClassRing(Integer, 13)
F = RationalFunctionField(F13, "x")
x = F.var
AF = AlgebraicExtensionField(F, "a") {|a| a**2 - 2*x}
a = AF.var
p( (a/4*x + AF.unity/2)/(x**2 + a*x + 1) +
(-a/4*x + AF.unity/2)/(x**2 - a*x + 1) )
#=> (-x^3 + x^2 + 1)/(x^4 + 11x^3 + 2x^2 + 1)</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-20" id="label-20">ü`ã</a></h2><!-- RDLabel: "ü`ã" -->
<h3><a name="label-21" id="label-21">A§1ûö®ðð</a></h3><!-- RDLabel: "A§1ûö®ðð" -->
<pre># sample-gaussian-elimination01.rb
require "algebra"
M = MatrixAlgebra(Rational, 5, 4)
a = M.matrix{|i, j| i + j}
a.display #=>
#[0, 1, 2, 3]
#[1, 2, 3, 4]
#[2, 3, 4, 5]
#[3, 4, 5, 6]
#[4, 5, 6, 7]
a.kernel_basis.each do |v|
puts "a * #{v} = #{a * v}"
#=> a * [1, -2, 1, 0] = [0, 0, 0, 0, 0]
#=> a * [2, -3, 0, 1] = [0, 0, 0, 0, 0]
end</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-22" id="label-22">³ûsñÌÎp»</a></h3><!-- RDLabel: "³ûsñÌÎp»" -->
<pre># sample-diagonalization01.rb
require "algebra"
M = SquareMatrix(Rational, 3)
a = M[[1,-1,-1], [-1,1,-1], [2,1,-1]]
puts "A = "; a.display; puts
#A =
# 1, -1, -1
# -1, 1, -1
# 2, 1, -1
e = a.diagonalize
puts "Charactoristic Poly.: #{e.chpoly} => #{e.facts}";puts
#Charactoristic Poly.: t^3 - t^2 + t - 6 => (t - 2)(t^2 + t + 3)
puts "Algebraic Numbers:"
e.roots.each do |po, rs|
puts "#{rs.join(', ')} : roots of #{po} == 0"
end; puts
#Algebraic Numbers:
#a, -a - 1 : roots of t^2 + t + 3 == 0
puts "EigenSpaces: "
e.evalues.uniq.each do |ev|
puts "W_{#{ev}} = <#{e.espaces[ev].join(', ')}>"
end; puts
#EigenSpaces:
#W_{2} = <[4, -5, 1]>
#W_{a} = <[1/3a + 1/3, 1/3a + 1/3, 1]>
#W_{-a - 1} = <[-1/3a, -1/3a, 1]>
puts "Trans. Matrix:"
puts "P ="
e.tmatrix.display; puts
puts "P^-1 * A * P = "; (e.tmatrix.inverse * a * e.tmatrix).display; puts
#P =
# 4, 1/3a + 1/3, -1/3a
# -5, 1/3a + 1/3, -1/3a
# 1, 1, 1
#
#P^-1 * A * P =
# 2, 0, 0
# 0, a, 0
# 0, 0, -a - 1</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-23" id="label-23">sñÌPöqðßé</a></h3><!-- RDLabel: "sñÌPöqðßé" -->
<pre># sample-elementary-divisor01.rb
require "algebra"
M = SquareMatrix(Rational, 4)
a = M[
[2, 0, 0, 0],
[0, 2, 0, 0],
[0, 0, 2, 0],
[5, 0, 0, 2]
]
P = Polynomial(Rational, "x")
MP = SquareMatrix(P, 4)
ac = a._char_matrix(MP)
ac.display; puts #=>
#x - 2, 0, 0, 0
# 0, x - 2, 0, 0
# 0, 0, x - 2, 0
# -5, 0, 0, x - 2
p ac.elementary_divisor #=> [1, x - 2, x - 2, x^2 - 4x + 4]
require "algebra/matrix-algebra-triplet"
at = ac.to_triplet.e_diagonalize
at.body.display; puts #=>
# 1, 0, 0, 0
# 0, x - 2, 0, 0
# 0, 0, x - 2, 0
# 0, 0, 0, x^2 - 4x + 4
at.left.display; puts #=>
# 0, 0, 0, -1/5
# 0, 1, 0, 0
# 0, 0, 1, 0
# 5, 0, 0, x - 2
at.right.display; puts #=>
# 1, 0, 0, 1/5x - 2/5
# 0, 1, 0, 0
# 0, 0, 1, 0
# 0, 0, 0, 1
p at.left * ac * at.right == at.body #=> true</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-24" id="label-24">sñÌ Jordan W`ðßé</a></h3><!-- RDLabel: "sñÌ Jordan W`ðßé" -->
<pre># sample-jordan-form01.rb
require "algebra"
M4 = SquareMatrix(Rational, 4)
m = M4[
[-1, 1, 2, -1],
[-5, 3, 4, -2],
[3, -1, 0, 1],
[5, -2, -2, 3]
]
m.jordan_form.display; #=>
# 2, 0, 0, 0
# 0, 1, 1, 0
# 0, 0, 1, 1
# 0, 0, 0, 1
puts
#-----------------------------------
m = M4[
[3, 1, -1, 1],
[-3, -1, 3, -1],
[-2, -2, 0, 0],
[0, 0, -4, 2]
]
jf, pt, qt, field, modulus = m.jordan_form_info
p modulus #=> [a^2 + 4]
jf.display; puts #=>
# 2, 1, 0, 0
# 0, 2, 0, 0
# 0, 0, a, 0
# 0, 0, 0, -a
m = m.convert_to(jf.class)
p jf == pt * m * qt #=> true
#-----------------------------------
m = M4[
[-1, 1, 2, -1],
[-5, 3, 4, -2],
[3, -1, 0, 1],
[5, -2, -2, 0]
]
jf, pt, qt, field, modulus = m.jordan_form_info
p modulus #=> [a^3 + 3a - 1, b^2 + ab + a^2 + 3]
jf.display; puts #=>
# 2, 0, 0, 0
# 0, a, 0, 0
# 0, 0, b, 0
# 0, 0, 0, -b - a
m = m.convert_to(jf.class)
p jf == pt * m * qt #=> true</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-25" id="label-25">Cayley-Hamilton ÌèÌi³Ìjؾ</a></h3><!-- RDLabel: "Cayley-Hamilton ÌèÌi³Ìjؾ" -->
<pre># sample-cayleyhamilton01.rb
require "algebra"
n = 4
R = MPolynomial(Integer)
MR = SquareMatrix(R, n)
m = MR.matrix{|i, j| R.var("x#{i}#{j}") }
Rx = Polynomial(R, "x")
ch = m.char_polynomial(Rx)
p ch.evaluate(m) #=> 0</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-26" id="label-26">Ouiîêð³ÌîêÅ\»·é</a></h2><!-- RDLabel: "Ouiîêð³ÌîêÅ\»·é" -->
<pre># sample-groebner02.rb
require "algebra"
P = MPolynomial(Rational)
x, y, z = P.vars "xyz"
f1 = x**2 + y**2 + z**2 -1
f2 = x**2 + z**2 - y
f3 = x - z
coeff, basis = Groebner.basis_coeff([f1, f2, f3])
basis.each_with_index do |b, i|
p [coeff[i].inner_product([f1, f2, f3]), b]
p coeff[i].inner_product([f1, f2, f3]) == b #=> true
end</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-27" id="label-27">CÓÌîêÅÁ½¤Æ]èðßéi]èOÉÓ¡ª éj</a></h2><!-- RDLabel: "CÓÌîêÅÁ½¤Æ]èðßéi]èOÉÓ¡ª éj" -->
<pre># sample-groebner03.rb
require "algebra"
F5 = ResidueClassRing(Integer, 2)
F = AlgebraicExtensionField(F5, "a") {|a| a**3 + a + 1}
a = F.var
P = MPolynomial(F)
x, y, z = P.vars("xyz")
f1 = x + y**2 + z**2 - 1
f2 = x**2 + z**2 - y * a
f3 = x - z - a
f = x**3 + y**3 + z**3
q, r = f.divmod_s(f1, f2, f3)
p f == q.inner_product([f1, f2, f3]) + r #=> true</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-28" id="label-28">öªð</a></h2><!-- RDLabel: "öªð" -->
<h3><a name="label-29" id="label-29">®W½®Ìöªð</a></h3><!-- RDLabel: "®W½®Ìöªð" -->
<pre># sample-factorize01.rb
require "algebra"
P = Polynomial(Integer, "x")
x = P.var
f = 8*x**7 - 20*x**6 + 6*x**5 - 11*x**4 + 44*x**3 - 9*x**2 - 27
p f.factorize #=> (2x - 3)^3(x^2 + x + 1)^2</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-30" id="label-30">Zp W½®Ìöªð</a></h3><!-- RDLabel: "Zp W½®Ìöªð" -->
<pre># sample-factorize02.rb
require "algebra"
Z7 = ResidueClassRing(Integer, 7)
P = Polynomial(Z7, "x")
x = P.var
f = 8*x**7 - 20*x**6 + 6*x**5 - 11*x**4 + 44*x**3 - 9*x**2 - 27
p f.factorize #=> (x + 5)^2(x + 3)^2(x + 2)^3</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-31" id="label-31">LÌãgåã̽®Ìöªð</a></h3><!-- RDLabel: "LÌãgåã̽®Ìöªð" -->
<pre># sample-factorize03.rb
require "algebra"
A = AlgebraicExtensionField(Rational, "a") {|a| a**2 + a + 1}
a = A.var
P = Polynomial(A, "x")
x = P.var
f = x**4 + (2*a + 1)*x**3 + 3*a*x**2 + (-3*a - 5)*x - a + 1
p f.factorize #=> (x + a)^3(x - a + 1)</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-32" id="label-32">LÌãgåÌãgåã̽®Ìöªð</a></h3><!-- RDLabel: "LÌãgåÌãgåã̽®Ìöªð" -->
<pre># sample-factorize04.rb
require "algebra"
A = AlgebraicExtensionField(Rational, "a") {|a| a**2 - 2}
B = AlgebraicExtensionField(A, "b"){|b| b**2 + 1}
P = Polynomial(B, "x")
x = P.var
f = x**4 + 1
p f.factorize
#=> (x - 1/2ab - 1/2a)(x + 1/2ab - 1/2a)(x + 1/2ab + 1/2a)(x - 1/2ab + 1/2a)</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-33" id="label-33">x^4 + 10x^2 + 1 Ìöªð</a></h3><!-- RDLabel: "x^4 + 10x^2 + 1 Ìöªð" -->
<pre># sample-factorize05.rb
require "algebra"
def show(f, mod = 0)
if mod > 0
zp = ResidueClassRing(Integer, mod)
pzp = Polynomial(zp, f.variable)
f = f.convert_to(pzp)
end
fact = f.factorize
printf "mod %2d: %-15s => %s\n", mod, f, fact
end
Px = Polynomial(Integer, "x")
x = Px.var
f = x**4 + 10*x**2 + 1
#f = x**4 - 10*x**2 + 1
show(f)
Primes.new.each do |mod|
break if mod > 100
show(f, mod)
end
#mod 0: x^4 + 10x^2 + 1 => x^4 + 10x^2 + 1
#mod 2: x^4 + 1 => (x + 1)^4
#mod 3: x^4 + x^2 + 1 => (x + 2)^2(x + 1)^2
#mod 5: x^4 + 1 => (x^2 + 3)(x^2 + 2)
#mod 7: x^4 + 3x^2 + 1 => (x^2 + 4x + 6)(x^2 + 3x + 6)
#mod 11: x^4 - x^2 + 1 => (x^2 + 5x + 1)(x^2 + 6x + 1)
#mod 13: x^4 + 10x^2 + 1 => (x^2 - x + 12)(x^2 + x + 12)
#mod 17: x^4 + 10x^2 + 1 => (x^2 + 3x + 1)(x^2 + 14x + 1)
#mod 19: x^4 + 10x^2 + 1 => (x + 17)(x + 10)(x + 9)(x + 2)
#mod 23: x^4 + 10x^2 + 1 => (x^2 + 6)(x^2 + 4)
#mod 29: x^4 + 10x^2 + 1 => (x^2 + 21)(x^2 + 18)
#mod 31: x^4 + 10x^2 + 1 => (x^2 + 22x + 30)(x^2 + 9x + 30)
#mod 37: x^4 + 10x^2 + 1 => (x^2 + 32x + 36)(x^2 + 5x + 36)
#mod 41: x^4 + 10x^2 + 1 => (x^2 + 19x + 1)(x^2 + 22x + 1)
#mod 43: x^4 + 10x^2 + 1 => (x + 40)(x + 29)(x + 14)(x + 3)
#mod 47: x^4 + 10x^2 + 1 => (x^2 + 32)(x^2 + 25)
#mod 53: x^4 + 10x^2 + 1 => (x^2 + 41)(x^2 + 22)
#mod 59: x^4 + 10x^2 + 1 => (x^2 + 13x + 1)(x^2 + 46x + 1)
#mod 61: x^4 + 10x^2 + 1 => (x^2 + 54x + 60)(x^2 + 7x + 60)
#mod 67: x^4 + 10x^2 + 1 => (x + 55)(x + 39)(x + 28)(x + 12)
#mod 71: x^4 + 10x^2 + 1 => (x^2 + 43)(x^2 + 38)
#mod 73: x^4 + 10x^2 + 1 => (x + 68)(x + 44)(x + 29)(x + 5)
#mod 79: x^4 + 10x^2 + 1 => (x^2 + 64x + 78)(x^2 + 15x + 78)
#mod 83: x^4 + 10x^2 + 1 => (x^2 + 18x + 1)(x^2 + 65x + 1)
#mod 89: x^4 + 10x^2 + 1 => (x^2 + 9x + 1)(x^2 + 80x + 1)
#mod 97: x^4 + 10x^2 + 1 => (x + 88)(x + 54)(x + 43)(x + 9)</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-34" id="label-34">®ALW½Ï½®Ìöªð</a></h3><!-- RDLabel: "®ALW½Ï½®Ìöªð" -->
<pre># sample-m-factorize01.rb
require "algebra"
P = MPolynomial(Integer)
x, y, z = P.vars("xyz")
f = x**3 + y**3 + z**3 - 3*x*y*z
p f.factorize #=> (x + y + z)(x^2 - xy - xz + y^2 - yz + z^2)
PQ = MPolynomial(Rational)
x, y, z = PQ.vars("xyz")
f = x**3 + y**3/8 + z**3 - 3*x*y*z/2
p f.factorize #=> (1/8)(2x + y + 2z)(4x^2 - 2xy - 4xz + y^2 - 2yz + 4z^2)</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-35" id="label-35">Zp W½Ï½®Ìöªð</a></h3><!-- RDLabel: "Zp W½Ï½®Ìöªð" -->
<pre># sample-m-factorize02.rb
require "algebra"
Z7 = ResidueClassRing(Integer, 7)
P = MPolynomial(Z7)
x, y, z = P.vars("xyz")
f = x**3 + y**3 + z**3 - 3*x*y*z
p f.factorize #=> (x + 4y + 2z)(x + 2y + 4z)(x + y + z)</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-36" id="label-36">ãûö®</a></h2><!-- RDLabel: "ãûö®" -->
<h3><a name="label-37" id="label-37">Ŭ½®</a></h3><!-- RDLabel: "Ŭ½®" -->
<pre># sample-algebraic-equation01.rb
require "algebra"
PQ = MPolynomial(Rational)
a, b, c = PQ.vars("abc")
p AlgebraicEquation.minimal_polynomial(a + b + c, a**2-2, b**2-3, c**2-5)
#=> x^8 - 40x^6 + 352x^4 - 960x^2 + 576</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-38" id="label-38">ŬªðÌ</a></h3><!-- RDLabel: "ŬªðÌ" -->
<pre># sample-splitting-field01.rb
require "algebra"
PQ = Polynomial(Rational, "x")
x = PQ.var
f = x**4 + 2
p f #=> x^4 + 2
field, modulus, facts = f.decompose
p modulus #=> [a^4 + 2, b^2 + a^2]
p facts #=> (x - a)(x + a)(x - b)(x + b)
fp = Polynomial(field, "x")
x = fp.var
facts = Factors.new(facts.collect{|g, n| [g.evaluate(x), n]})
p facts.pi == f.convert_to(fp) #=> true</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-39" id="label-39">½®ÌKAQ</a></h3><!-- RDLabel: "½®ÌKAQ" -->
<pre># sample-galois-group01.rb
require "algebra/rational"
require "algebra/polynomial"
P = Algebra.Polynomial(Rational, "x")
x = P.var
(x**3 - 3*x + 1).galois_group.each do |g|
p g
end
#=> [0, 1, 2]
# [1, 2, 0]
# [2, 0, 1]]
(x**3 - x + 1).galois_group.each do |g|
p g
end
#=> [0, 1, 2]
# [1, 0, 2]
# [2, 0, 1]
# [0, 2, 1]
# [1, 2, 0]
# [2, 1, 0]</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-40" id="label-40">ô½</a></h2><!-- RDLabel: "ô½" -->
<h3><a name="label-41" id="label-41">dS̶Ý</a></h3><!-- RDLabel: "dS̶Ý" -->
<pre># sample-geometry01.rb
require 'algebra'
R = MPolynomial(Rational)
x,y,a1,a2,b1,b2,c1,c2 = R.vars('xya1a2b1b2c1c2')
V = Vector(R, 2)
X, A, B, C = V[x,y], V[a1,a2], V[b1,b2], V[c1,c2]
D = (B + C) /2
E = (C + A) /2
F = (A + B) /2
def line(p1, p2, p3)
SquareMatrix.det([[1, *p1], [1, *p2], [1, *p3]])
end
l1 = line(X, A, D)
l2 = line(X, B, E)
l3 = line(X, C, F)
s = line(A, B, C)
g = Groebner.basis [l1, l2, l3, s-1] #s-1 means non degeneracy
g.each_with_index do |f, i|
p f
end
#x - 1/3a1 - 1/3b1 - 1/3c1
#y - 1/3a2 - 1/3b2 - 1/3c2
#a1b2 - a1c2 - a2b1 + a2c1 + b1c2 - b2c1 - 1</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-42" id="label-42">OS̶Ý</a></h3><!-- RDLabel: "OS̶Ý" -->
<pre># sample-geometry02.rb
require 'algebra'
R = MPolynomial(Rational)
x,y,a1,a2,b1,b2,c1,c2 = R.vars('xya1a2b1b2c1c2')
V = Vector(R, 2)
X, A, B, C = V[x,y], V[a1,a2], V[b1,b2], V[c1,c2]
def line(p1, p2, p3)
SquareMatrix.det([[1, *p1], [1, *p2], [1, *p3]])
end
def vline(p1, p2, p3)
(p1-p2).norm2 - (p1-p3).norm2
end
l1 = vline(X, A, B)
l2 = vline(X, B, C)
l3 = vline(X, C, A)
s = line(A, B, C)
g = Groebner.basis [l1, l2, l3, s-1] #s-1 means non degeneracy
g.each do |f|
p f
end
#x - 1/2a1a2b1 + 1/2a1a2c1 + 1/2a1b1c2 - 1/2a1c1c2 - 1/2a1 - 1/2a2^2b2 + 1/2a2^2c2 + 1/2a2b1^2 - 1/2a2b1c1 + 1/2a2b2^2 - 1/2a2c2^2 - 1/2b1^2c2 + 1/2b1c1c2 - 1/2b2^2c2 + 1/2b2c2^2 - 1/2c1
#y + 1/2a1^2b1 - 1/2a1^2c1 - 1/2a1b1^2 + 1/2a1c1^2 + 1/2a2^2b1 - 1/2a2^2c1 - 1/2a2b1b2 - 1/2a2b1c2 + 1/2a2b2c1 + 1/2a2c1c2 + 1/2b1^2c1 + 1/2b1b2c2 - 1/2b1c1^2 -1/2b2c1c2 - 1/2b2 - 1/2c2
#a1b2 - a1c2 - a2b1 + a2c1 + b1c2 - b2c1 - 1</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-43" id="label-43">S̶Ý</a></h3><!-- RDLabel: "S̶Ý" -->
<pre># sample-geometry04.rb
require 'algebra'
R = MPolynomial(Rational)
x,y,a1,a2,b1,b2,c1,c2 = R.vars('xya1a2b1b2c1c2')
V = Vector(R, 2)
X, A, B, C = V[x,y], V[a1,a2], V[b1,b2], V[c1,c2]
def perpendicular(p0, p1, p2, p3)
(p0-p1).inner_product(p2-p3)
end
def line(p1, p2, p3)
SquareMatrix.det([[1, *p1], [1, *p2], [1, *p3]])
end
l1 = perpendicular(X, A, B, C)
l2 = perpendicular(X, B, C, A)
l3 = perpendicular(X, C, A, B)
s = line(A, B, C)
g = Groebner.basis [l1, l2, l3, s-1] #s-1 means non degeneracy
g.each do |f|
p f
end
#x + a1a2b1 - a1a2c1 - a1b1c2 + a1c1c2 + a2^2b2 - a2^2c2 - a2b1^2 + a2b1c1 - a2b2^2 + a2c2^2 + b1^2c2 - b1c1c2 - b1 + b2^2c2 - b2c2^2
#y - a1^2b1 + a1^2c1 + a1b1^2 - a1c1^2 - a2^2b1 + a2^2c1 + a2b1b2 + a2b1c2 - a2b2c1 - a2c1c2 - a2 - b1^2c1 - b1b2c2 + b1c1^2 + b2c1c2
#a1b2 - a1c2 - a2b1 + a2c1 + b1c2 - b2c1 - 1</pre>
<p><a href="#label-1">_</a></p>
<h3><a name="label-44" id="label-44">4 ÂÌÊÏ</a></h3><!-- RDLabel: "4 ÂÌÊÏ" -->
<p>see <a href="http://www1.odn.ne.jp/drinkcat/topic/column/quest/quest_2/quest_2.html"><URL:http://www1.odn.ne.jp/drinkcat/topic/column/quest/quest_2/quest_2.html></a> Question 3.</p>
<pre># sample-geometry07.rb
require "algebra"
R = MPolynomial(Rational)
m, b, a = R.vars("mba")
K = LocalizedRing(R)
a0, b0, m0 = K[a], K[b], K[m]
M = SquareMatrix(K, 3)
l0, l1, l2 = M[[0, 1, 0], [1, 1, -1], [1, 0, 0]]
m4 = M[[a0, 1, -a0], [1, b0, -b0], [m0, -1, 0]]
m40 = m4.dup; m40.set_row(0, l0)
m41 = m4.dup; m41.set_row(1, l1)
m42 = m4.dup; m42.set_row(2, l2)
def mdet(m, i)
i = i % 3
m.minor(i, 2).determinant * (-1) ** i
end
def tris(m, i)
pts = [0, 1, 2] - [i]
(m.determinant)**2 / mdet(m, pts[0]) / mdet(m, pts[1])
end
u0 = (tris(m4, 0) - tris(m40, 0)).numerator
u1 = (tris(m4, 1) - tris(m41, 1)).numerator
u2 = (tris(m4, 2) - tris(m42, 2)).numerator
puts [u0, u1, u2]
puts
[u0, u1, u2].each do |um|
p um.factorize
end
puts
x = u0 / a / (m*b+1)
y = u1 / (m+a) / (b-1)
z = u2 / (-b*a+1)
p x
p y
p z
puts
gb = Groebner.basis([x, y, z])
puts gb
puts
gb.each do |v|
p v.factorize
end
#(-1)(-mb + m + ba^3 + ba^2 - ba - a^2)
#(-1)(-ma + m + ba^2 - a^2)
#(-1)(b + a - 1)(-ba + 1)(a)
#(-1)(-ba + 1)(a)(a^2 + a - 1)
# => a = -1/2 + \sqrt{5}/2</pre>
<p><a href="#label-1">_</a></p>
<h2><a name="label-45" id="label-45">ðÍ</a></h2><!-- RDLabel: "ðÍ" -->
<h3><a name="label-46" id="label-46">OW
Ìæ@</a></h3><!-- RDLabel: "OW
Ìæ@" -->
<pre># sample-lagrange-multiplier01.rb
require 'algebra'
P = MPolynomial(Rational)
t, x, y, z = P.vars('txyz')
f = x**3+2*x*y*z - z**2
g = x**2 + y**2 + z**2 - 1
fx = f.derivate(x)
fy = f.derivate(y)
fz = f.derivate(z)
gx = g.derivate(x)
gy = g.derivate(y)
gz = g.derivate(z)
F = [fx - t * gx, fy - t * gy, fz - t * gz, g]
Groebner.basis(F).each do |h|
p h.factorize
end
#(1/7670)(7670t - 11505x - 11505yz - 335232z^6 + 477321z^4 - 134419z^2)
#x^2 + y^2 + z^2 - 1
#(1/3835)(3835xy - 19584z^5 + 25987z^3 - 6403z)
#(1/3835)(3835x + 3835yz - 1152z^4 - 1404z^2 + 2556)(z)
#(1/3835)(3835y^3 + 3835yz^2 - 3835y - 9216z^5 + 11778z^3 - 2562z)
#(1/3835)(3835y^2 - 6912z^4 + 10751z^2 - 3839)(z)
#(1/118)(118y - 1152z^3 + 453z)(z)(z - 1)(z + 1)
#(1/1152)(z)(z - 1)(3z - 2)(3z + 2)(z + 1)(128z^2 - 11)</pre>
<p><a href="#label-1">_</a></p>
</body>
</html>
| Java |
<!doctype html>
<html class="theme-next pisces use-motion" lang="en">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
<link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />
<meta name="keywords" content="Hexo, NexT" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />
<meta name="description" content="Where there is a will, there is a way.">
<meta property="og:type" content="website">
<meta property="og:title" content="Mr7Cat">
<meta property="og:url" content="http://mr7cat.com/tags/ReactNative/index.html">
<meta property="og:site_name" content="Mr7Cat">
<meta property="og:description" content="Where there is a will, there is a way.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Mr7Cat">
<meta name="twitter:description" content="Where there is a will, there is a way.">
<script type="text/javascript" id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Pisces',
sidebar: {"position":"left","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
fancybox: true,
motion: true,
duoshuo: {
userId: '0',
author: 'Author'
},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<link rel="canonical" href="http://mr7cat.com/tags/ReactNative/"/>
<title> Tag: ReactNative | Mr7Cat </title>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="en">
<div class="container one-collumn sidebar-position-left ">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">Mr7Cat</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle"></p>
</div>
<div class="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
Home
</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about" rel="section">
<i class="menu-item-icon fa fa-fw fa-user"></i> <br />
About
</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
Archives
</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags" rel="section">
<i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
Tags
</a>
</li>
</ul>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<div id="posts" class="posts-collapse">
<div class="collection-title">
<h2 >
ReactNative
<small>Tag</small>
</h2>
</div>
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title">
<a class="post-title-link" href="/2017/06/02/Redux/" itemprop="url">
<span itemprop="name">Redux</span>
</a>
</h1>
<div class="post-meta">
<time class="post-time" itemprop="dateCreated"
datetime="2017-06-02T14:20:43+08:00"
content="2017-06-02" >
06-02
</time>
</div>
</header>
</article>
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title">
<a class="post-title-link" href="/2017/03/24/ReactNative/" itemprop="url">
<span itemprop="name">React Native</span>
</a>
</h1>
<div class="post-meta">
<time class="post-time" itemprop="dateCreated"
datetime="2017-03-24T10:30:30+08:00"
content="2017-03-24" >
03-24
</time>
</div>
</header>
</article>
</div>
</div>
</div>
<div class="sidebar-toggle">
<div class="sidebar-toggle-line-wrap">
<span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
</div>
</div>
<aside id="sidebar" class="sidebar">
<div class="sidebar-inner">
<section class="site-overview sidebar-panel sidebar-panel-active">
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image"
src="https://avatars3.githubusercontent.com/u/1405850?v=3&u=b02f4267aea6f9d517c0c8cfb0f357f3df02112c&s=140"
alt="Will" />
<p class="site-author-name" itemprop="name">Will</p>
<p class="site-description motion-element" itemprop="description">Where there is a will, there is a way.</p>
</div>
<nav class="site-state motion-element">
<div class="site-state-item site-state-posts">
<a href="/archives">
<span class="site-state-item-count">15</span>
<span class="site-state-item-name">posts</span>
</a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags">
<span class="site-state-item-count">4</span>
<span class="site-state-item-name">tags</span>
</a>
</div>
</nav>
<div class="links-of-author motion-element">
</div>
<div class="cc-license motion-element" itemprop="license">
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" target="_blank">
<img src="/images/cc-by-nc-sa.svg" alt="Creative Commons" />
</a>
</div>
</section>
</div>
</aside>
</div>
</main>
<footer id="footer" class="footer">
<div class="footer-inner">
<div class="copyright" >
©
<span itemprop="copyrightYear">2019</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
<span class="author" itemprop="copyrightHolder">Will</span>
</div>
<div class="powered-by">
Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
</div>
<div class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
NexT.Pisces
</a>
</div>
</div>
</footer>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
</div>
</div>
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/affix.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>
<script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
<script>AV.initialize("WGTaLHJXovcKixHvuzFdYoPy-gzGzoHsz", "c0dcQAYhRg9RCUGWtEJKJ1mN");</script>
<script>
function showTime(Counter) {
var query = new AV.Query(Counter);
var entries = [];
var $visitors = $(".leancloud_visitors");
$visitors.each(function () {
entries.push( $(this).attr("id").trim() );
});
query.containedIn('url', entries);
query.find()
.done(function (results) {
var COUNT_CONTAINER_REF = '.leancloud-visitors-count';
if (results.length === 0) {
$visitors.find(COUNT_CONTAINER_REF).text(0);
return;
}
for (var i = 0; i < results.length; i++) {
var item = results[i];
var url = item.get('url');
var time = item.get('time');
var element = document.getElementById(url);
$(element).find(COUNT_CONTAINER_REF).text(time);
}
for(var i = 0; i < entries.length; i++) {
var url = entries[i];
var element = document.getElementById(url);
var countSpan = $(element).find(COUNT_CONTAINER_REF);
if( countSpan.text() == '') {
countSpan.text(0);
}
}
})
.fail(function (object, error) {
console.log("Error: " + error.code + " " + error.message);
});
}
function addCount(Counter) {
var $visitors = $(".leancloud_visitors");
var url = $visitors.attr('id').trim();
var title = $visitors.attr('data-flag-title').trim();
var query = new AV.Query(Counter);
query.equalTo("url", url);
query.find({
success: function(results) {
if (results.length > 0) {
var counter = results[0];
counter.fetchWhenSave(true);
counter.increment("time");
counter.save(null, {
success: function(counter) {
var $element = $(document.getElementById(url));
$element.find('.leancloud-visitors-count').text(counter.get('time'));
},
error: function(counter, error) {
console.log('Failed to save Visitor num, with error message: ' + error.message);
}
});
} else {
var newcounter = new Counter();
/* Set ACL */
var acl = new AV.ACL();
acl.setPublicReadAccess(true);
acl.setPublicWriteAccess(true);
newcounter.setACL(acl);
/* End Set ACL */
newcounter.set("title", title);
newcounter.set("url", url);
newcounter.set("time", 1);
newcounter.save(null, {
success: function(newcounter) {
var $element = $(document.getElementById(url));
$element.find('.leancloud-visitors-count').text(newcounter.get('time'));
},
error: function(newcounter, error) {
console.log('Failed to create');
}
});
}
},
error: function(error) {
console.log('Error:' + error.code + " " + error.message);
}
});
}
$(function() {
var Counter = AV.Object.extend("Counter");
if ($('.leancloud_visitors').length == 1) {
addCount(Counter);
} else if ($('.post-title-link').length > 1) {
showTime(Counter);
}
});
</script>
<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
</body>
</html>
| Java |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ META.project_short_title }} | The Texas Tribune</title>
{% block styles %}
<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/v2.1.6/mapbox.css">
<link rel="stylesheet" href="styles/main.css">
{% endblock %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@texastribune">
<meta name="twitter:creator" content="@rdmurphy">
<meta property="og:url" content="http://{{ SITE.s3_bucket }}/{{ SITE.slug }}/">
<meta property="og:title" content="{{ META.project_title }}">
<meta property="og:type" content="article">
<meta property="og:description" content="{{ META.project_intro_clean }}">
<meta property="og:site_name" content="The Texas Tribune">
<meta property="og:image" content="http://{{ SITE.s3_bucket }}/{{ SITE.slug }}/assets/images/tedtracker-leadart.jpg">
<meta property="fb:app_id" content="154122474650943">
<script src="scripts/bundle.js" async defer></script>
</head>
<body>
<header class="masthead">
<h2 class="header-logo">
<a href="http://www.texastribune.org">
<img class="logo" src="assets/images/trib-logo-white-500x55.png" alt="The Texas Tribune">
</a>
</h2>
<button id="menu-button" class="menu-button">Menu</button>
</header>
<nav id="menu-nav" class="menu-nav">
<ul>
<li><a href="http://www.texastribune.org/">Front Page</a></li>
<li><a href="http://www.texastribune.org/2016/">2016 Coverage</a></li>
<li><a href="http://www.texastribune.org/directory/">Directory</a></li>
<li><a href="http://www.texastribune.org/events/">Events</a></li>
<li><a href="http://www.texastribune.org/subscribe/">Newsletters</a></li>
</ul>
</nav>
{% include 'templates/includes/_ad_atf.html' %}
<main class="container" role="main">
{% block content %}{% endblock %}
</main>
{% include 'templates/includes/_ad_btf.html' %}
<footer class="footer">
<div class="container">
<nav>
<ul>
<li class="copywrite">© 2015 <a href="http://www.texastribune.org/">The Texas Tribune</a></li>
</ul>
</nav>
<nav class="last-nav">
<ul>
<li><a href="http://www.texastribune.org/about/">About Us</a></li>
<li><a href="http://www.texastribune.org/contact/">Contact Us</a></li>
<li><a href="http://www.texastribune.org/support-us/donors-and-members/">Who Funds Us?</a></li>
<li><a href="http://www.texastribune.org/terms-of-service/">Terms of Service</a></li>
<li><a href="http://www.texastribune.org/ethics/">Code of Ethics</a></li>
<li><a href="http://www.texastribune.org/privacy/">Privacy Policy</a></li>
<li class="donate"><a href="https://www.texastribune.org/join/">Donate</a></li>
</ul>
</nav>
</div>
</footer>
{% block script %}
{% endblock %}
</body>
</html>
| Java |
using Microsoft.Xna.Framework;
namespace XmasHell.FSM
{
public struct FSMStateData<T>
{
public FSM<T> Machine { get; internal set; }
public FSMBehaviour<T> Behaviour { get; internal set; }
public T State { get; internal set; }
public GameTime GameTime { get; internal set; }
}
}
| Java |
// --------------------------------------------------------------------------------------------
#region // Copyright (c) 2020, SIL International. All Rights Reserved.
// <copyright from='2011' to='2020' company='SIL International'>
// Copyright (c) 2020, SIL International. All Rights Reserved.
//
// Distributable under the terms of the MIT License (https://sil.mit-license.org/)
// </copyright>
#endregion
// --------------------------------------------------------------------------------------------
using System.Collections.Generic;
using Paratext.Data;
using SIL.Scripture;
namespace HearThis.Script
{
/// <summary>
/// This exposes the things we care about out of ScrText, providing an
/// anti-corruption layer between Paratext and HearThis and allowing us to test the code
/// that calls Paratext.
/// </summary>
public interface IScripture : IScrProjectSettings
{
ScrVers Versification { get; }
List<UsfmToken> GetUsfmTokens(VerseRef verseRef);
IScrParserState CreateScrParserState(VerseRef verseRef);
string DefaultFont { get; }
bool RightToLeft { get; }
string EthnologueCode { get; }
string Name { get; }
IStyleInfoProvider StyleInfo { get; }
}
/// <summary>
/// This exposes the things we care about out of ScrText, providing an
/// anti-corruption layer between Paratext and HearThis and allowing us to test the code
/// that calls Paratext.
/// </summary>
public interface IScrProjectSettings
{
string FirstLevelStartQuotationMark { get; }
string FirstLevelEndQuotationMark { get; }
string SecondLevelStartQuotationMark { get; }
string SecondLevelEndQuotationMark { get; }
string ThirdLevelStartQuotationMark { get; }
string ThirdLevelEndQuotationMark { get; }
/// <summary>
/// Gets whether first-level quotation marks are used unambiguously to indicate first-level quotations.
/// If the same marks are used for 2nd or 3rd level quotations, then this should return false.
/// </summary>
bool FirstLevelQuotesAreUnique { get; }
}
}
| Java |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>my-angular-cli-app documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top visible-xs">
<a href="../" class="navbar-brand">my-angular-cli-app documentation</a>
<button type="button" class="btn btn-default btn-menu fa fa-bars" id="btn-menu"></button>
</div>
<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search">
</div>
<nav>
<ul class="list">
<li class="title">
<a href="../index.html">my-angular-cli-app documentation</a>
</li>
<li class="divider"></li>
<li class="chapter">
<a data-type="chapter-link" href="../index.html"><span class="fa fa-home"></span>Getting started</a>
<ul class="links">
<li class="link">
<a
href="../overview.html"
href="../overview.html"
>
<span class="fa fa-th"></span>Overview
</a>
</li>
<li class="link">
<a href="../index.html" ><span class="fa fa-file-text-o"></span>README</a>
</li>
<li class="link">
<a href="./license.html"
>
<span class="fa fa-file-text-o"></span>LICENSE
</a>
</li>
</ul>
</li>
<li class="chapter">
<a data-type="chapter-link" href="../modules.html" >
<div class="menu-toggler linked" data-toggle="collapse"
data-target="#xs-modules-links"
>
<span class="fa fa-archive"></span>
<span class="link-name">Modules</span>
<span class="fa fa-angle-down"></span>
</div>
</a>
<ul class="links collapse "
id="xs-modules-links"
>
<li class="link">
<a href="../modules/AppModule.html" >AppModule</a>
</li>
<li class="link">
<a href="../modules/AppRoutingModule.html" >AppRoutingModule</a>
</li>
<li class="link">
<a href="../modules/CoreModule.html" >CoreModule</a>
</li>
<li class="link">
<a href="../modules/MyrecipesModule.html" >MyrecipesModule</a>
</li>
<li class="link">
<a href="../modules/RecipesModule.html" >RecipesModule</a>
</li>
<li class="link">
<a href="../modules/RecipesRoutingModule.html" >RecipesRoutingModule</a>
</li>
<li class="link">
<a href="../modules/SharedModule.html" >SharedModule</a>
</li>
<li class="link">
<a href="../modules/SharedRoutingModule.html" >SharedRoutingModule</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-components-links"
>
<span class="fa fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="xs-components-links"
>
<li class="link">
<a href="../components/AppComponent.html" >AppComponent</a>
</li>
<li class="link">
<a href="../components/FooterComponent.html" >FooterComponent</a>
</li>
<li class="link">
<a href="../components/HeaderComponent.html" >HeaderComponent</a>
</li>
<li class="link">
<a href="../components/HomeComponent.html" >HomeComponent</a>
</li>
<li class="link">
<a href="../components/LoginComponent.html" >LoginComponent</a>
</li>
<li class="link">
<a href="../components/MyrecipesComponent.html" >MyrecipesComponent</a>
</li>
<li class="link">
<a href="../components/NotfoundComponent.html" >NotfoundComponent</a>
</li>
<li class="link">
<a href="../components/RecipeComponent.html" >RecipeComponent</a>
</li>
<li class="link">
<a href="../components/RecipeDetailsComponent.html" >RecipeDetailsComponent</a>
</li>
<li class="link">
<a href="../components/RecipesFavouritesComponent.html" >RecipesFavouritesComponent</a>
</li>
<li class="link">
<a href="../components/RecipesFilteredComponent.html" >RecipesFilteredComponent</a>
</li>
<li class="link">
<a href="../components/RecipesListComponent.html" >RecipesListComponent</a>
</li>
<li class="link">
<a href="../components/SliderComponent.html" >SliderComponent</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-directives-links"
>
<span class="fa fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="xs-directives-links"
>
<li class="link">
<a href="../directives/InputFormatDirective.html" >InputFormatDirective</a>
</li>
<li class="link">
<a href="../directives/InputStringValidationDirective.html" >InputStringValidationDirective</a>
</li>
<li class="link">
<a href="../directives/InputYearValidationDirective.html" data-type="entity-link" class="active" >InputYearValidationDirective</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-classes-links"
>
<span class="fa fa-file-code-o"></span>
<span>Classes</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="xs-classes-links"
>
<li class="link">
<a href="../classes/Recipe.html" >Recipe</a>
</li>
<li class="link">
<a href="../classes/RecipeWithKey.html" >RecipeWithKey</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-injectables-links"
>
<span class="fa fa-long-arrow-down"></span>
<span>Injectables</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="xs-injectables-links"
>
<li class="link">
<a href="../injectables/AuthGuard.html" >AuthGuard</a>
</li>
<li class="link">
<a href="../injectables/AuthService.html" >AuthService</a>
</li>
<li class="link">
<a href="../injectables/RecipeGuardService.html" >RecipeGuardService</a>
</li>
<li class="link">
<a href="../injectables/RecipesResolver.html" >RecipesResolver</a>
</li>
<li class="link">
<a href="../injectables/RecipesService.html" >RecipesService</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-pipes-links"
>
<span class="fa fa-plus"></span>
<span>Pipes</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="xs-pipes-links"
>
<li class="link">
<a href="../pipes/SummaryPipe.html" >SummaryPipe</a>
</li>
<li class="link">
<a href="../pipes/WelcomePipe.html" >WelcomePipe</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-miscellaneous-links"
>
<span class="fa fa-cubes"></span>
<span>Miscellaneous</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="xs-miscellaneous-links"
>
<li class="link">
<a href="../miscellaneous/functions.html" data-type="entity-link" >Functions</a>
</li>
<li class="link">
<a href="../miscellaneous/variables.html" data-type="entity-link" >Variables</a>
</li>
</ul>
</li>
<li class="chapter">
<a data-type="chapter-link" href="../routes.html" ><span class="fa fa-code-fork"></span>Routes</a>
</li>
<li class="chapter">
<a data-type="chapter-link" href="../coverage.html" ><span class="fa fa-tasks"></span>Documentation coverage</a>
</li>
<li class="divider"></li>
<li class="copyright">
Documentation generated using <a href="https://compodoc.github.io/website/" target="_blank">
<img src="..//images/compodoc-vectorise.svg" class="img-responsive">
</a>
</li>
</ul>
</nav>
</div>
<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<nav>
<ul class="list">
<li class="title">
<a href="../index.html">my-angular-cli-app documentation</a>
</li>
<li class="divider"></li>
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search">
</div>
<li class="chapter">
<a data-type="chapter-link" href="../index.html"><span class="fa fa-home"></span>Getting started</a>
<ul class="links">
<li class="link">
<a
href="../overview.html"
href="../overview.html"
>
<span class="fa fa-th"></span>Overview
</a>
</li>
<li class="link">
<a href="../index.html" ><span class="fa fa-file-text-o"></span>README</a>
</li>
<li class="link">
<a href="./license.html"
>
<span class="fa fa-file-text-o"></span>LICENSE
</a>
</li>
</ul>
</li>
<li class="chapter">
<a data-type="chapter-link" href="../modules.html" >
<div class="menu-toggler linked" data-toggle="collapse"
data-target="#modules-links"
>
<span class="fa fa-archive"></span>
<span class="link-name">Modules</span>
<span class="fa fa-angle-down"></span>
</div>
</a>
<ul class="links collapse "
id="modules-links"
>
<li class="link">
<a href="../modules/AppModule.html" >AppModule</a>
</li>
<li class="link">
<a href="../modules/AppRoutingModule.html" >AppRoutingModule</a>
</li>
<li class="link">
<a href="../modules/CoreModule.html" >CoreModule</a>
</li>
<li class="link">
<a href="../modules/MyrecipesModule.html" >MyrecipesModule</a>
</li>
<li class="link">
<a href="../modules/RecipesModule.html" >RecipesModule</a>
</li>
<li class="link">
<a href="../modules/RecipesRoutingModule.html" >RecipesRoutingModule</a>
</li>
<li class="link">
<a href="../modules/SharedModule.html" >SharedModule</a>
</li>
<li class="link">
<a href="../modules/SharedRoutingModule.html" >SharedRoutingModule</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#components-links"
>
<span class="fa fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="components-links"
>
<li class="link">
<a href="../components/AppComponent.html" >AppComponent</a>
</li>
<li class="link">
<a href="../components/FooterComponent.html" >FooterComponent</a>
</li>
<li class="link">
<a href="../components/HeaderComponent.html" >HeaderComponent</a>
</li>
<li class="link">
<a href="../components/HomeComponent.html" >HomeComponent</a>
</li>
<li class="link">
<a href="../components/LoginComponent.html" >LoginComponent</a>
</li>
<li class="link">
<a href="../components/MyrecipesComponent.html" >MyrecipesComponent</a>
</li>
<li class="link">
<a href="../components/NotfoundComponent.html" >NotfoundComponent</a>
</li>
<li class="link">
<a href="../components/RecipeComponent.html" >RecipeComponent</a>
</li>
<li class="link">
<a href="../components/RecipeDetailsComponent.html" >RecipeDetailsComponent</a>
</li>
<li class="link">
<a href="../components/RecipesFavouritesComponent.html" >RecipesFavouritesComponent</a>
</li>
<li class="link">
<a href="../components/RecipesFilteredComponent.html" >RecipesFilteredComponent</a>
</li>
<li class="link">
<a href="../components/RecipesListComponent.html" >RecipesListComponent</a>
</li>
<li class="link">
<a href="../components/SliderComponent.html" >SliderComponent</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#directives-links"
>
<span class="fa fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="directives-links"
>
<li class="link">
<a href="../directives/InputFormatDirective.html" >InputFormatDirective</a>
</li>
<li class="link">
<a href="../directives/InputStringValidationDirective.html" >InputStringValidationDirective</a>
</li>
<li class="link">
<a href="../directives/InputYearValidationDirective.html" data-type="entity-link" class="active" >InputYearValidationDirective</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#classes-links"
>
<span class="fa fa-file-code-o"></span>
<span>Classes</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="classes-links"
>
<li class="link">
<a href="../classes/Recipe.html" >Recipe</a>
</li>
<li class="link">
<a href="../classes/RecipeWithKey.html" >RecipeWithKey</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#injectables-links"
>
<span class="fa fa-long-arrow-down"></span>
<span>Injectables</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="injectables-links"
>
<li class="link">
<a href="../injectables/AuthGuard.html" >AuthGuard</a>
</li>
<li class="link">
<a href="../injectables/AuthService.html" >AuthService</a>
</li>
<li class="link">
<a href="../injectables/RecipeGuardService.html" >RecipeGuardService</a>
</li>
<li class="link">
<a href="../injectables/RecipesResolver.html" >RecipesResolver</a>
</li>
<li class="link">
<a href="../injectables/RecipesService.html" >RecipesService</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#pipes-links"
>
<span class="fa fa-plus"></span>
<span>Pipes</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="pipes-links"
>
<li class="link">
<a href="../pipes/SummaryPipe.html" >SummaryPipe</a>
</li>
<li class="link">
<a href="../pipes/WelcomePipe.html" >WelcomePipe</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#miscellaneous-links"
>
<span class="fa fa-cubes"></span>
<span>Miscellaneous</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse "
id="miscellaneous-links"
>
<li class="link">
<a href="../miscellaneous/functions.html" data-type="entity-link" >Functions</a>
</li>
<li class="link">
<a href="../miscellaneous/variables.html" data-type="entity-link" >Variables</a>
</li>
</ul>
</li>
<li class="chapter">
<a data-type="chapter-link" href="../routes.html" ><span class="fa fa-code-fork"></span>Routes</a>
</li>
<li class="chapter">
<a data-type="chapter-link" href="../coverage.html" ><span class="fa fa-tasks"></span>Documentation coverage</a>
</li>
<li class="divider"></li>
<li class="copyright">
Documentation generated using <a href="https://compodoc.github.io/website/" target="_blank">
<img src="..//images/compodoc-vectorise.svg" class="img-responsive">
</a>
</li>
</ul>
</nav>
</div>
<div class="content directive">
<div class="content-data">
<ol class="breadcrumb">
<li>Directives</li>
<li>InputYearValidationDirective</li>
</ol>
<ul class="nav nav-tabs" role="tablist">
<li class="active">
<a href="#info" id="info-tab" role="tab" data-toggle="tab" data-link="info">Info</a>
</li>
<li>
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="info">
<p class="comment">
<h3>File</h3>
</p>
<p class="comment">
<code>src/app/directives/input-year-validation.directive.ts</code>
</p>
<section>
<h3>Metadata</h3>
<table class="table table-sm table-hover">
<tbody>
<tr>
<td class="col-md-3">selector</td>
<td class="col-md-9"><code>[appInputYearValidation]</code></td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="index">Index</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
<tr>
<td class="col-md-4">
<h6><b>HostListeners</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#change">change</a>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="constructor">Constructor</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<code>constructor(domElement: <a href="https://angular.io/docs/ts/latest/api/core/index/ElementRef-class.html" target="_blank">ElementRef</a>)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="6" class="link-to-prism">src/app/directives/input-year-validation.directive.ts:6</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div>
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>domElement</td>
<td>
<code><a href="https://angular.io/docs/ts/latest/api/core/index/ElementRef-class.html" target="_blank" >ElementRef</a></code>
</td>
<td>
</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3>HostListeners</h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="change"></a>
<span class="name"><b> change</b><a href="#change"><span class="fa fa-link"></span></a></span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>change()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/app/directives/input-year-validation.directive.ts:10</a></div>
</td>
</tr>
</tbody>
</table>
</section>
</div>
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers"><code class="language-typescript">import { Directive, ElementRef, HostListener } from '@angular/core';
@Directive({
selector: '[appInputYearValidation]'
})
export class InputYearValidationDirective {
constructor(private domElement: ElementRef) { }
@HostListener('change') onChange() {
const value = +this.domElement.nativeElement.value;
if (!value) {
this.domElement.nativeElement.value = '';
return;
}
if (value < 1900) {
this.domElement.nativeElement.value = '1900';
}
if (value > 2017) {
this.domElement.nativeElement.value = '2017';
}
}
}
</code></pre>
</div>
</div>
</div><div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
<script src="../js/libs/bootstrap-native.js"></script>
<script src="../js/libs/es6-shim.min.js"></script>
<script src="../js/libs/EventDispatcher.js"></script>
<script src="../js/libs/promise.min.js"></script>
<script src="../js/libs/zepto.min.js"></script>
<script src="../js/compodoc.js"></script>
<script>var COMPODOC_CURRENT_PAGE_DEPTH = 1;</script>
<script src="../js/search/search.js"></script>
<script src="../js/search/lunr.min.js"></script>
<script src="../js/search/search-lunr.js"></script>
<script src="../js/tabs.js"></script>
<script src="../js/menu.js"></script>
<script src="../js/libs/prism.js"></script>
<script src="../js/sourceCode.js"></script>
<script src="../js/search/search_index.js"></script>
</body>
</html>
| Java |
module CdnBacon
VERSION = "0.0.1"
end
| Java |
## Build
Let's say your project name is Foo.
* cd to Foo.
* `npm run prod`
The command will generate all static files into build folder.
* `npm run start:prod`
You can test the build by run `npm run start:prod`, the command will bring up a node server which servers all static files under build foler.
Visit [http://localhost:5000](http://localhost:5000). If it works well, you'll see the page runs up.
* Deploy.
Put the files under build folder into your web server. | Java |
---
layout: post
title: "Georgia Tech Baseball: Schedule Preview and Prediction - May"
description: "This is the end of the line, friends. Do the Jackets get over the tourney hump?"
permalink: https://www.fromtherumbleseat.com/2019/2/8/18215049/georgia-tech-baseball-schedule-preview-and-prediction-may-duke-pitt-mercer-westerncarolina-acc-socon
--- | Java |
'use strict';
var eachAsync = require('each-async');
var onetime = require('onetime');
var arrify = require('arrify');
module.exports = function (hostnames, cb) {
cb = onetime(cb);
eachAsync(arrify(hostnames), function (hostname, i, next) {
var img = new Image();
img.onload = function () {
cb(true);
// skip to end
next(new Error());
};
img.onerror = function () {
next();
};
img.src = '//' + hostname + '/favicon.ico?' + Date.now();
}, function () {
cb(false);
});
};
| Java |
<?php
class Ressource extends Thing {
var $name;
var $url;
var $schemaDefinition;
function __construct($url = null) {
if ($url) $this->url = $this->preparePath($url);
}
function preparePath($path) {
$path = str_replace(" ", "+", $path);
return $path;
}
function getFileName() {
if (strpos($this->ressource_url, "/") !== false) {
$slash_explode = explode("/", $this->ressource_url);
return $slash_explode[count($slash_explode) - 1] . ".pdf";
}
return "fuckit";
}
function load($noDownload = false, $enforcedType = null) {
error_reporting(E_ALL & ~E_NOTICE);
$finfo = new finfo(FILEINFO_MIME);
$fio = new FileIO();
if (!$this->is_connected() || $noDownload) {
//$this->content = file_get_contents('data/temp/structure/processing/processed.html');
$this->content = file_get_contents($this->url);
if ($enforcedType) {
$this->Type = $enforcedType;
} else {
$this->Type = $finfo->buffer($this->content);
}
$this->size = strlen($this->content);
if ($this->Type == "application/pdf; charset=binary" || $this->Type == "application/octet-stream; charset=binary") {
//$filetime = $fio->filemtime_remote('../data/temp/structure/processing/processed.html');
$filetime = $fio->filemtime_remote($this->url);
$this->modificationTime = date ("F d Y H:i:s.", $filetime);
}
} else {
$this->content = $fio->loadFile($this->url);
$this->Type = $finfo->buffer($this->content);
if ($this->Type === "text/plain; charset=us-ascii") {
if ($this->isJson($this->content)) {
$this->Type = "application/json; charset=utf-8";
}
}
$this->size = strlen($this->content);
if ($this->Type == "application/pdf; charset=binary" || $this->Type == "application/octet-stream; charset=binary") {
$filetime = $fio->filemtime_remote($this->url);
$this->modificationTime = date ("F d Y H:i:s.", $filetime);
}
}
}
function isJson($string) {
json_decode($string);
return (json_last_error() == JSON_ERROR_NONE);
}
}
?>
| Java |
module Ldaptic
class Error < ::RuntimeError
end
class EntryNotSaved < Error
end
# All server errors are instances of this class. The error message and error
# code can be accessed with <tt>exception.message</tt> and
# <tt>exception.code</tt> respectively.
class ServerError < Error
attr_accessor :code
end
# The module houses all subclasses of Ldaptic::ServerError. The methods
# contained within are for internal use only.
module Errors
#{
# 0=>"Success",
# 1=>"Operations error",
# 2=>"Protocol error",
# 3=>"Time limit exceeded",
# 4=>"Size limit exceeded",
# 5=>"Compare False",
# 6=>"Compare True",
# 7=>"Authentication method not supported"
# 8=>"Strong(er) authentication required",
# 9=>"Partial results and referral received",
# 10=>"Referral",
# 11=>"Administrative limit exceeded",
# 12=>"Critical extension is unavailable",
# 13=>"Confidentiality required",
# 14=>"SASL bind in progress",
# 16=>"No such attribute",
# 17=>"Undefined attribute type",
# 18=>"Inappropriate matching",
# 19=>"Constraint violation",
# 20=>"Type or value exists",
# 21=>"Invalid syntax",
# 32=>"No such object",
# 33=>"Alias problem",
# 34=>"Invalid DN syntax",
# 35=>"Entry is a leaf",
# 36=>"Alias dereferencing problem",
# 47=>"Proxy Authorization Failure",
# 48=>"Inappropriate authentication",
# 49=>"Invalid credentials",
# 50=>"Insufficient access",
# 51=>"Server is busy",
# 52=>"Server is unavailable",
# 53=>"Server is unwilling to perform",
# 54=>"Loop detected",
# 64=>"Naming violation",
# 65=>"Object class violation",
# 66=>"Operation not allowed on non-leaf",
# 67=>"Operation not allowed on RDN",
# 68=>"Already exists",
# 69=>"Cannot modify object class",
# 70=>"Results too large",
# 71=>"Operation affects multiple DSAs",
# 80=>"Internal (implementation specific) error",
# 81=>"Can't contact LDAP server",
# 82=>"Local error",
# 83=>"Encoding error",
# 84=>"Decoding error",
# 85=>"Timed out",
# 86=>"Unknown authentication method",
# 87=>"Bad search filter",
# 88=>"User cancelled operation",
# 89=>"Bad parameter to an ldap routine",
# 90=>"Out of memory",
# 91=>"Connect error",
# 92=>"Not Supported",
# 93=>"Control not found",
# 94=>"No results returned",
# 95=>"More results to return",
# 96=>"Client Loop",
# 97=>"Referral Limit Exceeded",
#}
# Error code 32.
class NoSuchObject < ServerError
end
# Error code 5.
class CompareFalse < ServerError
end
# Error code 6.
class CompareTrue < ServerError
end
EXCEPTIONS = {
32 => NoSuchObject,
5 => CompareFalse,
6 => CompareTrue
}
class << self
# Provides a backtrace minus all files shipped with Ldaptic.
def application_backtrace
dir = File.dirname(File.dirname(__FILE__))
c = caller
c.shift while c.first[0,dir.length] == dir
c
end
# Raise an exception (object only, no strings or classes) with the
# backtrace stripped of all Ldaptic files.
def raise(exception)
exception.set_backtrace(application_backtrace)
Kernel.raise exception
end
def for(code, message = nil) #:nodoc:
message ||= "Unknown error #{code}"
klass = EXCEPTIONS[code] || ServerError
exception = klass.new(message)
exception.code = code
exception
end
# Given an error code and a message, raise an Ldaptic::ServerError unless
# the code is zero. The right subclass is selected automatically if it
# is available.
def raise_unless_zero(code, message = nil)
raise self.for(code, message) unless code.zero?
end
end
end
end
| Java |
package org.broadinstitute.sting.utils.codecs.table;
import org.broad.tribble.Feature;
import org.broad.tribble.readers.LineReader;
import org.broadinstitute.sting.gatk.refdata.ReferenceDependentFeatureCodec;
import org.broadinstitute.sting.utils.GenomeLocParser;
import org.broadinstitute.sting.utils.exceptions.UserException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
/**
* Reads tab deliminated tabular text files
*
* <p>
* <ul>
* <li>Header: must begin with line HEADER or track (for IGV), followed by any number of column names,
* separated by whitespace.</li>
* <li>Comment lines starting with # are ignored</li>
* <li>Each non-header and non-comment line is split into parts by whitespace,
* and these parts are assigned as a map to their corresponding column name in the header.
* Note that the first element (corresponding to the HEADER column) must be a valid genome loc
* such as 1, 1:1 or 1:1-10, which is the position of the Table element on the genome. TableCodec
* requires that there be one value for each column in the header, and no more, on all lines.</li>
* </ul>
* </p>
*
* </p>
*
* <h2>File format example</h2>
* <pre>
* HEADER a b c
* 1:1 1 2 3
* 1:2 4 5 6
* 1:3 7 8 9
* </pre>
*
* @author Mark DePristo
* @since 2009
*/
public class TableCodec implements ReferenceDependentFeatureCodec {
final static protected String delimiterRegex = "\\s+";
final static protected String headerDelimiter = "HEADER";
final static protected String igvHeaderDelimiter = "track";
final static protected String commentDelimiter = "#";
protected ArrayList<String> header = new ArrayList<String>();
/**
* The parser to use when resolving genome-wide locations.
*/
protected GenomeLocParser genomeLocParser;
/**
* Set the parser to use when resolving genetic data.
* @param genomeLocParser The supplied parser.
*/
@Override
public void setGenomeLocParser(GenomeLocParser genomeLocParser) {
this.genomeLocParser = genomeLocParser;
}
@Override
public Feature decodeLoc(String line) {
return decode(line);
}
@Override
public Feature decode(String line) {
if (line.startsWith(headerDelimiter) || line.startsWith(commentDelimiter) || line.startsWith(igvHeaderDelimiter))
return null;
String[] split = line.split(delimiterRegex);
if (split.length < 1)
throw new IllegalArgumentException("TableCodec line = " + line + " doesn't appear to be a valid table format");
return new TableFeature(genomeLocParser.parseGenomeLoc(split[0]),Arrays.asList(split),header);
}
@Override
public Class<TableFeature> getFeatureType() {
return TableFeature.class;
}
@Override
public Object readHeader(LineReader reader) {
String line = "";
try {
boolean isFirst = true;
while ((line = reader.readLine()) != null) {
if ( isFirst && ! line.startsWith(headerDelimiter) && ! line.startsWith(commentDelimiter)) {
throw new UserException.MalformedFile("TableCodec file does not have a header");
}
isFirst &= line.startsWith(commentDelimiter);
if (line.startsWith(headerDelimiter)) {
if (header.size() > 0) throw new IllegalStateException("Input table file seems to have two header lines. The second is = " + line);
String spl[] = line.split(delimiterRegex);
for (String s : spl) header.add(s);
return header;
} else if (!line.startsWith(commentDelimiter)) {
break;
}
}
} catch (IOException e) {
throw new UserException.MalformedFile("unable to parse header from TableCodec file",e);
}
return header;
}
public boolean canDecode(final String potentialInput) { return false; }
}
| Java |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca -->
<head>
<!-- Title begins / Début du titre -->
<title>
Canadialog Inc. -
Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada
</title>
<!-- Title ends / Fin du titre -->
<!-- Meta-data begins / Début des métadonnées -->
<meta charset="utf-8" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="dcterms.title" content="" />
<meta name="description" content="" />
<meta name="dcterms.description" content="" />
<meta name="dcterms.type" content="report, data set" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.issued" title="W3CDTF" content="" />
<meta name="dcterms.modified" title="W3CDTF" content="" />
<meta name="keywords" content="" />
<meta name="dcterms.creator" content="" />
<meta name="author" content="" />
<meta name="dcterms.created" title="W3CDTF" content="" />
<meta name="dcterms.publisher" content="" />
<meta name="dcterms.audience" title="icaudience" content="" />
<meta name="dcterms.spatial" title="ISO3166-1" content="" />
<meta name="dcterms.spatial" title="gcgeonames" content="" />
<meta name="dcterms.format" content="HTML" />
<meta name="dcterms.identifier" title="ICsiteProduct" content="536" />
<!-- EPI-11240 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- MCG-202 -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- EPI-11567 -->
<meta name = "format-detection" content = "telephone=no">
<!-- EPI-12603 -->
<meta name="robots" content="noarchive">
<!-- EPI-11190 - Webtrends -->
<script>
var startTime = new Date();
startTime = startTime.getTime();
</script>
<!--[if gte IE 9 | !IE ]><!-->
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css">
<!--<![endif]-->
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css">
<!--[if lt IE 9]>
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script>
<![endif]-->
<!--[if lte IE 9]>
<![endif]-->
<noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript>
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<script>dataLayer1 = [];</script>
<!-- End Google Tag Manager -->
<!-- EPI-11235 -->
<link rel="stylesheet" href="/eic/home.nsf/css/add_WET_4-0_Canada_Apps.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body class="home" vocab="http://schema.org/" typeof="WebPage">
<!-- EPIC HEADER BEGIN -->
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<noscript><iframe title="Google Tag Manager" src="//www.googletagmanager.com/ns.html?id=GTM-TLGQ9K" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer1','GTM-TLGQ9K');</script>
<!-- End Google Tag Manager -->
<!-- EPI-12801 -->
<span typeof="Organization"><meta property="legalName" content="Department_of_Industry"></span>
<ul id="wb-tphp">
<li class="wb-slc">
<a class="wb-sl" href="#wb-cont">Skip to main content</a>
</li>
<li class="wb-slc visible-sm visible-md visible-lg">
<a class="wb-sl" href="#wb-info">Skip to "About this site"</a>
</li>
</ul>
<header role="banner">
<div id="wb-bnr" class="container">
<section id="wb-lng" class="visible-md visible-lg text-right">
<h2 class="wb-inv">Language selection</h2>
<div class="row">
<div class="col-md-12">
<ul class="list-inline mrgn-bttm-0">
<li><a href="nvgt.do?V_TOKEN=1492272505164&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=8057&V_SEARCH.docsStart=8056&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/imbs/ccc/rgstrtn/updt.sec?_flId?_flxKy=e1s1&estblmntNo=234567041301&profileId=61&_evId=bck&lang=eng&V_SEARCH.showStricts=false&prtl=1&_flId?_flId?_flxKy=e1s1" title="Français" lang="fr">Français</a></li>
</ul>
</div>
</div>
</section>
<div class="row">
<div class="brand col-xs-8 col-sm-9 col-md-6">
<a href="http://www.canada.ca/en/index.html"><object type="image/svg+xml" tabindex="-1" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/sig-blk-en.svg"></object><span class="wb-inv"> Government of Canada</span></a>
</div>
<section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="list-inline text-right chvrn">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li>
</ul>
<div id="mb-pnl"></div>
</section>
<!-- Site Search Removed -->
</div>
</div>
<nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="SiteNavigationElement">
<h2 class="wb-inv">Topics menu</h2>
<div class="container nvbar">
<div class="row">
<ul class="list-inline menu">
<li><a href="https://www.canada.ca/en/services/jobs.html">Jobs</a></li>
<li><a href="http://www.cic.gc.ca/english/index.asp">Immigration</a></li>
<li><a href="https://travel.gc.ca/">Travel</a></li>
<li><a href="https://www.canada.ca/en/services/business.html">Business</a></li>
<li><a href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li>
<li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li>
<li><a href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li>
<li><a href="https://www.canada.ca/en/services.html">More services</a></li>
</ul>
</div>
</div>
</nav>
<!-- EPIC BODY BEGIN -->
<nav role="navigation" id="wb-bc" class="" property="breadcrumb">
<h2 class="wb-inv">You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li>
<li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li>
<li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li>
</ol>
</div>
</div>
</nav>
</header>
<main id="wb-cont" role="main" property="mainContentOfPage" class="container">
<!-- End Header -->
<!-- Begin Body -->
<!-- Begin Body Title -->
<!-- End Body Title -->
<!-- Begin Body Head -->
<!-- End Body Head -->
<!-- Begin Body Content -->
<br>
<!-- Complete Profile -->
<!-- Company Information above tabbed area-->
<input id="showMore" type="hidden" value='more'/>
<input id="showLess" type="hidden" value='less'/>
<h1 id="wb-cont">
Company profile - Canadian Company Capabilities
</h1>
<div class="profileInfo hidden-print">
<ul class="list-inline">
<li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&rstBtn.x=" class="btn btn-link">New Search</a> |</li>
<li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do">
<input type="hidden" name="lang" value="eng" />
<input type="hidden" name="profileId" value="" />
<input type="hidden" name="prtl" value="1" />
<input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" />
<input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" />
<input type="hidden" name="V_SEARCH.depth" value="1" />
<input type="hidden" name="V_SEARCH.showStricts" value="false" />
<input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" />
</form></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=8055&V_DOCUMENT.docRank=8056&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492272519467&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567096469&profileId=&key.newSearchLabel=">Previous Company</a></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=8057&V_DOCUMENT.docRank=8058&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492272519467&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567001926&profileId=&key.newSearchLabel=">Next Company</a></li>
</ul>
</div>
<details>
<summary>Third-Party Information Liability Disclaimer</summary>
<p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p>
</details>
<h2>
Canadialog Inc.
</h2>
<div class="row">
<div class="col-md-5">
<h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2>
<p>Canadialog Inc.</p>
<div class="mrgn-tp-md"></div>
<p class="mrgn-bttm-0" ><a href="http://www.canadialog.com"
target="_blank" title="Website URL">http://www.canadialog.com</a></p>
<p><a href="mailto:info@canadialog.com" title="info@canadialog.com">info@canadialog.com</a></p>
</div>
<div class="col-md-4 mrgn-sm-sm">
<h2 class="h5 mrgn-bttm-0">Mailing Address:</h2>
<address class="mrgn-bttm-md">
259-60 Atlantic Ave<br/>
Liberty Village<br/>
TORONTO,
Ontario<br/>
M6K 1X9
<br/>
</address>
<h2 class="h5 mrgn-bttm-0">Location Address:</h2>
<address class="mrgn-bttm-md">
259-60 Atlantic Ave<br/>
Liberty Village<br/>
TORONTO,
Ontario<br/>
M6K 1X9
<br/>
</address>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(416) 800-6668
</p>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(888) 730-0003</p>
<p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>:
(437) 222-2001</p>
</div>
<div class="col-md-3 mrgn-tp-md">
<h2 class="wb-inv">Logo</h2>
<img class="img-responsive text-left" src="https://www.ic.gc.ca/app/ccc/srch/media?estblmntNo=234567135211&graphFileName=branding.png&applicationCode=AP&lang=eng" alt="Logo" />
</div>
</div>
<div class="row mrgn-tp-md mrgn-bttm-md">
<div class="col-md-12">
<h2 class="wb-inv">Company Profile</h2>
<br> Canadialog is a part of an international group that strives to provide all the possible means to promote active and autonomous participation in society for the visually impaired with the use of assistive technologies.<br>
</div>
</div>
<!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<details id="details-panel1">
<summary>
Full profile
</summary>
<!-- Tab 1 -->
<h2 class="wb-invisible">
Full profile
</h2>
<!-- Contact Information -->
<h3 class="page-header">
Contact information
</h3>
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Bruce
MacKenzie
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
General Manager
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Domestic Sales & Marketing.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(888) 730-0003
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
201
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(604) 800-0655
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
bruce@canadialog.com
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Jad
Nohra
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
Manager
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Administrative Services,
Finance/Accounting.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(888) 730-0003
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
120
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(437) 222-2001
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
jad@canadialog.com
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Company Description -->
<h3 class="page-header">
Company description
</h3>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
No
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
417930 - Professional Machinery, Equipment and Supplies Wholesaler-Distributors
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Trading House / Wholesaler / Agent and Distributor
</div>
</div>
</section>
<!-- Products / Services / Licensing -->
<h3 class="page-header">
Product / Service / Licensing
</h3>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
Assistive Technology<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
RUBY - portable handheld magnifier<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
A portable handheld magnification solution. With a 4.3-inch, full color, high brightness video screen which makes it outstanding for reading bills, letters, checks, and receipts. It is so small and unobtrusive that it easily slips into a pocket or purse as the perfect traveling companion for visiting the grocery store, the pharmacy, the bank, the library, bookstore, restaurant, or anywhere else.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
SAPPHIRE - low vision reading magnifier<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Macular degeneration, glaucoma, cataracts, and other causes of vision loss no longer will prevent you from reading small print on menus, maps, receipts, pill bottles, and other items. With the battery-operated SAPPHIRE® handheld magnifier, you can magnify reading and detailed illustrations from 3.4 to 16 times on a bright, high-contrast display screen while at the store, on trips near and far, and at home as you move from room to room.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
TOPAZ - Desktop Video Magnifier/CCTV<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Now you can maintain control over the essential, everyday activities of your life, even with macular degeneration or other visual impairments that result in low vision: leisure reading, corresponding with friends and family, reading contracts, bills, and prescriptions, enjoying needlepoint and other hobbies, and much more.
<br>
The TOPAZ with its bright, high-contrast image, large moveable reading table, and easy to reach and use buttons is a must for every home where people with macular degeneration, diabetic retinopathy, and other forms of low vision love to read books, do crossword puzzles, and see the details in cherished family photos<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
ONYX - Deskset XL far view camera<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
The ONYX® Deskset XL 17, ONYX Deskset XL 19, and ONYX XL 22 feature the versatile ONYX camera mounted to a 17-inch, 19-inch, or widescreen 22-inch flat panel monitor that can be tilted forward and backward and raised and lowered. The camera rotates 350 degrees, and the unique telescopic arm swings 350 degrees, allowing you to look in any direction. Magnify close up and far away - there even is a mirror-image self view. The ONYX Deskset XL is exceptional for magnifying a white board, an instructor or speaker at the front of a room, PowerPoint presentations, and books and papers on a desk. And it all comes in one, compact portable package<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
LED Illuminated Magnifiers for Low Vision<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
These magnifying glasses combine precision German optics with bright LED lighting. The 10,000-hour LEDs illuminate the entire field of view, and the meticulously crafted aspheric lenses provide powerful magnification with less distortion - Great for those with limited vision due to macular degeneration, retinitis pigmentosa, diabetic retinopathy, glaucoma, or cataracts.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
MAGic Screen Magnification Software<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Computer users who need low vision aids due to macular degeneration, retinitis pigmentosa, or other causes of low vision can take control of Web and software application pages. No longer will you struggle with type too small to see and images with indecipherable details. MAGic® screen magnification software not only increases the size of what you see on a monitor, but MAGic with Speech also speaks aloud screen contents. MAGic makes school research on the Web less challenging for those with vision loss. It smooths the way for work projects that involve report writing, spreadsheets, and working with common office-related software. MAGic even makes leisure Web browsing, letter writing, blogging, chatting, and other social activities that involve the computer possible and more fun for people with vision loss.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
SARA CE - Camera Edition Scanning And Reading Appliance<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Place a printed page under the camera, and the SARA CE instantly starts reading it to you with RealSpeak human-sounding speech. No computer experience is needed. You dont even need to push a button to read almost any printed material books, magazines, mail, and more. The camera automatically senses when a new page is presented.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
JAWS - Screen Reading Software for Microsoft Windows<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Works with all your Microsoft and IBM Lotus® Symphony applications using JAWS®, the world's most popular screen reader. Developed for computer users whose vision loss prevents them from seeing screen content, JAWS reads aloud what's on the PC screen.
<br>
Compatible with the most frequently-used workplace and classroom applications
<br>
JAWS enables you to work with Lotus Symphony, a suite of IBM® tools for word processing, spreadsheets, and presentation creation and with Lotus Notes® by IBM. JAWS also is compatible with Microsoft® Office Suite, MSN Messenger®, Corel® WordPerfect, Adobe® Acrobat Reader, Internet Explorer, Firefox - and many more applications that used on a regular basis on the job and in school.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
OpenBook Scanning and Reading Software<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
OpenBook® converts printed documents or graphic-based text into an electronic text format on your PC, using quality speech and the latest optical character recognition (OCR) technology. Easy switching between the Nuance OmniPage® and ABBYY FineReader® OCR engines allows you to choose the OCR engine that works best for your particular use. You also can choose between two leading text-to-speech software synthesizers: RealSpeak Solo (natural, human-sounding voices) or Eloquence (efficient synthesized speech that often is preferred for editing and document skimming).<br>
<br>
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Technology Profile -->
<!-- Market Profile -->
<!-- Sector Information -->
<details class="mrgn-tp-md mrgn-bttm-md">
<summary>
Third-Party Information Liability Disclaimer
</summary>
<p>
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
</p>
</details>
</details>
<details id="details-panel2">
<summary>
Contacts
</summary>
<h2 class="wb-invisible">
Contact information
</h2>
<!-- Contact Information -->
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Bruce
MacKenzie
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
General Manager
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Domestic Sales & Marketing.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(888) 730-0003
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
201
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(604) 800-0655
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
bruce@canadialog.com
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Jad
Nohra
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
Manager
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Administrative Services,
Finance/Accounting.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(888) 730-0003
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
120
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(437) 222-2001
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
jad@canadialog.com
</div>
</div>
</section>
</details>
<details id="details-panel3">
<summary>
Description
</summary>
<h2 class="wb-invisible">
Company description
</h2>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
No
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
417930 - Professional Machinery, Equipment and Supplies Wholesaler-Distributors
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Trading House / Wholesaler / Agent and Distributor
</div>
</div>
</section>
</details>
<details id="details-panel4">
<summary>
Products, services and licensing
</summary>
<h2 class="wb-invisible">
Product / Service / Licensing
</h2>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
Assistive Technology<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
RUBY - portable handheld magnifier<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
A portable handheld magnification solution. With a 4.3-inch, full color, high brightness video screen which makes it outstanding for reading bills, letters, checks, and receipts. It is so small and unobtrusive that it easily slips into a pocket or purse as the perfect traveling companion for visiting the grocery store, the pharmacy, the bank, the library, bookstore, restaurant, or anywhere else.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
SAPPHIRE - low vision reading magnifier<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Macular degeneration, glaucoma, cataracts, and other causes of vision loss no longer will prevent you from reading small print on menus, maps, receipts, pill bottles, and other items. With the battery-operated SAPPHIRE® handheld magnifier, you can magnify reading and detailed illustrations from 3.4 to 16 times on a bright, high-contrast display screen while at the store, on trips near and far, and at home as you move from room to room.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
TOPAZ - Desktop Video Magnifier/CCTV<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Now you can maintain control over the essential, everyday activities of your life, even with macular degeneration or other visual impairments that result in low vision: leisure reading, corresponding with friends and family, reading contracts, bills, and prescriptions, enjoying needlepoint and other hobbies, and much more.
<br>
The TOPAZ with its bright, high-contrast image, large moveable reading table, and easy to reach and use buttons is a must for every home where people with macular degeneration, diabetic retinopathy, and other forms of low vision love to read books, do crossword puzzles, and see the details in cherished family photos<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
ONYX - Deskset XL far view camera<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
The ONYX® Deskset XL 17, ONYX Deskset XL 19, and ONYX XL 22 feature the versatile ONYX camera mounted to a 17-inch, 19-inch, or widescreen 22-inch flat panel monitor that can be tilted forward and backward and raised and lowered. The camera rotates 350 degrees, and the unique telescopic arm swings 350 degrees, allowing you to look in any direction. Magnify close up and far away - there even is a mirror-image self view. The ONYX Deskset XL is exceptional for magnifying a white board, an instructor or speaker at the front of a room, PowerPoint presentations, and books and papers on a desk. And it all comes in one, compact portable package<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
LED Illuminated Magnifiers for Low Vision<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
These magnifying glasses combine precision German optics with bright LED lighting. The 10,000-hour LEDs illuminate the entire field of view, and the meticulously crafted aspheric lenses provide powerful magnification with less distortion - Great for those with limited vision due to macular degeneration, retinitis pigmentosa, diabetic retinopathy, glaucoma, or cataracts.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
MAGic Screen Magnification Software<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Computer users who need low vision aids due to macular degeneration, retinitis pigmentosa, or other causes of low vision can take control of Web and software application pages. No longer will you struggle with type too small to see and images with indecipherable details. MAGic® screen magnification software not only increases the size of what you see on a monitor, but MAGic with Speech also speaks aloud screen contents. MAGic makes school research on the Web less challenging for those with vision loss. It smooths the way for work projects that involve report writing, spreadsheets, and working with common office-related software. MAGic even makes leisure Web browsing, letter writing, blogging, chatting, and other social activities that involve the computer possible and more fun for people with vision loss.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
SARA CE - Camera Edition Scanning And Reading Appliance<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Place a printed page under the camera, and the SARA CE instantly starts reading it to you with RealSpeak human-sounding speech. No computer experience is needed. You dont even need to push a button to read almost any printed material books, magazines, mail, and more. The camera automatically senses when a new page is presented.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
JAWS - Screen Reading Software for Microsoft Windows<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Works with all your Microsoft and IBM Lotus® Symphony applications using JAWS®, the world's most popular screen reader. Developed for computer users whose vision loss prevents them from seeing screen content, JAWS reads aloud what's on the PC screen.
<br>
Compatible with the most frequently-used workplace and classroom applications
<br>
JAWS enables you to work with Lotus Symphony, a suite of IBM® tools for word processing, spreadsheets, and presentation creation and with Lotus Notes® by IBM. JAWS also is compatible with Microsoft® Office Suite, MSN Messenger®, Corel® WordPerfect, Adobe® Acrobat Reader, Internet Explorer, Firefox - and many more applications that used on a regular basis on the job and in school.<br>
<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
OpenBook Scanning and Reading Software<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
OpenBook® converts printed documents or graphic-based text into an electronic text format on your PC, using quality speech and the latest optical character recognition (OCR) technology. Easy switching between the Nuance OmniPage® and ABBYY FineReader® OCR engines allows you to choose the OCR engine that works best for your particular use. You also can choose between two leading text-to-speech software synthesizers: RealSpeak Solo (natural, human-sounding voices) or Eloquence (efficient synthesized speech that often is preferred for editing and document skimming).<br>
<br>
</div>
</div>
</section>
</details>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
Last Update Date 2016-06-15
</div>
</div>
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
<!-- End Body Content -->
<!-- Begin Body Foot -->
<!-- End Body Foot -->
<!-- END MAIN TABLE -->
<!-- End body -->
<!-- Begin footer -->
<div class="row pagedetails">
<div class="col-sm-5 col-xs-12 datemod">
<dl id="wb-dtmd">
<dt class=" hidden-print">Date Modified:</dt>
<dd class=" hidden-print">
<span><time>2017-03-02</time></span>
</dd>
</dl>
</div>
<div class="clear visible-xs"></div>
<div class="col-sm-4 col-xs-6">
</div>
<div class="col-sm-3 col-xs-6 text-right">
</div>
<div class="clear visible-xs"></div>
</div>
</main>
<footer role="contentinfo" id="wb-info">
<nav role="navigation" class="container wb-navcurr">
<h2 class="wb-inv">About government</h2>
<!-- EPIC FOOTER BEGIN -->
<!-- EPI-11638 Contact us -->
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&from=Industries">Contact us</a></li>
<li><a href="https://www.canada.ca/en/government/dept.html">Departments and agencies</a></li>
<li><a href="https://www.canada.ca/en/government/publicservice.html">Public service and military</a></li>
<li><a href="https://www.canada.ca/en/news.html">News</a></li>
<li><a href="https://www.canada.ca/en/government/system/laws.html">Treaties, laws and regulations</a></li>
<li><a href="https://www.canada.ca/en/transparency/reporting.html">Government-wide reporting</a></li>
<li><a href="http://pm.gc.ca/eng">Prime Minister</a></li>
<li><a href="https://www.canada.ca/en/government/system.html">How government works</a></li>
<li><a href="http://open.canada.ca/en/">Open government</a></li>
</ul>
</nav>
<div class="brand">
<div class="container">
<div class="row">
<nav class="col-md-10 ftr-urlt-lnk">
<h2 class="wb-inv">About this site</h2>
<ul>
<li><a href="https://www.canada.ca/en/social.html">Social media</a></li>
<li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li>
<li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html">Terms and conditions</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li>
</ul>
</nav>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">Top of Page <span class="glyphicon glyphicon-chevron-up"></span></a>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object>
</div>
</div>
</div>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script>
<![endif]-->
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script>
<!-- EPI-10519 -->
<span class="wb-sessto"
data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span>
<script src="/eic/home.nsf/js/jQuery.externalOpensInNewWindow.js"></script>
<!-- EPI-11190 - Webtrends -->
<script src="/eic/home.nsf/js/webtrends.js"></script>
<script>var endTime = new Date();</script>
<noscript>
<div><img alt="" id="DCSIMG" width="1" height="1" src="//wt-sdc.ic.gc.ca/dcs6v67hwe0ei7wsv8g9fv50d_3k6i/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=9.4.0&dcssip=www.ic.gc.ca"/></div>
</noscript>
<!-- /Webtrends -->
<!-- JS deps -->
<script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script>
<!-- EPI-11262 - Util JS -->
<script src="/eic/home.nsf/js/_WET_4-0_utils_canada.min.js"></script>
<!-- EPI-11383 -->
<script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script>
<span style="display:none;" id='app-info' data-project-groupid='' data-project-artifactid='' data-project-version='' data-project-build-timestamp='' data-issue-tracking='' data-scm-sha1='' data-scm-sha1-abbrev='' data-scm-branch='' data-scm-commit-date=''></span>
</body></html>
<!-- End Footer -->
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
| Java |
<!-- THIS FILE IS GENERATED VIA '.template-helpers/generate-tag-details.pl' -->
# Tags of `ruby`
- [`ruby:2.0.0-p647`](#ruby200-p647)
- [`ruby:2.0.0`](#ruby200)
- [`ruby:2.0`](#ruby20)
- [`ruby:2.0.0-p647-onbuild`](#ruby200-p647-onbuild)
- [`ruby:2.0.0-onbuild`](#ruby200-onbuild)
- [`ruby:2.0-onbuild`](#ruby20-onbuild)
- [`ruby:2.0.0-p647-slim`](#ruby200-p647-slim)
- [`ruby:2.0.0-slim`](#ruby200-slim)
- [`ruby:2.0-slim`](#ruby20-slim)
- [`ruby:2.1.7`](#ruby217)
- [`ruby:2.1`](#ruby21)
- [`ruby:2.1.7-onbuild`](#ruby217-onbuild)
- [`ruby:2.1-onbuild`](#ruby21-onbuild)
- [`ruby:2.1.7-slim`](#ruby217-slim)
- [`ruby:2.1-slim`](#ruby21-slim)
- [`ruby:2.2.3`](#ruby223)
- [`ruby:2.2`](#ruby22)
- [`ruby:2`](#ruby2)
- [`ruby:latest`](#rubylatest)
- [`ruby:2.2.3-onbuild`](#ruby223-onbuild)
- [`ruby:2.2-onbuild`](#ruby22-onbuild)
- [`ruby:2-onbuild`](#ruby2-onbuild)
- [`ruby:onbuild`](#rubyonbuild)
- [`ruby:2.2.3-slim`](#ruby223-slim)
- [`ruby:2.2-slim`](#ruby22-slim)
- [`ruby:2-slim`](#ruby2-slim)
- [`ruby:slim`](#rubyslim)
## `ruby:2.0.0-p647`
- Total Virtual Size: 705.2 MB (705162696 bytes)
- Total v2 Content-Length: 269.4 MB (269376466 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=c88aaf5b4ec72e2cb7d290ff854f04d135939f6134f517002a9d65d5fc5e5bec
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:17:44 GMT
- Parent Layer: `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:17:45 GMT
- Parent Layer: `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:bf6be5e09718d0c44661ae9835241ef4ea86fe5fc2905813585e7563b104b29f`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:04 GMT
#### `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:21:46 GMT
- Parent Layer: `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
- Docker Version: 1.7.1
- Virtual Size: 98.5 MB (98522047 bytes)
- v2 Blob: `sha256:c2d1fdfcb4c55a98415b2304167a91d6946d10ea4662386a4d516a47afea9a72`
- v2 Content-Length: 28.4 MB (28437522 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:01 GMT
#### `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:21:48 GMT
- Parent Layer: `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:21:51 GMT
- Parent Layer: `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:4021d1190e5e92a1c97474c7f4f5a53fc8ac1ba3f582c60ebce10e1e6953d6c0`
- v2 Content-Length: 500.1 KB (500100 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:46:39 GMT
#### `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0.0`
- Total Virtual Size: 705.2 MB (705162696 bytes)
- Total v2 Content-Length: 269.4 MB (269376466 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=c88aaf5b4ec72e2cb7d290ff854f04d135939f6134f517002a9d65d5fc5e5bec
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:17:44 GMT
- Parent Layer: `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:17:45 GMT
- Parent Layer: `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:bf6be5e09718d0c44661ae9835241ef4ea86fe5fc2905813585e7563b104b29f`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:04 GMT
#### `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:21:46 GMT
- Parent Layer: `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
- Docker Version: 1.7.1
- Virtual Size: 98.5 MB (98522047 bytes)
- v2 Blob: `sha256:c2d1fdfcb4c55a98415b2304167a91d6946d10ea4662386a4d516a47afea9a72`
- v2 Content-Length: 28.4 MB (28437522 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:01 GMT
#### `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:21:48 GMT
- Parent Layer: `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:21:51 GMT
- Parent Layer: `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:4021d1190e5e92a1c97474c7f4f5a53fc8ac1ba3f582c60ebce10e1e6953d6c0`
- v2 Content-Length: 500.1 KB (500100 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:46:39 GMT
#### `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0`
- Total Virtual Size: 705.2 MB (705162696 bytes)
- Total v2 Content-Length: 269.4 MB (269376466 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=c88aaf5b4ec72e2cb7d290ff854f04d135939f6134f517002a9d65d5fc5e5bec
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:17:44 GMT
- Parent Layer: `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:17:45 GMT
- Parent Layer: `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:bf6be5e09718d0c44661ae9835241ef4ea86fe5fc2905813585e7563b104b29f`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:04 GMT
#### `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:21:46 GMT
- Parent Layer: `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
- Docker Version: 1.7.1
- Virtual Size: 98.5 MB (98522047 bytes)
- v2 Blob: `sha256:c2d1fdfcb4c55a98415b2304167a91d6946d10ea4662386a4d516a47afea9a72`
- v2 Content-Length: 28.4 MB (28437522 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:01 GMT
#### `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:21:48 GMT
- Parent Layer: `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:21:51 GMT
- Parent Layer: `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:4021d1190e5e92a1c97474c7f4f5a53fc8ac1ba3f582c60ebce10e1e6953d6c0`
- v2 Content-Length: 500.1 KB (500100 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:46:39 GMT
#### `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0.0-p647-onbuild`
- Total Virtual Size: 705.2 MB (705162784 bytes)
- Total v2 Content-Length: 269.4 MB (269376968 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=c88aaf5b4ec72e2cb7d290ff854f04d135939f6134f517002a9d65d5fc5e5bec
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:17:44 GMT
- Parent Layer: `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:17:45 GMT
- Parent Layer: `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:bf6be5e09718d0c44661ae9835241ef4ea86fe5fc2905813585e7563b104b29f`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:04 GMT
#### `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:21:46 GMT
- Parent Layer: `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
- Docker Version: 1.7.1
- Virtual Size: 98.5 MB (98522047 bytes)
- v2 Blob: `sha256:c2d1fdfcb4c55a98415b2304167a91d6946d10ea4662386a4d516a47afea9a72`
- v2 Content-Length: 28.4 MB (28437522 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:01 GMT
#### `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:21:48 GMT
- Parent Layer: `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:21:51 GMT
- Parent Layer: `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:4021d1190e5e92a1c97474c7f4f5a53fc8ac1ba3f582c60ebce10e1e6953d6c0`
- v2 Content-Length: 500.1 KB (500100 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:46:39 GMT
#### `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `57c6e615af052d62541154701cab208d14b7ef96e08c3caa713337f944e85b44`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:23:04 GMT
- Parent Layer: `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
- Docker Version: 1.7.1
- Virtual Size: 88.0 B
- v2 Blob: `sha256:5df96711276bfc6747960854cb03957c98bc23edc32be0b71c58c3198ce9b38c`
- v2 Content-Length: 216.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:52:24 GMT
#### `a44b7a274375df94cd2c628890b61a140261f21b659202a0071c936833bec81f`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:05 GMT
- Parent Layer: `57c6e615af052d62541154701cab208d14b7ef96e08c3caa713337f944e85b44`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:bee8e5a45910b114e7778b7f591bb95beb903d44eafd1726a943ab918bd45904`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:52:23 GMT
#### `15159a32521de2efc82e89f0a62b44d3a8c49f3c85018b38bbb886e874e7f1df`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:05 GMT
- Parent Layer: `a44b7a274375df94cd2c628890b61a140261f21b659202a0071c936833bec81f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a468e5c6fdee54ad3dbfcfc359089679d3778e65c2b520b341d4f2008f61eca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `15159a32521de2efc82e89f0a62b44d3a8c49f3c85018b38bbb886e874e7f1df`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `aae01a8d766a8e76af29864611778145bb6f0836c61a4eaca5d37ffceb5db4ce`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `1a468e5c6fdee54ad3dbfcfc359089679d3778e65c2b520b341d4f2008f61eca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9e870ea37727dcd8092ae59d8f161f91c5a629962031e080173858e14fa738a1`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `aae01a8d766a8e76af29864611778145bb6f0836c61a4eaca5d37ffceb5db4ce`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5fdfcee3afdbd034cc58b769337ab7f5bf8e5ab2b3b6b6e0b4a5a10675b04b8e`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:07 GMT
- Parent Layer: `9e870ea37727dcd8092ae59d8f161f91c5a629962031e080173858e14fa738a1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0.0-onbuild`
- Total Virtual Size: 705.2 MB (705162784 bytes)
- Total v2 Content-Length: 269.4 MB (269376968 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=c88aaf5b4ec72e2cb7d290ff854f04d135939f6134f517002a9d65d5fc5e5bec
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:17:44 GMT
- Parent Layer: `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:17:45 GMT
- Parent Layer: `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:bf6be5e09718d0c44661ae9835241ef4ea86fe5fc2905813585e7563b104b29f`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:04 GMT
#### `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:21:46 GMT
- Parent Layer: `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
- Docker Version: 1.7.1
- Virtual Size: 98.5 MB (98522047 bytes)
- v2 Blob: `sha256:c2d1fdfcb4c55a98415b2304167a91d6946d10ea4662386a4d516a47afea9a72`
- v2 Content-Length: 28.4 MB (28437522 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:01 GMT
#### `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:21:48 GMT
- Parent Layer: `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:21:51 GMT
- Parent Layer: `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:4021d1190e5e92a1c97474c7f4f5a53fc8ac1ba3f582c60ebce10e1e6953d6c0`
- v2 Content-Length: 500.1 KB (500100 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:46:39 GMT
#### `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `57c6e615af052d62541154701cab208d14b7ef96e08c3caa713337f944e85b44`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:23:04 GMT
- Parent Layer: `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
- Docker Version: 1.7.1
- Virtual Size: 88.0 B
- v2 Blob: `sha256:5df96711276bfc6747960854cb03957c98bc23edc32be0b71c58c3198ce9b38c`
- v2 Content-Length: 216.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:52:24 GMT
#### `a44b7a274375df94cd2c628890b61a140261f21b659202a0071c936833bec81f`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:05 GMT
- Parent Layer: `57c6e615af052d62541154701cab208d14b7ef96e08c3caa713337f944e85b44`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:bee8e5a45910b114e7778b7f591bb95beb903d44eafd1726a943ab918bd45904`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:52:23 GMT
#### `15159a32521de2efc82e89f0a62b44d3a8c49f3c85018b38bbb886e874e7f1df`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:05 GMT
- Parent Layer: `a44b7a274375df94cd2c628890b61a140261f21b659202a0071c936833bec81f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a468e5c6fdee54ad3dbfcfc359089679d3778e65c2b520b341d4f2008f61eca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `15159a32521de2efc82e89f0a62b44d3a8c49f3c85018b38bbb886e874e7f1df`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `aae01a8d766a8e76af29864611778145bb6f0836c61a4eaca5d37ffceb5db4ce`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `1a468e5c6fdee54ad3dbfcfc359089679d3778e65c2b520b341d4f2008f61eca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9e870ea37727dcd8092ae59d8f161f91c5a629962031e080173858e14fa738a1`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `aae01a8d766a8e76af29864611778145bb6f0836c61a4eaca5d37ffceb5db4ce`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5fdfcee3afdbd034cc58b769337ab7f5bf8e5ab2b3b6b6e0b4a5a10675b04b8e`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:07 GMT
- Parent Layer: `9e870ea37727dcd8092ae59d8f161f91c5a629962031e080173858e14fa738a1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0-onbuild`
- Total Virtual Size: 705.2 MB (705162784 bytes)
- Total v2 Content-Length: 269.4 MB (269376968 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `57172606478fe544e87cadf7ef98be1f8337fb9a8fbe4cb5d027f25c6eef0d0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=c88aaf5b4ec72e2cb7d290ff854f04d135939f6134f517002a9d65d5fc5e5bec
```
- Created: Tue, 25 Aug 2015 08:17:43 GMT
- Parent Layer: `5f77e63e5730321adf6bebebe309224cedda159839b903a8db252c9f016608c1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:17:44 GMT
- Parent Layer: `f6f3b171327c0c8862537d062b61cbd3cafcb18030390e871281a504070d4fe9`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:17:45 GMT
- Parent Layer: `c5b051d2da18ec7ccf37b3523253d4e8c31363b75a493fc5457b85862fe8ff3f`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:bf6be5e09718d0c44661ae9835241ef4ea86fe5fc2905813585e7563b104b29f`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:04 GMT
#### `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:21:46 GMT
- Parent Layer: `cf475af3052e9fa149bf6686c85ffcb066ef6e523717aff0acb526f8cf8d420e`
- Docker Version: 1.7.1
- Virtual Size: 98.5 MB (98522047 bytes)
- v2 Blob: `sha256:c2d1fdfcb4c55a98415b2304167a91d6946d10ea4662386a4d516a47afea9a72`
- v2 Content-Length: 28.4 MB (28437522 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:47:01 GMT
#### `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `e197a3d883c8c0ad8f2a69140260f53b8e242631cda6dd9911f8afc525d7d4d4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:21:47 GMT
- Parent Layer: `682b7557535ccf234ddd723c34ce9d39d646cba9c37c388d894e64422cfa1fdd`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:21:48 GMT
- Parent Layer: `1a934001ef5e2b024acbd00b81d1363b956b07ad652ecf919da502ae1aff3584`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:21:51 GMT
- Parent Layer: `b2522c5019fd27ba60c909d85d4b8d6b350f2940dc481d187e26340a07cc135b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:4021d1190e5e92a1c97474c7f4f5a53fc8ac1ba3f582c60ebce10e1e6953d6c0`
- v2 Content-Length: 500.1 KB (500100 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:46:39 GMT
#### `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `f9f99542a15e92be20bafa01620453c667fc5a7b4df79bb2b0d5f228110d38bf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:21:52 GMT
- Parent Layer: `4630d301b9afed4108cc30d900c9e109800361d2bede9b1bcc659715efd408a2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `57c6e615af052d62541154701cab208d14b7ef96e08c3caa713337f944e85b44`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:23:04 GMT
- Parent Layer: `041ca32db269c2c107351ac8028ad98ceeca1ed3cab9295d1e20d7cf1596cb99`
- Docker Version: 1.7.1
- Virtual Size: 88.0 B
- v2 Blob: `sha256:5df96711276bfc6747960854cb03957c98bc23edc32be0b71c58c3198ce9b38c`
- v2 Content-Length: 216.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:52:24 GMT
#### `a44b7a274375df94cd2c628890b61a140261f21b659202a0071c936833bec81f`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:05 GMT
- Parent Layer: `57c6e615af052d62541154701cab208d14b7ef96e08c3caa713337f944e85b44`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:bee8e5a45910b114e7778b7f591bb95beb903d44eafd1726a943ab918bd45904`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:52:23 GMT
#### `15159a32521de2efc82e89f0a62b44d3a8c49f3c85018b38bbb886e874e7f1df`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:05 GMT
- Parent Layer: `a44b7a274375df94cd2c628890b61a140261f21b659202a0071c936833bec81f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `1a468e5c6fdee54ad3dbfcfc359089679d3778e65c2b520b341d4f2008f61eca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `15159a32521de2efc82e89f0a62b44d3a8c49f3c85018b38bbb886e874e7f1df`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `aae01a8d766a8e76af29864611778145bb6f0836c61a4eaca5d37ffceb5db4ce`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `1a468e5c6fdee54ad3dbfcfc359089679d3778e65c2b520b341d4f2008f61eca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9e870ea37727dcd8092ae59d8f161f91c5a629962031e080173858e14fa738a1`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:23:06 GMT
- Parent Layer: `aae01a8d766a8e76af29864611778145bb6f0836c61a4eaca5d37ffceb5db4ce`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5fdfcee3afdbd034cc58b769337ab7f5bf8e5ab2b3b6b6e0b4a5a10675b04b8e`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:23:07 GMT
- Parent Layer: `9e870ea37727dcd8092ae59d8f161f91c5a629962031e080173858e14fa738a1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0.0-p647-slim`
- Total Virtual Size: 263.4 MB (263420564 bytes)
- Total v2 Content-Length: 94.1 MB (94094688 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `6e87852e6890247c4fec706ddb1a39712304723c373133414ed7051e9d3ff735`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Mon, 24 Aug 2015 22:21:10 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8d48c48838f6849435f1f8f016e1d86a73a0cb7405dc6dd4bf2aea9f9a707c8b`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Mon, 24 Aug 2015 22:21:10 GMT
- Parent Layer: `6e87852e6890247c4fec706ddb1a39712304723c373133414ed7051e9d3ff735`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d3255ddd41d5064b86ab69f0ae490fabb2d2bdcd25578efc86f1acb79a35ef43`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:21:11 GMT
- Parent Layer: `8d48c48838f6849435f1f8f016e1d86a73a0cb7405dc6dd4bf2aea9f9a707c8b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ecf0120833a0e1fd2d133e4277bf5c9c70ae774c6a707330547cfe8e5bdbe709`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:21:13 GMT
- Parent Layer: `d3255ddd41d5064b86ab69f0ae490fabb2d2bdcd25578efc86f1acb79a35ef43`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:f39e989b2b6fa6ff4083aa633c7c8212e5d12a4fb420b8a4514e5aa10cc3302c`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:39 GMT
#### `429a3bb6cacf025bec45441038462b7aba32be6c394c9b8c1bda10e6413d6715`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:26:21 GMT
- Parent Layer: `ecf0120833a0e1fd2d133e4277bf5c9c70ae774c6a707330547cfe8e5bdbe709`
- Docker Version: 1.7.1
- Virtual Size: 99.4 MB (99368203 bytes)
- v2 Blob: `sha256:1432b334d9298b27c8d899c5ae30a0e922b07a6e6ee8ae3f36ab3820dd6fbf31`
- v2 Content-Length: 28.6 MB (28623192 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:36 GMT
#### `df37e929d887e00cf6e49bf3157d2c2b3fcb4cbe9991ce7fbd3c5aa23ed21063`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:26:23 GMT
- Parent Layer: `429a3bb6cacf025bec45441038462b7aba32be6c394c9b8c1bda10e6413d6715`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `92ff2cb87ab3e136fbf437886f32df786bee467b4a9170e853bb68cc0f26accf`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:26:24 GMT
- Parent Layer: `df37e929d887e00cf6e49bf3157d2c2b3fcb4cbe9991ce7fbd3c5aa23ed21063`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38f7b182376a49a3def8296374682137306a31d9d0f33fc1837355d96f653403`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:26:25 GMT
- Parent Layer: `92ff2cb87ab3e136fbf437886f32df786bee467b4a9170e853bb68cc0f26accf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `0b69b083b2303c3c1f343e0f80b3393d652b12d97a8738c8547f54b4fb0c980e`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:26:28 GMT
- Parent Layer: `38f7b182376a49a3def8296374682137306a31d9d0f33fc1837355d96f653403`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:7ad4c9116880b0a6a769a6b72ba3f87374147a5b68499367c211e55fe7642776`
- v2 Content-Length: 500.1 KB (500101 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:13 GMT
#### `80b9fe9ce430ab6f8e97cd46050b038d371aa5e61e4f29d7f19ada79cbe65bec`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:26:29 GMT
- Parent Layer: `0b69b083b2303c3c1f343e0f80b3393d652b12d97a8738c8547f54b4fb0c980e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `393515ee1ea760910f4a6edefc9830f8b717f694b3cfdd330b7f38a1d87638a9`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:26:30 GMT
- Parent Layer: `80b9fe9ce430ab6f8e97cd46050b038d371aa5e61e4f29d7f19ada79cbe65bec`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0.0-slim`
- Total Virtual Size: 263.4 MB (263420564 bytes)
- Total v2 Content-Length: 94.1 MB (94094688 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `6e87852e6890247c4fec706ddb1a39712304723c373133414ed7051e9d3ff735`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Mon, 24 Aug 2015 22:21:10 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8d48c48838f6849435f1f8f016e1d86a73a0cb7405dc6dd4bf2aea9f9a707c8b`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Mon, 24 Aug 2015 22:21:10 GMT
- Parent Layer: `6e87852e6890247c4fec706ddb1a39712304723c373133414ed7051e9d3ff735`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d3255ddd41d5064b86ab69f0ae490fabb2d2bdcd25578efc86f1acb79a35ef43`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:21:11 GMT
- Parent Layer: `8d48c48838f6849435f1f8f016e1d86a73a0cb7405dc6dd4bf2aea9f9a707c8b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ecf0120833a0e1fd2d133e4277bf5c9c70ae774c6a707330547cfe8e5bdbe709`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:21:13 GMT
- Parent Layer: `d3255ddd41d5064b86ab69f0ae490fabb2d2bdcd25578efc86f1acb79a35ef43`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:f39e989b2b6fa6ff4083aa633c7c8212e5d12a4fb420b8a4514e5aa10cc3302c`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:39 GMT
#### `429a3bb6cacf025bec45441038462b7aba32be6c394c9b8c1bda10e6413d6715`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:26:21 GMT
- Parent Layer: `ecf0120833a0e1fd2d133e4277bf5c9c70ae774c6a707330547cfe8e5bdbe709`
- Docker Version: 1.7.1
- Virtual Size: 99.4 MB (99368203 bytes)
- v2 Blob: `sha256:1432b334d9298b27c8d899c5ae30a0e922b07a6e6ee8ae3f36ab3820dd6fbf31`
- v2 Content-Length: 28.6 MB (28623192 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:36 GMT
#### `df37e929d887e00cf6e49bf3157d2c2b3fcb4cbe9991ce7fbd3c5aa23ed21063`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:26:23 GMT
- Parent Layer: `429a3bb6cacf025bec45441038462b7aba32be6c394c9b8c1bda10e6413d6715`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `92ff2cb87ab3e136fbf437886f32df786bee467b4a9170e853bb68cc0f26accf`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:26:24 GMT
- Parent Layer: `df37e929d887e00cf6e49bf3157d2c2b3fcb4cbe9991ce7fbd3c5aa23ed21063`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38f7b182376a49a3def8296374682137306a31d9d0f33fc1837355d96f653403`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:26:25 GMT
- Parent Layer: `92ff2cb87ab3e136fbf437886f32df786bee467b4a9170e853bb68cc0f26accf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `0b69b083b2303c3c1f343e0f80b3393d652b12d97a8738c8547f54b4fb0c980e`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:26:28 GMT
- Parent Layer: `38f7b182376a49a3def8296374682137306a31d9d0f33fc1837355d96f653403`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:7ad4c9116880b0a6a769a6b72ba3f87374147a5b68499367c211e55fe7642776`
- v2 Content-Length: 500.1 KB (500101 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:13 GMT
#### `80b9fe9ce430ab6f8e97cd46050b038d371aa5e61e4f29d7f19ada79cbe65bec`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:26:29 GMT
- Parent Layer: `0b69b083b2303c3c1f343e0f80b3393d652b12d97a8738c8547f54b4fb0c980e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `393515ee1ea760910f4a6edefc9830f8b717f694b3cfdd330b7f38a1d87638a9`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:26:30 GMT
- Parent Layer: `80b9fe9ce430ab6f8e97cd46050b038d371aa5e61e4f29d7f19ada79cbe65bec`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.0-slim`
- Total Virtual Size: 263.4 MB (263420564 bytes)
- Total v2 Content-Length: 94.1 MB (94094688 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `6e87852e6890247c4fec706ddb1a39712304723c373133414ed7051e9d3ff735`
```dockerfile
ENV RUBY_MAJOR=2.0
```
- Created: Mon, 24 Aug 2015 22:21:10 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8d48c48838f6849435f1f8f016e1d86a73a0cb7405dc6dd4bf2aea9f9a707c8b`
```dockerfile
ENV RUBY_VERSION=2.0.0-p647
```
- Created: Mon, 24 Aug 2015 22:21:10 GMT
- Parent Layer: `6e87852e6890247c4fec706ddb1a39712304723c373133414ed7051e9d3ff735`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d3255ddd41d5064b86ab69f0ae490fabb2d2bdcd25578efc86f1acb79a35ef43`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:21:11 GMT
- Parent Layer: `8d48c48838f6849435f1f8f016e1d86a73a0cb7405dc6dd4bf2aea9f9a707c8b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ecf0120833a0e1fd2d133e4277bf5c9c70ae774c6a707330547cfe8e5bdbe709`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:21:13 GMT
- Parent Layer: `d3255ddd41d5064b86ab69f0ae490fabb2d2bdcd25578efc86f1acb79a35ef43`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:f39e989b2b6fa6ff4083aa633c7c8212e5d12a4fb420b8a4514e5aa10cc3302c`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:39 GMT
#### `429a3bb6cacf025bec45441038462b7aba32be6c394c9b8c1bda10e6413d6715`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:26:21 GMT
- Parent Layer: `ecf0120833a0e1fd2d133e4277bf5c9c70ae774c6a707330547cfe8e5bdbe709`
- Docker Version: 1.7.1
- Virtual Size: 99.4 MB (99368203 bytes)
- v2 Blob: `sha256:1432b334d9298b27c8d899c5ae30a0e922b07a6e6ee8ae3f36ab3820dd6fbf31`
- v2 Content-Length: 28.6 MB (28623192 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:36 GMT
#### `df37e929d887e00cf6e49bf3157d2c2b3fcb4cbe9991ce7fbd3c5aa23ed21063`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:26:23 GMT
- Parent Layer: `429a3bb6cacf025bec45441038462b7aba32be6c394c9b8c1bda10e6413d6715`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `92ff2cb87ab3e136fbf437886f32df786bee467b4a9170e853bb68cc0f26accf`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:26:24 GMT
- Parent Layer: `df37e929d887e00cf6e49bf3157d2c2b3fcb4cbe9991ce7fbd3c5aa23ed21063`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38f7b182376a49a3def8296374682137306a31d9d0f33fc1837355d96f653403`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:26:25 GMT
- Parent Layer: `92ff2cb87ab3e136fbf437886f32df786bee467b4a9170e853bb68cc0f26accf`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `0b69b083b2303c3c1f343e0f80b3393d652b12d97a8738c8547f54b4fb0c980e`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:26:28 GMT
- Parent Layer: `38f7b182376a49a3def8296374682137306a31d9d0f33fc1837355d96f653403`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124530 bytes)
- v2 Blob: `sha256:7ad4c9116880b0a6a769a6b72ba3f87374147a5b68499367c211e55fe7642776`
- v2 Content-Length: 500.1 KB (500101 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:13 GMT
#### `80b9fe9ce430ab6f8e97cd46050b038d371aa5e61e4f29d7f19ada79cbe65bec`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:26:29 GMT
- Parent Layer: `0b69b083b2303c3c1f343e0f80b3393d652b12d97a8738c8547f54b4fb0c980e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `393515ee1ea760910f4a6edefc9830f8b717f694b3cfdd330b7f38a1d87638a9`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:26:30 GMT
- Parent Layer: `80b9fe9ce430ab6f8e97cd46050b038d371aa5e61e4f29d7f19ada79cbe65bec`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.1.7`
- Total Virtual Size: 716.8 MB (716838138 bytes)
- Total v2 Content-Length: 272.7 MB (272732699 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
```dockerfile
ENV RUBY_MAJOR=2.1
```
- Created: Tue, 25 Aug 2015 08:23:50 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
```dockerfile
ENV RUBY_VERSION=2.1.7
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=f59c1596ac39cc7e60126e7d3698c19f482f04060674fdfe0124e1752ba6dd81
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:23:52 GMT
- Parent Layer: `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:23:53 GMT
- Parent Layer: `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:9007d89172fd58849f841803a73262de0589d83d7a9b63c3ac0dce3ab091c642`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:57:01 GMT
#### `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:27:59 GMT
- Parent Layer: `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110197485 bytes)
- v2 Blob: `sha256:035193dc6a3655fe2c2f1ead78c38593cba4049787a6f81724f48a815274128c`
- v2 Content-Length: 31.8 MB (31793751 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:58 GMT
#### `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:2a5c4075d0a765522ef9b9bb6c983bb6beb95b8e5fd9f121be7c7aedff457053`
- v2 Content-Length: 500.1 KB (500103 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:32 GMT
#### `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `68cf55cf7c1df75921de73f54a8b3724c2941c3b8ef03474416382f10f8979cb`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:28:05 GMT
- Parent Layer: `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.1`
- Total Virtual Size: 716.8 MB (716838138 bytes)
- Total v2 Content-Length: 272.7 MB (272732699 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
```dockerfile
ENV RUBY_MAJOR=2.1
```
- Created: Tue, 25 Aug 2015 08:23:50 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
```dockerfile
ENV RUBY_VERSION=2.1.7
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=f59c1596ac39cc7e60126e7d3698c19f482f04060674fdfe0124e1752ba6dd81
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:23:52 GMT
- Parent Layer: `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:23:53 GMT
- Parent Layer: `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:9007d89172fd58849f841803a73262de0589d83d7a9b63c3ac0dce3ab091c642`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:57:01 GMT
#### `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:27:59 GMT
- Parent Layer: `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110197485 bytes)
- v2 Blob: `sha256:035193dc6a3655fe2c2f1ead78c38593cba4049787a6f81724f48a815274128c`
- v2 Content-Length: 31.8 MB (31793751 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:58 GMT
#### `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:2a5c4075d0a765522ef9b9bb6c983bb6beb95b8e5fd9f121be7c7aedff457053`
- v2 Content-Length: 500.1 KB (500103 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:32 GMT
#### `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `68cf55cf7c1df75921de73f54a8b3724c2941c3b8ef03474416382f10f8979cb`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:28:05 GMT
- Parent Layer: `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.1.7-onbuild`
- Total Virtual Size: 716.8 MB (716838230 bytes)
- Total v2 Content-Length: 272.7 MB (272733206 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
```dockerfile
ENV RUBY_MAJOR=2.1
```
- Created: Tue, 25 Aug 2015 08:23:50 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
```dockerfile
ENV RUBY_VERSION=2.1.7
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=f59c1596ac39cc7e60126e7d3698c19f482f04060674fdfe0124e1752ba6dd81
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:23:52 GMT
- Parent Layer: `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:23:53 GMT
- Parent Layer: `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:9007d89172fd58849f841803a73262de0589d83d7a9b63c3ac0dce3ab091c642`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:57:01 GMT
#### `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:27:59 GMT
- Parent Layer: `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110197485 bytes)
- v2 Blob: `sha256:035193dc6a3655fe2c2f1ead78c38593cba4049787a6f81724f48a815274128c`
- v2 Content-Length: 31.8 MB (31793751 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:58 GMT
#### `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:2a5c4075d0a765522ef9b9bb6c983bb6beb95b8e5fd9f121be7c7aedff457053`
- v2 Content-Length: 500.1 KB (500103 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:32 GMT
#### `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `68cf55cf7c1df75921de73f54a8b3724c2941c3b8ef03474416382f10f8979cb`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:28:05 GMT
- Parent Layer: `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `70c3e9e3e3afa8e1634259e0610a15ac8dd42bc4a9dcbae75d8a028bfce6e793`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:28:43 GMT
- Parent Layer: `68cf55cf7c1df75921de73f54a8b3724c2941c3b8ef03474416382f10f8979cb`
- Docker Version: 1.7.1
- Virtual Size: 92.0 B
- v2 Blob: `sha256:71a10371508ba8a10d35e82ac5816cddbea311d334bdc289e521fa05f339b8b0`
- v2 Content-Length: 219.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:58:26 GMT
#### `9db5dfd882affec1fc19613bd99b844a377c59db1b000328e9c7657ce165cf68`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:28:44 GMT
- Parent Layer: `70c3e9e3e3afa8e1634259e0610a15ac8dd42bc4a9dcbae75d8a028bfce6e793`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a7824ee8f4efbff4f095f5d2818f2422c72490a6f0d6e183a5c688a35baac277`
- v2 Content-Length: 128.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:58:24 GMT
#### `df3cb5f1b0467dc3823a8a28ae5305e051215aecd99e9b28f7031f5f8dabf17d`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:28:45 GMT
- Parent Layer: `9db5dfd882affec1fc19613bd99b844a377c59db1b000328e9c7657ce165cf68`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `da096598f8834170eec9248c012489ab1466090d4673c66bda52eb4fe82f21fe`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:28:45 GMT
- Parent Layer: `df3cb5f1b0467dc3823a8a28ae5305e051215aecd99e9b28f7031f5f8dabf17d`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `94669df62262baff9f01b193c12fb1b7806f58a8799c67a0113cd21534e95925`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:28:46 GMT
- Parent Layer: `da096598f8834170eec9248c012489ab1466090d4673c66bda52eb4fe82f21fe`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d01d3e451892fed309b1de04f47e05956572749ff2543e5391861bfaccf8ce6b`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:28:46 GMT
- Parent Layer: `94669df62262baff9f01b193c12fb1b7806f58a8799c67a0113cd21534e95925`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9baa615f97da9dcf7296b5bbcbdf0d3fd7f5f48790fda52202f077a96641d22e`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:28:47 GMT
- Parent Layer: `d01d3e451892fed309b1de04f47e05956572749ff2543e5391861bfaccf8ce6b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.1-onbuild`
- Total Virtual Size: 716.8 MB (716838230 bytes)
- Total v2 Content-Length: 272.7 MB (272733206 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
```dockerfile
ENV RUBY_MAJOR=2.1
```
- Created: Tue, 25 Aug 2015 08:23:50 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
```dockerfile
ENV RUBY_VERSION=2.1.7
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `c3f6fcd16bdd0b9cdd4d5b64e3c48edf8ad0105f80c8a45d876cb80700aba22e`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=f59c1596ac39cc7e60126e7d3698c19f482f04060674fdfe0124e1752ba6dd81
```
- Created: Tue, 25 Aug 2015 08:23:51 GMT
- Parent Layer: `6f30b7ded6dd855984512fb60fb8e6d87e6925203d05e8ca9c83fdedb32dcd01`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:23:52 GMT
- Parent Layer: `af2fab4c662df0120df1ce4ec08ca29a657af04842644eca52edc722d52002af`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:23:53 GMT
- Parent Layer: `6cc30d208333c700fda0c6f9002756aec36586696fbbfd84fcf050a8faca59c4`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:9007d89172fd58849f841803a73262de0589d83d7a9b63c3ac0dce3ab091c642`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:57:01 GMT
#### `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:27:59 GMT
- Parent Layer: `e0fd6f8476b65b20df8617809873848c96db32a33f9b8eafdfb02c86f1afa646`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110197485 bytes)
- v2 Blob: `sha256:035193dc6a3655fe2c2f1ead78c38593cba4049787a6f81724f48a815274128c`
- v2 Content-Length: 31.8 MB (31793751 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:58 GMT
#### `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `2171d2db4770b341c56b9ceb2831aa6703c9a692aff8efd5862424a8c082c845`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `694ef7fc41df48f30328124d7a012ed6016bc2d0321b87a2b7dfaca79f92d653`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:28:00 GMT
- Parent Layer: `4cafcafe16c6a0bdbe256de5803d139cb991fa43b5c54ac4b70cb74e8f99deba`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `58cdb66ca394748e23991183b3d12f98ed216e63bc0a726583b47433f7765f61`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:2a5c4075d0a765522ef9b9bb6c983bb6beb95b8e5fd9f121be7c7aedff457053`
- v2 Content-Length: 500.1 KB (500103 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:56:32 GMT
#### `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:28:04 GMT
- Parent Layer: `51ef2697a3e69375dd4b42926e9a11c30c1fb94351cab390e3adf11e5ef6d746`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `68cf55cf7c1df75921de73f54a8b3724c2941c3b8ef03474416382f10f8979cb`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:28:05 GMT
- Parent Layer: `f791b6ef593cb86ffecf0b0dc99637174730478889ed854bef420a6dcfd74ba4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `70c3e9e3e3afa8e1634259e0610a15ac8dd42bc4a9dcbae75d8a028bfce6e793`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:28:43 GMT
- Parent Layer: `68cf55cf7c1df75921de73f54a8b3724c2941c3b8ef03474416382f10f8979cb`
- Docker Version: 1.7.1
- Virtual Size: 92.0 B
- v2 Blob: `sha256:71a10371508ba8a10d35e82ac5816cddbea311d334bdc289e521fa05f339b8b0`
- v2 Content-Length: 219.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:58:26 GMT
#### `9db5dfd882affec1fc19613bd99b844a377c59db1b000328e9c7657ce165cf68`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:28:44 GMT
- Parent Layer: `70c3e9e3e3afa8e1634259e0610a15ac8dd42bc4a9dcbae75d8a028bfce6e793`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a7824ee8f4efbff4f095f5d2818f2422c72490a6f0d6e183a5c688a35baac277`
- v2 Content-Length: 128.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 05:58:24 GMT
#### `df3cb5f1b0467dc3823a8a28ae5305e051215aecd99e9b28f7031f5f8dabf17d`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:28:45 GMT
- Parent Layer: `9db5dfd882affec1fc19613bd99b844a377c59db1b000328e9c7657ce165cf68`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `da096598f8834170eec9248c012489ab1466090d4673c66bda52eb4fe82f21fe`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:28:45 GMT
- Parent Layer: `df3cb5f1b0467dc3823a8a28ae5305e051215aecd99e9b28f7031f5f8dabf17d`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `94669df62262baff9f01b193c12fb1b7806f58a8799c67a0113cd21534e95925`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:28:46 GMT
- Parent Layer: `da096598f8834170eec9248c012489ab1466090d4673c66bda52eb4fe82f21fe`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d01d3e451892fed309b1de04f47e05956572749ff2543e5391861bfaccf8ce6b`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:28:46 GMT
- Parent Layer: `94669df62262baff9f01b193c12fb1b7806f58a8799c67a0113cd21534e95925`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9baa615f97da9dcf7296b5bbcbdf0d3fd7f5f48790fda52202f077a96641d22e`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:28:47 GMT
- Parent Layer: `d01d3e451892fed309b1de04f47e05956572749ff2543e5391861bfaccf8ce6b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.1.7-slim`
- Total Virtual Size: 275.1 MB (275096102 bytes)
- Total v2 Content-Length: 97.5 MB (97474326 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `ff276f454650c774fc07154672f66daca38da336377441b97c10653bce56d384`
```dockerfile
ENV RUBY_MAJOR=2.1
```
- Created: Mon, 24 Aug 2015 22:28:15 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c6298be18e07abf3c5c14d5e2e6f26a923de477c83917706c341e2a1b636fff7`
```dockerfile
ENV RUBY_VERSION=2.1.7
```
- Created: Mon, 24 Aug 2015 22:28:15 GMT
- Parent Layer: `ff276f454650c774fc07154672f66daca38da336377441b97c10653bce56d384`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `e3dd1078196e664c951a2c4101ae691b92c4c547cbe25a38305c76ae810cd853`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:28:16 GMT
- Parent Layer: `c6298be18e07abf3c5c14d5e2e6f26a923de477c83917706c341e2a1b636fff7`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c3054340778e5bcfb665aef2bae9accb593a86747c74a95a573b41516341e762`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:28:18 GMT
- Parent Layer: `e3dd1078196e664c951a2c4101ae691b92c4c547cbe25a38305c76ae810cd853`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:71127e78d00331fd6aa49b7c9c7db1feaca2151bc76c3f54c67dddd69fa07d59`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 06:00:06 GMT
#### `10ed5ecdc4404565cd8f2ba5377fe04d292fe1413bcf942fe111730c83505dd8`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:36:11 GMT
- Parent Layer: `c3054340778e5bcfb665aef2bae9accb593a86747c74a95a573b41516341e762`
- Docker Version: 1.7.1
- Virtual Size: 111.0 MB (111043737 bytes)
- v2 Blob: `sha256:034cd56236d37f12e77ead895770bd9c204cb7597b5316dbe60a54aab1c2875a`
- v2 Content-Length: 32.0 MB (32002823 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 06:00:02 GMT
#### `4c5d57b5960745fafe3085796699c158671d414e07ea2d85474de17deee30d7d`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:36:14 GMT
- Parent Layer: `10ed5ecdc4404565cd8f2ba5377fe04d292fe1413bcf942fe111730c83505dd8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `65f9e28996cc8717fd988569610f7cc972eafc80ef89b8190e43f083eb1c1153`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:36:15 GMT
- Parent Layer: `4c5d57b5960745fafe3085796699c158671d414e07ea2d85474de17deee30d7d`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `26226978c60f99ad5fdd71bceda088dfc6f5421dfb4b0e86d38f96fda497235c`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:36:16 GMT
- Parent Layer: `65f9e28996cc8717fd988569610f7cc972eafc80ef89b8190e43f083eb1c1153`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `003e7e1f320311437922ac325a0b23b75ca83a0a5857e042777ddcc9648d8d6b`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:36:20 GMT
- Parent Layer: `26226978c60f99ad5fdd71bceda088dfc6f5421dfb4b0e86d38f96fda497235c`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:02b9907763b4b4bae869335bd6bc6635d261e4b4fd425b1c6f4d226b7a160aa9`
- v2 Content-Length: 500.1 KB (500107 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:59:39 GMT
#### `249d6003544ae2da93d203fed581e4ca1e8011bed69950f62f2fc0d633b5a8fb`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:36:21 GMT
- Parent Layer: `003e7e1f320311437922ac325a0b23b75ca83a0a5857e042777ddcc9648d8d6b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `7285b84f6d9f512344cf12f2e960177a3f03ea7d0bc0c3559d7b5534afd251c7`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:36:22 GMT
- Parent Layer: `249d6003544ae2da93d203fed581e4ca1e8011bed69950f62f2fc0d633b5a8fb`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.1-slim`
- Total Virtual Size: 275.1 MB (275096102 bytes)
- Total v2 Content-Length: 97.5 MB (97474326 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `ff276f454650c774fc07154672f66daca38da336377441b97c10653bce56d384`
```dockerfile
ENV RUBY_MAJOR=2.1
```
- Created: Mon, 24 Aug 2015 22:28:15 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c6298be18e07abf3c5c14d5e2e6f26a923de477c83917706c341e2a1b636fff7`
```dockerfile
ENV RUBY_VERSION=2.1.7
```
- Created: Mon, 24 Aug 2015 22:28:15 GMT
- Parent Layer: `ff276f454650c774fc07154672f66daca38da336377441b97c10653bce56d384`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `e3dd1078196e664c951a2c4101ae691b92c4c547cbe25a38305c76ae810cd853`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:28:16 GMT
- Parent Layer: `c6298be18e07abf3c5c14d5e2e6f26a923de477c83917706c341e2a1b636fff7`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `c3054340778e5bcfb665aef2bae9accb593a86747c74a95a573b41516341e762`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:28:18 GMT
- Parent Layer: `e3dd1078196e664c951a2c4101ae691b92c4c547cbe25a38305c76ae810cd853`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:71127e78d00331fd6aa49b7c9c7db1feaca2151bc76c3f54c67dddd69fa07d59`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 06:00:06 GMT
#### `10ed5ecdc4404565cd8f2ba5377fe04d292fe1413bcf942fe111730c83505dd8`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:36:11 GMT
- Parent Layer: `c3054340778e5bcfb665aef2bae9accb593a86747c74a95a573b41516341e762`
- Docker Version: 1.7.1
- Virtual Size: 111.0 MB (111043737 bytes)
- v2 Blob: `sha256:034cd56236d37f12e77ead895770bd9c204cb7597b5316dbe60a54aab1c2875a`
- v2 Content-Length: 32.0 MB (32002823 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 06:00:02 GMT
#### `4c5d57b5960745fafe3085796699c158671d414e07ea2d85474de17deee30d7d`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:36:14 GMT
- Parent Layer: `10ed5ecdc4404565cd8f2ba5377fe04d292fe1413bcf942fe111730c83505dd8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `65f9e28996cc8717fd988569610f7cc972eafc80ef89b8190e43f083eb1c1153`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:36:15 GMT
- Parent Layer: `4c5d57b5960745fafe3085796699c158671d414e07ea2d85474de17deee30d7d`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `26226978c60f99ad5fdd71bceda088dfc6f5421dfb4b0e86d38f96fda497235c`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:36:16 GMT
- Parent Layer: `65f9e28996cc8717fd988569610f7cc972eafc80ef89b8190e43f083eb1c1153`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `003e7e1f320311437922ac325a0b23b75ca83a0a5857e042777ddcc9648d8d6b`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:36:20 GMT
- Parent Layer: `26226978c60f99ad5fdd71bceda088dfc6f5421dfb4b0e86d38f96fda497235c`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:02b9907763b4b4bae869335bd6bc6635d261e4b4fd425b1c6f4d226b7a160aa9`
- v2 Content-Length: 500.1 KB (500107 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:59:39 GMT
#### `249d6003544ae2da93d203fed581e4ca1e8011bed69950f62f2fc0d633b5a8fb`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:36:21 GMT
- Parent Layer: `003e7e1f320311437922ac325a0b23b75ca83a0a5857e042777ddcc9648d8d6b`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `7285b84f6d9f512344cf12f2e960177a3f03ea7d0bc0c3559d7b5534afd251c7`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:36:22 GMT
- Parent Layer: `249d6003544ae2da93d203fed581e4ca1e8011bed69950f62f2fc0d633b5a8fb`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.2.3`
- Total Virtual Size: 716.8 MB (716832147 bytes)
- Total v2 Content-Length: 273.2 MB (273237799 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.2`
- Total Virtual Size: 716.8 MB (716832147 bytes)
- Total v2 Content-Length: 273.2 MB (273237799 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2`
- Total Virtual Size: 716.8 MB (716832147 bytes)
- Total v2 Content-Length: 273.2 MB (273237799 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:latest`
- Total Virtual Size: 716.8 MB (716832147 bytes)
- Total v2 Content-Length: 273.2 MB (273237799 bytes)
### Layers (17)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.2.3-onbuild`
- Total Virtual Size: 716.8 MB (716832239 bytes)
- Total v2 Content-Length: 273.2 MB (273238305 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:35:20 GMT
- Parent Layer: `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
- Docker Version: 1.7.1
- Virtual Size: 92.0 B
- v2 Blob: `sha256:b1bfa9837a997fb17786c0916a5086651334cebca75cfa1694226702394c1f6b`
- v2 Content-Length: 220.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:48 GMT
#### `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:e4fa71525059ee3ecaea3ea63e422453c684cfe5b07b8eee07cf016e12e4f3ee`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:46 GMT
#### `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38c58af3299b00966f51308111c4ad5a9840d94c5e2bde33b09eec80c4537068`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.2-onbuild`
- Total Virtual Size: 716.8 MB (716832239 bytes)
- Total v2 Content-Length: 273.2 MB (273238305 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:35:20 GMT
- Parent Layer: `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
- Docker Version: 1.7.1
- Virtual Size: 92.0 B
- v2 Blob: `sha256:b1bfa9837a997fb17786c0916a5086651334cebca75cfa1694226702394c1f6b`
- v2 Content-Length: 220.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:48 GMT
#### `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:e4fa71525059ee3ecaea3ea63e422453c684cfe5b07b8eee07cf016e12e4f3ee`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:46 GMT
#### `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38c58af3299b00966f51308111c4ad5a9840d94c5e2bde33b09eec80c4537068`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2-onbuild`
- Total Virtual Size: 716.8 MB (716832239 bytes)
- Total v2 Content-Length: 273.2 MB (273238305 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:35:20 GMT
- Parent Layer: `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
- Docker Version: 1.7.1
- Virtual Size: 92.0 B
- v2 Blob: `sha256:b1bfa9837a997fb17786c0916a5086651334cebca75cfa1694226702394c1f6b`
- v2 Content-Length: 220.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:48 GMT
#### `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:e4fa71525059ee3ecaea3ea63e422453c684cfe5b07b8eee07cf016e12e4f3ee`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:46 GMT
#### `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38c58af3299b00966f51308111c4ad5a9840d94c5e2bde33b09eec80c4537068`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:onbuild`
- Total Virtual Size: 716.8 MB (716832239 bytes)
- Total v2 Content-Length: 273.2 MB (273238305 bytes)
### Layers (24)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:24:45 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 44.4 MB (44355942 bytes)
- v2 Blob: `sha256:eba087ca53a356384db448d54a51620cde9e91d4935e7cd134c3c571df8447c4`
- v2 Content-Length: 18.5 MB (18538916 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 22:15:52 GMT
#### `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
bzr \
git \
mercurial \
openssh-client \
subversion \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Thu, 20 Aug 2015 20:25:45 GMT
- Parent Layer: `f972ade4c9d5f9863b782ee685c8ec80da9bdb8e43834919214dd68d501687f0`
- Docker Version: 1.7.1
- Virtual Size: 122.3 MB (122318537 bytes)
- v2 Blob: `sha256:a068cb6fd68bb10bf1f97beedee2837c2b2a52109dbbb59ea25462d661006e0d`
- v2 Content-Length: 42.3 MB (42340018 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:59:13 GMT
#### `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmysqlclient-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
xz-utils \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 16:11:35 GMT
- Parent Layer: `a0b6d62d8b494ada2b9a303ccf398021b2ca2838234f8d5f735743be77ab2726`
- Docker Version: 1.7.1
- Virtual Size: 313.7 MB (313666691 bytes)
- v2 Blob: `sha256:2ac01aa9d22a0c73405fe147734a6acf8929209620ca4a80fe8064449ab7d301`
- v2 Content-Length: 128.2 MB (128191020 bytes)
- v2 Last-Modified: Mon, 24 Aug 2015 16:55:37 GMT
#### `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Tue, 25 Aug 2015 08:29:10 GMT
- Parent Layer: `8f45ce3be01ef6cf47621675c4a75cfdb5b951fb495b9c72394038ac2097c975`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `289272cba3d53350c4caf940ee644847f756e2affcbf8395ef92d3957c7131c3`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
```dockerfile
ENV RUBY_DOWNLOAD_SHA256=df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
```
- Created: Tue, 25 Aug 2015 08:29:11 GMT
- Parent Layer: `8e840dd94b7840c0765d58f87059e6c16f5c2cb3702501e5ce2a2ea171e5e6e4`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Tue, 25 Aug 2015 08:29:12 GMT
- Parent Layer: `bb92cab4f1d2c11eb4abe1aec0c0679bb8aab2e502571eb9a0e6831bca4aff6a`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Tue, 25 Aug 2015 08:29:13 GMT
- Parent Layer: `9492043fccad2045959a44f6369160ca1d0267ba56ef4f901f572d8d30f26d5d`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:5188b4571f63017808fb16c99b8a0d65877861ebd0ed012d40bfdca40bcb59c6`
- v2 Content-Length: 161.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:13 GMT
#### `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
```dockerfile
RUN apt-get update \
&& apt-get install -y bison libgdbm-dev ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
```
- Created: Tue, 25 Aug 2015 08:33:28 GMT
- Parent Layer: `88c67bfdcf7beb31434239ecbcb4d01a485928b07dff2623497e658fee831058`
- Docker Version: 1.7.1
- Virtual Size: 110.2 MB (110191494 bytes)
- v2 Blob: `sha256:9ae147d5c2ee8eb77098cf6758c9baa5326820e8b45bf8b1d6b881706d9a59b2`
- v2 Content-Length: 32.3 MB (32298846 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:10:10 GMT
#### `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:29 GMT
- Parent Layer: `6171e245fc5d75280f25a612ee2884baf062e6cd37ee9dc2549cc9355875f4f8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `ab3e12de2e0b9081e6524e66f16c853470be61017a2aca12015d0ba4560f7569`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Tue, 25 Aug 2015 08:33:30 GMT
- Parent Layer: `f81328f6b62f5d3c425ca7788ba5bc498671f934a2cd3e493d1b7850582bb2e8`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Tue, 25 Aug 2015 08:33:33 GMT
- Parent Layer: `5f9e00ef48855e50512bc66a11195d5399cb25a0c40da0bc0117c6668ad2d8f2`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:6cbfd2ac0a2d5fd80e389be09a55e474a7c19d0ac075f5bdc4f6f800a897b57c`
- v2 Content-Length: 500.1 KB (500109 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 04:09:45 GMT
#### `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `4d34bce3681fbe7d6e44dd64d64aec4bfba04be3d228ada179fe26a7cd8e0837`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
```dockerfile
CMD ["irb"]
```
- Created: Tue, 25 Aug 2015 08:33:34 GMT
- Parent Layer: `f4e06c3e530e394004179c8e95d4ac63d2901ba3dee2899b5c6aecd593d3cf17`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
```dockerfile
RUN bundle config --global frozen 1
```
- Created: Tue, 25 Aug 2015 08:35:20 GMT
- Parent Layer: `97e3c96f87f80b46f61a93599bec45fbf0600e3962d6e5cdf6abf37b563904a5`
- Docker Version: 1.7.1
- Virtual Size: 92.0 B
- v2 Blob: `sha256:b1bfa9837a997fb17786c0916a5086651334cebca75cfa1694226702394c1f6b`
- v2 Content-Length: 220.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:48 GMT
#### `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
```dockerfile
RUN mkdir -p /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `d8e0f924467616d8a3a488ce7dc887bbdaa2b6580d35dc8d07e7ea18e03cabe6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:e4fa71525059ee3ecaea3ea63e422453c684cfe5b07b8eee07cf016e12e4f3ee`
- v2 Content-Length: 126.0 B
- v2 Last-Modified: Thu, 27 Aug 2015 04:16:46 GMT
#### `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
```dockerfile
WORKDIR /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:21 GMT
- Parent Layer: `c632b2a2fb60c1b15ca386b9b4812823fdeb3abc27dab785bfc517d08d9893d5`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
```dockerfile
ONBUILD COPY Gemfile /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `b59fea84a8671a0f9970a5f42e02a0eca91be10d883a13a01be51526a0744b29`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
```dockerfile
ONBUILD COPY Gemfile.lock /usr/src/app/
```
- Created: Tue, 25 Aug 2015 08:35:22 GMT
- Parent Layer: `86747cd7cda492a86094ea378b0c6f8350f6437b23aab11ed3fba63c1e6410ca`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
```dockerfile
ONBUILD RUN bundle install
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `22fd69c6d4a0415870987586be71e41c81d7f8473362f3d3e83258c7e32e6cb1`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `38c58af3299b00966f51308111c4ad5a9840d94c5e2bde33b09eec80c4537068`
```dockerfile
ONBUILD COPY . /usr/src/app
```
- Created: Tue, 25 Aug 2015 08:35:23 GMT
- Parent Layer: `b5412c834ff7b533a987151a66a0e9802d91bdb893a72acc9074e3e0a35476b2`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.2.3-slim`
- Total Virtual Size: 275.1 MB (275090124 bytes)
- Total v2 Content-Length: 98.0 MB (97978418 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:38:17 GMT
- Parent Layer: `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:38:19 GMT
- Parent Layer: `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:dc5f86b37acc5f9915dc99872437cd2e2fd5d9d3e2f701f3c0b259c9d967e699`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:21 GMT
#### `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:44:08 GMT
- Parent Layer: `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
- Docker Version: 1.7.1
- Virtual Size: 111.0 MB (111037759 bytes)
- v2 Blob: `sha256:9feda6914fac5a52a06edba0a5704d91007d876ac4c9bd5d26c92a0fb303f276`
- v2 Content-Length: 32.5 MB (32506887 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:17 GMT
#### `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:10 GMT
- Parent Layer: `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:44:11 GMT
- Parent Layer: `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:44:12 GMT
- Parent Layer: `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:44:16 GMT
- Parent Layer: `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:4d0258f448812a5258a41ae85d22e3b9f23ff360c8c52918b7a5ccdd018d14e4`
- v2 Content-Length: 500.1 KB (500135 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:18:45 GMT
#### `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4519114432f55ae8eeb1ae042ea5e22386a5296b754aa95108ceab2bf82fa396`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2.2-slim`
- Total Virtual Size: 275.1 MB (275090124 bytes)
- Total v2 Content-Length: 98.0 MB (97978418 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:38:17 GMT
- Parent Layer: `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:38:19 GMT
- Parent Layer: `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:dc5f86b37acc5f9915dc99872437cd2e2fd5d9d3e2f701f3c0b259c9d967e699`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:21 GMT
#### `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:44:08 GMT
- Parent Layer: `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
- Docker Version: 1.7.1
- Virtual Size: 111.0 MB (111037759 bytes)
- v2 Blob: `sha256:9feda6914fac5a52a06edba0a5704d91007d876ac4c9bd5d26c92a0fb303f276`
- v2 Content-Length: 32.5 MB (32506887 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:17 GMT
#### `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:10 GMT
- Parent Layer: `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:44:11 GMT
- Parent Layer: `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:44:12 GMT
- Parent Layer: `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:44:16 GMT
- Parent Layer: `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:4d0258f448812a5258a41ae85d22e3b9f23ff360c8c52918b7a5ccdd018d14e4`
- v2 Content-Length: 500.1 KB (500135 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:18:45 GMT
#### `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4519114432f55ae8eeb1ae042ea5e22386a5296b754aa95108ceab2bf82fa396`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:2-slim`
- Total Virtual Size: 275.1 MB (275090124 bytes)
- Total v2 Content-Length: 98.0 MB (97978418 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:38:17 GMT
- Parent Layer: `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:38:19 GMT
- Parent Layer: `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:dc5f86b37acc5f9915dc99872437cd2e2fd5d9d3e2f701f3c0b259c9d967e699`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:21 GMT
#### `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:44:08 GMT
- Parent Layer: `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
- Docker Version: 1.7.1
- Virtual Size: 111.0 MB (111037759 bytes)
- v2 Blob: `sha256:9feda6914fac5a52a06edba0a5704d91007d876ac4c9bd5d26c92a0fb303f276`
- v2 Content-Length: 32.5 MB (32506887 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:17 GMT
#### `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:10 GMT
- Parent Layer: `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:44:11 GMT
- Parent Layer: `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:44:12 GMT
- Parent Layer: `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:44:16 GMT
- Parent Layer: `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:4d0258f448812a5258a41ae85d22e3b9f23ff360c8c52918b7a5ccdd018d14e4`
- v2 Content-Length: 500.1 KB (500135 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:18:45 GMT
#### `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4519114432f55ae8eeb1ae042ea5e22386a5296b754aa95108ceab2bf82fa396`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
## `ruby:slim`
- Total Virtual Size: 275.1 MB (275090124 bytes)
- Total v2 Content-Length: 98.0 MB (97978418 bytes)
### Layers (14)
#### `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
```dockerfile
ADD file:b770303e11edaa0ad0d8f43f6db4fa26673923912b5d5f7cb748ba025e6c4d3b in /
```
- Created: Thu, 20 Aug 2015 20:17:59 GMT
- Docker Version: 1.7.1
- Virtual Size: 125.2 MB (125174904 bytes)
- v2 Blob: `sha256:7ccc78f8af6db23a5013f7b90b5672b82d69dd2fb30d1e6736dba29209aceee7`
- v2 Content-Length: 51.4 MB (51368377 bytes)
- v2 Last-Modified: Thu, 20 Aug 2015 20:40:09 GMT
#### `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
```dockerfile
CMD ["/bin/bash"]
```
- Created: Thu, 20 Aug 2015 20:18:01 GMT
- Parent Layer: `2c49f83e0b13f73bf3d276c9fe26ba9aa94d2a1614e866642b95cb0245d0cdab`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
```dockerfile
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
```
- Created: Mon, 24 Aug 2015 22:21:08 GMT
- Parent Layer: `4a5e6db8c0693a16de88b7559ded7c1cb804018571b137e13abb1713ce6a71cf`
- Docker Version: 1.7.1
- Virtual Size: 37.8 MB (37752882 bytes)
- v2 Blob: `sha256:7a0c5412f04c16fded90f2746384d0bbe4c221734daddf521e148d3dd591abac`
- v2 Content-Length: 13.6 MB (13602537 bytes)
- v2 Last-Modified: Thu, 27 Aug 2015 05:54:54 GMT
#### `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
```dockerfile
ENV RUBY_MAJOR=2.2
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `787f8f2047af77d883efef4fee3b2041f0722d1f311f1c174c461d7c7c7a6b0f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
```dockerfile
ENV RUBY_VERSION=2.2.3
```
- Created: Mon, 24 Aug 2015 22:38:16 GMT
- Parent Layer: `18204466700b87b24b7eca6b44fbf71a7a8789d1a95b9da853dfbab985f52924`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
```dockerfile
ENV RUBYGEMS_VERSION=2.4.8
```
- Created: Mon, 24 Aug 2015 22:38:17 GMT
- Parent Layer: `3c2287fb1a19c752f5351286c773ccad9e1bef2e3d03ef95c7fd248623115b4f`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
```dockerfile
RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
```
- Created: Mon, 24 Aug 2015 22:38:19 GMT
- Parent Layer: `09254ebefe0fb89295c31cb36b74ef85127ed21e87d7a0c691ee7823cabf0ffb`
- Docker Version: 1.7.1
- Virtual Size: 45.0 B
- v2 Blob: `sha256:dc5f86b37acc5f9915dc99872437cd2e2fd5d9d3e2f701f3c0b259c9d967e699`
- v2 Content-Length: 162.0 B
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:21 GMT
#### `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
```dockerfile
RUN buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby \
&& apt-get purge -y --auto-remove $buildDeps
```
- Created: Mon, 24 Aug 2015 22:44:08 GMT
- Parent Layer: `9573825b63f008a8aee81b269c0fedfb694d930de9a600b03e53469d4685874c`
- Docker Version: 1.7.1
- Virtual Size: 111.0 MB (111037759 bytes)
- v2 Blob: `sha256:9feda6914fac5a52a06edba0a5704d91007d876ac4c9bd5d26c92a0fb303f276`
- v2 Content-Length: 32.5 MB (32506887 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:19:17 GMT
#### `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
```dockerfile
ENV GEM_HOME=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:10 GMT
- Parent Layer: `bd00463fec325edfa318965b4d292474b1315d317fe12e2afb4840165124eb35`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
```dockerfile
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
```
- Created: Mon, 24 Aug 2015 22:44:11 GMT
- Parent Layer: `a5d28b49de754dcea0dcf48eb97ad9a02bbf59571ae32a7ab5602cf259baf43c`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
```dockerfile
ENV BUNDLER_VERSION=1.10.6
```
- Created: Mon, 24 Aug 2015 22:44:12 GMT
- Parent Layer: `743c29cf2dab1a1b0e9bbda35ce809014f12b74d82ee7f79ba3d49b4a6039f03`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
```dockerfile
RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
```
- Created: Mon, 24 Aug 2015 22:44:16 GMT
- Parent Layer: `58756bf05dac55723ef781d33bac7abf2ec4c5c7c781410e89886e3a38d2c95b`
- Docker Version: 1.7.1
- Virtual Size: 1.1 MB (1124534 bytes)
- v2 Blob: `sha256:4d0258f448812a5258a41ae85d22e3b9f23ff360c8c52918b7a5ccdd018d14e4`
- v2 Content-Length: 500.1 KB (500135 bytes)
- v2 Last-Modified: Tue, 25 Aug 2015 03:18:45 GMT
#### `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
```dockerfile
ENV BUNDLE_APP_CONFIG=/usr/local/bundle
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `ba9a7583be6d65a43ab1f14750b977aadf69bf6ecd5d720978ad623877042ea6`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
#### `4519114432f55ae8eeb1ae042ea5e22386a5296b754aa95108ceab2bf82fa396`
```dockerfile
CMD ["irb"]
```
- Created: Mon, 24 Aug 2015 22:44:17 GMT
- Parent Layer: `1616eb4a729e54b52b9b6268fd9b77df9354b3ceb6f1e4a1dc81c9b9aa4d3011`
- Docker Version: 1.7.1
- Virtual Size: 0.0 B
- v2 Blob: `sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4`
- v2 Content-Length: 32.0 B
- v2 Last-Modified: Fri, 27 Mar 2015 17:18:47 GMT
| Java |
<div class="commune_descr limited">
<p>
Neufchâtel-Hardelot est
une ville géographiquement positionnée dans le département des Pas-de-Calais en Nord-Pas-de-Calais. Elle comptait 3 759 habitants en 2008.</p>
<p>La commune propose de multiples aménagements, elle dispose, entre autres, de deux terrains de tennis, un centre d'équitation, deux parcours de golf et une base nautique.</p>
<p>À proximité de Neufchâtel-Hardelot sont situées les villes de
<a href="{{VLROOT}}/immobilier/camiers_62201/">Camiers</a> localisée à 5 km, 2 605 habitants,
<a href="{{VLROOT}}/immobilier/halinghen_62402/">Halinghen</a> située à 4 km, 274 habitants,
<a href="{{VLROOT}}/immobilier/hesdigneul-les-boulogne_62446/">Hesdigneul-lès-Boulogne</a> située à 5 km, 671 habitants,
<a href="{{VLROOT}}/immobilier/nesles_62603/">Nesles</a> à 1 km, 1 049 habitants,
<a href="{{VLROOT}}/immobilier/carly_62214/">Carly</a> localisée à 5 km, 542 habitants,
<a href="{{VLROOT}}/immobilier/condette_62235/">Condette</a> à 4 km, 2 596 habitants,
entre autres. De plus, Neufchâtel-Hardelot est située à seulement douze km de <a href="{{VLROOT}}/immobilier/boulogne-sur-mer_62160/">Boulogne-sur-Mer</a>.</p>
<p>À Neufchâtel-Hardelot le salaire médian mensuel par personne est situé à environ 2 484 € net. C'est supérieur à la moyenne du pays.</p>
<p>Le parc d'habitations, à Neufchâtel-Hardelot, se décomposait en 2011 en 2 477 appartements et 2 533 maisons soit
un marché relativement équilibré.</p>
<p>À Neufchâtel-Hardelot, le prix moyen à la vente d'un appartement s'évalue à 3 273 € du m² en vente. la valorisation moyenne d'une maison à l'achat se situe à 2 037 € du m². À la location la valeur moyenne se situe à 11,95 € du m² mensuel.</p>
</div>
| Java |
//IP Flow Information Export (IPFIX) Entities
// Last Updated 2013-01-15
// http://www.iana.org/assignments/ipfix/ipfix.xml
var entities = [];
//ipfix-information-elements
entities['elements'] = {
"1":{"name":"octetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"octets"},
"2":{"name":"packetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"packets"},
"3":{"name":"deltaFlowCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter"},
"4":{"name":"protocolIdentifier","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"ipHeader"},
"5":{"name":"ipClassOfService","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"ipHeader"},
"6":{"name":"tcpControlBits","dataType":"unsigned8","dataTypeSemantics":"flags","group":"minMax"},
"7":{"name":"sourceTransportPort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"8":{"name":"sourceIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"ipHeader"},
"9":{"name":"sourceIPv4PrefixLength","dataType":"unsigned8","group":"ipHeader","units":"bits"},
"10":{"name":"ingressInterface","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"11":{"name":"destinationTransportPort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"12":{"name":"destinationIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"ipHeader"},
"13":{"name":"destinationIPv4PrefixLength","dataType":"unsigned8","group":"ipHeader","units":"bits"},
"14":{"name":"egressInterface","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"15":{"name":"ipNextHopIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"derived"},
"16":{"name":"bgpSourceAsNumber","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"derived"},
"17":{"name":"bgpDestinationAsNumber","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"derived"},
"18":{"name":"bgpNextHopIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"derived"},
"19":{"name":"postMCastPacketDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"packets"},
"20":{"name":"postMCastOctetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"octets"},
"21":{"name":"flowEndSysUpTime","dataType":"unsigned32","group":"timestamp","units":"milliseconds"},
"22":{"name":"flowStartSysUpTime","dataType":"unsigned32","group":"timestamp","units":"milliseconds"},
"23":{"name":"postOctetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"octets"},
"24":{"name":"postPacketDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"packets"},
"25":{"name":"minimumIpTotalLength","dataType":"unsigned64","group":"minMax","units":"octets"},
"26":{"name":"maximumIpTotalLength","dataType":"unsigned64","group":"minMax","units":"octets"},
"27":{"name":"sourceIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"ipHeader"},
"28":{"name":"destinationIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"ipHeader"},
"29":{"name":"sourceIPv6PrefixLength","dataType":"unsigned8","group":"ipHeader","units":"bits"},
"30":{"name":"destinationIPv6PrefixLength","dataType":"unsigned8","group":"ipHeader","units":"bits"},
"31":{"name":"flowLabelIPv6","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"ipHeader"},
"32":{"name":"icmpTypeCodeIPv4","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"33":{"name":"igmpType","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"transportHeader"},
"36":{"name":"flowActiveTimeout","dataType":"unsigned16","group":"misc","units":"seconds"},
"37":{"name":"flowIdleTimeout","dataType":"unsigned16","group":"misc","units":"seconds"},
"40":{"name":"exportedOctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"octets"},
"41":{"name":"exportedMessageTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"messages"},
"42":{"name":"exportedFlowRecordTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"flows"},
"44":{"name":"sourceIPv4Prefix","dataType":"ipv4Address","group":"ipHeader"},
"45":{"name":"destinationIPv4Prefix","dataType":"ipv4Address","group":"ipHeader"},
"46":{"name":"mplsTopLabelType","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"derived"},
"47":{"name":"mplsTopLabelIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"derived"},
"52":{"name":"minimumTTL","dataType":"unsigned8","group":"minMax","units":"hops"},
"53":{"name":"maximumTTL","dataType":"unsigned8","group":"minMax","units":"hops"},
"54":{"name":"fragmentIdentification","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"ipHeader"},
"55":{"name":"postIpClassOfService","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"ipHeader"},
"56":{"name":"sourceMacAddress","dataType":"macAddress","dataTypeSemantics":"identifier","group":"subIpHeader"},
"57":{"name":"postDestinationMacAddress","dataType":"macAddress","dataTypeSemantics":"identifier","group":"subIpHeader"},
"58":{"name":"vlanId","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"subIpHeader"},
"59":{"name":"postVlanId","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"subIpHeader"},
"60":{"name":"ipVersion","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"ipHeader"},
"61":{"name":"flowDirection","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"misc"},
"62":{"name":"ipNextHopIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"derived"},
"63":{"name":"bgpNextHopIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"derived"},
"64":{"name":"ipv6ExtensionHeaders","dataType":"unsigned32","dataTypeSemantics":"flags","group":"minMax"},
"70":{"name":"mplsTopLabelStackSection","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"71":{"name":"mplsLabelStackSection2","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"72":{"name":"mplsLabelStackSection3","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"73":{"name":"mplsLabelStackSection4","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"74":{"name":"mplsLabelStackSection5","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"75":{"name":"mplsLabelStackSection6","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"76":{"name":"mplsLabelStackSection7","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"77":{"name":"mplsLabelStackSection8","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"78":{"name":"mplsLabelStackSection9","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"79":{"name":"mplsLabelStackSection10","dataType":"octetArray","dataTypeSemantics":"identifier","group":"subIpHeader"},
"80":{"name":"destinationMacAddress","dataType":"macAddress","dataTypeSemantics":"identifier","group":"subIpHeader"},
"81":{"name":"postSourceMacAddress","dataType":"macAddress","dataTypeSemantics":"identifier","group":"subIpHeader"},
"82":{"name":"interfaceName","dataType":"string"},"83":{"name":"interfaceDescription","dataType":"string"},
"85":{"name":"octetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"octets"},
"86":{"name":"packetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"88":{"name":"fragmentOffset","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"ipHeader"},
"90":{"name":"mplsVpnRouteDistinguisher","dataType":"octetArray","dataTypeSemantics":"identifier","group":"derived"},
"91":{"name":"mplsTopLabelPrefixLength","dataType":"unsigned8","dataTypeSemantics":"identifier","units":"bits"},
"94":{"name":"applicationDescription","dataType":"string"},
"95":{"name":"applicationId","dataType":"octetArray","dataTypeSemantics":"identifier"},
"96":{"name":"applicationName","dataType":"string"},
"98":{"name":"postIpDiffServCodePoint","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"99":{"name":"multicastReplicationFactor","dataType":"unsigned32","dataTypeSemantics":"quantity"},
"101":{"name":"classificationEngineId","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"128":{"name":"bgpNextAdjacentAsNumber","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"derived"},
"129":{"name":"bgpPrevAdjacentAsNumber","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"derived"},
"130":{"name":"exporterIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"config"},
"131":{"name":"exporterIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"config"},
"132":{"name":"droppedOctetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"octets"},
"133":{"name":"droppedPacketDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","group":"flowCounter","units":"packets"},
"134":{"name":"droppedOctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"octets"},
"135":{"name":"droppedPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"136":{"name":"flowEndReason","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"misc"},
"137":{"name":"commonPropertiesId","dataType":"unsigned64","dataTypeSemantics":"identifier","group":"scope"},
"138":{"name":"observationPointId","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"139":{"name":"icmpTypeCodeIPv6","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"140":{"name":"mplsTopLabelIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"derived"},
"141":{"name":"lineCardId","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"142":{"name":"portId","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"143":{"name":"meteringProcessId","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"144":{"name":"exportingProcessId","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"145":{"name":"templateId","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"scope"},
"146":{"name":"wlanChannelId","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"subIpHeader"},
"147":{"name":"wlanSSID","dataType":"string","group":"subIpHeader"},
"148":{"name":"flowId","dataType":"unsigned64","dataTypeSemantics":"identifier","group":"scope"},
"149":{"name":"observationDomainId","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"scope"},
"150":{"name":"flowStartSeconds","dataType":"dateTimeSeconds","group":"timestamp","units":"seconds"},
"151":{"name":"flowEndSeconds","dataType":"dateTimeSeconds","group":"timestamp","units":"seconds"},
"152":{"name":"flowStartMilliseconds","dataType":"dateTimeMilliseconds","group":"timestamp","units":"milliseconds"},
"153":{"name":"flowEndMilliseconds","dataType":"dateTimeMilliseconds","group":"timestamp","units":"milliseconds"},
"154":{"name":"flowStartMicroseconds","dataType":"dateTimeMicroseconds","group":"timestamp","units":"microseconds"},
"155":{"name":"flowEndMicroseconds","dataType":"dateTimeMicroseconds","group":"timestamp","units":"microseconds"},
"156":{"name":"flowStartNanoseconds","dataType":"dateTimeNanoseconds","group":"timestamp","units":"nanoseconds"},
"157":{"name":"flowEndNanoseconds","dataType":"dateTimeNanoseconds","group":"timestamp","units":"nanoseconds"},
"158":{"name":"flowStartDeltaMicroseconds","dataType":"unsigned32","group":"timestamp","units":"microseconds"},
"159":{"name":"flowEndDeltaMicroseconds","dataType":"unsigned32","group":"timestamp","units":"microseconds"},
"160":{"name":"systemInitTimeMilliseconds","dataType":"dateTimeMilliseconds","group":"timestamp","units":"milliseconds"},
"161":{"name":"flowDurationMilliseconds","dataType":"unsigned32","group":"misc","units":"milliseconds"},
"162":{"name":"flowDurationMicroseconds","dataType":"unsigned32","group":"misc","units":"microseconds"},
"163":{"name":"observedFlowTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"flows"},
"164":{"name":"ignoredPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"packets"},
"165":{"name":"ignoredOctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"octets"},
"166":{"name":"notSentFlowTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"flows"},
"167":{"name":"notSentPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"packets"},
"168":{"name":"notSentOctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"processCounter","units":"octets"},
"169":{"name":"destinationIPv6Prefix","dataType":"ipv6Address","group":"ipHeader"},
"170":{"name":"sourceIPv6Prefix","dataType":"ipv6Address","group":"ipHeader"},
"171":{"name":"postOctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"octets"},
"172":{"name":"postPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"173":{"name":"flowKeyIndicator","dataType":"unsigned64","dataTypeSemantics":"flags","group":"config"},
"174":{"name":"postMCastPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"175":{"name":"postMCastOctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"octets"},
"176":{"name":"icmpTypeIPv4","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"transportHeader"},
"177":{"name":"icmpCodeIPv4","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"transportHeader"},
"178":{"name":"icmpTypeIPv6","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"transportHeader"},
"179":{"name":"icmpCodeIPv6","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"transportHeader"},
"180":{"name":"udpSourcePort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"181":{"name":"udpDestinationPort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"182":{"name":"tcpSourcePort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"183":{"name":"tcpDestinationPort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"transportHeader"},
"184":{"name":"tcpSequenceNumber","dataType":"unsigned32","group":"transportHeader"},
"185":{"name":"tcpAcknowledgementNumber","dataType":"unsigned32","group":"transportHeader"},
"186":{"name":"tcpWindowSize","dataType":"unsigned16","group":"transportHeader"},
"187":{"name":"tcpUrgentPointer","dataType":"unsigned16","group":"transportHeader"},
"188":{"name":"tcpHeaderLength","dataType":"unsigned8","group":"transportHeader","units":"octets"},
"189":{"name":"ipHeaderLength","dataType":"unsigned8","group":"ipHeader","units":"octets"},
"190":{"name":"totalLengthIPv4","dataType":"unsigned16","group":"ipHeader","units":"octets"},
"191":{"name":"payloadLengthIPv6","dataType":"unsigned16","group":"ipHeader","units":"octets"},
"192":{"name":"ipTTL","dataType":"unsigned8","group":"ipHeader","units":"hops"},
"193":{"name":"nextHeaderIPv6","dataType":"unsigned8","group":"ipHeader"},
"194":{"name":"mplsPayloadLength","dataType":"unsigned32","group":"subIpHeader","units":"octets"},
"195":{"name":"ipDiffServCodePoint","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"ipHeader"},
"196":{"name":"ipPrecedence","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"ipHeader"},
"197":{"name":"fragmentFlags","dataType":"unsigned8","dataTypeSemantics":"flags","group":"ipHeader"},
"198":{"name":"octetDeltaSumOfSquares","dataType":"unsigned64","group":"flowCounter"},
"199":{"name":"octetTotalSumOfSquares","dataType":"unsigned64","group":"flowCounter","units":"octets"},
"200":{"name":"mplsTopLabelTTL","dataType":"unsigned8","group":"subIpHeader","units":"hops"},
"201":{"name":"mplsLabelStackLength","dataType":"unsigned32","group":"subIpHeader","units":"octets"},
"202":{"name":"mplsLabelStackDepth","dataType":"unsigned32","group":"subIpHeader","units":"label stack entries"},
"203":{"name":"mplsTopLabelExp","dataType":"unsigned8","dataTypeSemantics":"flags","group":"subIpHeader"},
"204":{"name":"ipPayloadLength","dataType":"unsigned32","group":"derived","units":"octets"},
"205":{"name":"udpMessageLength","dataType":"unsigned16","group":"transportHeader","units":"octets"},
"206":{"name":"isMulticast","dataType":"unsigned8","dataTypeSemantics":"flags","group":"ipHeader"},
"207":{"name":"ipv4IHL","dataType":"unsigned8","group":"ipHeader","units":"4 octets"},
"208":{"name":"ipv4Options","dataType":"unsigned32","dataTypeSemantics":"flags","group":"minMax"},
"209":{"name":"tcpOptions","dataType":"unsigned64","dataTypeSemantics":"flags","group":"minMax"},
"210":{"name":"paddingOctets","dataType":"octetArray","group":"padding"},
"211":{"name":"collectorIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier","group":"config"},
"212":{"name":"collectorIPv6Address","dataType":"ipv6Address","dataTypeSemantics":"identifier","group":"config"},
"213":{"name":"exportInterface","dataType":"unsigned32","dataTypeSemantics":"identifier","group":"config"},
"214":{"name":"exportProtocolVersion","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"config"},
"215":{"name":"exportTransportProtocol","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"config"},
"216":{"name":"collectorTransportPort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"config"},
"217":{"name":"exporterTransportPort","dataType":"unsigned16","dataTypeSemantics":"identifier","group":"config"},
"218":{"name":"tcpSynTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"219":{"name":"tcpFinTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"220":{"name":"tcpRstTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"221":{"name":"tcpPshTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"222":{"name":"tcpAckTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"223":{"name":"tcpUrgTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","group":"flowCounter","units":"packets"},
"224":{"name":"ipTotalLength","dataType":"unsigned64","group":"ipHeader","units":"octets"},
"225":{"name":"postNATSourceIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier"},
"226":{"name":"postNATDestinationIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier"},
"227":{"name":"postNAPTSourceTransportPort","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"228":{"name":"postNAPTDestinationTransportPort","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"229":{"name":"natOriginatingAddressRealm","dataType":"unsigned8","dataTypeSemantics":"flags"},
"230":{"name":"natEvent","dataType":"unsigned8"},
"231":{"name":"initiatorOctets","dataType":"unsigned64","units":"octets"},
"232":{"name":"responderOctets","dataType":"unsigned64","units":"octets"},
"233":{"name":"firewallEvent","dataType":"unsigned8"},
"234":{"name":"ingressVRFID","dataType":"unsigned32"},
"235":{"name":"egressVRFID","dataType":"unsigned32"},
"236":{"name":"VRFname","dataType":"string"},
"237":{"name":"postMplsTopLabelExp","dataType":"unsigned8","dataTypeSemantics":"flags","group":"subIpHeader"},
"238":{"name":"tcpWindowScale","dataType":"unsigned16","group":"transportHeader"},
"239":{"name":"biflowDirection","dataType":"unsigned8","dataTypeSemantics":"identifier","group":"misc"},
"240":{"name":"ethernetHeaderLength","dataType":"unsigned8","dataTypeSemantics":"identifier","units":"octets"},
"241":{"name":"ethernetPayloadLength","dataType":"unsigned16","dataTypeSemantics":"identifier","units":"octets"},
"242":{"name":"ethernetTotalLength","dataType":"unsigned16","dataTypeSemantics":"identifier","units":"octets"},
"243":{"name":"dot1qVlanId","dataType":"unsigned16","dataTypeSemantics":"identifier","units":"octets"},
"244":{"name":"dot1qPriority","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"245":{"name":"dot1qCustomerVlanId","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"246":{"name":"dot1qCustomerPriority","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"247":{"name":"metroEvcId","dataType":"string"},
"248":{"name":"metroEvcType","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"249":{"name":"pseudoWireId","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"250":{"name":"pseudoWireType","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"251":{"name":"pseudoWireControlWord","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"252":{"name":"ingressPhysicalInterface","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"253":{"name":"egressPhysicalInterface","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"254":{"name":"postDot1qVlanId","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"255":{"name":"postDot1qCustomerVlanId","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"256":{"name":"ethernetType","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"257":{"name":"postIpPrecedence","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"258":{"name":"collectionTimeMilliseconds","dataType":"dateTimeMilliseconds"},
"259":{"name":"exportSctpStreamId","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"260":{"name":"maxExportSeconds","dataType":"dateTimeSeconds","units":"seconds"},
"261":{"name":"maxFlowEndSeconds","dataType":"dateTimeSeconds","units":"seconds"},
"262":{"name":"messageMD5Checksum","dataType":"octetArray"},
"263":{"name":"messageScope","dataType":"unsigned8"},
"264":{"name":"minExportSeconds","dataType":"dateTimeSeconds","units":"seconds"},
"265":{"name":"minFlowStartSeconds","dataType":"dateTimeSeconds","units":"seconds"},
"266":{"name":"opaqueOctets","dataType":"octetArray"},
"267":{"name":"sessionScope","dataType":"unsigned8"},
"268":{"name":"maxFlowEndMicroseconds","dataType":"dateTimeMicroseconds","units":"microseconds"},
"269":{"name":"maxFlowEndMilliseconds","dataType":"dateTimeMilliseconds","units":"milliseconds"},
"270":{"name":"maxFlowEndNanoseconds","dataType":"dateTimeNanoseconds","units":"nanoseconds"},
"271":{"name":"minFlowStartMicroseconds","dataType":"dateTimeMicroseconds","units":"microseconds"},
"272":{"name":"minFlowStartMilliseconds","dataType":"dateTimeMilliseconds","units":"milliseconds"},
"273":{"name":"minFlowStartNanoseconds","dataType":"dateTimeNanoseconds","units":"nanoseconds"},
"274":{"name":"collectorCertificate","dataType":"octetArray"},
"275":{"name":"exporterCertificate","dataType":"octetArray"},
"276":{"name":"dataRecordsReliability","dataType":"boolean","dataTypeSemantics":"identifier"},
"277":{"name":"observationPointType","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"278":{"name":"connectionCountNew","dataType":"unsigned32","dataTypeSemantics":"deltaCounter"},
"279":{"name":"connectionSumDuration","dataType":"unsigned64"},
"280":{"name":"connectionTransactionId","dataType":"unsigned64","dataTypeSemantics":"identifier"},
"281":{"name":"postNATSourceIPv6Address","dataType":"ipv6Address"},
"282":{"name":"postNATDestinationIPv6Address","dataType":"ipv6Address"},
"283":{"name":"natPoolId","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"284":{"name":"natPoolName","dataType":"string"},
"285":{"name":"anonymizationFlags","dataType":"unsigned16","dataTypeSemantics":"flags"},
"286":{"name":"anonymizationTechnique","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"287":{"name":"informationElementIndex","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"288":{"name":"p2pTechnology","dataType":"string"},
"289":{"name":"tunnelTechnology","dataType":"string"},
"290":{"name":"encryptedTechnology","dataType":"string"},
"291":{"name":"basicList","dataType":"basicList","dataTypeSemantics":"list"},
"292":{"name":"subTemplateList","dataType":"subTemplateList","dataTypeSemantics":"list"},
"293":{"name":"subTemplateMultiList","dataType":"subTemplateMultiList","dataTypeSemantics":"list"},
"294":{"name":"bgpValidityState","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"295":{"name":"IPSecSPI","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"296":{"name":"greKey","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"297":{"name":"natType","dataType":"unsigned8","dataTypeSemantics":"identifier"},
"298":{"name":"initiatorPackets","dataType":"unsigned64","dataTypeSemantics":"identifier","units":"packets"},
"299":{"name":"responderPackets","dataType":"unsigned64","dataTypeSemantics":"identifier","units":"packets"},
"300":{"name":"observationDomainName","dataType":"string"},
"301":{"name":"selectionSequenceId","dataType":"unsigned64","dataTypeSemantics":"identifier"},
"302":{"name":"selectorId","dataType":"unsigned64","dataTypeSemantics":"identifier"},
"303":{"name":"informationElementId","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"304":{"name":"selectorAlgorithm","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"305":{"name":"samplingPacketInterval","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"packets"},
"306":{"name":"samplingPacketSpace","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"packets"},
"307":{"name":"samplingTimeInterval","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"microseconds"},
"308":{"name":"samplingTimeSpace","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"microseconds"},
"309":{"name":"samplingSize","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"packets"},
"310":{"name":"samplingPopulation","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"packets"},
"311":{"name":"samplingProbability","dataType":"float64","dataTypeSemantics":"quantity"},
"312":{"name":"dataLinkFrameSize","dataType":"unsigned16"},
"313":{"name":"ipHeaderPacketSection","dataType":"octetArray"},
"314":{"name":"ipPayloadPacketSection","dataType":"octetArray"},
"315":{"name":"dataLinkFrameSection","dataType":"octetArray"},
"316":{"name":"mplsLabelStackSection","dataType":"octetArray"},
"317":{"name":"mplsPayloadPacketSection","dataType":"octetArray"},
"318":{"name":"selectorIdTotalPktsObserved","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"319":{"name":"selectorIdTotalPktsSelected","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"320":{"name":"absoluteError","dataType":"float64","dataTypeSemantics":"quantity","units":"The units of the Information Element for which the error is specified."},
"321":{"name":"relativeError","dataType":"float64","dataTypeSemantics":"quantity"},
"322":{"name":"observationTimeSeconds","dataType":"dateTimeSeconds","dataTypeSemantics":"quantity","units":"seconds"},
"323":{"name":"observationTimeMilliseconds","dataType":"dateTimeMilliseconds","dataTypeSemantics":"quantity","units":"milliseconds"},
"324":{"name":"observationTimeMicroseconds","dataType":"dateTimeMicroseconds","dataTypeSemantics":"quantity","units":"microseconds"},
"325":{"name":"observationTimeNanoseconds","dataType":"dateTimeNanoseconds","dataTypeSemantics":"quantity","units":"nanoseconds"},
"326":{"name":"digestHashValue","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"327":{"name":"hashIPPayloadOffset","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"328":{"name":"hashIPPayloadSize","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"329":{"name":"hashOutputRangeMin","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"330":{"name":"hashOutputRangeMax","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"331":{"name":"hashSelectedRangeMin","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"332":{"name":"hashSelectedRangeMax","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"333":{"name":"hashDigestOutput","dataType":"boolean","dataTypeSemantics":"quantity"},
"334":{"name":"hashInitialiserValue","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"335":{"name":"selectorName","dataType":"string"},
"336":{"name":"upperCILimit","dataType":"float64","dataTypeSemantics":"quantity"},
"337":{"name":"lowerCILimit","dataType":"float64","dataTypeSemantics":"quantity"},
"338":{"name":"confidenceLevel","dataType":"float64","dataTypeSemantics":"quantity"},
"339":{"name":"informationElementDataType","dataType":"unsigned8"},
"340":{"name":"informationElementDescription","dataType":"string"},
"341":{"name":"informationElementName","dataType":"string"},
"342":{"name":"informationElementRangeBegin","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"343":{"name":"informationElementRangeEnd","dataType":"unsigned64","dataTypeSemantics":"quantity"},
"344":{"name":"informationElementSemantics","dataType":"unsigned8"},
"345":{"name":"informationElementUnits","dataType":"unsigned16"},
"346":{"name":"privateEnterpriseNumber","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"347":{"name":"virtualStationInterfaceId","dataType":"octetArray","dataTypeSemantics":"identifier"},
"348":{"name":"virtualStationInterfaceName","dataType":"string"},
"349":{"name":"virtualStationUUID","dataType":"octetArray","dataTypeSemantics":"identifier"},
"350":{"name":"virtualStationName","dataType":"string"},
"351":{"name":"layer2SegmentId","dataType":"unsigned64","dataTypeSemantics":"identifier"},
"352":{"name":"layer2OctetDeltaCount","dataType":"unsigned64","dataTypeSemantics":"deltaCounter","units":"octets"},
"353":{"name":"layer2OctetTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"octets"},
"354":{"name":"ingressUnicastPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"355":{"name":"ingressMulticastPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"356":{"name":"ingressBroadcastPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"357":{"name":"egressUnicastPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"358":{"name":"egressBroadcastPacketTotalCount","dataType":"unsigned64","dataTypeSemantics":"totalCounter","units":"packets"},
"359":{"name":"monitoringIntervalStartMilliSeconds","dataType":"dateTimeMilliseconds","units":"milliseconds"},
"360":{"name":"monitoringIntervalEndMilliSeconds","dataType":"dateTimeMilliseconds","units":"milliseconds"},
"361":{"name":"portRangeStart","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"362":{"name":"portRangeEnd","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"363":{"name":"portRangeStepSize","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"364":{"name":"portRangeNumPorts","dataType":"unsigned16","dataTypeSemantics":"identifier"},
"365":{"name":"staMacAddress","dataType":"macAddress","dataTypeSemantics":"identifier"},
"366":{"name":"staIPv4Address","dataType":"ipv4Address","dataTypeSemantics":"identifier"},
"367":{"name":"wtpMacAddress","dataType":"macAddress","dataTypeSemantics":"identifier"},
"368":{"name":"ingressInterfaceType","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"369":{"name":"egressInterfaceType","dataType":"unsigned32","dataTypeSemantics":"identifier"},
"370":{"name":"rtpSequenceNumber","dataType":"unsigned16"},
"371":{"name":"userName","dataType":"string"},
"372":{"name":"applicationCategoryName","dataType":"string"},
"373":{"name":"applicationSubCategoryName","dataType":"string"},
"374":{"name":"applicationGroupName","dataType":"string"},
"375":{"name":"originalFlowsPresent","dataType":"unsigned64","dataTypeSemantics":"deltaCounter"},
"376":{"name":"originalFlowsInitiated","dataType":"unsigned64","dataTypeSemantics":"deltaCounter"},
"377":{"name":"originalFlowsCompleted","dataType":"unsigned64","dataTypeSemantics":"deltaCounter"},
"378":{"name":"distinctCountOfSourceIPAddress","dataType":"unsigned64","dataTypeSemantics":"totalCounter"},
"379":{"name":"distinctCountOfDestinationIPAddress","dataType":"unsigned64","dataTypeSemantics":"totalCounter"},
"380":{"name":"distinctCountOfSourceIPv4Address","dataType":"unsigned32","dataTypeSemantics":"totalCounter"},
"381":{"name":"distinctCountOfDestinationIPv4Address","dataType":"unsigned32","dataTypeSemantics":"totalCounter"},
"382":{"name":"distinctCountOfSourceIPv6Address","dataType":"unsigned64","dataTypeSemantics":"totalCounter"},
"383":{"name":"distinctCountOfDestinationIPv6Address","dataType":"unsigned64","dataTypeSemantics":"totalCounter"},
"384":{"name":"valueDistributionMethod","dataType":"unsigned8"},
"385":{"name":"rfc3550JitterMilliseconds","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"milliseconds"},
"386":{"name":"rfc3550JitterMicroseconds","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"microseconds"},
"387":{"name":"rfc3550JitterNanoseconds","dataType":"unsigned32","dataTypeSemantics":"quantity","units":"nanoseconds"}
}
//ipfix-mpls-label-type
entities['mpls'] = {
"1":{"description":"TE-MIDPT: Any TE tunnel mid-point or tail label"},
"2":{"description":"Pseudowire: Any PWE3 or Cisco AToM based label"},
"3":{"description":"VPN: Any label associated with VPN"},
"4":{"description":"BGP: Any label associated with BGP or BGP routing"},
"5":{"description":"LDP: Any label associated with dynamically assigned labels using LDP"}
}
//classification-engine-ids
entities['engineIds'] = {
"1":{"description":"IANA-L3", "length":"1"},
"2":{"description":"PANA-L3", "length":"1"},
"3":{"description":"IANA-L4", "length":"2"},
"4":{"description":"PANA-L4", "length":"2"},
"6":{"description":"USER-Defined", "length":"3"},
"12":{"description":"PANA-L2", "length":"5"},
"13":{"description":"PANA-L7", "length":"3"},
"18":{"description":"ETHERTYPE", "length":"2"},
"19":{"description":"LLC", "length":"1"},
"20":{"description":"PANA-L7-PEN", "length":"3"},
}
//ipfix-version-numbers
entities['version'] = {
"9":{"version":"Cisco Systems NetFlow Version 9"},
"10":{"version":"IPFIX as documented in RFC5101"}
}
//ipfix-set-ids
entities['setIds'] = {
"2":{"setId":"Template Set"},
"3":{"setId":"Option Template Set"}
}
//ipfix-information-element-data-types
entities['dataTypes'] = {
"octetArray":{},
"unsigned8":{},
"unsigned16":{},
"unsigned32":{},
"unsigned64":{},
"signed8":{},
"signed16":{},
"signed32":{},
"signed64":{},
"float32":{},
"float64":{},
"boolean":{},
"macAddress":{ "key":"%0-%1-%2-%3-%4-%5"},
"string":{},
"dateTimeSeconds":{},
"dateTimeMilliseconds":{},
"dateTimeMicroseconds":{},
"dateTimeNanoseconds":{},
"ipv4Address":{"key":"%0.%1.%2.%3"},
"ipv6Address":{"key":"%0:%1:%2:%3:%4:%5:%6:%7"},
"basicList":{},
"subTemplateList":{},
"subTemplateMultiList":{}
}
//ipfix-information-element-semantics
entities['ieSemantics'] = {
"0":{"description":"default"},
"1":{"description":"quantity"},
"2":{"description":"totalCounter"},
"3":{"description":"deltaCounter"},
"4":{"description":"identifier"},
"5":{"description":"flags"},
"6":{"description":"list"}
}
//ipfix-information-element-units
entities['units'] = {
"0":{"name":"none"},
"1":{"name":"bits"},
"2":{"name":"octets"},
"3":{"name":"packets"},
"4":{"name":"flows"},
"5":{"name":"seconds"},
"6":{"name":"milliseconds"},
"7":{"name":"microseconds"},
"8":{"name":"nanoseconds"},
"9":{"name":"4-octet words"},
"10":{"name":"messages"},
"11":{"name":"hops"},
"12":{"name":"entries"}
}
//ipfix-structured-data-types-semantics
entities['sdSemantics'] = {
"0x00":{"name":"noneOf"},
"0x01":{"name":"exactlyOneOf"},
"0x02":{"name":"oneOrMoreOf"},
"0x03":{"name":"allOf"},
"0x04":{"name":"ordered"},
"0xFF":{"name":"undefined"},
}
exports.entities = entities;
| Java |
using System;
namespace Versioning
{
public class NominalData : Sage_Container, IData
{
/* Autogenerated by sage_wrapper_generator.pl */
SageDataObject110.NominalData nd11;
SageDataObject120.NominalData nd12;
SageDataObject130.NominalData nd13;
SageDataObject140.NominalData nd14;
SageDataObject150.NominalData nd15;
SageDataObject160.NominalData nd16;
SageDataObject170.NominalData nd17;
public NominalData(object inner, int version)
: base(version) {
switch (m_version) {
case 11: {
nd11 = (SageDataObject110.NominalData)inner;
m_fields = new Fields(nd11.Fields,m_version);
return;
}
case 12: {
nd12 = (SageDataObject120.NominalData)inner;
m_fields = new Fields(nd12.Fields,m_version);
return;
}
case 13: {
nd13 = (SageDataObject130.NominalData)inner;
m_fields = new Fields(nd13.Fields,m_version);
return;
}
case 14: {
nd14 = (SageDataObject140.NominalData)inner;
m_fields = new Fields(nd14.Fields,m_version);
return;
}
case 15: {
nd15 = (SageDataObject150.NominalData)inner;
m_fields = new Fields(nd15.Fields,m_version);
return;
}
case 16: {
nd16 = (SageDataObject160.NominalData)inner;
m_fields = new Fields(nd16.Fields,m_version);
return;
}
case 17: {
nd17 = (SageDataObject170.NominalData)inner;
m_fields = new Fields(nd17.Fields,m_version);
return;
}
default: throw new InvalidOperationException("ver");
}
}
/* Autogenerated with data_generator.pl */
const string ACCOUNT_REF = "ACCOUNT_REF";
const string NOMINALDATA = "NominalData";
public bool Open(OpenMode mode) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.Open((SageDataObject110.OpenMode)mode);
break;
}
case 12: {
ret = nd12.Open((SageDataObject120.OpenMode)mode);
break;
}
case 13: {
ret = nd13.Open((SageDataObject130.OpenMode)mode);
break;
}
case 14: {
ret = nd14.Open((SageDataObject140.OpenMode)mode);
break;
}
case 15: {
ret = nd15.Open((SageDataObject150.OpenMode)mode);
break;
}
case 16: {
ret = nd16.Open((SageDataObject160.OpenMode)mode);
break;
}
case 17: {
ret = nd17.Open((SageDataObject170.OpenMode)mode);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public void Close() {
switch (m_version) {
case 11: {
nd11.Close();
break;
}
case 12: {
nd12.Close();
break;
}
case 13: {
nd13.Close();
break;
}
case 14: {
nd14.Close();
break;
}
case 15: {
nd15.Close();
break;
}
case 16: {
nd16.Close();
break;
}
case 17: {
nd17.Close();
break;
}
default: throw new InvalidOperationException("ver");
}
}
public bool Read(int IRecNo) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.Read(IRecNo);
break;
}
case 12: {
ret = nd12.Read(IRecNo);
break;
}
case 13: {
ret = nd13.Read(IRecNo);
break;
}
case 14: {
ret = nd14.Read(IRecNo);
break;
}
case 15: {
ret = nd15.Read(IRecNo);
break;
}
case 16: {
ret = nd16.Read(IRecNo);
break;
}
case 17: {
ret = nd17.Read(IRecNo);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public bool Write(int IRecNo) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.Write(IRecNo);
break;
}
case 12: {
ret = nd12.Write(IRecNo);
break;
}
case 13: {
ret = nd13.Write(IRecNo);
break;
}
case 14: {
ret = nd14.Write(IRecNo);
break;
}
case 15: {
ret = nd15.Write(IRecNo);
break;
}
case 16: {
ret = nd16.Write(IRecNo);
break;
}
case 17: {
ret = nd17.Write(IRecNo);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public bool Seek(int IRecNo) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.Seek(IRecNo);
break;
}
case 12: {
ret = nd12.Seek(IRecNo);
break;
}
case 13: {
ret = nd13.Seek(IRecNo);
break;
}
case 14: {
ret = nd14.Seek(IRecNo);
break;
}
case 15: {
ret = nd15.Seek(IRecNo);
break;
}
case 16: {
ret = nd16.Seek(IRecNo);
break;
}
case 17: {
ret = nd17.Seek(IRecNo);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public bool Lock(int IRecNo) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.Lock(IRecNo);
break;
}
case 12: {
ret = nd12.Lock(IRecNo);
break;
}
case 13: {
ret = nd13.Lock(IRecNo);
break;
}
case 14: {
ret = nd14.Lock(IRecNo);
break;
}
case 15: {
ret = nd15.Lock(IRecNo);
break;
}
case 16: {
ret = nd16.Lock(IRecNo);
break;
}
case 17: {
ret = nd17.Lock(IRecNo);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public bool Unlock(int IRecNo) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.Unlock(IRecNo);
break;
}
case 12: {
ret = nd12.Unlock(IRecNo);
break;
}
case 13: {
ret = nd13.Unlock(IRecNo);
break;
}
case 14: {
ret = nd14.Unlock(IRecNo);
break;
}
case 15: {
ret = nd15.Unlock(IRecNo);
break;
}
case 16: {
ret = nd16.Unlock(IRecNo);
break;
}
case 17: {
ret = nd17.Unlock(IRecNo);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public bool FindFirst(object varField, object varSearch) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.FindFirst(varField, varSearch);
break;
}
case 12: {
ret = nd12.FindFirst(varField, varSearch);
break;
}
case 13: {
ret = nd13.FindFirst(varField, varSearch);
break;
}
case 14: {
ret = nd14.FindFirst(varField, varSearch);
break;
}
case 15: {
ret = nd15.FindFirst(varField, varSearch);
break;
}
case 16: {
ret = nd16.FindFirst(varField, varSearch);
break;
}
case 17: {
ret = nd17.FindFirst(varField, varSearch);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public bool FindNext(object varField, object varSearch) {
bool ret;
switch (m_version) {
case 11: {
ret = nd11.FindNext(varField, varSearch);
break;
}
case 12: {
ret = nd12.FindNext(varField, varSearch);
break;
}
case 13: {
ret = nd13.FindNext(varField, varSearch);
break;
}
case 14: {
ret = nd14.FindNext(varField, varSearch);
break;
}
case 15: {
ret = nd15.FindNext(varField, varSearch);
break;
}
case 16: {
ret = nd16.FindNext(varField, varSearch);
break;
}
case 17: {
ret = nd17.FindNext(varField, varSearch);
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
public int Count {
get {
int ret;
switch (m_version) {
case 11: {
ret = nd11.Count();
break;
}
case 12: {
ret = nd12.Count();
break;
}
case 13: {
ret = nd13.Count();
break;
}
case 14: {
ret = nd14.Count();
break;
}
case 15: {
ret = nd15.Count();
break;
}
case 16: {
ret = nd16.Count();
break;
}
case 17: {
ret = nd17.Count();
break;
}
default: throw new InvalidOperationException("ver");
}
return ret;
}
}
}
}
| Java |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Alphabet Table</title>
</head>
<body>
<table border="1px">
<tr>
<td colspan="3" align="center">Title goes here</td>
<td align="center">A</td>
<td align="right">B</td>
</tr>
<tr>
<td rowspan="3" align="left">C</td>
<td align="center">D</td>
<td align="center">E</td>
<td align="center">F</td>
<td align="right">G</td>
</tr>
<tr>
<td align="center">H</td>
<td colspan="2" align="center">I</td>
<td rowspan="2" align="right" valign="bottom">J</td>
</tr>
<tr>
<td align="center">K</td>
<td align="center">L</td>
<td align="center">M</td>
</tr>
<tr>
<td align="right">N</td>
<td colspan="4" align="center">O</td>
</tr>
</table>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `uok` fn in crate `rustc_lint`.">
<meta name="keywords" content="rust, rustlang, rust-lang, uok">
<title>rustc_lint::middle::infer::uok - Rust</title>
<link rel="stylesheet" type="text/css" href="../../../main.css">
<link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico">
</head>
<body class="rustdoc">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<section class="sidebar">
<a href='../../../rustc_lint/index.html'><img src='http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='' width='100'></a>
<p class='location'><a href='../../index.html'>rustc_lint</a>::<wbr><a href='../index.html'>middle</a>::<wbr><a href='index.html'>infer</a></p><script>window.sidebarCurrent = {name: 'uok', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script>
</section>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press 'S' to search, '?' for more options..."
type="search">
</div>
</form>
</nav>
<section id='main' class="content fn">
<h1 class='fqn'><span class='in-band'>Function <a href='../../index.html'>rustc_lint</a>::<wbr><a href='../index.html'>middle</a>::<wbr><a href='index.html'>infer</a>::<wbr><a class='fn' href=''>uok</a><wbr><a class='stability Unstable' title=''>Unstable</a></span><span class='out-of-band'><span id='render-detail'>
<a id="collapse-all" href="#">[-]</a> <a id="expand-all" href="#">[+]</a>
</span><a id='src-98063' href='../../../rustc/middle/infer/fn.uok.html?gotosrc=98063'>[src]</a></span></h1>
<pre class='rust fn'>pub fn uok() -> <a class='enum' href='../../../core/result/enum.Result.html' title='core::result::Result'>Result</a><<a href='../../../std/primitive.tuple.html'>()</a>, <a class='enum' href='../../../rustc_lint/middle/ty/enum.type_err.html' title='rustc_lint::middle::ty::type_err'>type_err</a><'tcx>></pre></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<div id="help" class="hidden">
<div class="shortcuts">
<h1>Keyboard shortcuts</h1>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>⇤</dt>
<dd>Move up in search results</dd>
<dt>⇥</dt>
<dd>Move down in search results</dd>
<dt>⏎</dt>
<dd>Go to active search result</dd>
</dl>
</div>
<div class="infos">
<h1>Search tricks</h1>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>typedef</code> (or
<code>tdef</code>).
</p>
</div>
</div>
<script>
window.rootPath = "../../../";
window.currentCrate = "rustc_lint";
window.playgroundUrl = "";
</script>
<script src="../../../jquery.js"></script>
<script src="../../../main.js"></script>
<script async src="../../../search-index.js"></script>
</body>
</html> | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `color` mod in crate `term`.">
<meta name="keywords" content="rust, rustlang, rust-lang, color">
<title>term::color - Rust</title>
<link rel="stylesheet" type="text/css" href="../../main.css">
<link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico">
</head>
<body class="rustdoc">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<section class="sidebar">
<a href='../../term/index.html'><img src='http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='' width='100'></a>
<p class='location'><a href='../index.html'>term</a></p><script>window.sidebarCurrent = {name: 'color', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
</section>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press 'S' to search, '?' for more options..."
type="search">
</div>
</form>
</nav>
<section id='main' class="content mod">
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>term</a>::<wbr><a class='mod' href=''>color</a><wbr><a class='stability Unstable' title='use the crates.io `term` library instead'>Unstable</a></span><span class='out-of-band'><span id='render-detail'>
<a id="collapse-all" href="#">[-]</a> <a id="expand-all" href="#">[+]</a>
</span><a id='src-8395' href='../../src/term/lib.rs.html#154-175'>[src]</a></span></h1>
<div class='docblock'><p>Terminal color definitions</p>
</div><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
<table>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BLACK.html'
title='term::color::BLACK'>BLACK</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BLUE.html'
title='term::color::BLUE'>BLUE</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_BLACK.html'
title='term::color::BRIGHT_BLACK'>BRIGHT_BLACK</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_BLUE.html'
title='term::color::BRIGHT_BLUE'>BRIGHT_BLUE</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_CYAN.html'
title='term::color::BRIGHT_CYAN'>BRIGHT_CYAN</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_GREEN.html'
title='term::color::BRIGHT_GREEN'>BRIGHT_GREEN</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_MAGENTA.html'
title='term::color::BRIGHT_MAGENTA'>BRIGHT_MAGENTA</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_RED.html'
title='term::color::BRIGHT_RED'>BRIGHT_RED</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_WHITE.html'
title='term::color::BRIGHT_WHITE'>BRIGHT_WHITE</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_YELLOW.html'
title='term::color::BRIGHT_YELLOW'>BRIGHT_YELLOW</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.CYAN.html'
title='term::color::CYAN'>CYAN</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.GREEN.html'
title='term::color::GREEN'>GREEN</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.MAGENTA.html'
title='term::color::MAGENTA'>MAGENTA</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.RED.html'
title='term::color::RED'>RED</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.WHITE.html'
title='term::color::WHITE'>WHITE</a></td>
<td class='docblock short'></td>
</tr>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.YELLOW.html'
title='term::color::YELLOW'>YELLOW</a></td>
<td class='docblock short'></td>
</tr>
</table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table>
<tr>
<td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='type' href='type.Color.html'
title='term::color::Color'>Color</a></td>
<td class='docblock short'><p>Number for a terminal color</p>
</td>
</tr>
</table></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<div id="help" class="hidden">
<div class="shortcuts">
<h1>Keyboard shortcuts</h1>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>⇤</dt>
<dd>Move up in search results</dd>
<dt>⇥</dt>
<dd>Move down in search results</dd>
<dt>⏎</dt>
<dd>Go to active search result</dd>
</dl>
</div>
<div class="infos">
<h1>Search tricks</h1>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>typedef</code> (or
<code>tdef</code>).
</p>
</div>
</div>
<script>
window.rootPath = "../../";
window.currentCrate = "term";
window.playgroundUrl = "http://play.rust-lang.org/";
</script>
<script src="../../jquery.js"></script>
<script src="../../main.js"></script>
<script src="../../playpen.js"></script>
<script async src="../../search-index.js"></script>
</body>
</html> | Java |
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h> /* Definition of AT_* constants */
#ifndef _MSC_VER
#include <unistd.h>
#include <dirent.h>
#else
#pragma warning(disable:4996)
#endif
#include "logging.h"
#include "config.h"
#include "oracle.h"
#include "tempfs.h"
#include "util.h"
#include "query.h"
static int dbr_refresh_object(const char *schema,
const char *ora_type,
const char *object,
time_t last_ddl_time) {
char object_with_suffix[300];
// convert oracle type to filesystem type
char *fs_type = strdup(ora_type);
if (fs_type == NULL) {
logmsg(LOG_ERROR, "dbr_refresh_object(): unable to allocate memory for ora_type");
return EXIT_FAILURE;
}
utl_ora2fstype(&fs_type);
// get suffix based on type
char *suffix = NULL;
if (str_suffix(&suffix, ora_type) != EXIT_SUCCESS) {
logmsg(LOG_ERROR, "dbr_refresh_object(): unable to determine file suffix");
if (suffix != NULL)
free(suffix);
if (fs_type != NULL)
free(fs_type);
return EXIT_FAILURE;
}
snprintf(object_with_suffix, 299, "%s%s", object, suffix);
// get cache filename
char *fname = NULL;
if (qry_object_fname(schema, fs_type, object_with_suffix, &fname) != EXIT_SUCCESS) {
logmsg(LOG_ERROR, "dbr_refresh_object(): unable to determine cache filename for [%s] [%s].[%s]", ora_type, schema, object_with_suffix);
if (fname != NULL)
free(fname);
if (suffix != NULL)
free(suffix);
if (fs_type != NULL)
free(fs_type);
return EXIT_FAILURE;
}
// if cache file is already up2date
if (tfs_validate2(fname, last_ddl_time) == EXIT_SUCCESS) {
// then mark it as verified by this mount
if (tfs_setldt(fname, last_ddl_time) != EXIT_SUCCESS) {
logmsg(LOG_ERROR, "dbr_refresh_object(): unable to mark [%s] [%s].[%s] as verified by this mount.", ora_type, schema, object);
if (fname != NULL)
free(fname);
if (suffix != NULL)
free(suffix);
if (fs_type != NULL)
free(fs_type);
return EXIT_FAILURE;
}
}
free(fname);
free(suffix);
free(fs_type);
return EXIT_SUCCESS;
}
static int dbr_delete_obsolete() {
#ifdef _MSC_VER
logmsg(LOG_ERROR, "dbr_delete_obsolete() - this function is not yet implemented for Windows platform!");
return EXIT_FAILURE;
#else
char cache_fn[4096];
DIR *dir = opendir(g_conf._temppath);
if (dir == NULL) {
logmsg(LOG_ERROR, "dbr_delete_obsolete() - unable to open directory: %d - %s", errno, strerror(errno));
return EXIT_FAILURE;
}
struct dirent *dir_entry = NULL;
while ((dir_entry = readdir(dir)) != NULL) {
if (dir_entry->d_type != DT_REG)
continue;
size_t name_len = strlen(dir_entry->d_name);
if (name_len < 5)
continue;
char *suffix = dir_entry->d_name + name_len - 4;
if (strcmp(suffix, ".tmp") != 0)
continue;
snprintf(cache_fn, 4095, "%s/%s", g_conf._temppath, dir_entry->d_name);
time_t last_ddl_time = 0;
time_t mount_stamp = 0;
pid_t mount_pid = 0;
if (tfs_getldt(cache_fn, &last_ddl_time, &mount_pid, &mount_stamp) != EXIT_SUCCESS) {
logmsg(LOG_ERROR, "dbr_delete_obsolete() - tfs_getldt returned error");
closedir(dir);
return EXIT_FAILURE;
}
if ((mount_pid != g_conf._mount_pid) || (mount_stamp != g_conf._mount_stamp)) {
tfs_rmfile(cache_fn);
logmsg(LOG_DEBUG, "dbr_delete_obsolete() - removed obsolete cache file [%s]", cache_fn);
}
}
closedir(dir);
return EXIT_SUCCESS;
#endif
}
int dbr_refresh_cache() {
int retval = EXIT_SUCCESS;
const char *query =
"select o.owner, o.object_type, o.object_name, \
to_char(o.last_ddl_time, 'yyyy-mm-dd hh24:mi:ss') as last_ddl_time\
from all_objects o\
where generated='N'\
and (o.object_type != 'TYPE' or o.subobject_name IS NULL)\
and object_type IN (\
'TABLE',\
'VIEW',\
'PROCEDURE',\
'FUNCTION',\
'PACKAGE',\
'PACKAGE BODY',\
'TRIGGER',\
'TYPE',\
'TYPE BODY',\
'JAVA SOURCE')";
ORA_STMT_PREPARE(dbr_refresh_state);
ORA_STMT_DEFINE_STR_I(dbr_refresh_state, 1, schema, 300);
ORA_STMT_DEFINE_STR_I(dbr_refresh_state, 2, type, 300);
ORA_STMT_DEFINE_STR_I(dbr_refresh_state, 3, object, 300);
ORA_STMT_DEFINE_STR_I(dbr_refresh_state, 4, last_ddl_time, 25);
ORA_STMT_EXECUTE(dbr_refresh_state, 0);
while (ORA_STMT_FETCH) {
dbr_refresh_object(
ORA_NVL(schema, "_UNKNOWN_SCHEMA_"),
ORA_NVL(type, "_UNKNOWN_TYPE_"),
ORA_NVL(object, "_UNKNOWN_OBJECT_"),
utl_str2time(ORA_NVL(last_ddl_time, "1990-01-01 03:00:01")));
}
dbr_delete_obsolete();
dbr_refresh_state_cleanup:
ORA_STMT_FREE;
return retval;
}
| Java |
using AutoMapper;
using Bivi.Domaine;
using Bivi.FrontOffice.Web.ViewModels;
using Bivi.FrontOffice.Web.ViewModels.ModelBuilders;
using Bivi.FrontOffice.Web.ViewModels.Pages.Common;
using Bivi.Infrastructure.Attributes.Modularity;
using Bivi.Infrastructure.Constant;
using Bivi.Infrastructure.Services.Caching;
using Bivi.Infrastructure.Services.Depots;
using Bivi.Infrastructure.Services.Encryption;
using Bivi.Infrastructure.Services.Search;
using Castle.Core.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Bivi.FrontOffice.Web.Controllers.Controllers
{
public partial class PlanDuSiteController : ModularController
{
protected ISearchEngine _searchEngine;
public PlanDuSiteController(
ILogger logger,
ICryptography encryption,
IDepotFactory depotFactory,
ICaching cachingService,
ICommonModelBuilder commonModelBuilder,
ISearchEngine searchEngine)
: base(logger, encryption, depotFactory, cachingService, commonModelBuilder)
{
_searchEngine = searchEngine;
}
[PageAttribute("PLAN_DU_SITE")]
public ActionResult Index()
{
return ProcessPage();
}
}
}
| Java |
require 'filefm'
def test_config
File.join(File.dirname(__FILE__), 'config.yml')
end
def swift_server
ENV["SWIFT_SERVER"]
end
def swift_username
u = ENV["SWIFT_USERNAME"]
u
end
def swift_password
ENV["SWIFT_PASSWORD"]
end
def swift_test_container
ENV["SWIFT_TEST_CONTAINER"] || "filefm-test"
end
def swift_keystone_url
ENV["SWIFT_KEYSTONE_URL"]
end
| Java |
<div class="container">
<div class="jumbotron">
<h1>Best Offer</h1>
<p class="font-face">Welcome to BestOffer!</p>
</div>
<div class="row">
<div class="col-md-12">
<div ng-include="'/partials/main/our-customers.html'"></div>
</div>
</div>
</div> | Java |
module Rentjuicer
class Response
attr_accessor :body
def initialize(response, raise_error = false)
rash_response(response)
raise Error.new(self.body.code, self.body.message) if !success? && raise_error
end
def success?
self.body && !self.body.blank? && self.body.respond_to?(:status) && self.body.status == "ok"
end
def method_missing(method_name, *args)
if self.body.respond_to?(method_name)
self.body.send(method_name)
else
super
end
end
private
def rash_response(response)
if response.is_a?(Array)
self.body = []
response.each do |b|
if b.is_a?(Hash)
self.body << Hashie::Rash.new(b)
else
self.body << b
end
end
elsif response.is_a?(Hash)
self.body = Hashie::Rash.new(response)
else
self.body = response
end
end
end
end
| Java |
/***************************************************************************/
/* */
/* ftlist.h */
/* */
/* Generic list support for FreeType (specification). */
/* */
/* Copyright 1996-2018 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
/*************************************************************************/
/* */
/* This file implements functions relative to list processing. Its */
/* data structures are defined in `freetype.h'. */
/* */
/*************************************************************************/
#ifndef FTLIST_H_
#define FTLIST_H_
#include "ft2build.h"
#include FT_FREETYPE_H
#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif
FT_BEGIN_HEADER
/*************************************************************************/
/* */
/* <Section> */
/* list_processing */
/* */
/* <Title> */
/* List Processing */
/* */
/* <Abstract> */
/* Simple management of lists. */
/* */
/* <Description> */
/* This section contains various definitions related to list */
/* processing using doubly-linked nodes. */
/* */
/* <Order> */
/* FT_List */
/* FT_ListNode */
/* FT_ListRec */
/* FT_ListNodeRec */
/* */
/* FT_List_Add */
/* FT_List_Insert */
/* FT_List_Find */
/* FT_List_Remove */
/* FT_List_Up */
/* FT_List_Iterate */
/* FT_List_Iterator */
/* FT_List_Finalize */
/* FT_List_Destructor */
/* */
/*************************************************************************/
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Find */
/* */
/* <Description> */
/* Find the list node for a given listed object. */
/* */
/* <Input> */
/* list :: A pointer to the parent list. */
/* data :: The address of the listed object. */
/* */
/* <Return> */
/* List node. NULL if it wasn't found. */
/* */
FT_EXPORT( FT_ListNode )
FT_List_Find( FT_List list,
void* data );
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Add */
/* */
/* <Description> */
/* Append an element to the end of a list. */
/* */
/* <InOut> */
/* list :: A pointer to the parent list. */
/* node :: The node to append. */
/* */
FT_EXPORT( void )
FT_List_Add( FT_List list,
FT_ListNode node );
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Insert */
/* */
/* <Description> */
/* Insert an element at the head of a list. */
/* */
/* <InOut> */
/* list :: A pointer to parent list. */
/* node :: The node to insert. */
/* */
FT_EXPORT( void )
FT_List_Insert( FT_List list,
FT_ListNode node );
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Remove */
/* */
/* <Description> */
/* Remove a node from a list. This function doesn't check whether */
/* the node is in the list! */
/* */
/* <Input> */
/* node :: The node to remove. */
/* */
/* <InOut> */
/* list :: A pointer to the parent list. */
/* */
FT_EXPORT( void )
FT_List_Remove( FT_List list,
FT_ListNode node );
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Up */
/* */
/* <Description> */
/* Move a node to the head/top of a list. Used to maintain LRU */
/* lists. */
/* */
/* <InOut> */
/* list :: A pointer to the parent list. */
/* node :: The node to move. */
/* */
FT_EXPORT( void )
FT_List_Up( FT_List list,
FT_ListNode node );
/*************************************************************************/
/* */
/* <FuncType> */
/* FT_List_Iterator */
/* */
/* <Description> */
/* An FT_List iterator function that is called during a list parse */
/* by @FT_List_Iterate. */
/* */
/* <Input> */
/* node :: The current iteration list node. */
/* */
/* user :: A typeless pointer passed to @FT_List_Iterate. */
/* Can be used to point to the iteration's state. */
/* */
typedef FT_Error
(*FT_List_Iterator)( FT_ListNode node,
void* user );
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Iterate */
/* */
/* <Description> */
/* Parse a list and calls a given iterator function on each element. */
/* Note that parsing is stopped as soon as one of the iterator calls */
/* returns a non-zero value. */
/* */
/* <Input> */
/* list :: A handle to the list. */
/* iterator :: An iterator function, called on each node of the list. */
/* user :: A user-supplied field that is passed as the second */
/* argument to the iterator. */
/* */
/* <Return> */
/* The result (a FreeType error code) of the last iterator call. */
/* */
FT_EXPORT( FT_Error )
FT_List_Iterate( FT_List list,
FT_List_Iterator iterator,
void* user );
/*************************************************************************/
/* */
/* <FuncType> */
/* FT_List_Destructor */
/* */
/* <Description> */
/* An @FT_List iterator function that is called during a list */
/* finalization by @FT_List_Finalize to destroy all elements in a */
/* given list. */
/* */
/* <Input> */
/* system :: The current system object. */
/* */
/* data :: The current object to destroy. */
/* */
/* user :: A typeless pointer passed to @FT_List_Iterate. It can */
/* be used to point to the iteration's state. */
/* */
typedef void
(*FT_List_Destructor)( FT_Memory memory,
void* data,
void* user );
/*************************************************************************/
/* */
/* <Function> */
/* FT_List_Finalize */
/* */
/* <Description> */
/* Destroy all elements in the list as well as the list itself. */
/* */
/* <Input> */
/* list :: A handle to the list. */
/* */
/* destroy :: A list destructor that will be applied to each element */
/* of the list. Set this to NULL if not needed. */
/* */
/* memory :: The current memory object that handles deallocation. */
/* */
/* user :: A user-supplied field that is passed as the last */
/* argument to the destructor. */
/* */
/* <Note> */
/* This function expects that all nodes added by @FT_List_Add or */
/* @FT_List_Insert have been dynamically allocated. */
/* */
FT_EXPORT( void )
FT_List_Finalize( FT_List list,
FT_List_Destructor destroy,
FT_Memory memory,
void* user );
/* */
FT_END_HEADER
#endif /* FTLIST_H_ */
/* END */
| Java |
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.references :post, index: true
t.integer :author_id
t.string :comment
t.timestamps
end
end
end
| Java |
<?php
namespace TheCodingMachine\Yaco\Discovery;
use Interop\Container\ContainerInterface;
use Interop\Container\Factory\ContainerFactoryInterface;
use Puli\Discovery\Api\Discovery;
use Puli\Discovery\Binding\ClassBinding;
use Symfony\Component\Filesystem\Filesystem;
use TheCodingMachine\Yaco\Compiler;
/**
* A class in charge of instantiating the default Yaco container.
*/
class YacoFactory implements ContainerFactoryInterface
{
/**
* Creates a container.
*
* @param ContainerInterface $rootContainer
* @param Discovery $discovery
*
* @return ContainerInterface
*/
public static function buildContainer(ContainerInterface $rootContainer, Discovery $discovery)
{
$containerFile = self::getContainerFilePath();
if (!file_exists($containerFile)) {
self::compileContainer($discovery);
}
if (!is_readable($containerFile)) {
throw new YacoFactoryNoContainerException('Unable to read file ".yaco/Container.php" at project root.');
}
require_once $containerFile;
return new \TheCodingMachine\Yaco\Container($rootContainer);
}
/**
* Creates the container file from the discovered providers.
*
* @param Discovery $discovery
*/
public static function compileContainer(Discovery $discovery) {
$containerFile = self::getContainerFilePath();
$compiler = new Compiler();
$bindings = $discovery->findBindings('container-interop/DefinitionProviderFactories');
$definitionProviders = [];
$priorities = [];
foreach ($bindings as $binding) {
/* @var $binding ClassBinding */
$definitionProviderFactoryClassName = $binding->getClassName();
// From the factory class name, let's call the buildDefinitionProvider static method to get the definitionProvider.
$definitionProviders[] = call_user_func([ $definitionProviderFactoryClassName, 'buildDefinitionProvider' ], $discovery);
$priorities[] = $binding->getParameterValue('priority');
}
// Sort definition providers according to their priorities.
array_multisort($priorities, $definitionProviders);
foreach ($definitionProviders as $provider) {
$compiler->register($provider);
}
$containerFileContent = $compiler->compile('\\TheCodingMachine\\Yaco\\Container');
$filesystem = new Filesystem();
if (!$filesystem->exists(dirname($containerFile))) {
$filesystem->mkdir(dirname($containerFile));
}
$filesystem->dumpFile($containerFile, $containerFileContent);
$filesystem->chmod($containerFile, 0664);
}
/**
* @return string
*/
public static function getContainerFilePath() {
return __DIR__.'/../../../../.yaco/Container.php';
}
}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>multiplier: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.1 / multiplier - 8.5.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
multiplier
<small>
8.5.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-02-18 14:03:32 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-18 14:03:32 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-ocamlbuild base OCamlbuild binary and libraries distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.9.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.02.3 The OCaml compiler (virtual package)
ocaml-base-compiler 4.02.3 Official 4.02.3 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "matej.kosik@inria.fr"
homepage: "https://github.com/coq-contribs/multiplier"
license: "LGPL 2"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Multiplier"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
tags: [ "keyword:hardware verification" "keyword:circuit" "category:Computer Science/Architecture" "category:Miscellaneous/Extracted Programs/Hardware" ]
authors: [ "Christine Paulin <>" ]
bug-reports: "https://github.com/coq-contribs/multiplier/issues"
dev-repo: "git+https://github.com/coq-contribs/multiplier.git"
synopsis: "Proof of a multiplier circuit"
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/multiplier/archive/v8.5.0.tar.gz"
checksum: "md5=5dff8fca270a7aaf1752a9fa26efbb30"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-multiplier.8.5.0 coq.8.9.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.9.1).
The following dependencies couldn't be met:
- coq-multiplier -> coq < 8.6~ -> ocaml < 4.02.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-multiplier.8.5.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
from django.core import serializers
from rest_framework.response import Response
from django.http import JsonResponse
try:
from urllib import quote_plus # python 2
except:
pass
try:
from urllib.parse import quote_plus # python 3
except:
pass
from django.contrib import messages
from django.contrib.contenttypes.models import ContentType
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.db.models import Q
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.shortcuts import render, get_object_or_404, redirect
from django.utils import timezone
from comments.forms import CommentForm
from comments.models import Comment
from .forms import PostForm
from .models import Post
def post_create(request):
if not request.user.is_staff or not request.user.is_superuser:
raise Http404
form = PostForm(request.POST or None, request.FILES or None)
if form.is_valid():
instance = form.save(commit=False)
instance.user = request.user
instance.save()
# message success
messages.success(request, "Successfully Created")
return HttpResponseRedirect(instance.get_absolute_url())
context = {
"form": form,
}
return render(request, "post_form.html", context)
def post_detail(request, slug=None):
instance = get_object_or_404(Post, slug=slug)
if instance.publish > timezone.now().date() or instance.draft:
if not request.user.is_staff or not request.user.is_superuser:
raise Http404
share_string = quote_plus(instance.content)
initial_data = {
"content_type": instance.get_content_type,
"object_id": instance.id
}
form = CommentForm(request.POST or None, initial=initial_data)
if form.is_valid() and request.user.is_authenticated():
c_type = form.cleaned_data.get("content_type")
content_type = ContentType.objects.get(model=c_type)
obj_id = form.cleaned_data.get('object_id')
content_data = form.cleaned_data.get("content")
parent_obj = None
try:
parent_id = int(request.POST.get("parent_id"))
except:
parent_id = None
if parent_id:
parent_qs = Comment.objects.filter(id=parent_id)
if parent_qs.exists() and parent_qs.count() == 1:
parent_obj = parent_qs.first()
new_comment, created = Comment.objects.get_or_create(
user=request.user,
content_type=content_type,
object_id=obj_id,
content=content_data,
parent=parent_obj,
)
return HttpResponseRedirect(new_comment.content_object.get_absolute_url())
comments = instance.comments
context = {
"title": instance.title,
"instance": instance,
"share_string": share_string,
"comments": comments,
"comment_form": form,
}
return render(request, "post_detail.html", context)
def post_list(request):
today = timezone.now().date()
queryset_list = Post.objects.active() # .order_by("-timestamp")
if request.user.is_staff or request.user.is_superuser:
queryset_list = Post.objects.all()
query = request.GET.get("q")
if query:
queryset_list = queryset_list.filter(
Q(title__icontains=query) |
Q(content__icontains=query) |
Q(user__first_name__icontains=query) |
Q(user__last_name__icontains=query)
).distinct()
paginator = Paginator(queryset_list, 8) # Show 25 contacts per page
page_request_var = "page"
page = request.GET.get(page_request_var)
try:
queryset = paginator.page(page)
except PageNotAnInteger:
# If page is not an integer, deliver first page.
queryset = paginator.page(1)
except EmptyPage:
# If page is out of range (e.g. 9999), deliver last page of results.
queryset = paginator.page(paginator.num_pages)
context = {
"object_list": queryset,
"title": "List",
"page_request_var": page_request_var,
"today": today,
}
return render(request, "post_list.html", context)
def post_update(request, slug=None):
if not request.user.is_staff or not request.user.is_superuser:
raise Http404
instance = get_object_or_404(Post, slug=slug)
form = PostForm(request.POST or None,
request.FILES or None, instance=instance)
if form.is_valid():
instance = form.save(commit=False)
instance.save()
messages.success(request, "<a href='#'>Item</a> Saved",
extra_tags='html_safe')
return HttpResponseRedirect(instance.get_absolute_url())
context = {
"title": instance.title,
"instance": instance,
"form": form,
}
return render(request, "post_form.html", context)
def post_delete(request, slug=None):
if not request.user.is_staff or not request.user.is_superuser:
raise Http404
instance = get_object_or_404(Post, slug=slug)
instance.delete()
messages.success(request, "Successfully deleted")
return redirect("posts:list")
| Java |
/* @flow */
import {
InputTypeComposer,
type ObjectTypeComposerFieldConfigAsObjectDefinition,
} from 'graphql-compose';
import { getTypeName, type CommonOpts, desc } from '../../../utils';
import { getAllAsFieldConfigMap } from '../../Commons/FieldNames';
export function getRangeITC<TContext>(
opts: CommonOpts<TContext>
): InputTypeComposer<TContext> | ObjectTypeComposerFieldConfigAsObjectDefinition<any, any> {
const name = getTypeName('QueryRange', opts);
const description = desc(
`
Matches documents with fields that have terms within a certain range.
[Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html)
`
);
const subName = getTypeName('QueryRangeSettings', opts);
const fields = getAllAsFieldConfigMap(
opts,
opts.getOrCreateITC(subName, () => ({
name: subName,
fields: {
gt: 'JSON',
gte: 'JSON',
lt: 'JSON',
lte: 'JSON',
boost: 'Float',
relation: 'String',
},
}))
);
if (typeof fields === 'object') {
return opts.getOrCreateITC(name, () => ({
name,
description,
fields,
}));
}
return {
type: 'JSON',
description,
};
}
| Java |
<?php
return array (
'id' => 'nokia_c7_00_ver1_subuaold_subu2k9',
'fallback' => 'nokia_c7_00_ver1_subuaold',
'capabilities' =>
array (
'mobile_browser' => 'UCWeb',
'mobile_browser_version' => '9',
),
);
| Java |
---
layout: post
microblog: true
audio:
photo:
date: 2012-07-11 10:06:51 -0600
guid: http://craigmcclellan.micro.blog/2012/07/11/t223085957279264768.html
---
I don't trust any "true story" written by someone with that name. @ Got Books! [t.co/m1PcK3VW](http://t.co/m1PcK3VW)
| Java |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.16/esri/copyright.txt for details.
//>>built
define({lblItem:"\u30a2\u30a4\u30c6\u30e0",title:"\u30b5\u30a4\u30f3 \u30a4\u30f3",info:"{server} {resource} \u306e\u30a2\u30a4\u30c6\u30e0\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u30b5\u30a4\u30f3 \u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044",oAuthInfo:"{server} \u306b\u30b5\u30a4\u30f3 \u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002",lblUser:"\u30e6\u30fc\u30b6\u30fc\u540d:",lblPwd:"\u30d1\u30b9\u30ef\u30fc\u30c9:",lblOk:"OK",lblSigning:"\u30b5\u30a4\u30f3 \u30a4\u30f3\u3057\u3066\u3044\u307e\u3059...",
lblCancel:"\u30ad\u30e3\u30f3\u30bb\u30eb",errorMsg:"\u30e6\u30fc\u30b6\u30fc\u540d\u307e\u305f\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u7121\u52b9\u3067\u3059\u3002\u3082\u3046\u4e00\u5ea6\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002",invalidUser:"\u5165\u529b\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d\u307e\u305f\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",forbidden:"\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u6709\u52b9\u3067\u3059\u304c\u3001\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u3042\u308a\u307e\u305b\u3093\u3002",
noAuthService:"\u8a8d\u8a3c\u30b5\u30fc\u30d3\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002"}); | Java |
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Agregar Servicio</h1>
</div>
<!-- /.col-lg-12 -->
<div class="panel-body">
<div class="row">
<div class="col-lg-9">
<form role="form">
<div class="form-group">
<label>Nombre</label>
<input class="form-control" ng-model="nombre" placeholder="Escribir nombre..." required>
</div>
<div class="form-group">
<label>Descripcion</label>
<input class="form-control" ng-model="descripcion" placeholder="Escribir descripcion...">
</div>
<div class="form-group">
<label>Precio</label>
<input class="form-control" type="number" ng-model="precio" placeholder="Insertar precio..." required>
</div>
<button type="reset" class="btn btn-default">Limpiar</button>
<button type="submit" class="btn btn-default" ng-click="agregarServicio()">Agregar</button>
</form>
</div>
</div>
<!-- /.row (nested) -->
</div>
<!-- /.panel-body -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper --> | Java |
package com.exilegl.ld34.entity.enemy;
import java.util.Random;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.physics.box2d.World;
import com.exilegl.ld34.ai.AiFollowLocation;
import com.exilegl.ld34.entity.Entity;
import com.exilegl.ld34.entity.EntityCoin;
import com.exilegl.ld34.entity.EntityDirection;
import com.exilegl.ld34.entity.EntityPlayer;
import com.exilegl.ld34.map.Map;
import com.exilegl.ld34.sound.Sound;
import com.exilegl.ld34.tile.Tile;
import box2dLight.ChainLight;
import box2dLight.ConeLight;
import box2dLight.PointLight;
public class EntityBullet extends EntityEnemy{
//The bullet's light color
private Color color;
private float distance;
private Vector2 offset;
private float age;
private boolean textured;
private Texture texture;
//Whether or not the bullet kills enemies. If not, it kills non enemies.
private boolean killsEnemies;
private float duration;
private boolean ranged;
public EntityBullet(Vector2 location, Color color, EntityDirection direction, float distance, boolean killsEnemies, float duration, boolean textured, boolean ranged, boolean moveY) {
super(null, location, 10, 10, true);
this.setColor(color);
this.setDistance(distance);
this.offset = new Vector2(0, 0);
float y = (this.getLocation().y);
if(ranged){
Random r = new Random();
if(r.nextBoolean()){
y = (y + 64);
}else{
y = (y - 64);
}
}
if(!moveY){
if(direction == EntityDirection.LEFT){
this.addAction(new AiFollowLocation(this, new Vector2(this.getLocation().x - this.getDistance() * 5, y), this.getSpeed(), false, false));
}else{
this.addAction(new AiFollowLocation(this, new Vector2(this.getLocation().x + this.getDistance() * 5, y), this.getSpeed(), false, false));
}
}else{
if(direction == EntityDirection.LEFT){
this.addAction(new AiFollowLocation(this, new Vector2(this.getLocation().x * 5, y + distance * 3), this.getSpeed(), false, false));
}else{
this.addAction(new AiFollowLocation(this, new Vector2(this.getLocation().x, y - distance * 3), this.getSpeed(), false, false));
}
}
setAge(0);
if(this.isTextured()){
this.setTexture(new Texture(Gdx.files.internal("assets/texture/entity/redbullet.png")));
}
this.setKillsEnemies(killsEnemies);
this.setDuration(duration);
if(textured){
this.setTexture(new Texture(Gdx.files.internal("assets/texture/misc/bullet.png")));
}
this.setTextured(textured);
if(!killsEnemies){
Sound.play(Sound.Enemy_Shoot, 0.5f);
}
this.ranged = ranged;
if(ranged){
this.setDistance(distance * 1.5f);
}
}
@Override
public void update() {
setAge((getAge() + 1 * Gdx.graphics.getDeltaTime()));
if(this.getLight() == null){
this.setLight(new PointLight(this.getMap().getRay(), Map.RAYS, this.getColor(), this.getDistance() / 5, this.getLocation().x, this.getLocation().y));
}
this.flickerLight(20, (int) ((int) getDistance() * 1.5f), (int) getDistance());
this.getLight().setPosition(this.getLocation().x + offset.x, this.getLocation().y + offset.y);
this.setRectangle(new Rectangle(this.getLocation().x, this.getLocation().y, this.getLight().getDistance(), this.getLight().getDistance()));
this.performAi();
if(this.getAge() > this.getDuration()){
this.kill();
}
for(Entity e : this.getMap().getEntities()){
if(this.isKillsEnemies()){
if(e instanceof EntityEnemy && !(e instanceof EntityPlayer) && !(e instanceof EntityBullet) && this.getRectangle().overlaps(e.getRectangle()) && !(e instanceof EntityDeathTile)){
e.kill();
this.kill();
Sound.play(Sound.Kill_Enemy);
}
}else{
try{
if(!(e instanceof EntityEnemy) && !(e instanceof EntityCoin) && this.getRectangle().overlaps(e.getRectangle())){
e.kill();
this.kill();
}
}catch(NullPointerException n){
}
}
if(e instanceof EntityPlayer && this.getRectangle().overlaps(e.getRectangle()) && !this.isKillsEnemies()){
e.kill();
this.kill();
}
}
for(Tile t : this.getMap().getTiles()){
if(t.getType().SOLID){
Rectangle tileRect = new Rectangle(t.getLocation().x, t.getLocation().y, t.getSingleAnimation().getWidth(), t.getSingleAnimation().getHeight());
Rectangle bulletRect = new Rectangle(this.getLocation().x, this.getLocation().y, this.getLight().getDistance(), this.getLight().getDistance());
if(bulletRect.overlaps(tileRect)){
this.kill();
}
}
}
}
@Override
public void draw(SpriteBatch batch){
if(this.isTextured()){
batch.draw(this.getTexture(), this.getLocation().x, this.getLocation().y);
}
}
@Override
public void create(Map map) {
this.setMap(map);
if(isKillsEnemies()){
Vector3 m = new Vector3(Gdx.input.getX(), Gdx.input.getY(), 0);
this.getMap().getCamera().unproject(m);
((AiFollowLocation) this.getActions().get(0)).getDestination().set(m.x, m.y);
}
}
public boolean isTextured() {
return textured;
}
public void setTextured(boolean textured) {
this.textured = textured;
}
public Texture getTexture() {
return texture;
}
public void setTexture(Texture texture) {
this.texture = texture;
}
public float getAge() {
return age;
}
public void setAge(float age) {
this.age = age;
}
public float getDistance() {
return distance;
}
public void setDistance(float distance) {
this.distance = distance;
}
public Color getColor() {
return color;
}
public void setColor(Color color) {
this.color = color;
}
public float getDuration() {
return duration;
}
public void setDuration(float duration) {
this.duration = duration;
}
public boolean isKillsEnemies() {
return killsEnemies;
}
public void setKillsEnemies(boolean killsEnemies) {
this.killsEnemies = killsEnemies;
}
public Vector2 getOffset(){
return this.offset;
}
} | Java |
//
// This file is part of nuBASIC
// Copyright (c) Antonino Calderone (antonino.calderone@gmail.com)
// All rights reserved.
// Licensed under the MIT License.
// See COPYING file in the project root for full license information.
//
/* -------------------------------------------------------------------------- */
#ifndef __NU_STMT_FUNCTION_H__
#define __NU_STMT_FUNCTION_H__
/* -------------------------------------------------------------------------- */
#include "nu_expr_any.h"
#include "nu_prog_ctx.h"
#include "nu_stmt.h"
#include "nu_token_list.h"
#include "nu_var_scope.h"
#include "nu_variable.h"
#include <algorithm>
#include <string>
/* -------------------------------------------------------------------------- */
namespace nu {
/* -------------------------------------------------------------------------- */
class stmt_function_t : public stmt_t {
public:
stmt_function_t() = delete;
stmt_function_t(const stmt_function_t&) = delete;
stmt_function_t& operator=(const stmt_function_t&) = delete;
using vec_size_t = expr_any_t::handle_t;
stmt_function_t(prog_ctx_t& ctx, const std::string& id);
void define(const std::string& var, const std::string& vtype,
vec_size_t vect_size, prog_ctx_t& ctx, const std::string& id);
void define_ret_type(const std::string& type, prog_ctx_t& ctx, size_t array_size) {
auto& fproto = ctx.proc_prototypes.data[_id].second;
fproto.ret_type = type;
fproto.array_size = array_size;
}
stmt_cl_t get_cl() const noexcept override;
void run(rt_prog_ctx_t& ctx) override;
protected:
std::string _id;
std::set<std::string> _vars_rep_check;
};
/* -------------------------------------------------------------------------- */
}
/* -------------------------------------------------------------------------- */
#endif //__NU_STMT_FUNCTION_H__
| Java |
{% extends 'base.html' %}
{% block head %}
<title>Websites</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col s12">
<div class="card">
<div class="card-content #90caf9 blue lighten-3">
<div class="card-title">怒火燎原</div>
<p class="caption">怒火北美、法语、德语三个版本游戏详情</p>
<ul class="collapsible popout collapsible-accordination" data-collapsible="accordion">
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>7.2</div>
<div class="collapsible-body">
<div class="collection">
<a href="http://10.5.201.60/nhly_en_7.2/Main.html" class="collection-item btn-flat waves-effect">北美
<span class="badge">socket: 8272</span><span class="badge">tcp: 8302</span>
</a>
<a href="http://10.5.201.60/nhly_fr_7.2/Main.html" class="collection-item btn-flat waves-effect">法语
<span class="badge">socket: 8772</span><span class="badge">tcp: 8802</span>
</a>
<a href="http://10.5.201.60/nhly_de_7.2/Main.html" class="collection-item btn-flat waves-green">德语
<span class="badge">socket: 8372</span><span class="badge">tcp: 9302</span>
</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>7.3</div>
<div class="collapsible-body">
<div class="collection">
<a href="http://10.5.201.60/nhly_en_7.3/Main.html" class="collection-item">北美</a>
<a href="http://10.5.201.60/nhly_fr_7.3/Main.html" class="collection-item">法语</a>
<a href="http://10.5.201.60/nhly_de_7.3/Main.html" class="collection-item">德语</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>7.4</div>
<div class="collapsible-body">
<div class="collection">
<a href="http://10.5.201.60/nhly_en_7.4/Main.html" class="collection-item">北美</a>
<a href="http://10.5.201.60/nhly_fr_7.4/Main.html" class="collection-item">法语</a>
<a href="http://10.5.201.60/nhly_de_7.4/Main.html" class="collection-item">德语</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>7.5</div>
<div class="collapsible-body">
<div class="collection">
<a href="http://10.5.201.60/nhly_en_7.5/Main.html" class="collection-item">北美</a>
<a href="http://10.5.201.60/nhly_fr_7.5/Main.html" class="collection-item">法语</a>
<a href="http://10.5.201.60/nhly_de_7.5/Main.html" class="collection-item">德语</a>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col s12">
<div class="card">
<div class="card-content #80deea cyan lighten-3">
<span class="card-title">攻城掠地</span>
<p class="caption">攻城国内、越南、泰语、日本四个版本游戏详情</p>
<ul class="collapsible popout collapsible-accordination" data-collapsible="accordion">
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>8.4</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>8.5</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>8.6</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>8.8</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>8.9</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>9.1</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>9.2</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
<li>
<div class="collapsible-header btn-flat"><i class="material-icons">label_outline</i>9.3</div>
<div class="collapsible-body">
<div class="collection">
<a href="" class="collection-item btn-flat">国内</a>
<a href="" class="collection-item btn-flat">越南</a>
<a href="" class="collection-item btn-flat">泰语</a>
<a href="" class="collection-item btn-flat">日本</a>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block scripts %}
<script type="application/javascript">
$(document).ready(function(){
$('.collapsible').collapsible();
});
</script>
{% endblock %} | Java |
import Data.List (permutations, sort)
solve :: String
solve = (sort $ permutations "0123456789") !! 999999
main = putStrLn $ solve
| Java |
import { Component, OnInit, Input } from '@angular/core';
import { ROUTER_DIRECTIVES } from '@angular/router';
import { PublishingItemsService, PublishingItem } from '../shared/index';
@Component({
moduleId: module.id,
selector: 'app-publish-card',
templateUrl: 'publish-card.component.html',
styleUrls: ['publish-card.component.css'],
directives: [ROUTER_DIRECTIVES]
})
export class PublishCardComponent implements OnInit {
@Input() publishingItem: PublishingItem;
constructor(private _publishingItemsService: PublishingItemsService) {}
ngOnInit() {
}
public delete() {
// NOTE: normally we would have to emit an event and notify the container element about
// the deletion but since we are using websockets, the server will send a notification instead.
this._publishingItemsService.delete(this.publishingItem);
}
}
| Java |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Split the input into chunks.
exports.default = (function (input, fail) {
var len = input.length;
var level = 0;
var parenLevel = 0;
var lastOpening;
var lastOpeningParen;
var lastMultiComment;
var lastMultiCommentEndBrace;
var chunks = [];
var emitFrom = 0;
var chunkerCurrentIndex;
var currentChunkStartIndex;
var cc;
var cc2;
var matched;
function emitChunk(force) {
var len = chunkerCurrentIndex - emitFrom;
if (((len < 512) && !force) || !len) {
return;
}
chunks.push(input.slice(emitFrom, chunkerCurrentIndex + 1));
emitFrom = chunkerCurrentIndex + 1;
}
for (chunkerCurrentIndex = 0; chunkerCurrentIndex < len; chunkerCurrentIndex++) {
cc = input.charCodeAt(chunkerCurrentIndex);
if (((cc >= 97) && (cc <= 122)) || (cc < 34)) {
// a-z or whitespace
continue;
}
switch (cc) {
case 40: // (
parenLevel++;
lastOpeningParen = chunkerCurrentIndex;
continue;
case 41: // )
if (--parenLevel < 0) {
return fail('missing opening `(`', chunkerCurrentIndex);
}
continue;
case 59: // ;
if (!parenLevel) {
emitChunk();
}
continue;
case 123: // {
level++;
lastOpening = chunkerCurrentIndex;
continue;
case 125: // }
if (--level < 0) {
return fail('missing opening `{`', chunkerCurrentIndex);
}
if (!level && !parenLevel) {
emitChunk();
}
continue;
case 92: // \
if (chunkerCurrentIndex < len - 1) {
chunkerCurrentIndex++;
continue;
}
return fail('unescaped `\\`', chunkerCurrentIndex);
case 34:
case 39:
case 96: // ", ' and `
matched = 0;
currentChunkStartIndex = chunkerCurrentIndex;
for (chunkerCurrentIndex = chunkerCurrentIndex + 1; chunkerCurrentIndex < len; chunkerCurrentIndex++) {
cc2 = input.charCodeAt(chunkerCurrentIndex);
if (cc2 > 96) {
continue;
}
if (cc2 == cc) {
matched = 1;
break;
}
if (cc2 == 92) { // \
if (chunkerCurrentIndex == len - 1) {
return fail('unescaped `\\`', chunkerCurrentIndex);
}
chunkerCurrentIndex++;
}
}
if (matched) {
continue;
}
return fail("unmatched `" + String.fromCharCode(cc) + "`", currentChunkStartIndex);
case 47: // /, check for comment
if (parenLevel || (chunkerCurrentIndex == len - 1)) {
continue;
}
cc2 = input.charCodeAt(chunkerCurrentIndex + 1);
if (cc2 == 47) {
// //, find lnfeed
for (chunkerCurrentIndex = chunkerCurrentIndex + 2; chunkerCurrentIndex < len; chunkerCurrentIndex++) {
cc2 = input.charCodeAt(chunkerCurrentIndex);
if ((cc2 <= 13) && ((cc2 == 10) || (cc2 == 13))) {
break;
}
}
}
else if (cc2 == 42) {
// /*, find */
lastMultiComment = currentChunkStartIndex = chunkerCurrentIndex;
for (chunkerCurrentIndex = chunkerCurrentIndex + 2; chunkerCurrentIndex < len - 1; chunkerCurrentIndex++) {
cc2 = input.charCodeAt(chunkerCurrentIndex);
if (cc2 == 125) {
lastMultiCommentEndBrace = chunkerCurrentIndex;
}
if (cc2 != 42) {
continue;
}
if (input.charCodeAt(chunkerCurrentIndex + 1) == 47) {
break;
}
}
if (chunkerCurrentIndex == len - 1) {
return fail('missing closing `*/`', currentChunkStartIndex);
}
chunkerCurrentIndex++;
}
continue;
case 42: // *, check for unmatched */
if ((chunkerCurrentIndex < len - 1) && (input.charCodeAt(chunkerCurrentIndex + 1) == 47)) {
return fail('unmatched `/*`', chunkerCurrentIndex);
}
continue;
}
}
if (level !== 0) {
if ((lastMultiComment > lastOpening) && (lastMultiCommentEndBrace > lastMultiComment)) {
return fail('missing closing `}` or `*/`', lastOpening);
}
else {
return fail('missing closing `}`', lastOpening);
}
}
else if (parenLevel !== 0) {
return fail('missing closing `)`', lastOpeningParen);
}
emitChunk(true);
return chunks;
});
//# sourceMappingURL=chunker.js.map | Java |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.IndexedDB
{
/// <summary>
/// Enables events from backend.
/// </summary>
[Command(ProtocolName.IndexedDB.Enable)]
[SupportedBy("Chrome")]
public class EnableCommand: ICommand<EnableCommandResponse>
{
}
}
| Java |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class music_switch : MonoBehaviour {
private AudioSource aud;
public AudioClip[] songs;
private int selection;
// Use this for initialization
void Start () {
aud = this.GetComponent<AudioSource> ();
selection = Random.Range (0, songs.Length);
aud.clip = songs [selection];
}
// Update is called once per frame
void Update () {
if (!aud.isPlaying && aud != null) {
aud.Play ();
}
}
void OnDestroy()
{
Destroy(this);
}
}
| Java |
angular.module("umbraco")
.controller("Umbraco.PropertyEditors.RTEController",
function ($rootScope, $scope, $q, $locale, dialogService, $log, imageHelper, assetsService, $timeout, tinyMceService, angularHelper, stylesheetResource, macroService, editorState) {
$scope.isLoading = true;
//To id the html textarea we need to use the datetime ticks because we can have multiple rte's per a single property alias
// because now we have to support having 2x (maybe more at some stage) content editors being displayed at once. This is because
// we have this mini content editor panel that can be launched with MNTP.
var d = new Date();
var n = d.getTime();
$scope.textAreaHtmlId = $scope.model.alias + "_" + n + "_rte";
function syncContent(editor){
editor.save();
angularHelper.safeApply($scope, function () {
$scope.model.value = editor.getContent();
});
//make the form dirty manually so that the track changes works, setting our model doesn't trigger
// the angular bits because tinymce replaces the textarea.
angularHelper.getCurrentForm($scope).$setDirty();
}
tinyMceService.configuration().then(function (tinyMceConfig) {
//config value from general tinymce.config file
var validElements = tinyMceConfig.validElements;
//These are absolutely required in order for the macros to render inline
//we put these as extended elements because they get merged on top of the normal allowed elements by tiny mce
var extendedValidElements = "@[id|class|style],-div[id|dir|class|align|style],ins[datetime|cite],-ul[class|style],-li[class|style],span[id|class|style]";
var invalidElements = tinyMceConfig.inValidElements;
var plugins = _.map(tinyMceConfig.plugins, function (plugin) {
if (plugin.useOnFrontend) {
return plugin.name;
}
}).join(" ");
var editorConfig = $scope.model.config.editor;
if (!editorConfig || angular.isString(editorConfig)) {
editorConfig = tinyMceService.defaultPrevalues();
}
//config value on the data type
var toolbar = editorConfig.toolbar.join(" | ");
var stylesheets = [];
var styleFormats = [];
var await = [];
if (!editorConfig.maxImageSize && editorConfig.maxImageSize != 0) {
editorConfig.maxImageSize = tinyMceService.defaultPrevalues().maxImageSize;
}
//queue file loading
if (typeof tinymce === "undefined") { // Don't reload tinymce if already loaded
await.push(assetsService.loadJs("lib/tinymce/tinymce.min.js", $scope));
}
//queue rules loading
angular.forEach(editorConfig.stylesheets, function (val, key) {
stylesheets.push(Umbraco.Sys.ServerVariables.umbracoSettings.cssPath + "/" + val + ".css?" + new Date().getTime());
await.push(stylesheetResource.getRulesByName(val).then(function (rules) {
angular.forEach(rules, function (rule) {
var r = {};
r.title = rule.name;
if (rule.selector[0] == ".") {
r.inline = "span";
r.classes = rule.selector.substring(1);
}
else if (rule.selector[0] == "#") {
r.inline = "span";
r.attributes = { id: rule.selector.substring(1) };
}
else if (rule.selector[0] != "." && rule.selector.indexOf(".") > -1) {
var split = rule.selector.split(".");
r.block = split[0];
r.classes = rule.selector.substring(rule.selector.indexOf(".") + 1).replace(".", " ");
}
else if (rule.selector[0] != "#" && rule.selector.indexOf("#") > -1) {
var split = rule.selector.split("#");
r.block = split[0];
r.classes = rule.selector.substring(rule.selector.indexOf("#") + 1);
}
else {
r.block = rule.selector;
}
styleFormats.push(r);
});
}));
});
//stores a reference to the editor
var tinyMceEditor = null;
// these languages are available for localization
var availableLanguages = [
'da',
'de',
'en',
'en_us',
'fi',
'fr',
'he',
'it',
'ja',
'nl',
'no',
'pl',
'pt',
'ru',
'sv',
'zh'
];
//define fallback language
var language = 'en_us';
//get locale from angular and match tinymce format. Angular localization is always in the format of ru-ru, de-de, en-gb, etc.
//wheras tinymce is in the format of ru, de, en, en_us, etc.
var localeId = $locale.id.replace('-', '_');
//try matching the language using full locale format
var languageMatch = _.find(availableLanguages, function(o) { return o === localeId; });
//if no matches, try matching using only the language
if (languageMatch === undefined) {
var localeParts = localeId.split('_');
languageMatch = _.find(availableLanguages, function(o) { return o === localeParts[0]; });
}
//if a match was found - set the language
if (languageMatch !== undefined) {
language = languageMatch;
}
//wait for queue to end
$q.all(await).then(function () {
//create a baseline Config to exten upon
var baseLineConfigObj = {
mode: "exact",
skin: "umbraco",
plugins: plugins,
valid_elements: validElements,
invalid_elements: invalidElements,
extended_valid_elements: extendedValidElements,
menubar: false,
statusbar: false,
relative_urls: false,
height: editorConfig.dimensions.height,
width: editorConfig.dimensions.width,
maxImageSize: editorConfig.maxImageSize,
toolbar: toolbar,
content_css: stylesheets,
style_formats: styleFormats,
language: language,
//see http://archive.tinymce.com/wiki.php/Configuration:cache_suffix
cache_suffix: "?umb__rnd=" + Umbraco.Sys.ServerVariables.application.cacheBuster
};
if (tinyMceConfig.customConfig) {
//if there is some custom config, we need to see if the string value of each item might actually be json and if so, we need to
// convert it to json instead of having it as a string since this is what tinymce requires
for (var i in tinyMceConfig.customConfig) {
var val = tinyMceConfig.customConfig[i];
if (val) {
val = val.toString().trim();
if (val.detectIsJson()) {
try {
tinyMceConfig.customConfig[i] = JSON.parse(val);
//now we need to check if this custom config key is defined in our baseline, if it is we don't want to
//overwrite the baseline config item if it is an array, we want to concat the items in the array, otherwise
//if it's an object it will overwrite the baseline
if (angular.isArray(baseLineConfigObj[i]) && angular.isArray(tinyMceConfig.customConfig[i])) {
//concat it and below this concat'd array will overwrite the baseline in angular.extend
tinyMceConfig.customConfig[i] = baseLineConfigObj[i].concat(tinyMceConfig.customConfig[i]);
}
}
catch (e) {
//cannot parse, we'll just leave it
}
}
if (val === "true") {
tinyMceConfig.customConfig[i] = true;
}
if (val === "false") {
tinyMceConfig.customConfig[i] = false;
}
}
}
angular.extend(baseLineConfigObj, tinyMceConfig.customConfig);
}
//set all the things that user configs should not be able to override
baseLineConfigObj.elements = $scope.textAreaHtmlId; //this is the exact textarea id to replace!
baseLineConfigObj.setup = function (editor) {
//set the reference
tinyMceEditor = editor;
//enable browser based spell checking
editor.on('init', function (e) {
editor.getBody().setAttribute('spellcheck', true);
});
//We need to listen on multiple things here because of the nature of tinymce, it doesn't
//fire events when you think!
//The change event doesn't fire when content changes, only when cursor points are changed and undo points
//are created. the blur event doesn't fire if you insert content into the editor with a button and then
//press save.
//We have a couple of options, one is to do a set timeout and check for isDirty on the editor, or we can
//listen to both change and blur and also on our own 'saving' event. I think this will be best because a
//timer might end up using unwanted cpu and we'd still have to listen to our saving event in case they clicked
//save before the timeout elapsed.
//TODO: We need to re-enable something like this to ensure the track changes is working with tinymce
// so we can detect if the form is dirty or not, Per has some better events to use as this one triggers
// even if you just enter/exit with mouse cursuor which doesn't really mean it's changed.
// see: http://issues.umbraco.org/issue/U4-4485
//var alreadyDirty = false;
//editor.on('change', function (e) {
// angularHelper.safeApply($scope, function () {
// $scope.model.value = editor.getContent();
// if (!alreadyDirty) {
// //make the form dirty manually so that the track changes works, setting our model doesn't trigger
// // the angular bits because tinymce replaces the textarea.
// var currForm = angularHelper.getCurrentForm($scope);
// currForm.$setDirty();
// alreadyDirty = true;
// }
// });
//});
//when we leave the editor (maybe)
editor.on('blur', function (e) {
editor.save();
angularHelper.safeApply($scope, function () {
$scope.model.value = editor.getContent();
});
});
//when buttons modify content
editor.on('ExecCommand', function (e) {
syncContent(editor);
});
// Update model on keypress
editor.on('KeyUp', function (e) {
syncContent(editor);
});
// Update model on change, i.e. copy/pasted text, plugins altering content
editor.on('SetContent', function (e) {
if (!e.initial) {
syncContent(editor);
}
});
editor.on('ObjectResized', function (e) {
var qs = "?width=" + e.width + "&height=" + e.height + "&mode=max";
var srcAttr = $(e.target).attr("src");
var path = srcAttr.split("?")[0];
$(e.target).attr("data-mce-src", path + qs);
syncContent(editor);
});
tinyMceService.createLinkPicker(editor, $scope, function(currentTarget, anchorElement) {
$scope.linkPickerOverlay = {
view: "linkpicker",
currentTarget: currentTarget,
anchors: editorState.current ? tinyMceService.getAnchorNames(JSON.stringify(editorState.current.properties)) : [],
ignoreUserStartNodes: $scope.model.config.ignoreUserStartNodes === "1",
show: true,
submit: function(model) {
tinyMceService.insertLinkInEditor(editor, model.target, anchorElement);
$scope.linkPickerOverlay.show = false;
$scope.linkPickerOverlay = null;
}
};
});
//Create the insert media plugin
tinyMceService.createMediaPicker(editor, $scope, function(currentTarget, userData){
var ignoreUserStartNodes = false;
var startNodeId = userData.startMediaIds.length !== 1 ? -1 : userData.startMediaIds[0];
var startNodeIsVirtual = userData.startMediaIds.length !== 1;
if ($scope.model.config.ignoreUserStartNodes === "1") {
ignoreUserStartNodes = true;
startNodeId = -1;
startNodeIsVirtual = true;
}
$scope.mediaPickerOverlay = {
currentTarget: currentTarget,
onlyImages: true,
showDetails: true,
disableFolderSelect: true,
startNodeId: startNodeId,
startNodeIsVirtual: startNodeIsVirtual,
ignoreUserStartNodes: ignoreUserStartNodes,
view: "mediapicker",
show: true,
submit: function(model) {
tinyMceService.insertMediaInEditor(editor, model.selectedImages[0]);
$scope.mediaPickerOverlay.show = false;
$scope.mediaPickerOverlay = null;
}
};
});
//Create the embedded plugin
tinyMceService.createInsertEmbeddedMedia(editor, $scope, function() {
$scope.embedOverlay = {
view: "embed",
show: true,
submit: function(model) {
tinyMceService.insertEmbeddedMediaInEditor(editor, model.embed.preview);
$scope.embedOverlay.show = false;
$scope.embedOverlay = null;
}
};
});
//Create the insert macro plugin
tinyMceService.createInsertMacro(editor, $scope, function(dialogData) {
$scope.macroPickerOverlay = {
view: "macropicker",
dialogData: dialogData,
show: true,
submit: function(model) {
var macroObject = macroService.collectValueData(model.selectedMacro, model.macroParams, dialogData.renderingEngine);
tinyMceService.insertMacroInEditor(editor, macroObject, $scope);
$scope.macroPickerOverlay.show = false;
$scope.macroPickerOverlay = null;
}
};
});
};
/** Loads in the editor */
function loadTinyMce() {
//we need to add a timeout here, to force a redraw so TinyMCE can find
//the elements needed
$timeout(function () {
tinymce.DOM.events.domLoaded = true;
tinymce.init(baseLineConfigObj);
$scope.isLoading = false;
}, 200, false);
}
loadTinyMce();
//here we declare a special method which will be called whenever the value has changed from the server
//this is instead of doing a watch on the model.value = faster
$scope.model.onValueChanged = function (newVal, oldVal) {
//update the display val again if it has changed from the server;
//uses an empty string in the editor when the value is null
tinyMceEditor.setContent(newVal || "", { format: 'raw' });
//we need to manually fire this event since it is only ever fired based on loading from the DOM, this
// is required for our plugins listening to this event to execute
tinyMceEditor.fire('LoadContent', null);
};
//listen for formSubmitting event (the result is callback used to remove the event subscription)
var unsubscribe = $scope.$on("formSubmitting", function () {
//TODO: Here we should parse out the macro rendered content so we can save on a lot of bytes in data xfer
// we do parse it out on the server side but would be nice to do that on the client side before as well.
if (tinyMceEditor !== undefined && tinyMceEditor != null && !$scope.isLoading) {
$scope.model.value = tinyMceEditor.getContent();
}
});
//when the element is disposed we need to unsubscribe!
// NOTE: this is very important otherwise if this is part of a modal, the listener still exists because the dom
// element might still be there even after the modal has been hidden.
$scope.$on('$destroy', function () {
unsubscribe();
if (tinyMceEditor !== undefined && tinyMceEditor != null) {
tinyMceEditor.destroy();
}
});
});
});
});
| Java |
from ..cw_model import CWModel
class Order(CWModel):
def __init__(self, json_dict=None):
self.id = None # (Integer)
self.company = None # *(CompanyReference)
self.contact = None # (ContactReference)
self.phone = None # (String)
self.phoneExt = None # (String)
self.email = None # (String)
self.site = None # (SiteReference)
self.status = None # *(OrderStatusReference)
self.opportunity = None # (OpportunityReference)
self.orderDate = None # (String)
self.dueDate = None # (String)
self.billingTerms = None # (BillingTermsReference)
self.taxCode = None # (TaxCodeReference)
self.poNumber = None # (String(50))
self.locationId = None # (Integer)
self.businessUnitId = None # (Integer)
self.salesRep = None # *(MemberReference)
self.notes = None # (String)
self.billClosedFlag = None # (Boolean)
self.billShippedFlag = None # (Boolean)
self.restrictDownpaymentFlag = None # (Boolean)
self.description = None # (String)
self.topCommentFlag = None # (Boolean)
self.bottomCommentFlag = None # (Boolean)
self.shipToCompany = None # (CompanyReference)
self.shipToContact = None # (ContactReference)
self.shipToSite = None # (SiteReference)
self.billToCompany = None # (CompanyReference)
self.billToContact = None # (ContactReference)
self.billToSite = None # (SiteReference)
self.productIds = None # (Integer[])
self.documentIds = None # (Integer[])
self.invoiceIds = None # (Integer[])
self.configIds = None # (Integer[])
self.total = None # (Number)
self.taxTotal = None # (Number)
self._info = None # (Metadata)
# initialize object with json dict
super().__init__(json_dict)
| Java |
package adts;
/**
* Interface that represents any music item. MusicSymbol and MusicPart extend
* this. Thus, a Music could be a MusicPiece, a Voice, a Chord, a Lyric, a
* Pitch, or a Rest. a The objects are immutable. The equals, toString, and
* hashCode methods work recursively and individually different from each class
* extending Music. Read their documentation for full specs.
*
**/
/*
* Representation Music = MusicPiece(signature: Signature, voices: List<Voice>)
* + Measure(notes: List<MusicSymbol>, lyrics: Lyric) + Voice(name: String,
* measures: List<Measure>) + Chord(notes: List<Pitch>)+ + Lyric(syllables:
* List<String>) + Pitch(value: string, octave: int, length: int) + Rest(length:
* int)
*/
public interface Music {
/**
* Calculates the required number of ticks per beat, so that each note can
* be represented as an integer number of ticks.
*
* @return integer representing number of ticks per beat.
*/
public int calculateTicksPerBeat();
/**
* Tests the equality of one music to to another, such that two expressions
* with equal attributes (observationally indistinguishable) are considered
* equal
*
* @param _that
* music to compare to
* @return whether or not the two musics are equal
*/
@Override
public boolean equals(Object _that);
/**
* Returns the string representation of the music
*
* @returns the music as a string
*/
@Override
public String toString();
/**
* Calculates the hashcode for this music. HashCode for two equal musics
* will be identical.
*
* @return the hashcode for the music
*/
@Override
public int hashCode();
}
| Java |
class ApplicationPolicy
attr_reader :user, :record
def initialize(user, record)
@user = user
@record = record
end
class Scope
attr_reader :user, :scope
def initialize(user, scope)
@user = user
@scope = scope
end
end
end
| Java |
'use strict';
var isA = require("Espresso/oop").isA;
var oop = require("Espresso/oop").oop;
var init = require("Espresso/oop").init;
var trim = require("Espresso/trim").trim;
var isA = require("Espresso/oop").isA;
var oop = require("Espresso/oop").oop;
function RequestInterface(){
oop(this,"Espresso/Http/RequestInterface");
}
module.exports = RequestInterface;
| Java |
#ifndef __BK_MESH_SAMPLING_H__
#define __BK_MESH_SAMPLING_H__
// blackhart headers.
#include "foundation\BkExport.h"
#include "foundation\BkAtomicDataType.h"
// Forward declarations.
struct BkPoint3;
// ~~~~~ Dcl(PUBLIC) ~~~~~
/*! \brief Samples a list of triangles.
*
* \param vertices The vertices of each triangles. Must be sorted.
* \param number_of_geoms The number of triangles.
* \param number_of_points The number of points to sample.
*/
extern BK_API void BkMeshSampling_Sample(struct BkPoint3 const* vertices, size_t const number_of_geoms, size_t const number_of_points);
#endif
| Java |
namespace AnimalLookupWebservice.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
public ModelDescription KeyModelDescription { get; set; }
public ModelDescription ValueModelDescription { get; set; }
}
} | Java |
module.exports = function(dataUri, maxDimension, callback){
var source = new Image();
source.addEventListener('load', function(){
var canvas = document.createElement('canvas'),
ratio = Math.max(source.width, source.height) / maxDimension;
canvas.width = source.width / ratio;
canvas.height = source.height / ratio;
var context = canvas.getContext('2d');
context.drawImage(
source,
0,
0,
source.width,
source.height,
0,
0,
canvas.width,
canvas.height
);
callback(null, canvas.toDataURL());
});
source.src = dataUri;
}; | Java |
#!/bin/bash
# if config file doesnt exist (wont exist until user changes a setting) then copy default config file
if [[ ! -f /config/core.conf ]]; then
echo "[info] Deluge config file doesn't exist, copying default..."
cp /home/nobody/deluge/core.conf /config/
else
echo "[info] Deluge config file already exists, skipping copy"
fi
echo "[info] Starting Deluge daemon..."
/usr/bin/deluged -d -c /config -L info -l /config/deluged.log | Java |
</script> <!--script end-->
</body> <!--body end-->
</html> <!--html end-->
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kiwi.Renderers.CanvasRenderer - Kiwi.js</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
<link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
<script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">
<div id="doc">
<div id="hd" class="yui3-g header">
<div class="yui3-u-3-4">
<h1><img src="../assets/css/logo.png" title="Kiwi.js"></h1>
</div>
<div class="yui3-u-1-4 version">
<em>API Docs for: 1.1.1</em>
</div>
</div>
<div id="bd" class="yui3-g">
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
<li><a href="#api-modules">Modules</a></li>
</ul>
<div id="api-tabview-filter">
<input type="search" id="api-filter" placeholder="Type to filter APIs">
</div>
<div id="api-tabview-panel">
<ul id="api-classes" class="apis classes">
<li><a href="../classes/Kiwi.Animations.Animation.html">Kiwi.Animations.Animation</a></li>
<li><a href="../classes/Kiwi.Animations.Sequence.html">Kiwi.Animations.Sequence</a></li>
<li><a href="../classes/Kiwi.Animations.Tween.html">Kiwi.Animations.Tween</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Back.html">Kiwi.Animations.Tweens.Easing.Back</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Bounce.html">Kiwi.Animations.Tweens.Easing.Bounce</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Circular.html">Kiwi.Animations.Tweens.Easing.Circular</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Cubic.html">Kiwi.Animations.Tweens.Easing.Cubic</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Elastic.html">Kiwi.Animations.Tweens.Easing.Elastic</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Exponential.html">Kiwi.Animations.Tweens.Easing.Exponential</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Linear.html">Kiwi.Animations.Tweens.Easing.Linear</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Quadratic.html">Kiwi.Animations.Tweens.Easing.Quadratic</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Quartic.html">Kiwi.Animations.Tweens.Easing.Quartic</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Quintic.html">Kiwi.Animations.Tweens.Easing.Quintic</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.Easing.Sinusoidal.html">Kiwi.Animations.Tweens.Easing.Sinusoidal</a></li>
<li><a href="../classes/Kiwi.Animations.Tweens.TweenManager.html">Kiwi.Animations.Tweens.TweenManager</a></li>
<li><a href="../classes/Kiwi.Camera.html">Kiwi.Camera</a></li>
<li><a href="../classes/Kiwi.CameraManager.html">Kiwi.CameraManager</a></li>
<li><a href="../classes/Kiwi.Component.html">Kiwi.Component</a></li>
<li><a href="../classes/Kiwi.ComponentManager.html">Kiwi.ComponentManager</a></li>
<li><a href="../classes/Kiwi.Components.AnimationManager.html">Kiwi.Components.AnimationManager</a></li>
<li><a href="../classes/Kiwi.Components.ArcadePhysics.html">Kiwi.Components.ArcadePhysics</a></li>
<li><a href="../classes/Kiwi.Components.Box.html">Kiwi.Components.Box</a></li>
<li><a href="../classes/Kiwi.Components.Input.html">Kiwi.Components.Input</a></li>
<li><a href="../classes/Kiwi.Components.Sound.html">Kiwi.Components.Sound</a></li>
<li><a href="../classes/Kiwi.Entity.html">Kiwi.Entity</a></li>
<li><a href="../classes/Kiwi.Files.DataLibrary.html">Kiwi.Files.DataLibrary</a></li>
<li><a href="../classes/Kiwi.Files.File.html">Kiwi.Files.File</a></li>
<li><a href="../classes/Kiwi.Files.FileStore.html">Kiwi.Files.FileStore</a></li>
<li><a href="../classes/Kiwi.Files.Loader.html">Kiwi.Files.Loader</a></li>
<li><a href="../classes/Kiwi.Game.html">Kiwi.Game</a></li>
<li><a href="../classes/Kiwi.GameManager.html">Kiwi.GameManager</a></li>
<li><a href="../classes/Kiwi.GameObjects.Sprite.html">Kiwi.GameObjects.Sprite</a></li>
<li><a href="../classes/Kiwi.GameObjects.StaticImage.html">Kiwi.GameObjects.StaticImage</a></li>
<li><a href="../classes/Kiwi.GameObjects.Textfield.html">Kiwi.GameObjects.Textfield</a></li>
<li><a href="../classes/Kiwi.GameObjects.Tilemap.TileMap.html">Kiwi.GameObjects.Tilemap.TileMap</a></li>
<li><a href="../classes/Kiwi.GameObjects.Tilemap.TileMapLayer.html">Kiwi.GameObjects.Tilemap.TileMapLayer</a></li>
<li><a href="../classes/Kiwi.GameObjects.Tilemap.TileType.html">Kiwi.GameObjects.Tilemap.TileType</a></li>
<li><a href="../classes/Kiwi.Geom.AABB.html">Kiwi.Geom.AABB</a></li>
<li><a href="../classes/Kiwi.Geom.Circle.html">Kiwi.Geom.Circle</a></li>
<li><a href="../classes/Kiwi.Geom.Intersect.html">Kiwi.Geom.Intersect</a></li>
<li><a href="../classes/Kiwi.Geom.IntersectResult.html">Kiwi.Geom.IntersectResult</a></li>
<li><a href="../classes/Kiwi.Geom.Line.html">Kiwi.Geom.Line</a></li>
<li><a href="../classes/Kiwi.Geom.Matrix.html">Kiwi.Geom.Matrix</a></li>
<li><a href="../classes/Kiwi.Geom.Point.html">Kiwi.Geom.Point</a></li>
<li><a href="../classes/Kiwi.Geom.Ray.html">Kiwi.Geom.Ray</a></li>
<li><a href="../classes/Kiwi.Geom.Rectangle.html">Kiwi.Geom.Rectangle</a></li>
<li><a href="../classes/Kiwi.Geom.Transform.html">Kiwi.Geom.Transform</a></li>
<li><a href="../classes/Kiwi.Geom.Vector2.html">Kiwi.Geom.Vector2</a></li>
<li><a href="../classes/Kiwi.Group.html">Kiwi.Group</a></li>
<li><a href="../classes/Kiwi.HUD.HUDComponents.Counter.html">Kiwi.HUD.HUDComponents.Counter</a></li>
<li><a href="../classes/Kiwi.HUD.HUDComponents.Time.html">Kiwi.HUD.HUDComponents.Time</a></li>
<li><a href="../classes/Kiwi.HUD.HUDComponents.WidgetInput.html">Kiwi.HUD.HUDComponents.WidgetInput</a></li>
<li><a href="../classes/Kiwi.HUD.HUDDisplay.html">Kiwi.HUD.HUDDisplay</a></li>
<li><a href="../classes/Kiwi.HUD.HUDManager.html">Kiwi.HUD.HUDManager</a></li>
<li><a href="../classes/Kiwi.HUD.HUDWidget.html">Kiwi.HUD.HUDWidget</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.Bar.html">Kiwi.HUD.Widget.Bar</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.BasicScore.html">Kiwi.HUD.Widget.BasicScore</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.Button.html">Kiwi.HUD.Widget.Button</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.Icon.html">Kiwi.HUD.Widget.Icon</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.IconBar.html">Kiwi.HUD.Widget.IconBar</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.Menu.html">Kiwi.HUD.Widget.Menu</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.MenuItem.html">Kiwi.HUD.Widget.MenuItem</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.TextField.html">Kiwi.HUD.Widget.TextField</a></li>
<li><a href="../classes/Kiwi.HUD.Widget.Time.html">Kiwi.HUD.Widget.Time</a></li>
<li><a href="../classes/Kiwi.IChild.html">Kiwi.IChild</a></li>
<li><a href="../classes/Kiwi.Input.Finger.html">Kiwi.Input.Finger</a></li>
<li><a href="../classes/Kiwi.Input.InputManager.html">Kiwi.Input.InputManager</a></li>
<li><a href="../classes/Kiwi.Input.Key.html">Kiwi.Input.Key</a></li>
<li><a href="../classes/Kiwi.Input.Keyboard.html">Kiwi.Input.Keyboard</a></li>
<li><a href="../classes/Kiwi.Input.Keycodes.html">Kiwi.Input.Keycodes</a></li>
<li><a href="../classes/Kiwi.Input.Mouse.html">Kiwi.Input.Mouse</a></li>
<li><a href="../classes/Kiwi.Input.MouseCursor.html">Kiwi.Input.MouseCursor</a></li>
<li><a href="../classes/Kiwi.Input.Pointer.html">Kiwi.Input.Pointer</a></li>
<li><a href="../classes/Kiwi.Input.Touch.html">Kiwi.Input.Touch</a></li>
<li><a href="../classes/Kiwi.PluginManager.html">Kiwi.PluginManager</a></li>
<li><a href="../classes/Kiwi.Renderers.CanvasRenderer.html">Kiwi.Renderers.CanvasRenderer</a></li>
<li><a href="../classes/Kiwi.Renderers.GLArrayBuffer.html">Kiwi.Renderers.GLArrayBuffer</a></li>
<li><a href="../classes/Kiwi.Renderers.GLBlendMode.html">Kiwi.Renderers.GLBlendMode</a></li>
<li><a href="../classes/Kiwi.Renderers.GLElementArrayBuffer.html">Kiwi.Renderers.GLElementArrayBuffer</a></li>
<li><a href="../classes/Kiwi.Renderers.GLRenderManager.html">Kiwi.Renderers.GLRenderManager</a></li>
<li><a href="../classes/Kiwi.Renderers.GLTextureManager.html">Kiwi.Renderers.GLTextureManager</a></li>
<li><a href="../classes/Kiwi.Renderers.GLTextureWrapper.html">Kiwi.Renderers.GLTextureWrapper</a></li>
<li><a href="../classes/Kiwi.Renderers.Renderer.html">Kiwi.Renderers.Renderer</a></li>
<li><a href="../classes/Kiwi.Renderers.TextureAtlasRenderer.html">Kiwi.Renderers.TextureAtlasRenderer</a></li>
<li><a href="../classes/Kiwi.Shaders.ShaderManager.html">Kiwi.Shaders.ShaderManager</a></li>
<li><a href="../classes/Kiwi.Shaders.ShaderPair.html">Kiwi.Shaders.ShaderPair</a></li>
<li><a href="../classes/Kiwi.Shaders.TextureAtlasShader.html">Kiwi.Shaders.TextureAtlasShader</a></li>
<li><a href="../classes/Kiwi.Signal.html">Kiwi.Signal</a></li>
<li><a href="../classes/Kiwi.SignalBinding.html">Kiwi.SignalBinding</a></li>
<li><a href="../classes/Kiwi.Sound.Audio.html">Kiwi.Sound.Audio</a></li>
<li><a href="../classes/Kiwi.Sound.AudioLibrary.html">Kiwi.Sound.AudioLibrary</a></li>
<li><a href="../classes/Kiwi.Sound.AudioManager.html">Kiwi.Sound.AudioManager</a></li>
<li><a href="../classes/Kiwi.Stage.html">Kiwi.Stage</a></li>
<li><a href="../classes/Kiwi.State.html">Kiwi.State</a></li>
<li><a href="../classes/Kiwi.StateConfig.html">Kiwi.StateConfig</a></li>
<li><a href="../classes/Kiwi.StateManager.html">Kiwi.StateManager</a></li>
<li><a href="../classes/Kiwi.System.Bootstrap.html">Kiwi.System.Bootstrap</a></li>
<li><a href="../classes/Kiwi.System.Device.html">Kiwi.System.Device</a></li>
<li><a href="../classes/Kiwi.Textures.SingleImage.html">Kiwi.Textures.SingleImage</a></li>
<li><a href="../classes/Kiwi.Textures.SpriteSheet.html">Kiwi.Textures.SpriteSheet</a></li>
<li><a href="../classes/Kiwi.Textures.TextureAtlas.html">Kiwi.Textures.TextureAtlas</a></li>
<li><a href="../classes/Kiwi.Textures.TextureLibrary.html">Kiwi.Textures.TextureLibrary</a></li>
<li><a href="../classes/Kiwi.Time.Clock.html">Kiwi.Time.Clock</a></li>
<li><a href="../classes/Kiwi.Time.ClockManager.html">Kiwi.Time.ClockManager</a></li>
<li><a href="../classes/Kiwi.Time.MasterClock.html">Kiwi.Time.MasterClock</a></li>
<li><a href="../classes/Kiwi.Time.Timer.html">Kiwi.Time.Timer</a></li>
<li><a href="../classes/Kiwi.Time.TimerEvent.html">Kiwi.Time.TimerEvent</a></li>
<li><a href="../classes/Kiwi.Utils.Canvas.html">Kiwi.Utils.Canvas</a></li>
<li><a href="../classes/Kiwi.Utils.Common.html">Kiwi.Utils.Common</a></li>
<li><a href="../classes/Kiwi.Utils.GameMath.html">Kiwi.Utils.GameMath</a></li>
<li><a href="../classes/Kiwi.Utils.RandomDataGenerator.html">Kiwi.Utils.RandomDataGenerator</a></li>
<li><a href="../classes/Kiwi.Utils.RequestAnimationFrame.html">Kiwi.Utils.RequestAnimationFrame</a></li>
<li><a href="../classes/Kiwi.Utils.Version.html">Kiwi.Utils.Version</a></li>
</ul>
<ul id="api-modules" class="apis modules">
<li><a href="../modules/Animations.html">Animations</a></li>
<li><a href="../modules/Components.html">Components</a></li>
<li><a href="../modules/Easing.html">Easing</a></li>
<li><a href="../modules/Files.html">Files</a></li>
<li><a href="../modules/GameObjects.html">GameObjects</a></li>
<li><a href="../modules/Geom.html">Geom</a></li>
<li><a href="../modules/HUD.html">HUD</a></li>
<li><a href="../modules/HUDComponents.html">HUDComponents</a></li>
<li><a href="../modules/Input.html">Input</a></li>
<li><a href="../modules/Kiwi.html">Kiwi</a></li>
<li><a href="../modules/Renderers.html">Renderers</a></li>
<li><a href="../modules/Shaders.html">Shaders</a></li>
<li><a href="../modules/Sound.html">Sound</a></li>
<li><a href="../modules/System.html">System</a></li>
<li><a href="../modules/Textures.html">Textures</a></li>
<li><a href="../modules/Tilemap.html">Tilemap</a></li>
<li><a href="../modules/Time.html">Time</a></li>
<li><a href="../modules/Tweens.html">Tweens</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="../modules/Widget.html">Widget</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="yui3-u-3-4">
<div id="api-options">
Show:
<label for="api-show-inherited">
<input type="checkbox" id="api-show-inherited" checked>
Inherited
</label>
<label for="api-show-protected">
<input type="checkbox" id="api-show-protected">
Protected
</label>
<label for="api-show-private">
<input type="checkbox" id="api-show-private">
Private
</label>
<label for="api-show-deprecated">
<input type="checkbox" id="api-show-deprecated">
Deprecated
</label>
</div>
<div class="apidocs">
<div id="docs-main">
<div class="content">
<h1>Kiwi.Renderers.CanvasRenderer Class</h1>
<div class="box meta">
<div class="foundat">
Defined in: <a href="../files/src_render_CanvasRenderer.ts.html#l25"><code>src\render\CanvasRenderer.ts:25</code></a>
</div>
Module: <a href="../modules/Renderers.html">Renderers</a><br>
Parent Module: <a href="../modules/Kiwi.html">Kiwi</a>
</div>
<div class="box intro">
</div>
<div class="constructor">
<h2>Constructor</h2>
<div id="method_Kiwi.Renderers.CanvasRenderer" class="method item">
<h3 class="name"><code>Kiwi.Renderers.CanvasRenderer</code></h3>
<div class="args">
<span class="paren">(</span><ul class="args-list inline commas">
<li class="arg">
<code>game</code>
</li>
</ul><span class="paren">)</span>
</div>
<span class="returns-inline">
<span class="type">Kiwi.Renderes.CanvasRenderer</span>
</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l25"><code>src\render\CanvasRenderer.ts:25</code></a>
</p>
</div>
<div class="description">
</div>
<div class="params">
<h4>Parameters:</h4>
<ul class="params-list">
<li class="param">
<code class="param-name">game</code>
<span class="type"><a href="..\classes\Kiwi.Game.html" class="crosslink">Kiwi.Game</a></span>
<div class="param-description">
<p>The game that this canvas renderer belongs to.</p>
</div>
</li>
</ul>
</div>
<div class="returns">
<h4>Returns:</h4>
<div class="returns-description">
<span class="type">Kiwi.Renderes.CanvasRenderer</span>:
</div>
</div>
</div>
</div>
<div id="classdocs" class="tabview">
<ul class="api-class-tabs">
<li class="api-class-tab index"><a href="#index">Index</a></li>
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
</ul>
<div>
<div id="index" class="api-class-tabpanel index">
<h2 class="off-left">Item Index</h2>
<div class="index-section methods">
<h3>Methods</h3>
<ul class="index-list methods">
<li class="index-item method private">
<a href="#method__recurse">_recurse</a>
</li>
<li class="index-item method public">
<a href="#method_boot">boot</a>
</li>
<li class="index-item method public">
<a href="#method_objType">objType</a>
</li>
<li class="index-item method public">
<a href="#method_render">render</a>
</li>
</ul>
</div>
<div class="index-section properties">
<h3>Properties</h3>
<ul class="index-list properties">
<li class="index-item property private">
<a href="#property__currentCamera">_currentCamera</a>
</li>
<li class="index-item property private">
<a href="#property__game">_game</a>
</li>
</ul>
</div>
</div>
<div id="methods" class="api-class-tabpanel">
<h2 class="off-left">Methods</h2>
<div id="method__recurse" class="method item private">
<h3 class="name"><code>_recurse</code></h3>
<div class="args">
<span class="paren">(</span><ul class="args-list inline commas">
<li class="arg">
<code>child</code>
</li>
</ul><span class="paren">)</span>
</div>
<span class="flag private">private</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l75"><code>src\render\CanvasRenderer.ts:75</code></a>
</p>
</div>
<div class="description">
<p>This method recursively goes through a State's members and runs the render method of each member that is a Entity.
If it is a Group then this method recursively goes through that Groups members the process that happened to the State's members happens to the Group's members.</p>
</div>
<div class="params">
<h4>Parameters:</h4>
<ul class="params-list">
<li class="param">
<code class="param-name">child</code>
<span class="type">Object</span>
<div class="param-description">
<p>The child that is being checked.</p>
</div>
</li>
</ul>
</div>
</div>
<div id="method_boot" class="method item public">
<h3 class="name"><code>boot</code></h3>
<span class="paren">()</span>
<span class="flag public">public</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l40"><code>src\render\CanvasRenderer.ts:40</code></a>
</p>
</div>
<div class="description">
<p>The boot method is executed when all of the DOM elements that are needed to play the game are ready.</p>
</div>
</div>
<div id="method_objType" class="method item public">
<h3 class="name"><code>objType</code></h3>
<span class="paren">()</span>
<span class="returns-inline">
<span class="type">String</span>
</span>
<span class="flag public">public</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l49"><code>src\render\CanvasRenderer.ts:49</code></a>
</p>
</div>
<div class="description">
<p>Returns the type of object that this is.</p>
</div>
<div class="returns">
<h4>Returns:</h4>
<div class="returns-description">
<span class="type">String</span>:
</div>
</div>
</div>
<div id="method_render" class="method item public">
<h3 class="name"><code>render</code></h3>
<div class="args">
<span class="paren">(</span><ul class="args-list inline commas">
<li class="arg">
<code>camera</code>
</li>
</ul><span class="paren">)</span>
</div>
<span class="flag public">public</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l118"><code>src\render\CanvasRenderer.ts:118</code></a>
</p>
</div>
<div class="description">
<p>Renders all of the Elements that are on a particular camera.</p>
</div>
<div class="params">
<h4>Parameters:</h4>
<ul class="params-list">
<li class="param">
<code class="param-name">camera</code>
<span class="type"><a href="..\classes\Kiwi.Camera.html" class="crosslink">Kiwi.Camera</a></span>
<div class="param-description">
</div>
</li>
</ul>
</div>
</div>
</div>
<div id="properties" class="api-class-tabpanel">
<h2 class="off-left">Properties</h2>
<div id="property__currentCamera" class="property item private">
<h3 class="name"><code>_currentCamera</code></h3>
<span class="type"><a href="..\classes\Kiwi.Camera.html" class="crosslink">Kiwi.Camera</a></span>
<span class="flag private">private</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l67"><code>src\render\CanvasRenderer.ts:67</code></a>
</p>
</div>
<div class="description">
<p>The camera that is currently being used to render upon.</p>
</div>
</div>
<div id="property__game" class="property item private">
<h3 class="name"><code>_game</code></h3>
<span class="type"><a href="..\classes\Kiwi.Game.html" class="crosslink">Kiwi.Game</a></span>
<span class="flag private">private</span>
<div class="meta">
<p>
Defined in
<a href="../files/src_render_CanvasRenderer.ts.html#l59"><code>src\render\CanvasRenderer.ts:59</code></a>
</p>
</div>
<div class="description">
<p>The game that this object belongs to.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
| Java |
// @flow
import React from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import Middleware from './Middleware';
type Base = {
href?: string,
target?: string,
};
type Link = {
crossOrigin?: string,
href?: string,
hrefLang?: string,
integrity?: string,
media?: string,
preload?: boolean,
prefetch?: boolean,
rel?: string,
sizes?: string,
title?: string,
type?: string,
};
type Meta = { content?: string, httpEquiv?: string, charSet?: string, name?: string };
type Script = {
async?: boolean,
crossOrigin?: string,
defer?: boolean,
integrity?: string,
script?: string,
src?: string,
type?: string,
};
type Stylesheet = { href?: string, media?: string, rel?: string };
type Head = {
base?: Base,
meta?: Array<Meta>,
links?: Array<Link>,
scripts?: Array<Script>,
stylesheets?: Array<Stylesheet>,
title?: string,
};
type Result = {
body?: string,
containerId?: string,
head?: Head,
lang?: string,
scripts?: Array<Script>,
status?: number,
stylesheets?: Array<Stylesheet>,
};
export type Props = {
render: (context: *) => Promise<Result> | Result,
};
export function renderHead(head: Head, additionalStylesheets?: Array<Stylesheet> = []): string {
const metaTags = head.meta || [];
const links = head.links || [];
const scripts = head.scripts || [];
const stylesheets = [...(head.stylesheets || []), ...additionalStylesheets];
return renderToStaticMarkup(
<head>
{head.base && <base {...head.base} />}
{metaTags.map((tag, i) => <meta key={i} {...tag} />)}
<title>
{head.title}
</title>
{links.map((linkAttrs, i) => <link key={i} {...linkAttrs} />)}
{stylesheets.map((stylesheetAttrs, i) =>
<link key={`s-${i}`} {...stylesheetAttrs} rel={stylesheetAttrs.rel || 'stylesheet'} />,
)}
{scripts.map((scriptAttrs, i) =>
<script
key={`scr-${i}`}
{...scriptAttrs}
dangerouslySetInnerHTML={{ __html: scriptAttrs.script }}
/>,
)}
</head>,
);
}
export function renderFooter(scripts?: Array<Script> = []): string {
return renderToStaticMarkup(
<footer>
{scripts.map((scriptAttrs, i) =>
<script
key={`fscr-${i}`}
{...scriptAttrs}
dangerouslySetInnerHTML={{ __html: scriptAttrs.script }}
/>,
)}
</footer>,
).replace(/<(\/)?footer>/g, '');
}
export default function RenderApp({ render }: Props) {
return (
<Middleware
use={async ctx => {
const {
body = '',
containerId = 'app',
lang = 'en',
head = {},
scripts = [],
status,
stylesheets = [],
} = await render(ctx);
ctx.status = status || 200;
ctx.body = `
<html lang="${lang}">
${renderHead(head, stylesheets)}
<body>
<div id="${containerId}">${body}</div>
${renderFooter(scripts)}
</body>
</html>
`.trim();
}}
/>
);
}
| Java |
-- randexpr1.test
--
-- db eval {SELECT (case coalesce((select +a from t1 where exists(select 1 from t1 where t1.e not between t1.f-b and (select count(*) from t1)-t1.f | e)),t1.d+case when t1.b not between t1.d and 17+case when a in (t1.d,a,(abs(~case when (t1.f)<=t1.c then -17 else t1.f end)/abs(19))*d*t1.d) then (b) else a end then 11 else f end+(t1.a)) when f then 17 else t1.e end) FROM t1 WHERE NOT (a-e*case t1.d+case c when (abs(~t1.d*(select min(case when not exists(select 1 from t1 where ((d)+(19) between 11 and 19)) then 11+13 when e not in (t1.f,17,e) and t1.c<>a then t1.e else 19 end*t1.a-f) from t1))/abs(b)) then 13 else 17 end when t1.f then (f) else t1.c end<b and 19 between t1.a and t1.a or d<f)}
SELECT (case coalesce((select +a from t1 where exists(select 1 from t1 where t1.e not between t1.f-b and (select count(*) from t1)-t1.f | e)),t1.d+case when t1.b not between t1.d and 17+case when a in (t1.d,a,(abs(~case when (t1.f)<=t1.c then -17 else t1.f end)/abs(19))*d*t1.d) then (b) else a end then 11 else f end+(t1.a)) when f then 17 else t1.e end) FROM t1 WHERE NOT (a-e*case t1.d+case c when (abs(~t1.d*(select min(case when not exists(select 1 from t1 where ((d)+(19) between 11 and 19)) then 11+13 when e not in (t1.f,17,e) and t1.c<>a then t1.e else 19 end*t1.a-f) from t1))/abs(b)) then 13 else 17 end when t1.f then (f) else t1.c end<b and 19 between t1.a and t1.a or d<f) | Java |
import {
RESOURCE,
SERVER_ERRORS,
INITIAL_STATE_WITH_CACHED_LIST,
INITIAL_STATE_WITH_LIST_BEING_FETCHED,
INITIAL_STATE_WITH_CACHED_AND_SELECTED_LIST,
} from '../mocks'
import { generateListResourceActions } from './mocks'
const request = () => Promise.resolve([RESOURCE])
const errorRequest = () => Promise.reject(SERVER_ERRORS)
it('will dispatch two actions on success', async () => {
const actions = await generateListResourceActions({ request })
expect(actions.length).toBe(2)
})
it('will dispatch two actions on error', async () => {
const actions = await generateListResourceActions({ request: errorRequest })
expect(actions.length).toBe(2)
})
it('will dispatch one action if the list is cached but not selected', async () => {
const actions = await generateListResourceActions({
request: errorRequest,
initialState: INITIAL_STATE_WITH_CACHED_LIST,
})
expect(actions.length).toBe(1)
})
it('will dispatch two action if the list is cached but shouldIgnoreCache is passed', async () => {
const actions = await generateListResourceActions({
request: errorRequest,
shouldIgnoreCache: true,
initialState: INITIAL_STATE_WITH_CACHED_LIST,
})
expect(actions.length).toBe(2)
})
it('will dispatch no actions if the list is cached and selected', async () => {
const actions = await generateListResourceActions({
request: errorRequest,
initialState: INITIAL_STATE_WITH_CACHED_AND_SELECTED_LIST,
})
expect(actions.length).toBe(0)
})
it('will dispatch no actions if the list is being fetched', async () => {
const actions = await generateListResourceActions({
request: errorRequest,
initialState: INITIAL_STATE_WITH_LIST_BEING_FETCHED,
})
expect(actions.length).toBe(0)
})
it('will have a update selectedResourceList action', async () => {
const [inititalAction] = await generateListResourceActions({
request: errorRequest,
initialState: INITIAL_STATE_WITH_CACHED_LIST,
})
expect(inititalAction).toMatchSnapshot()
})
it('will have an initial action', async () => {
const [inititalAction] = await generateListResourceActions({ request })
expect(inititalAction).toMatchSnapshot()
})
it('will have a success action', async () => {
const [_, successAction] = await generateListResourceActions({ request })
expect(successAction).toMatchSnapshot()
})
it('will have a error action', async () => {
const [_, errorAction] = await generateListResourceActions({ request: errorRequest })
expect(errorAction).toMatchSnapshot()
})
| Java |
#!/usr/bin/env bash
phpize
./configure
make
sudo make install
make clean
php --re focusphp
| Java |
// acquisition.hpp
#ifndef ACQUISITION_HPP
#define ACQUISITION_HPP
#include <QAbstractVideoBuffer>
#include <QAbstractVideoSurface>
#include <QList>
#include <QVideoFrame>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(visionAcquisitionLog)
class Acquisition : public QAbstractVideoSurface {
Q_OBJECT
public:
Acquisition ();
QList<QVideoFrame::PixelFormat> supportedPixelFormats (
QAbstractVideoBuffer::HandleType handleType) const;
bool present (const QVideoFrame& frame);
signals:
void FrameAvailable (const QVideoFrame& frame);
};
#endif // ACQUISITION_HPP
| Java |
/*
* The MIT License
* Copyright © 2014 Cube Island
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package de.cubeisland.engine.modularity.core;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.TreeMap;
import javax.inject.Provider;
import de.cubeisland.engine.modularity.core.graph.Dependency;
import de.cubeisland.engine.modularity.core.graph.DependencyInformation;
import de.cubeisland.engine.modularity.core.graph.meta.ModuleMetadata;
import de.cubeisland.engine.modularity.core.graph.meta.ServiceDefinitionMetadata;
import de.cubeisland.engine.modularity.core.graph.meta.ServiceImplementationMetadata;
import de.cubeisland.engine.modularity.core.graph.meta.ServiceProviderMetadata;
import de.cubeisland.engine.modularity.core.marker.Disable;
import de.cubeisland.engine.modularity.core.marker.Enable;
import de.cubeisland.engine.modularity.core.marker.Setup;
import de.cubeisland.engine.modularity.core.service.ServiceProvider;
import static de.cubeisland.engine.modularity.core.LifeCycle.State.*;
public class LifeCycle
{
private static final Field MODULE_META_FIELD;
private static final Field MODULE_MODULARITY_FIELD;
private static final Field MODULE_LIFECYCLE;
static
{
try
{
MODULE_META_FIELD = Module.class.getDeclaredField("metadata");
MODULE_META_FIELD.setAccessible(true);
MODULE_MODULARITY_FIELD = Module.class.getDeclaredField("modularity");
MODULE_MODULARITY_FIELD.setAccessible(true);
MODULE_LIFECYCLE = Module.class.getDeclaredField("lifeCycle");
MODULE_LIFECYCLE.setAccessible(true);
}
catch (NoSuchFieldException e)
{
throw new IllegalStateException();
}
}
private Modularity modularity;
private DependencyInformation info;
private State current = NONE;
private Object instance;
private Method enable;
private Method disable;
private Map<Integer, Method> setup = new TreeMap<Integer, Method>();
private Map<Dependency, SettableMaybe> maybes = new HashMap<Dependency, SettableMaybe>();
private Queue<LifeCycle> impls = new LinkedList<LifeCycle>();
public LifeCycle(Modularity modularity)
{
this.modularity = modularity;
}
public LifeCycle load(DependencyInformation info)
{
this.info = info;
this.current = LOADED;
return this;
}
public LifeCycle provide(ValueProvider provider)
{
this.instance = provider;
this.current = PROVIDED;
return this;
}
public LifeCycle initProvided(Object object)
{
this.instance = object;
this.current = PROVIDED;
return this;
}
public boolean isIn(State state)
{
return current == state;
}
public LifeCycle instantiate()
{
if (isIn(NONE))
{
throw new IllegalStateException("Cannot instantiate when not loaded");
}
if (isIn(LOADED))
{
try
{
if (info instanceof ServiceDefinitionMetadata)
{
ClassLoader classLoader = info.getClassLoader();
if (classLoader == null) // may happen when loading from classpath
{
classLoader = modularity.getClass().getClassLoader(); // get parent classloader then
}
Class<?> instanceClass = Class.forName(info.getClassName(), true, classLoader);
instance = new ServiceProvider(instanceClass, impls);
// TODO find impls in modularity and link them to this
// TODO transition all impls to INSTANTIATED?
}
else
{
this.instance = info.injectionPoints().get(INSTANTIATED.name(0)).inject(modularity, this);
if (instance instanceof Module)
{
MODULE_META_FIELD.set(instance, info);
MODULE_MODULARITY_FIELD.set(instance, modularity);
MODULE_LIFECYCLE.set(instance, this);
}
info.injectionPoints().get(INSTANTIATED.name(1)).inject(modularity, this);
findMethods();
}
}
catch (ClassNotFoundException e)
{
throw new IllegalStateException(e);
}
catch (IllegalAccessException e)
{
throw new IllegalStateException(e);
}
current = INSTANTIATED;
}
// else State already reached or provided
return this;
}
public LifeCycle setup()
{
if (isIn(NONE))
{
throw new IllegalStateException("Cannot instantiate when not loaded");
}
if (isIn(LOADED))
{
this.instantiate();
}
if (isIn(INSTANTIATED))
{
// TODO abstract those methods away
for (Method method : setup.values())
{
invoke(method);
}
for (LifeCycle impl : impls)
{
impl.setup();
}
current = SETUP;
}
// else reached or provided
return this;
}
public LifeCycle enable()
{
if (isIn(NONE))
{
throw new IllegalStateException("Cannot instantiate when not loaded");
}
if (isIn(LOADED))
{
this.instantiate();
}
if (isIn(INSTANTIATED))
{
this.setup();
}
if (isIn(SETUP))
{
this.modularity.log("Enable " + info.getIdentifier().name());
modularity.runEnableHandlers(getInstance());
invoke(enable);
for (SettableMaybe maybe : maybes.values())
{
maybe.provide(getProvided(this));
}
for (LifeCycle impl : impls)
{
impl.enable();
}
current = ENABLED;
}
return this;
}
public LifeCycle disable()
{
if (isIn(ENABLED))
{
modularity.runDisableHandlers(getInstance());
invoke(disable);
for (SettableMaybe maybe : maybes.values())
{
maybe.remove();
}
// TODO if active impl replace in service with inactive OR disable service too
// TODO if service disable all impls too
modularity.getGraph().getNode(info.getIdentifier()).getPredecessors(); // TODO somehow implement reload too
// TODO disable predecessors
for (LifeCycle impl : impls)
{
impl.disable();
}
current = DISABLED;
}
return this;
}
private void invoke(Method method)
{
if (method != null)
{
if (method.isAnnotationPresent(Setup.class))
{
info.injectionPoints().get(SETUP.name(method.getAnnotation(Setup.class).value()))
.inject(modularity, this);
}
else if (method.isAnnotationPresent(Enable.class))
{
info.injectionPoints().get(ENABLED.name()).inject(modularity, this);
}
else
{
try
{
method.invoke(instance);
}
catch (IllegalAccessException e)
{
throw new IllegalStateException(e);
}
catch (IllegalArgumentException e)
{
throw new IllegalStateException(e);
}
catch (InvocationTargetException e)
{
throw new IllegalStateException(e);
}
}
}
}
public boolean isInstantiated()
{
return instance != null;
}
private void findMethods()
{
// find enable and disable methods
Class<?> clazz = instance.getClass();
for (Method method : clazz.getMethods())
{
if (method.isAnnotationPresent(Enable.class))
{
enable = method;
}
if (method.isAnnotationPresent(Disable.class))
{
disable = method;
}
if (method.isAnnotationPresent(Setup.class))
{
int value = method.getAnnotation(Setup.class).value();
setup.put(value, method);
}
}
}
public Object getInstance()
{
return instance;
}
@SuppressWarnings("unchecked")
public Maybe getMaybe(LifeCycle other)
{
Dependency identifier = other == null ? null : other.getInformation().getIdentifier();
SettableMaybe maybe = maybes.get(identifier);
if (maybe == null)
{
maybe = new SettableMaybe(getProvided(other));
maybes.put(identifier, maybe);
}
return maybe;
}
public Object getProvided(LifeCycle lifeCycle)
{
boolean enable = true;
if (info instanceof ModuleMetadata)
{
enable = false;
}
if (instance == null)
{
this.instantiate();
}
if (enable)
{
this.enable(); // Instantiate Setup and enable dependency before providing it to someone else
}
Object toSet = instance;
if (toSet instanceof Provider)
{
toSet = ((Provider)toSet).get();
}
if (toSet instanceof ValueProvider)
{
toSet = ((ValueProvider)toSet).get(lifeCycle, modularity);
}
return toSet;
}
public void addImpl(LifeCycle impl)
{
this.impls.add(impl);
}
public DependencyInformation getInformation()
{
return info;
}
public enum State
{
NONE,
LOADED,
INSTANTIATED,
SETUP,
ENABLED,
DISABLED,
SHUTDOWN,
PROVIDED // TODO prevent changing / except shutdown?
;
public String name(Integer value)
{
return value == null ? name() : name() + ":" + value;
}
}
@Override
public String toString() {
return info.getIdentifier().name() + " " + super.toString();
}
}
| Java |
import { AppPage } from './app.po';
describe('material2 App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
| Java |
Radiant.config do |config|
config.define 'admin.title', :default => "Radiant CMS"
config.define 'dev.host'
config.define 'local.timezone', :allow_change => true, :select_from => lambda { ActiveSupport::TimeZone::MAPPING.keys.sort }
config.define 'defaults.locale', :select_from => lambda { Radiant::AvailableLocales.locales }, :allow_blank => true
config.define 'defaults.page.parts', :default => "Body,Extended"
config.define 'defaults.page.status', :select_from => lambda { Status.selectable_values }, :allow_blank => true, :default => "Draft"
config.define 'defaults.page.filter', :select_from => lambda { TextFilter.descendants.map { |s| s.filter_name }.sort }, :allow_blank => true
config.define 'defaults.page.fields'
config.define 'defaults.snippet.filter', :select_from => lambda { TextFilter.descendants.map { |s| s.filter_name }.sort }, :allow_blank => true
config.define 'pagination.param_name', :default => 'page'
config.define 'pagination.per_page_param_name', :default => 'per_page'
config.define 'admin.pagination.per_page', :type => :integer, :default => 50
config.define 'site.title', :default => "Your site title", :allow_blank => false
config.define 'site.host', :default => "www.example.com", :allow_blank => false
config.define 'user.allow_password_reset?', :default => true
end
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>menhirlib: 48 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.13.1 / menhirlib - 20200612</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
menhirlib
<small>
20200612
<span class="label label-success">48 s 🏆</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-13 08:04:05 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-13 08:04:05 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.13.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.10.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2 Official release 4.10.2
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
synopsis: "A support library for verified Coq parsers produced by Menhir"
maintainer: "francois.pottier@inria.fr"
authors: [
"Jacques-Henri Jourdan <jacques-henri.jourdan@lri.fr>"
]
homepage: "https://gitlab.inria.fr/fpottier/menhir"
dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
bug-reports: "jacques-henri.jourdan@lri.fr"
license: "LGPL-3.0-or-later"
build: [
[make "-C" "coq-menhirlib" "-j%{jobs}%"]
]
install: [
[make "-C" "coq-menhirlib" "install"]
]
depends: [
"coq" { >= "8.7" & < "8.14" }
]
conflicts: [
"menhir" { != "20200612" }
]
tags: [
"date:2020-06-12"
"logpath:MenhirLib"
]
url {
src:
"https://gitlab.inria.fr/fpottier/menhir/-/archive/20200612/archive.tar.gz"
checksum: [
"md5=eb1c13439a00195ee01e4a2e83b3e991"
"sha512=c94ddc2b2d8b9f5d05d8493a3ccd4a32e4512c3bd19ac8948905eb64bb6f2fd9e236344d2baf3d2ebae379d08d5169c99aa5e721c65926127e22ea283eba6167"
]
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-menhirlib.20200612 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-menhirlib.20200612 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>12 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-menhirlib.20200612 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>48 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 6 M</p>
<ul>
<li>2 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter_complete.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Main.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_complete.vo</code></li>
<li>300 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter.vo</code></li>
<li>236 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter_correct.vo</code></li>
<li>133 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_safe.vo</code></li>
<li>114 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter_complete.glob</code></li>
<li>102 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Automaton.vo</code></li>
<li>71 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Alphabet.vo</code></li>
<li>62 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Grammar.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter.glob</code></li>
<li>43 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_complete.glob</code></li>
<li>35 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Alphabet.glob</code></li>
<li>33 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter_complete.v</code></li>
<li>29 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_classes.vo</code></li>
<li>21 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter_correct.glob</code></li>
<li>20 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_safe.glob</code></li>
<li>18 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter.v</code></li>
<li>15 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_complete.v</code></li>
<li>12 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Grammar.glob</code></li>
<li>9 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Automaton.glob</code></li>
<li>8 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Alphabet.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_safe.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Main.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_classes.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Interpreter_correct.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Automaton.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Grammar.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Main.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Validator_classes.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Version.vo</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Version.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/MenhirLib/Version.v</code></li>
</ul>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-menhirlib.20200612</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.0 / dpdgraph - 0.6.4</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
dpdgraph
<small>
0.6.4
<span class="label label-success">16 s 🏆</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-02-24 12:53:50 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-24 12:53:50 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.9.0 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "yves.bertot@inria.fr"
license: "LGPL 2.1"
homepage: "https://github.com/karmaki/coq-dpdgraph"
build: [
["./configure"]
["echo" "%{jobs}%" "jobs for the linter"]
[make]
]
bug-reports: "https://github.com/karmaki/coq-dpdgraph/issues"
dev-repo: "git+https://github.com/karmaki/coq-dpdgraph.git"
install: [
[make "install" "BINDIR=%{bin}%"]
]
remove: [
["rm" "%{bin}%/dpd2dot" "%{bin}%/dpdusage"]
["rm" "-R" "%{lib}%/coq/user-contrib/dpdgraph"]
]
depends: [
"ocaml" {< "4.08.0"}
"coq" {>= "8.9" & < "8.10~"}
"ocamlgraph"
]
authors: [ "Anne Pacalet" "Yves Bertot"]
synopsis: "Compute dependencies between Coq objects (definitions, theorems) and produce graphs"
flags: light-uninstall
url {
src:
"https://github.com/Karmaki/coq-dpdgraph/releases/download/v0.6.4/coq-dpdgraph-0.6.4.tgz"
checksum: "md5=93e5ffcfa808fdba9cc421866ee1d416"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-dpdgraph.0.6.4 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-dpdgraph.0.6.4 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>26 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-dpdgraph.0.6.4 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>16 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 10 M</p>
<ul>
<li>5 M <code>../ocaml-base-compiler.4.03.0/bin/dpdusage</code></li>
<li>5 M <code>../ocaml-base-compiler.4.03.0/bin/dpd2dot</code></li>
<li>85 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/dpdgraph.cmxs</code></li>
<li>14 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/graphdepend.cmi</code></li>
<li>9 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/dpdgraph.cmxa</code></li>
<li>9 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/graphdepend.cmx</code></li>
<li>6 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/searchdepend.cmi</code></li>
<li>5 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/searchdepend.cmx</code></li>
<li>1 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/dpdgraph.vo</code></li>
<li>1 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/dpdgraph.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/dpdgraph/dpdgraph.v</code></li>
</ul>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-dpdgraph.0.6.4</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
package com.bugsnag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import javax.annotation.PostConstruct;
/**
* If spring-webmvc is loaded, add configuration for reporting unhandled exceptions.
*/
@Configuration
@Conditional(SpringWebMvcLoadedCondition.class)
class MvcConfiguration {
@Autowired
private Bugsnag bugsnag;
/**
* Register an exception resolver to send unhandled reports to Bugsnag
* for uncaught exceptions thrown from request handlers.
*/
@Bean
BugsnagMvcExceptionHandler bugsnagHandlerExceptionResolver() {
return new BugsnagMvcExceptionHandler(bugsnag);
}
/**
* Add a callback to assign specified severities for some Spring exceptions.
*/
@PostConstruct
void addExceptionClassCallback() {
bugsnag.addCallback(new ExceptionClassCallback());
}
}
| Java |
import React, {Component} from 'react';
import MiniInfoBar from '../components/MiniInfoBar';
export default class About extends Component {
state = {
showKitten: false
}
handleToggleKitten() {
this.setState({showKitten: !this.state.showKitten});
}
render() {
const {showKitten} = this.state;
const kitten = require('./kitten.jpg');
return (
<div>
<div className="container">
<h1>About Us</h1>
<p>This project was orginally created by Erik Rasmussen
(<a href="https://twitter.com/erikras" target="_blank">@erikras</a>), but has since seen many contributions
from the open source community. Thank you to <a
href="https://github.com/erikras/react-redux-universal-hot-example/graphs/contributors"
target="_blank">all the contributors</a>.
</p>
<h3>Mini Bar <span style={{color: '#aaa'}}>(not that kind)</span></h3>
<p>Hey! You found the mini info bar! The following component is display-only. Note that it shows the same
time as the info bar.</p>
<MiniInfoBar/>
<h3>Images</h3>
<p>
Psst! Would you like to see a kitten?
<button className={'btn btn-' + (showKitten ? 'danger' : 'success')}
style={{marginLeft: 50}}
onClick={::this.handleToggleKitten}>
{showKitten ? 'No! Take it away!' : 'Yes! Please!'}</button>
</p>
{showKitten && <div><img src={kitten}/></div>}
</div>
</div>
);
}
}
| Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<meta name="collection" content="api">
<!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:24:05 PDT 2004 -->
<TITLE>
NumberOfDocuments (Java 2 Platform SE 5.0)
</TITLE>
<META NAME="keywords" CONTENT="javax.print.attribute.standard.NumberOfDocuments class">
<META NAME="keywords" CONTENT="equals()">
<META NAME="keywords" CONTENT="getCategory()">
<META NAME="keywords" CONTENT="getName()">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="NumberOfDocuments (Java 2 Platform SE 5.0)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NumberOfDocuments.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Standard Ed. 5.0</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../javax/print/attribute/standard/MultipleDocumentHandling.html" title="class in javax.print.attribute.standard"><B>PREV CLASS</B></A>
<A HREF="../../../../javax/print/attribute/standard/NumberOfInterveningJobs.html" title="class in javax.print.attribute.standard"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?javax/print/attribute/standard/NumberOfDocuments.html" target="_top"><B>FRAMES</B></A>
<A HREF="NumberOfDocuments.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.print.attribute.standard</FONT>
<BR>
Class NumberOfDocuments</H2>
<PRE>
<A HREF="../../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/print/attribute/IntegerSyntax.html" title="class in javax.print.attribute">javax.print.attribute.IntegerSyntax</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>javax.print.attribute.standard.NumberOfDocuments</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../java/io/Serializable.html" title="interface in java.io">Serializable</A>, <A HREF="../../../../java/lang/Cloneable.html" title="interface in java.lang">Cloneable</A>, <A HREF="../../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</A>, <A HREF="../../../../javax/print/attribute/PrintJobAttribute.html" title="interface in javax.print.attribute">PrintJobAttribute</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public final class <B>NumberOfDocuments</B><DT>extends <A HREF="../../../../javax/print/attribute/IntegerSyntax.html" title="class in javax.print.attribute">IntegerSyntax</A><DT>implements <A HREF="../../../../javax/print/attribute/PrintJobAttribute.html" title="interface in javax.print.attribute">PrintJobAttribute</A></DL>
</PRE>
<P>
Class NumberOfDocuments is an integer valued printing attribute that
indicates the number of individual docs the printer has accepted for this
job, regardless of whether the docs' print data has reached the printer or
not.
<P>
<B>IPP Compatibility:</B> The integer value gives the IPP integer value. The
category name returned by <CODE>getName()</CODE> gives the IPP attribute
name.
<P>
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#javax.print.attribute.standard.NumberOfDocuments">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../javax/print/attribute/standard/NumberOfDocuments.html#NumberOfDocuments(int)">NumberOfDocuments</A></B>(int value)</CODE>
<BR>
Construct a new number of documents attribute with the given integer
value.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/print/attribute/standard/NumberOfDocuments.html#equals(java.lang.Object)">equals</A></B>(<A HREF="../../../../java/lang/Object.html" title="class in java.lang">Object</A> object)</CODE>
<BR>
Returns whether this number of documents attribute is equivalent to the
passed in object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../java/lang/Class.html" title="class in java.lang">Class</A><? extends <A HREF="../../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/print/attribute/standard/NumberOfDocuments.html#getCategory()">getCategory</A></B>()</CODE>
<BR>
Get the printing attribute class which is to be used as the "category"
for this printing attribute value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/print/attribute/standard/NumberOfDocuments.html#getName()">getName</A></B>()</CODE>
<BR>
Get the name of the category of which this attribute value is an
instance.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_javax.print.attribute.IntegerSyntax"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.print.attribute.<A HREF="../../../../javax/print/attribute/IntegerSyntax.html" title="class in javax.print.attribute">IntegerSyntax</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../javax/print/attribute/IntegerSyntax.html#getValue()">getValue</A>, <A HREF="../../../../javax/print/attribute/IntegerSyntax.html#hashCode()">hashCode</A>, <A HREF="../../../../javax/print/attribute/IntegerSyntax.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="NumberOfDocuments(int)"><!-- --></A><H3>
NumberOfDocuments</H3>
<PRE>
public <B>NumberOfDocuments</B>(int value)</PRE>
<DL>
<DD>Construct a new number of documents attribute with the given integer
value.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Integer value.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../java/lang/IllegalArgumentException.html" title="class in java.lang">IllegalArgumentException</A></CODE> - (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0.</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(<A HREF="../../../../java/lang/Object.html" title="class in java.lang">Object</A> object)</PRE>
<DL>
<DD>Returns whether this number of documents attribute is equivalent to the
passed in object. To be equivalent, all of the following conditions
must be true:
<OL TYPE=1>
<LI>
<CODE>object</CODE> is not null.
<LI>
<CODE>object</CODE> is an instance of class NumberOfDocuments.
<LI>
This number of documents attribute's value and <CODE>object</CODE>'s
value are equal.
</OL>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/print/attribute/IntegerSyntax.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../javax/print/attribute/IntegerSyntax.html" title="class in javax.print.attribute">IntegerSyntax</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - Object to compare to.
<DT><B>Returns:</B><DD>True if <CODE>object</CODE> is equivalent to this number of
documents attribute, false otherwise.<DT><B>See Also:</B><DD><A HREF="../../../../java/lang/Object.html#hashCode()"><CODE>Object.hashCode()</CODE></A>,
<A HREF="../../../../java/util/Hashtable.html" title="class in java.util"><CODE>Hashtable</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getCategory()"><!-- --></A><H3>
getCategory</H3>
<PRE>
public final <A HREF="../../../../java/lang/Class.html" title="class in java.lang">Class</A><? extends <A HREF="../../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</A>> <B>getCategory</B>()</PRE>
<DL>
<DD>Get the printing attribute class which is to be used as the "category"
for this printing attribute value.
<P>
For class NumberOfDocuments, the
category is class NumberOfDocuments itself.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/print/attribute/Attribute.html#getCategory()">getCategory</A></CODE> in interface <CODE><A HREF="../../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Printing attribute class (category), an instance of class
<A HREF="../../../../java/lang/Class.html" title="class in java.lang"><CODE>java.lang.Class</CODE></A>.</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public final <A HREF="../../../../java/lang/String.html" title="class in java.lang">String</A> <B>getName</B>()</PRE>
<DL>
<DD>Get the name of the category of which this attribute value is an
instance.
<P>
For class NumberOfDocuments, the
category name is <CODE>"number-of-documents"</CODE>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/print/attribute/Attribute.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Attribute category name.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NumberOfDocuments.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Standard Ed. 5.0</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../javax/print/attribute/standard/MultipleDocumentHandling.html" title="class in javax.print.attribute.standard"><B>PREV CLASS</B></A>
<A HREF="../../../../javax/print/attribute/standard/NumberOfInterveningJobs.html" title="class in javax.print.attribute.standard"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?javax/print/attribute/standard/NumberOfDocuments.html" target="_top"><B>FRAMES</B></A>
<A HREF="NumberOfDocuments.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="../../../../../relnotes/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="../../../../../relnotes/license.html">license terms</a>. Also see the <a href="http://java.sun.com/docs/redist.html">documentation redistribution policy</a>.</font>
<!-- Start SiteCatalyst code -->
<script language="JavaScript" src="http://www.oracle.com/ocom/groups/systemobject/@mktg_admin/documents/systemobject/s_code_download.js"></script>
<script language="JavaScript" src="http://www.oracle.com/ocom/groups/systemobject/@mktg_admin/documents/systemobject/s_code.js"></script>
<!-- ********** DO NOT ALTER ANYTHING BELOW THIS LINE ! *********** -->
<!-- Below code will send the info to Omniture server -->
<script language="javascript">var s_code=s.t();if(s_code)document.write(s_code)</script>
<!-- End SiteCatalyst code -->
</body>
</HTML>
| Java |
package com.seafile.seadroid2.transfer;
/**
* Download state listener
*
*/
public interface DownloadStateListener {
void onFileDownloadProgress(int taskID);
void onFileDownloaded(int taskID);
void onFileDownloadFailed(int taskID);
}
| Java |
from pydispatch import dispatcher
from PySide import QtCore, QtGui
import cbpos
logger = cbpos.get_logger(__name__)
from .page import BasePage
class MainWindow(QtGui.QMainWindow):
__inits = []
def __init__(self):
super(MainWindow, self).__init__()
self.tabs = QtGui.QTabWidget(self)
self.tabs.setTabsClosable(False)
self.tabs.setIconSize(QtCore.QSize(32, 32))
self.tabs.currentChanged.connect(self.onCurrentTabChanged)
self.toolbar = self.addToolBar('Base')
self.toolbar.setIconSize(QtCore.QSize(48,48)) #Suitable for touchscreens
self.toolbar.setObjectName('BaseToolbar')
toolbarStyle = cbpos.config['menu', 'toolbar_style']
# The index in this list is the same as that in the configuration page
available_styles = (
QtCore.Qt.ToolButtonFollowStyle,
QtCore.Qt.ToolButtonIconOnly,
QtCore.Qt.ToolButtonTextOnly,
QtCore.Qt.ToolButtonTextBesideIcon,
QtCore.Qt.ToolButtonTextUnderIcon,
)
try:
toolbarStyle = available_styles[int(toolbarStyle)]
except (ValueError, TypeError, IndexError):
toolbarStyle = QtCore.Qt.ToolButtonFollowStyle
self.toolbar.setToolButtonStyle(toolbarStyle)
self.setCentralWidget(self.tabs)
self.statusBar().showMessage(cbpos.tr._('Coinbox POS is ready.'))
self.setWindowTitle('Coinbox')
self.callInit()
self.loadToolbar()
self.loadMenu()
def loadToolbar(self):
"""
Loads the toolbar actions, restore toolbar state, and restore window geometry.
"""
mwState = cbpos.config['mainwindow', 'state']
mwGeom = cbpos.config['mainwindow', 'geometry']
for act in cbpos.menu.actions:
# TODO: Remember to load an icon with a proper size (eg 48x48 px for touchscreens)
action = QtGui.QAction(QtGui.QIcon(act.icon), act.label, self)
action.setShortcut(act.shortcut)
action.triggered.connect(act.trigger)
self.toolbar.addAction(action)
#Restores the saved mainwindow's toolbars and docks, and then the window geometry.
if mwState is not None:
self.restoreState( QtCore.QByteArray.fromBase64(mwState) )
if mwGeom is not None:
self.restoreGeometry( QtCore.QByteArray.fromBase64(mwGeom) )
else:
self.setGeometry(0, 0, 800, 600)
def loadMenu(self):
"""
Load the menu root items and items into the QTabWidget with the appropriate pages.
"""
show_empty_root_items = cbpos.config['menu', 'show_empty_root_items']
show_disabled_items = cbpos.config['menu', 'show_disabled_items']
hide_tab_bar = not cbpos.config['menu', 'show_tab_bar']
if hide_tab_bar:
# Hide the tab bar and prepare the toolbar for extra QAction's
self.tabs.tabBar().hide()
# This pre-supposes that the menu items will come after the actions
self.toolbar.addSeparator()
for root in cbpos.menu.items:
if not root.enabled and not show_disabled_items:
continue
if show_disabled_items:
# Show all child items
children = root.children
else:
# Filter out those which are disabled
children = [i for i in root.children if i.enabled]
# Hide empty menu root items
if len(children) == 0 and not show_empty_root_items:
continue
# Add the tab
widget = self.getTabWidget(children)
icon = QtGui.QIcon(root.icon)
index = self.tabs.addTab(widget, icon, root.label)
widget.setEnabled(root.enabled)
# Add the toolbar action if enabled
if hide_tab_bar:
# TODO: Remember to load an icon with a proper size (eg 48x48 px for touchscreens)
action = QtGui.QAction(QtGui.QIcon(icon), root.label, self)
action.onTrigger = lambda n=index: self.tabs.setCurrentIndex(n)
action.triggered.connect(action.onTrigger)
self.toolbar.addAction(action)
def onCurrentTabChanged(self, index, tabs=None):
if tabs is None:
tabs = self.tabs
widget = tabs.widget(index)
try:
signal = widget.shown
except AttributeError:
pass
else:
signal.emit()
def getTabWidget(self, items):
"""
Returns the appropriate window to be placed in the main QTabWidget,
depending on the number of children of a root menu item.
"""
count = len(items)
if count == 0:
# If there are no child items, just return an empty widget
widget = QtGui.QWidget()
widget.setEnabled(False)
return widget
elif count == 1:
# If there is only one item, show it as is.
logger.debug('Loading menu page for %s', items[0].name)
widget = items[0].page()
widget.setEnabled(items[0].enabled)
return widget
else:
# If there are many children, add them in a QTabWidget
tabs = QtGui.QTabWidget()
tabs.currentChanged.connect(lambda i, t=tabs: self.onCurrentTabChanged(i, t))
for item in items:
logger.debug('Loading menu page for %s', item.name)
widget = item.page()
icon = QtGui.QIcon(item.icon)
tabs.addTab(widget, icon, item.label)
widget.setEnabled(item.enabled)
return tabs
def saveWindowState(self):
"""
Saves the main window state (position, size, toolbar positions)
"""
mwState = self.saveState().toBase64()
mwGeom = self.saveGeometry().toBase64()
cbpos.config['mainwindow', 'state'] = unicode(mwState)
cbpos.config['mainwindow', 'geometry'] = unicode(mwGeom)
cbpos.config.save()
def closeEvent(self, event):
"""
Perform necessary operations before closing the window.
"""
self.saveWindowState()
#do any other thing before closing...
event.accept()
@classmethod
def addInit(cls, init):
"""
Adds the `init` method to the list of extensions of the `MainWindow.__init__`.
"""
cls.__inits.append(init)
def callInit(self):
"""
Handle calls to `__init__` methods of extensions of the MainWindow.
"""
for init in self.__inits:
init(self)
| Java |
package cn.javay.zheng.common.validator;
import com.baidu.unbiz.fluentvalidator.ValidationError;
import com.baidu.unbiz.fluentvalidator.Validator;
import com.baidu.unbiz.fluentvalidator.ValidatorContext;
import com.baidu.unbiz.fluentvalidator.ValidatorHandler;
/**
* 长度校验
* Created by shuzheng on 2017/2/18.
*/
public class LengthValidator extends ValidatorHandler<String> implements Validator<String> {
private int min;
private int max;
private String fieldName;
public LengthValidator(int min, int max, String fieldName) {
this.min = min;
this.max = max;
this.fieldName = fieldName;
}
@Override
public boolean validate(ValidatorContext context, String s) {
if (null == s || s.length() > max || s.length() < min) {
context.addError(ValidationError.create(String.format("%s长度必须介于%s~%s之间!", fieldName, min, max))
.setErrorCode(-1)
.setField(fieldName)
.setInvalidValue(s));
return false;
}
return true;
}
}
| Java |
define([
"dojo/_base/array",
"dojo/_base/connect",
"dojo/_base/declare",
"dojo/_base/lang",
"dojo/_base/window",
"dojo/dom",
"dojo/dom-class",
"dojo/dom-construct",
"dojo/dom-style",
"dijit/registry",
"dijit/_Contained",
"dijit/_Container",
"dijit/_WidgetBase",
"./ProgressIndicator",
"./ToolBarButton",
"./View",
"dojo/has",
"dojo/has!dojo-bidi?dojox/mobile/bidi/Heading"
], function(array, connect, declare, lang, win, dom, domClass, domConstruct, domStyle, registry, Contained, Container, WidgetBase, ProgressIndicator, ToolBarButton, View, has, BidiHeading){
// module:
// dojox/mobile/Heading
var dm = lang.getObject("dojox.mobile", true);
var Heading = declare(has("dojo-bidi") ? "dojox.mobile.NonBidiHeading" : "dojox.mobile.Heading", [WidgetBase, Container, Contained],{
// summary:
// A widget that represents a navigation bar.
// description:
// Heading is a widget that represents a navigation bar, which
// usually appears at the top of an application. It usually
// displays the title of the current view and can contain a
// navigational control. If you use it with
// dojox/mobile/ScrollableView, it can also be used as a fixed
// header bar or a fixed footer bar. In such cases, specify the
// fixed="top" attribute to be a fixed header bar or the
// fixed="bottom" attribute to be a fixed footer bar. Heading can
// have one or more ToolBarButton widgets as its children.
// back: String
// A label for the navigational control to return to the previous View.
back: "",
// href: String
// A URL to open when the navigational control is pressed.
href: "",
// moveTo: String
// The id of the transition destination of the navigation control.
// If the value has a hash sign ('#') before the id (e.g. #view1)
// and the dojox/mobile/bookmarkable module is loaded by the user application,
// the view transition updates the hash in the browser URL so that the
// user can bookmark the destination view. In this case, the user
// can also use the browser's back/forward button to navigate
// through the views in the browser history.
//
// If null, transitions to a blank view.
// If '#', returns immediately without transition.
moveTo: "",
// transition: String
// A type of animated transition effect. You can choose from the
// standard transition types, "slide", "fade", "flip", or from the
// extended transition types, "cover", "coverv", "dissolve",
// "reveal", "revealv", "scaleIn", "scaleOut", "slidev",
// "swirl", "zoomIn", "zoomOut", "cube", and "swap". If "none" is
// specified, transition occurs immediately without animation.
transition: "slide",
// label: String
// A title text of the heading. If the label is not specified, the
// innerHTML of the node is used as a label.
label: "",
// iconBase: String
// The default icon path for child items.
iconBase: "",
// tag: String
// A name of HTML tag to create as domNode.
tag: "h1",
// busy: Boolean
// If true, a progress indicator spins on this widget.
busy: false,
// progStyle: String
// A css class name to add to the progress indicator.
progStyle: "mblProgWhite",
/* internal properties */
// baseClass: String
// The name of the CSS class of this widget.
baseClass: "mblHeading",
buildRendering: function(){
if(!this.templateString){ // true if this widget is not templated
// Create root node if it wasn't created by _TemplatedMixin
this.domNode = this.containerNode = this.srcNodeRef || win.doc.createElement(this.tag);
}
this.inherited(arguments);
if(!this.templateString){ // true if this widget is not templated
if(!this.label){
array.forEach(this.domNode.childNodes, function(n){
if(n.nodeType == 3){
var v = lang.trim(n.nodeValue);
if(v){
this.label = v;
this.labelNode = domConstruct.create("span", {innerHTML:v}, n, "replace");
}
}
}, this);
}
if(!this.labelNode){
this.labelNode = domConstruct.create("span", null, this.domNode);
}
this.labelNode.className = "mblHeadingSpanTitle";
this.labelDivNode = domConstruct.create("div", {
className: "mblHeadingDivTitle",
innerHTML: this.labelNode.innerHTML
}, this.domNode);
}
dom.setSelectable(this.domNode, false);
},
startup: function(){
if(this._started){ return; }
var parent = this.getParent && this.getParent();
if(!parent || !parent.resize){ // top level widget
var _this = this;
setTimeout(function(){ // necessary to render correctly
_this.resize();
}, 0);
}
this.inherited(arguments);
},
resize: function(){
if(this.labelNode){
// find the rightmost left button (B), and leftmost right button (C)
// +-----------------------------+
// | |A| |B| |C| |D| |
// +-----------------------------+
var leftBtn, rightBtn;
var children = this.containerNode.childNodes;
for(var i = children.length - 1; i >= 0; i--){
var c = children[i];
if(c.nodeType === 1 && domStyle.get(c, "display") !== "none"){
if(!rightBtn && domStyle.get(c, "float") === "right"){
rightBtn = c;
}
if(!leftBtn && domStyle.get(c, "float") === "left"){
leftBtn = c;
}
}
}
if(!this.labelNodeLen && this.label){
this.labelNode.style.display = "inline";
this.labelNodeLen = this.labelNode.offsetWidth;
this.labelNode.style.display = "";
}
var bw = this.domNode.offsetWidth; // bar width
var rw = rightBtn ? bw - rightBtn.offsetLeft + 5 : 0; // rightBtn width
var lw = leftBtn ? leftBtn.offsetLeft + leftBtn.offsetWidth + 5 : 0; // leftBtn width
var tw = this.labelNodeLen || 0; // title width
domClass[bw - Math.max(rw,lw)*2 > tw ? "add" : "remove"](this.domNode, "mblHeadingCenterTitle");
}
array.forEach(this.getChildren(), function(child){
if(child.resize){ child.resize(); }
});
},
_setBackAttr: function(/*String*/back){
// tags:
// private
this._set("back", back);
if(!this.backButton){
this.backButton = new ToolBarButton({
arrow: "left",
label: back,
moveTo: this.moveTo,
back: !this.moveTo,
href: this.href,
transition: this.transition,
transitionDir: -1
});
this.backButton.placeAt(this.domNode, "first");
}else{
this.backButton.set("label", back);
}
this.resize();
},
_setMoveToAttr: function(/*String*/moveTo){
// tags:
// private
this._set("moveTo", moveTo);
if(this.backButton){
this.backButton.set("moveTo", moveTo);
}
},
_setHrefAttr: function(/*String*/href){
// tags:
// private
this._set("href", href);
if(this.backButton){
this.backButton.set("href", href);
}
},
_setTransitionAttr: function(/*String*/transition){
// tags:
// private
this._set("transition", transition);
if(this.backButton){
this.backButton.set("transition", transition);
}
},
_setLabelAttr: function(/*String*/label){
// tags:
// private
this._set("label", label);
this.labelNode.innerHTML = this.labelDivNode.innerHTML = this._cv ? this._cv(label) : label;
},
_setBusyAttr: function(/*Boolean*/busy){
// tags:
// private
var prog = this._prog;
if(busy){
if(!prog){
prog = this._prog = new ProgressIndicator({size:30, center:false});
domClass.add(prog.domNode, this.progStyle);
}
domConstruct.place(prog.domNode, this.domNode, "first");
prog.start();
}else if(prog){
prog.stop();
}
this._set("busy", busy);
}
});
return has("dojo-bidi") ? declare("dojox.mobile.Heading", [Heading, BidiHeading]) : Heading;
});
| Java |
/** @jsx jsx */
import { Editor } from 'slate'
import { jsx } from '../..'
export const input = (
<editor>
<block>
<mark key="a">
<anchor />o
</mark>
n
<mark key="b">
e<focus />
</mark>
</block>
</editor>
)
export const run = editor => {
return Array.from(Editor.activeMarks(editor, { union: true }))
}
export const output = [{ key: 'a' }, { key: 'b' }]
| Java |
/**
* Logback: the reliable, generic, fast and flexible logging framework.
* Copyright (C) 1999-2015, QOS.ch. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* or (per the licensee's choosing)
*
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
*/
package ch.qos.logback.access.spi;
import ch.qos.logback.access.AccessConstants;
import ch.qos.logback.access.pattern.AccessConverter;
import ch.qos.logback.access.servlet.Util;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.Vector;
// Contributors: Joern Huxhorn (see also bug #110)
/**
* The Access module's internal representation of logging events. When the
* logging component instance is called in the container to log then a
* <code>AccessEvent</code> instance is created. This instance is passed
* around to the different logback components.
*
* @author Ceki Gülcü
* @author Sébastien Pennec
*/
public class AccessEvent implements Serializable, IAccessEvent {
private static final long serialVersionUID = 866718993618836343L;
private static final String EMPTY = "";
private transient final HttpServletRequest httpRequest;
private transient final HttpServletResponse httpResponse;
String requestURI;
String requestURL;
String remoteHost;
String remoteUser;
String remoteAddr;
String protocol;
String method;
String serverName;
String requestContent;
String responseContent;
long elapsedTime;
Map<String, String> requestHeaderMap;
Map<String, String[]> requestParameterMap;
Map<String, String> responseHeaderMap;
Map<String, Object> attributeMap;
long contentLength = SENTINEL;
int statusCode = SENTINEL;
int localPort = SENTINEL;
transient ServerAdapter serverAdapter;
/**
* The number of milliseconds elapsed from 1/1/1970 until logging event was
* created.
*/
private long timeStamp = 0;
public AccessEvent(HttpServletRequest httpRequest,
HttpServletResponse httpResponse, ServerAdapter adapter) {
this.httpRequest = httpRequest;
this.httpResponse = httpResponse;
this.timeStamp = System.currentTimeMillis();
this.serverAdapter = adapter;
this.elapsedTime = calculateElapsedTime();
}
/**
* Returns the underlying HttpServletRequest. After serialization the returned
* value will be null.
*
* @return
*/
@Override
public HttpServletRequest getRequest() {
return httpRequest;
}
/**
* Returns the underlying HttpServletResponse. After serialization the returned
* value will be null.
*
* @return
*/
@Override
public HttpServletResponse getResponse() {
return httpResponse;
}
@Override
public long getTimeStamp() {
return timeStamp;
}
public void setTimeStamp(long timeStamp) {
if (this.timeStamp != 0) {
throw new IllegalStateException(
"timeStamp has been already set for this event.");
} else {
this.timeStamp = timeStamp;
}
}
@Override
public String getRequestURI() {
if (requestURI == null) {
if (httpRequest != null) {
requestURI = httpRequest.getRequestURI();
} else {
requestURI = NA;
}
}
return requestURI;
}
/**
* The first line of the request.
*/
@Override
public String getRequestURL() {
if (requestURL == null) {
if (httpRequest != null) {
StringBuilder buf = new StringBuilder();
buf.append(httpRequest.getMethod());
buf.append(AccessConverter.SPACE_CHAR);
buf.append(httpRequest.getRequestURI());
final String qStr = httpRequest.getQueryString();
if (qStr != null) {
buf.append(AccessConverter.QUESTION_CHAR);
buf.append(qStr);
}
buf.append(AccessConverter.SPACE_CHAR);
buf.append(httpRequest.getProtocol());
requestURL = buf.toString();
} else {
requestURL = NA;
}
}
return requestURL;
}
@Override
public String getRemoteHost() {
if (remoteHost == null) {
if (httpRequest != null) {
// the underlying implementation of HttpServletRequest will
// determine if remote lookup will be performed
remoteHost = httpRequest.getRemoteHost();
} else {
remoteHost = NA;
}
}
return remoteHost;
}
@Override
public String getRemoteUser() {
if (remoteUser == null) {
if (httpRequest != null) {
remoteUser = httpRequest.getRemoteUser();
} else {
remoteUser = NA;
}
}
return remoteUser;
}
@Override
public String getProtocol() {
if (protocol == null) {
if (httpRequest != null) {
protocol = httpRequest.getProtocol();
} else {
protocol = NA;
}
}
return protocol;
}
@Override
public String getMethod() {
if (method == null) {
if (httpRequest != null) {
method = httpRequest.getMethod();
} else {
method = NA;
}
}
return method;
}
@Override
public String getServerName() {
if (serverName == null) {
if (httpRequest != null) {
serverName = httpRequest.getServerName();
} else {
serverName = NA;
}
}
return serverName;
}
@Override
public String getRemoteAddr() {
if (remoteAddr == null) {
if (httpRequest != null) {
remoteAddr = httpRequest.getRemoteAddr();
} else {
remoteAddr = NA;
}
}
return remoteAddr;
}
@Override
public String getRequestHeader(String key) {
String result = null;
key = key.toLowerCase();
if (requestHeaderMap == null) {
if (httpRequest != null) {
buildRequestHeaderMap();
result = requestHeaderMap.get(key);
}
} else {
result = requestHeaderMap.get(key);
}
if (result != null) {
return result;
} else {
return NA;
}
}
@Override
public Enumeration getRequestHeaderNames() {
// post-serialization
if (httpRequest == null) {
Vector<String> list = new Vector<String>(getRequestHeaderMap().keySet());
return list.elements();
}
return httpRequest.getHeaderNames();
}
@Override
public Map<String, String> getRequestHeaderMap() {
if (requestHeaderMap == null) {
buildRequestHeaderMap();
}
return requestHeaderMap;
}
public void buildRequestHeaderMap() {
// according to RFC 2616 header names are case insensitive
// latest versions of Tomcat return header names in lower-case
requestHeaderMap = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER);
Enumeration e = httpRequest.getHeaderNames();
if (e == null) {
return;
}
while (e.hasMoreElements()) {
String key = (String) e.nextElement();
requestHeaderMap.put(key, httpRequest.getHeader(key));
}
}
public void buildRequestParameterMap() {
requestParameterMap = new HashMap<String, String[]>();
Enumeration e = httpRequest.getParameterNames();
if (e == null) {
return;
}
while (e.hasMoreElements()) {
String key = (String) e.nextElement();
requestParameterMap.put(key, httpRequest.getParameterValues(key));
}
}
@Override
public Map<String, String[]> getRequestParameterMap() {
if (requestParameterMap == null) {
buildRequestParameterMap();
}
return requestParameterMap;
}
@Override
public String getAttribute(String key) {
Object value = null;
if (attributeMap != null) {
// Event was prepared for deferred processing so we have a copy of attribute map and must use that copy
value = attributeMap.get(key);
} else if (httpRequest != null) {
// We have original request so take attribute from it
value = httpRequest.getAttribute(key);
}
return value != null ? value.toString() : NA;
}
private void copyAttributeMap() {
if (httpRequest == null) {
return;
}
attributeMap = new HashMap<String, Object>();
Enumeration<String> names = httpRequest.getAttributeNames();
while (names.hasMoreElements()) {
String name = names.nextElement();
Object value = httpRequest.getAttribute(name);
if (shouldCopyAttribute(name, value)) {
attributeMap.put(name, value);
}
}
}
private boolean shouldCopyAttribute(String name, Object value) {
if (AccessConstants.LB_INPUT_BUFFER.equals(name) || AccessConstants.LB_OUTPUT_BUFFER.equals(name)) {
// Do not copy attributes used by logback internally - these are available via other getters anyway
return false;
} else if (value == null) {
// No reasons to copy nulls - Map.get() will return null for missing keys and the list of attribute
// names is not available through IAccessEvent
return false;
} else {
// Only copy what is serializable
return value instanceof Serializable;
}
}
@Override
public String[] getRequestParameter(String key) {
if (httpRequest != null) {
String[] value = httpRequest.getParameterValues(key);
if (value == null) {
return new String[]{ NA };
} else {
return value;
}
} else {
return new String[]{ NA };
}
}
@Override
public String getCookie(String key) {
if (httpRequest != null) {
Cookie[] cookieArray = httpRequest.getCookies();
if (cookieArray == null) {
return NA;
}
for (Cookie cookie : cookieArray) {
if (key.equals(cookie.getName())) {
return cookie.getValue();
}
}
}
return NA;
}
@Override
public long getContentLength() {
if (contentLength == SENTINEL) {
if (httpResponse != null) {
contentLength = serverAdapter.getContentLength();
return contentLength;
}
}
return contentLength;
}
public int getStatusCode() {
if (statusCode == SENTINEL) {
if (httpResponse != null) {
statusCode = serverAdapter.getStatusCode();
}
}
return statusCode;
}
public long getElapsedTime() {
return elapsedTime;
}
private long calculateElapsedTime() {
if (serverAdapter.getRequestTimestamp() < 0) {
return -1;
}
return getTimeStamp() - serverAdapter.getRequestTimestamp();
}
public String getRequestContent() {
if (requestContent != null) {
return requestContent;
}
if (Util.isFormUrlEncoded(httpRequest)) {
StringBuilder buf = new StringBuilder();
Enumeration pramEnumeration = httpRequest.getParameterNames();
// example: id=1234&user=cgu
// number=1233&x=1
int count = 0;
try {
while (pramEnumeration.hasMoreElements()) {
String key = (String) pramEnumeration.nextElement();
if (count++ != 0) {
buf.append("&");
}
buf.append(key);
buf.append("=");
String val = httpRequest.getParameter(key);
if (val != null) {
buf.append(val);
} else {
buf.append("");
}
}
} catch (Exception e) {
// FIXME Why is try/catch required?
e.printStackTrace();
}
requestContent = buf.toString();
} else {
// retrieve the byte array placed by TeeFilter
byte[] inputBuffer = (byte[]) httpRequest
.getAttribute(AccessConstants.LB_INPUT_BUFFER);
if (inputBuffer != null) {
requestContent = new String(inputBuffer);
}
if (requestContent == null || requestContent.length() == 0) {
requestContent = EMPTY;
}
}
return requestContent;
}
public String getResponseContent() {
if (responseContent != null) {
return responseContent;
}
if (Util.isImageResponse(httpResponse)) {
responseContent = "[IMAGE CONTENTS SUPPRESSED]";
} else {
// retreive the byte array previously placed by TeeFilter
byte[] outputBuffer = (byte[]) httpRequest
.getAttribute(AccessConstants.LB_OUTPUT_BUFFER);
if (outputBuffer != null) {
responseContent = new String(outputBuffer);
}
if (responseContent == null || responseContent.length() == 0) {
responseContent = EMPTY;
}
}
return responseContent;
}
public int getLocalPort() {
if (localPort == SENTINEL) {
if (httpRequest != null) {
localPort = httpRequest.getLocalPort();
}
}
return localPort;
}
public ServerAdapter getServerAdapter() {
return serverAdapter;
}
public String getResponseHeader(String key) {
buildResponseHeaderMap();
return responseHeaderMap.get(key);
}
void buildResponseHeaderMap() {
if (responseHeaderMap == null) {
responseHeaderMap = serverAdapter.buildResponseHeaderMap();
}
}
public Map<String, String> getResponseHeaderMap() {
buildResponseHeaderMap();
return responseHeaderMap;
}
public List<String> getResponseHeaderNameList() {
buildResponseHeaderMap();
return new ArrayList<String>(responseHeaderMap.keySet());
}
public void prepareForDeferredProcessing() {
getRequestHeaderMap();
getRequestParameterMap();
getResponseHeaderMap();
getLocalPort();
getMethod();
getProtocol();
getRemoteAddr();
getRemoteHost();
getRemoteUser();
getRequestURI();
getRequestURL();
getServerName();
getTimeStamp();
getElapsedTime();
getStatusCode();
getContentLength();
getRequestContent();
getResponseContent();
copyAttributeMap();
}
}
| Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.