<commit_before><?php
/* pushover.php */

define( 'APP_TOKEN', getenv( 'PUSHOVER_APP_TOKEN' ) );
define( 'USER_KEY', getenv( 'PUSHOVER_USER_KEY' ) );

function send_notification( $msg ) {
	curl_setopt_array( $ch = curl_init()
	                 , array( CURLOPT_URL => "https://api.pushover.net/1/messages.json"
	                        , CURLOPT_RETURNTRANSFER => true
	                        , CURLOPT_POSTFIELDS => array( "token" => APP_TOKEN
	                                                     , "user" => USER_KEY
	                                                     , "title" => "RPi Environmental Data"
	                                                     , "message" => $msg
	                                                     , "url" => "http://littlegemsoftware.com:314/chart-sensor.html"
	                                                     , "url_title" => "RPi Sensor Data"
	                                                     )
	                        )
	                 );
	curl_exec( $ch );
	curl_close( $ch );
}	
?><commit_msg>Line endings<commit_after><?php
/* pushover.php */

define( 'APP_TOKEN', getenv( 'PUSHOVER_APP_TOKEN' ) );
define( 'USER_KEY', getenv( 'PUSHOVER_USER_KEY' ) );

function send_notification( $msg ) {
	curl_setopt_array( $ch = curl_init()
	                 , array( CURLOPT_URL => "https://api.pushover.net/1/messages.json"
	                        , CURLOPT_RETURNTRANSFER => true
	                        , CURLOPT_POSTFIELDS => array( "token" => APP_TOKEN
	                                                     , "user" => USER_KEY
	                                                     , "title" => "RPi Environmental Data"
	                                                     , "message" => $msg
	                                                     , "url" => "http://littlegemsoftware.com:314/chart-sensor.html"
	                                                     , "url_title" => "RPi Sensor Data"
	                                                     )
	                        )
	                 );
	curl_exec( $ch );
	curl_close( $ch );
}
?>
{'fraction_non_alphanumeric': 0.11311787072243346, 'fraction_numerical': 0.0038022813688212928, 'mean_word_length': 0.9765258215962441, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6220455', 'n_tokens_mistral': 550, 'n_tokens_neox': 498, 'n_words': 87}