Skip to content

Instantly share code, notes, and snippets.

View msbit's full-sized avatar

Tom Sullivan msbit

  • Ballarat, Victoria, Australia
View GitHub Profile
@msbit
msbit / main.swift
Last active March 21, 2021 02:47
Swift inheritance hierarchy protocol conformance in generic context
protocol Consumer {
static func consume(_ instance: Self)
}
class Base: Consumer {
class func consume(_ instance: Base) { print("Base.consume(_:)") }
}
class Derived: Base {
class func consume(_ instance: Derived) { print("Derived.consume(_:)") }
@msbit
msbit / # php70-intl - 2018-03-29_23-37-38.txt
Created March 29, 2018 12:52
php70-intl (homebrew/php/php70-intl) on macOS 10.13.3 - Homebrew build logs
Homebrew build logs for homebrew/php/php70-intl on macOS 10.13.3
Build date: 2018-03-29 23:37:38
@msbit
msbit / active_record_gem.output
Created March 4, 2016 02:10
ActiveRecord::QueryMethods#includes has_many through with conditions on destination model
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using arel 6.0.3
Using sqlite3 1.3.11
@msbit
msbit / active_record_gem.output
Last active March 4, 2016 01:46
ActiveRecord::QueryMethods#includes has_many through with ordering on through model
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using arel 6.0.3
Using sqlite3 1.3.11