<commit_before>#!/bin/bash

# needed for ssh-agent auth under cron on OS X
declare -x SSH_AUTH_SOCK=$( find /tmp/com.apple.launchd.*/Listeners -user $(whoami) -type s | head -1 )

./google_spreadsheet_to_csv.rb > squeezes.csv
pushd squeezes
../dlflickr.rb < ../squeezes.csv
popd
rsync -avz -e ssh squeezes/ libdc3-dev-02.oit.duke.edu:/srv/data/IDEs/flickr<commit_msg>Use bundler<commit_after>#!/bin/bash

# needed for ssh-agent auth under cron on OS X
declare -x SSH_AUTH_SOCK=$( find /tmp/com.apple.launchd.*/Listeners -user $(whoami) -type s | head -1 )

bundle install
bundle exec ./google_spreadsheet_to_csv.rb > squeezes.csv
pushd squeezes
bundle exec ../dlflickr.rb < ../squeezes.csv
popd
rsync -avz -e ssh squeezes/ libdc3-dev-02.oit.duke.edu:/srv/data/IDEs/flickr
{'fraction_non_alphanumeric': 0.14267185473411154, 'fraction_numerical': 0.010376134889753566, 'mean_word_length': 3.765432098765432, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '5781846', 'n_tokens_mistral': 327, 'n_tokens_neox': 293, 'n_words': 74}