I hereby claim:
- I am mwhagedorn on github.
- I am mwhagedorn (https://keybase.io/mwhagedorn) on keybase.
- I have a public key ASCH7j_BA3d8CvrUORiAsTu5Aa7NK5lwzA2K6AeplOAT4wo
To claim this, I am signing this object:
| # add install stuff here that you are only likely to care about | |
| # lives in your home folder | |
| if ! brew list --cask | grep -q "^pycharm-ce$"; then | |
| brew install --cask pycharm-ce | |
| else | |
| echo "Pycharm Community is already installed" | |
| fi | |
| brew install --cask iterm2 | |
| brew install --cask obsidian |
| fs_notify() { | |
| if [[ -z "$1" ]]; then | |
| echo "Usage: fs_notify ICN-19379" | |
| return 1 | |
| fi | |
| local ticket="$1" | |
| local issue_url="https://icapitalnetwork.atlassian.net/browse/${ticket}" | |
| # Convert ticket to lowercase for FS URL |
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2059 | |
| set -euo pipefail | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| NO_COLOR='\033[0m' | |
| CLEAR_LINE='\r\033[K' |
| (* | |
| Creates a “Start Day” project in OmniFocus. | |
| *) | |
| set theMonthDay to (do shell script "date -v+0d +\"%b-%d\"") | |
| set projectName to "Morning " & theMonthDay | |
| set weekBefore to date (do shell script "date -v+0d +\"%B %d, %Y\"") | |
| set weekBefore's hours to 6 |
I hereby claim:
To claim this, I am signing this object:
| The following works great: | |
| sendEmail = () => { | |
| this.setState({ isFetching: true }); | |
| const params = { id: this.props.uid }; | |
| api().post('/internal/invoices/emails', params) | |
| .then((response) => { | |
| this.props.reload(); | |
| this.props.notify('success', response.data.message); | |
| }) |
| c = Console::PrepareGatewayMigration.new('protectionplan', Time.zone.parse('May 31 2017 5:00pm EST') | |
| before_date = Time.zone.parse('June 1 2017 2:00pm EST') | |
| c.record_original_next_assessment_at(before_date) | |
| c.delay_billing_dates_until(before_date) | |
| c = Console::PrepareGatewayMigration.new('petplus-vpi', Time.zone.parse('May 31 2017 5:00pm EST') | |
| before_date = Time.zone.parse('June 1 2017 2:00pm EST') | |
| c.record_original_next_assessment_at(before_date) | |
| c.delay_billing_dates_until(before_date) |
| var React = require('react'); | |
| var ReactDOM = require('react-dom'); | |
| var HelloWorld = React.createClass({ | |
| render: function() { | |
| return ( | |
| <div>Hello World</div> | |
| ); | |
| } | |
| }); |
| require 'spec_helper' | |
| describe "Dunning" do | |
| let(:site) { subscription.site } | |
| let(:processing_time) { Chronic.parse("August 1, 2016 12:00 pm EST") } | |
| let(:renewal_time) { subscription.current_period_ends_at + 1.minute } | |
| let(:subscription) { create(:active_subscription) } | |
| let!(:strategy) { create(:dunning_strategy, site: site, name:"my awesome test") } | |
| let!(:day_1) { create(:strategy_step, strategy: strategy, action: 'retry', send_email: true, day_threshold: 1) } | |
| let!(:day_3) { create(:strategy_step, strategy: strategy, action: 'retry', send_email: true, day_threshold: 3) } |