Skip to content

Instantly share code, notes, and snippets.

View caspg's full-sized avatar

Kacper Golinski caspg

View GitHub Profile
<div class="container">
<div class="col-md-offset-3 col-md-6">
<div class="index-form">
<%= render partial: 'form' %>
</div>
</div>
</div>
Executed Recipes: #<struct deployment_id="130cf405-9691-4d88-9f81-00c2d69fcb8b", stack_id="d2a0d044-e44f-46a2-9629-2ca1f50e1ecb", app_id=nil, created_at="2016-02-29T12:24:05+00:00", completed_at="2016-02-29T12:25:15+00:00", duration=nil, iam_user_arn="arn:aws:iam::659153740712:user/Kacper.Golinski", comment=nil, command=#<struct name="execute_recipes", args={"recipes"=>["itls_stack_io_sandbox::worker_01_a_deployment"]}>, status="failed", custom_json="{\"attribute_overrides\":{\"normal\":{\"itls_server\":{\"persistent_deployments\":false}}},\"itls_server\":{\"manual_deployment\":{\"apps_to_deploy\":{\"data_collector\":{\"deploy\":{\"revision_tag\":\"feature/navbar-update\"}}}}}}", instance_ids=["511a53c1-eb44-4781-b9ff-930a3f7b5b59", "549a5a3a-e89d-4ab5-9a17-e11dc5cb6b1b", "c8711d2b-6c20-4ce8-bee3-010b29bca45c"]>
Executed Recipes: #<struct deployment_id="53279504-db2b-4e99-b0e8-252110fefc01", stack_id="d2a0d044-e44f-46a2-9629-2ca1f50e1ecb", app_id=nil, created_at="2016-02-29T12:23:53+00:00", completed_at="2016
1
File "/var/www/app/vendor/bundle/ruby/2.1.0/gems/spree_core-2.4.10/app/models/spree/order.rb" line 260 in clone_billing_address
2
File "/var/www/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb" line 429 in block in make_lambda
3
File "/var/www/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb" line 161 in call
4
File "/var/www/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb" line 161 in block in halting
5
File "/var/www/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb" line 501 in call
<<<<<<< HEAD
%nav.navbar.navbar-default
<!-- Brand and toggle get grouped for better mobile display -->
%div.navbar-header
%button{ :type => 'button', :class => 'navbar-toggle collapsed', "data-toggle" => "collapse", "data-target" => "#bs-example-navbar-collapse-1", "aria-expanded" => "false"}
%span.fa.fa-circle
%span.fa.fa-circle
%span.fa.fa-circle
= link_to root_path, :class => "navbar-brand bye-header-logo headline", :onclick => "javascript: dataLayer.push(['_trackEvent', 'Click logo']);" do
= image_tag 'byebuy-logo.svg', width: 85, alt: ""
<<<<<<< HEAD
%nav.navbar.navbar-default
<!-- Brand and toggle get grouped for better mobile display -->
%div.navbar-header
%button{ :type => 'button', :class => 'navbar-toggle collapsed', "data-toggle" => "collapse", "data-target" => "#bs-example-navbar-collapse-1", "aria-expanded" => "false"}
%span.fa.fa-circle
%span.fa.fa-circle
%span.fa.fa-circle
= link_to root_path, :class => "navbar-brand bye-header-logo headline", :onclick => "javascript: dataLayer.push(['_trackEvent', 'Click logo']);" do
= image_tag 'byebuy-logo.svg', width: 85, alt: ""
@caspg
caspg / node-forever-upstart.conf
Created June 23, 2016 21:21 — forked from hubertursua/node-forever-upstart.conf
NodeJS, Forever, and Upstart (Ubuntu)
#!upstart
start on filesystem and started networking
stop on shutdown
expect fork
setuid ubuntu
env HOME="/home/ubuntu"
// src/Chart/Chart.jsx
import React, { Component } from 'react'
import { scaleBand, scaleLinear } from 'd3-scale'
import data from '../../data'
export default class Chart extends Component {
constructor() {
super()
import React from 'react'
import Axis from '../Axis'
export default ({ scales, margins, svgDimensions }) => {
const { height, width } = svgDimensions
const xProps = {
orient: 'Bottom',
scale: scales.xScale,
translate: `translate(0, ${height - margins.bottom})`,
import React, { Component } from 'react'
import * as d3Axis from 'd3-axis'
import { select as d3Select } from 'd3-selection'
import './Axis.css'
export default class Axis extends Component {
componentDidMount() {
this.renderAxis()
}
.Axis path,
.Axis line {
stroke: #E0E0E0;
}
.Axis text {
font-size: 11px;
fill: black;
}