Skip to content

Instantly share code, notes, and snippets.

View wyardley's full-sized avatar

William Yardley wyardley

  • Los Angeles, CA
View GitHub Profile
Sidney Dekker
The Field Guide to Human Error - https://amzn.to/2O30hAI
Just Culture - https://amzn.to/2XSsIpD
RULE- AND ROLE-RETREAT: AN EMPIRICALSTUDY OF PROCEDURES AND RESILIENCE - https://bit.ly/2F9is5e
Erik Hollnagel
From Safety-I to Safety-II: A White Paper - https://www.skybrary.aero/bookshelf/books/2437.pdf
Joint Cognitive Systems: Patterns in Cognitive Systems Engineering - https://amzn.to/2u8jhVE
Resilience engineering – Building a Culture of Resilience - https://bit.ly/2J8Calz
@reidmv
reidmv / filemapper.rb
Created September 17, 2012 20:26
Prefetch match composite namevar(s)
def prefetch(resources = {})
# generate hash of {provider_name => provider}
providers = instances.inject({}) do |hash, instance|
hash[instance.name] = instance
hash
end
# Identify the namevar(s) for the type
nv_properties = resource_type.properties.select(&:isnamevar?).map(&:name)
nv_params = resource_type.parameters.select do |param|
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: