This file contains hidden or 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 bash | |
| ## Description: Run pint on branch/commit changed or dirty files | |
| ## Usage: pint-diff {diff?} [--help|-h] [--dirty|-d] [--pint "pint args"] [--list] | |
| ## Example: "ddev pint-diff", "ddev pint-diff alternate-branch", "ddev pint-diff --dirty" | |
| # Default values | |
| DIFF="origin/main" | |
| HELP=false | |
| DIRTY=false |
This file contains hidden or 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
| <?php | |
| /** | |
| * The key to getting Intercom to work with wire:navigate is using an undocumented but well supported feature. | |
| * My source for how I know they are supporting it: https://github.com/intercom/intercom-rails/issues/336 | |
| ** | |
| @if (config('intercom.app_id')) | |
| <script> | |
| // From Intercom docs | |
| const APP_ID = "{{ config('intercom.app_id') }}"; |
This file contains hidden or 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
| source 'https://rubygems.org' | |
| gem 'infusionsoft' |
This file contains hidden or 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
| = semantic_form_for [@user, @transaction], url: url, style: "width: inherit;" do |f| | |
| = f.semantic_fields_for :transfers do |g| | |
| = g.inputs do | |
| = g.input :amount | |
| %li | |
| %label | |
| = "(#{Transfer::TRANSFER_FEE.format :symbol} transaction fee will be added)" | |
| = g.inputs do | |
| %li | |
| %label |
This file contains hidden or 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 ContestFilter | |
| BIG_HASH = { | |
| prize: { | |
| option0: { | |
| name: 'Free', | |
| where: 'prize_cents = 0' }, | |
| option1: { | |
| name: '$', | |
| where: 'prize_cents > 0 AND prize_cents <= 500' }, | |
| option2: { |