<commit_before>#!/bin/bash
#
# Description : Install rPlay, Airplay mirroring (Need license key)
# Author      : <NAME> (<EMAIL>)
# Version     : 1.0 (15/May/14)
#
# IMPROVEMENT : http://www.welzels.de/blog/projekte/raspberry-pi/raspberry-pi-als-airplay-client/ <-- AirPlay (sound)
clear

# trap CTRL+C in the rplay installation
int_trap() {
    echo "Ctrl-C pressed"
}
trap int_trap INT

rplay_install(){
    sudo apt-get install -y libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl
    sudo youtube-dl --update
    wget -O /tmp/rplay.deb http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb
    sudo dpkg -i /tmp/rplay.deb
    rm /tmp/rplay.deb
    echo "Enter your license key:"
    read LICENSE_KEY
    echo 'license_key='$LICENSE_KEY | sudo tee -a /etc/rplay.conf
    sudo /etc/init.d/rplay restart
    echo -e  "\nDone!. To {stop,start,restart} service: sudo /etc/init.d/rplay {stop,start,restart}.\nTo uninstall: sudo dpkg -r rplay"
    read -p "Press [ENTER] to continue..."
}<commit_msg>Minor changes<commit_after>#!/bin/bash
#
# Description : Install rPlay, Airplay mirroring (Need license key)
# Author      : <NAME> (<EMAIL>)
# Version     : 1.1 (11/Jun/14)
#
# IMPROVEMENT : http://www.welzels.de/blog/projekte/raspberry-pi/raspberry-pi-als-airplay-client/ <-- AirPlay (sound)
#
clear

# trap CTRL+C in the rplay installation
int_trap() {
    echo "Ctrl-C pressed"
}
trap int_trap INT

rplay_install(){
    sudo apt-get install -y libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl
    sudo youtube-dl --update
    wget -O /tmp/rplay.deb http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb
    sudo dpkg -i /tmp/rplay.deb
    rm /tmp/rplay.deb
    echo "Enter your license key:"
    read LICENSE_KEY
    echo 'license_key='$LICENSE_KEY | sudo tee -a /etc/rplay.conf
    sudo /etc/init.d/rplay restart
    echo -e  "\nDone!. To {stop,start,restart} service: sudo /etc/init.d/rplay {stop,start,restart}.\nTo uninstall: sudo dpkg -r rplay"
    read -p "Press [ENTER] to continue..."
}
{'fraction_non_alphanumeric': 0.14419291338582677, 'fraction_numerical': 0.008858267716535433, 'mean_word_length': 3.123732251521298, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1650423', 'n_tokens_mistral': 832, 'n_tokens_neox': 771, 'n_words': 185}