In some cases the IC might determine that a PM meeting for the incident isn't needed.
If the IC decides to waive the meeting please replace the Meeting
section with a
note indicating the meeting has been waived (example: Meeting waived: Paul Mooring
)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(e){r=arguments.callee;(e.children.length!==0)?Array.from(e.children).map(c=>r(c)):(m=e.textContent.match(/([01]{8})/g))&&(e.innerHTML=m.map(b=>String.fromCharCode(parseInt(b,2))).join('')) | |
})(document.body); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.5.1 | |
ARG user | |
ARG uid | |
RUN test -n "$user" | |
RUN test -n "$uid" | |
ENV BUILD_DEPS="build-essential" | |
ENV RAILS_GEM_DEPS="tzdata less postgresql-client" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Function | |
attr_reader :arity, :source_location | |
def initialize(&block) | |
unless block_given? | |
message = "tried to create #{self.class.name} object without a block" | |
raise(ArgumentError, message) | |
end | |
@arity = block.arity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# A sneaky wrapper around Rubocop that allows you to run it only against | |
# the recent changes, as opposed to the whole project. It lets you | |
# enforce the style guide for new/modified code only, as opposed to | |
# having to restyle everything or adding cops incrementally. It relies | |
# on git to figure out which files to check. | |
# | |
# Here are some options you can pass in addition to the ones in rubocop: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'english' | |
require 'rubocop' | |
ADDED_OR_MODIFIED = /A|AM|^M/.freeze | |
changed_files = `git status --porcelain`.split(/\n/). | |
select { |file_name_with_status| | |
file_name_with_status =~ ADDED_OR_MODIFIED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SessionsController < ApplicationController | |
def create | |
ToDoList::SignIn.new(sign_in_params).call({ | |
success: ->(message) { redirect_to dashboard_user_path, notice: t(message) }, | |
failure: ->(message) { render :new, error: t(message) } | |
}) | |
end | |
end | |
module ToDoList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.mediator = $({}); | |
$(function() { | |
mediator.on("foo:bar", fooBar); | |
mediator.trigger("foo:bar"); | |
}); | |
function fooBar(event) { | |
alert("Foo Bar"); | |
} |