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
| #export OPENAI_TOKEN= | |
| # models can be expensive or cheap. | |
| # text-davinci-003 is powerful and is 0.002 dollar per token | |
| # Get a token from https://beta.openai.com/account/api-keys | |
| curl https://api.openai.com/v1/completions \ | |
| -H 'Content-Type: application/json' \ | |
| -H "Authorization: Bearer $OPENAI_TOKEN" \ | |
| -v \ |
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
| #/bin/bash | |
| gh auth login --with-token < token.txt | |
| #AUTHOR is the github name | |
| #JIRA_ID is on the tin | |
| #GH_TOKEN | |
| #JIRA_TOKEN | |
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
| bash -cx "$(curl -fsSL https://gist.githubusercontent.com/gducharme/46e06c6d809919e0d32d30e9ceb69cbb/raw/10a4523f99422f91ec5115b0d8bf9ac808911cfb/setup_t2.sh)" |
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
| #!/bin/bash | |
| # set -x # Use for debug mode | |
| # settings | |
| export name="fast-ai-p2" | |
| export cidr="0.0.0.0/0" | |
| # get the correct ami | |
| export region=`aws configure get region` | |
| if [ $region = "us-west-2" ]; then |
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
| #!/bin/bash | |
| # set -x # Use for debug mode | |
| # settings | |
| export name="fast-ai-t2" | |
| export cidr="0.0.0.0/0" | |
| # get the correct ami | |
| export region=`aws configure get region` | |
| if [ $region = "us-west-2" ]; then |
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
| ExternalGroupRelation.create(group_source_cd: 'REGTYPE_RTEUHC', external_group_id: '904871', group_id: 10, state_cd: nil, external_group_type_cd: "{\"level\":\"individual\",\"match\":[\"deductible\",\"2400\"],\"product\":\"GENMEDICAL\"}") | |
| ExternalGroupRelation.create(group_source_cd: 'REGTYPE_RTEUHC', external_group_id: '904871', group_id: 10, state_cd: nil, external_group_type_cd: "{\"level\":\"individual\",\"match\":[\"deductible\",\"2400\"],\"product\":\"DERM\"}") | |
| ExternalGroupRelation.create(group_source_cd: 'REGTYPE_RTEUHC', external_group_id: '904871', group_id: 10, state_cd: nil, external_group_type_cd: "{\"level\":\"individual\",\"match\":[\"deductible\",\"2400\"],\"product\":\"BEHAVHEALTH\"}") | |
| ExternalGroupRelation.create(group_source_cd: 'REGTYPE_RTEUHC', external_group_id: '904871', group_id: 15, state_cd: nil, external_group_type_cd: "{\"level\":\"individual\",\"set\":[\"copay\",\"10\"],\"match\":[\"deductible\",\"1150\"],\"product\":\"GENMEDICAL\"}") | |
| ExternalGroupRelation.create(group_source_cd: |
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
| # based on http://www.natontesting.com/2010/01/11/updated-script-to-list-all-cucumber-step-definitions/ | |
| # | |
| desc 'List all defined steps' | |
| task :steps do | |
| require 'hirb' | |
| require 'ostruct' | |
| extend Hirb::Console | |
| puts "CUCUMBER steps:" | |
| puts "" | |
| step_definition_dir = "features/step_definitions" |
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
| -bash: /Users/gducharme/.rvm/scripts/base: line 58: syntax error near unexpected token `fi' | |
| -bash: /Users/gducharme/.rvm/scripts/base: line 58: `fi' | |
| Original installed RVM version: | |
| rvm 1.10.2 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/] | |
| Turning on auto mode. | |
| Downloading RVM from wayneeseguin branch master | |
| % Total % Received % Xferd Average Speed Time Time Time Current |