<commit_before>#!/bin/bash

# Foosball
#
# LICENSE:    MIT
#
# @project    foosball
# @package    deployment
# @author     <NAME> <<EMAIL>>
# @copyright  Copyright (c) 2014 andrelademann.de (http://www.andrelademann.de)
# @license    http://andrelademann.de/license
# @since      2014-12-18 - 11:53:21 PM


# 1. Update repository
cd ~/foosball &&\
git checkout master &&\
git pull &&\

# 2. Copy flow file and change user
cat ~/.node-red/flows_foosball.json > /home/pi/node-red/flows_foosball.json &&\
chown pi /home/pi/node-red/flows_foosball.json &&\

# 3. Add and commit changes
git add /home/pi/node-red/flows_foosball.json &&\
git commit -m "Deploy new flow from Raspberry PI" >> ~/deploy.log &&\

# 4. Push and log
git push >> ~/deploy.log

exit 0;
<commit_msg>Try to fix deploy script<commit_after>#!/bin/bash

# Foosball
#
# LICENSE:    MIT
#
# @project    foosball
# @package    deployment
# @author     <NAME> <<EMAIL>>
# @copyright  Copyright (c) 2014 andrelademann.de (http://www.andrelademann.de)
# @license    http://andrelademann.de/license
# @since      2014-12-18 - 11:53:21 PM


# 1. Update repository
cd ~/foosball &&\
git checkout master &&\
git pull &&\

# 2. Copy flow file
cat ~/.node-red/flows_foosball.json > ~/foosball/server/user/home/pi/.node-red/flows_foosball.json &&\

# 3. Add and commit changes
git add ~/foosball/server/user/home/pi/.node-red/flows_foosball.json &&\
git commit -m "Deploy new flow from Raspberry PI" >> ~/deploy.log &&\

# 4. Push and log
git push >> ~/deploy.log

exit 0;

{'fraction_non_alphanumeric': 0.15813648293963253, 'fraction_numerical': 0.030183727034120734, 'mean_word_length': 3.224376731301939, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1256884', 'n_tokens_mistral': 627, 'n_tokens_neox': 576, 'n_words': 144}