Skip to content

Instantly share code, notes, and snippets.

View doits's full-sized avatar

Markus doits

  • Stellenticket GmbH
  • Germany
View GitHub Profile
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Activate the gem you are reporting the issue against.
@doits
doits / bug.rb
Created December 28, 2020 17:10
# frozen_string_literal: true
# Create postgres table `bug_report` before running this test
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
@doits
doits / bug.rb
Created December 26, 2020 09:04
Rails polymorphic issue
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "rails", github: "rails/rails"
@doits
doits / 34948-17.11.diff
Created December 10, 2017 21:06
Docker 17.11 overlay mount patch
diff --git a/daemon/graphdriver/overlay/overlay.go b/daemon/graphdriver/overlay/overlay.go
index 853318de597..cd98d4072fe 100644
--- a/daemon/graphdriver/overlay/overlay.go
+++ b/daemon/graphdriver/overlay/overlay.go
@@ -109,8 +109,10 @@ func init() {
}
// Init returns the NaiveDiffDriver, a native diff driver for overlay filesystem.
-// If overlay filesystem is not supported on the host, graphdriver.ErrNotSupported is returned as error.
-// If an overlay filesystem is not supported over an existing filesystem then error graphdriver.ErrIncompatibleFS is returned.

Keybase proof

I hereby claim:

  • I am doits on github.
  • I am doits (https://keybase.io/doits) on keybase.
  • I have a public key whose fingerprint is 1FBE F319 1744 5E37 C477 8F8D BB2D 962F B828 400F

To claim this, I am signing this object:

@doits
doits / SassMeister-input.scss
Last active November 20, 2015 22:12
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
//
@function strip-units($number) {
@return $number / ($number * 0 + 1);
}
@doits
doits / gist:2988741
Created June 25, 2012 13:50
bash -x pacaur -Syu ("there are X provides ...")
This file has been truncated, but you can view the full file.
+ name=pacaur
+ version=3.1.0
+ export LANG=C
+ LANG=C
+ editor=vim
+ color=false
+ clean=true
+ fallback=true
+ editpkgbuild=true
+ editinstall=true
@doits
doits / gist:2593475
Created May 4, 2012 09:09
bash -x pacaur -Sua (pacaur-git 20120504-1)
+ name=pacaur
+ version=3.0.2
+ export LANG=C
+ LANG=C
+ editor=vim
+ color=false
+ clean=true
+ fallback=true
+ editpkgbuild=true
+ editinstall=true
@doits
doits / gist:2575455
Created May 2, 2012 09:20
bash -x pacaur -S pam_mount
+ name=pacaur
+ version=3.0.2
+ export LANG=C
+ LANG=C
+ editor=vim
+ color=false
+ clean=true
+ fallback=true
+ editpkgbuild=true
+ editinstall=true