<commit_before>document.getElementById("id_logic_level_version").innerHTML = "Business level version: 2017.12.06.1"; 



navigator.geolocation.getCurrentPosition(on_gps_success, on_gps_error);

//-----------------------------------------------------------------------------
function on_gps_success(p)
{
	document.getElementById("id_p").innerHTML = 
	"lat = " + p.coords.latitude + 
	"<br>long = " + p.coords.longitude + 
	"<br>accuracy = " + p.coords.accuracy + "m" + 
	"<br>altitude= " + p.coords.altitude + "m" ;

	var map_str = "https://maps.googleapis.com/maps/api/staticmap?markers=color:blue|"+p.coords.latitude+","+p.coords.longitude+"&zoom=15&size=320x240&key=<KEY>";

	document.getElementById("id_gps_img").setAttribute("src", map_str);
}
//-----------------------------------------------------------------------------
function on_gps_error(e)
{
	allert(e.code);
}
//-----------------------------------------------------------------------------
<commit_msg>adaugat speed<commit_after>document.getElementById("id_logic_level_version").innerHTML = "Business level version: 2017.12.06.1"; 



navigator.geolocation.getCurrentPosition(on_gps_success, on_gps_error);

//-----------------------------------------------------------------------------
function on_gps_success(p)
{
	document.getElementById("id_p").innerHTML = 
	"lat = " + p.coords.latitude + 
	"<br>long = " + p.coords.longitude + 
	"<br>accuracy = " + p.coords.accuracy + " m" + 
	"<br>altitude = " + p.coords.altitude + " m" + 
	"<br>speed = " + p.coords.speed + " m/s";

	var map_str = "https://maps.googleapis.com/maps/api/staticmap?"+
	"markers=color:blue|"+ p.coords.latitude + "," + p.coords.longitude + "|Palatul+Apor"+
	"&path=color:0xff0000|" + p.coords.latitude + "," + p.coords.longitude + "|Palatul+Apor"+
	"&zoom=15"+
	"&size=320x240"+
	"&key=<KEY>";
	document.getElementById("id_gps_img").setAttribute("src", map_str);
}
//-----------------------------------------------------------------------------
function on_gps_error(e)
{
	allert(e.code);
}
//-----------------------------------------------------------------------------

{'fraction_non_alphanumeric': 0.37221431958274065, 'fraction_numerical': 0.01849217638691323, 'mean_word_length': 1.8904109589041096, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 2, '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': '587229', 'n_tokens_mistral': 716, 'n_tokens_neox': 672, 'n_words': 71}