<commit_before>#!/bin/bash
#Breaking the pattern due to this script will be called thru eval thus it wont have the other items sourced in

if [[ ! -z "$1" ]]; then
    MACHINE_NAME=$1
else 
    MACHINE_NAME=cars
fi

VPN="false"
while read interface; do
   FOO=$(ifconfig $interface | grep "inet 172")
   if [ ! -z "$FOO" ]; then
       VPN="true" 
       break
    fi
done < <(ifconfig -a | grep utun | cut -d":" -f1 )

if [[ "$VPN" == "true" ]]; then
    echo 'export DOCKER_TLS_VERIFY="1"'
    echo 'export DOCKER_HOST="tcp://127.0.0.1:2376"'
    echo 'export DOCKER_CERT_PATH="`echo ~`/.docker/machine/machines/'$MACHINE_NAME'"'
    echo 'export DOCKER_MACHINE_NAME="'$MACHINE_NAME'"'
    echo '# Run this command to configure your shell:'
    echo '# eval "$(powertrain machine-env MACHINE_NAME='$MACHINE_NAME')"'
else
    echo '# Run this command to configure your shell:'
    echo '# eval $(docker-machine env '$MACHINE_NAME')'
fi
<commit_msg>adding missing quotes<commit_after>#!/bin/bash
#Breaking the pattern due to this script will be called thru eval thus it wont have the other items sourced in

if [[ ! -z "$1" ]]; then
    MACHINE_NAME=$1
else 
    MACHINE_NAME=cars
fi

VPN="false"
while read interface; do
   FOO=$(ifconfig $interface | grep "inet 172")
   if [ ! -z "$FOO" ]; then
       VPN="true" 
       break
    fi
done < <(ifconfig -a | grep utun | cut -d":" -f1 )

if [[ "$VPN" == "true" ]]; then
    echo 'export DOCKER_TLS_VERIFY="1"'
    echo 'export DOCKER_HOST="tcp://127.0.0.1:2376"'
    echo 'export DOCKER_CERT_PATH="`echo ~`/.docker/machine/machines/'$MACHINE_NAME'"'
    echo 'export DOCKER_MACHINE_NAME="'$MACHINE_NAME'"'
    echo '# Run this command to configure your shell:'
    echo '# eval "$(powertrain machine-env MACHINE_NAME='$MACHINE_NAME')"'
else
    echo '# Run this command to configure your shell:'
    echo '# eval "$(docker-machine env '$MACHINE_NAME')"'
fi

{'fraction_non_alphanumeric': 0.14779874213836477, 'fraction_numerical': 0.01781970649895178, 'mean_word_length': 3.6, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6848619', 'n_tokens_mistral': 717, 'n_tokens_neox': 668, 'n_words': 202}