Skip to content

Instantly share code, notes, and snippets.

View marxarelli's full-sized avatar

Daniel Duvall marxarelli

View GitHub Profile
@marxarelli
marxarelli / local_view_resolution.rb
Created September 14, 2011 18:53
Controller mixin for removing the first level of view/layout namespace from a controller's path.
require 'active_support/concern'
module Filaments
# Extends controllers to leave off the `filaments/` prefix from view paths.
#
# The Filaments controllers are meant to be subclassed by the host
# application when necessary to override default behavior and the default
# view-path resolution prefix would lead to an annoying reshuffling of
# related views every time this subclassing is done.
#
@marxarelli
marxarelli / go.mod
Last active November 21, 2020 00:23
Used to reproduce buildkitd error "flightcontrol: exceeded retry timeout"
module repro
require (
github.com/moby/buildkit v0.7.0
)
replace github.com/containerd/containerd => github.com/containerd/containerd v1.3.1-0.20200227195959-4d242818bf55
replace github.com/docker/docker => github.com/docker/docker v1.4.2-0.20200227233006-38f52c9fec82
@marxarelli
marxarelli / go.mod
Last active November 21, 2020 00:40
Used to reproduce buildkitd error "flightcontrol: exceeded retry timeout"
module repro
require (
github.com/moby/buildkit v0.7.0
)
replace github.com/containerd/containerd => github.com/containerd/containerd v1.3.1-0.20200227195959-4d242818bf55
replace github.com/docker/docker => github.com/docker/docker v1.4.2-0.20200227233006-38f52c9fec82