- bullet point
- thing 2
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
TypeError: Cannot read property 'heroku__app' of undefined | |
at /bundles/kibana.bundle.js?v=9910:92503 | |
at baseFindIndex (/bundles/commons.bundle.js?v=9910:5797) | |
at Function.<anonymous> (/bundles/commons.bundle.js?v=9910:8712) | |
at /bundles/kibana.bundle.js?v=9910:92495 | |
at arrayEach (/bundles/commons.bundle.js?v=9910:6760) | |
at Function.<anonymous> (/bundles/commons.bundle.js?v=9910:8816) | |
at Object.filterManager.add (/bundles/kibana.bundle.js?v=9910:92493) | |
at Scope.$scope.filterQuery [as updateFilterInQuery] (/bundles/kibana.bundle.js?v=9910:22553) | |
at fn (eval at compile (/bundles/commons.bundle.js?v=9910:40962), <anonymous>:4:529) |
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 UserMailer < BaseMandrillMailer | |
# Template in mandrill: ":lang/user/forgot_password/v2" | |
def forgot_password(user, token) | |
build_message(user.language, user.email, version: 2) do | |
# ^ note the named parameter "version" | |
# Merge Vars... | |
end | |
end |
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 TestPresenter < Presenter | |
let(:a) { 5 } | |
let(:b) { 3 } | |
let(:c) { a * b } | |
let(:str) { _.to_s } | |
let(:sym) { _.to_sym } | |
let(:to_yaml) | |
end |
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
# 0) do only if you done have the code | |
git clone REPO_URL | |
# 1) pull latest master | |
git checkout master | |
git pull origin master | |
# 2) create new branch. | |
git checkout -b feature/foobar |
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
%header | |
.name | |
The is the name | |
.actions | |
These are actions | |
.print-only | |
Only in Print |
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
%header | |
.name | |
The is the name | |
.actions | |
These are actions | |
.print-only | |
Only in Print |
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
docker% make docs | |
/Library/Developer/CommandLineTools/usr/bin/make -C docs docs | |
docker build -t "docs-base:15058-include-name-in-syslog-tag" . | |
Sending build context to Docker daemon 7.074 MB | |
Sending build context to Docker daemon | |
Step 0 : FROM docs/base:latest | |
---> 1621828e3ad8 | |
Step 1 : MAINTAINER Mary Anthony <[email protected]> (@moxiegirl) | |
---> Using cache | |
---> f131e0f60e41 |
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
using terms from application "Mail" | |
on perform mail action with messages theSelectedMessages for rule theRule | |
repeat with theMessageNum from 1 to count theSelectedMessages | |
set theMessage to theSelectedMessages's item theMessageNum | |
if theMessage's source contains "Content-Type: text/calendar" then | |
set mailbox of theMessage to mailbox "Calendar Invites" of account "my_account" | |
end if | |
end repeat | |
end perform mail action with messages | |
end using terms from |
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
MAPPINGS = { | |
# format: "COMMON MISTAKE" => "DESIRED STATE SYMBOL" | |
"OHIO" => "OH", | |
"CALI" => "CA", | |
"CALIFORNIA" => "CA" | |
# and so on... | |
} | |
STATES = MAPPINGS.values.uniq # or possibly explicitly defined: %w(OH, CA, ...) |