Skip to content

Instantly share code, notes, and snippets.

View KevinGaudin's full-sized avatar

Kevin Gaudin KevinGaudin

View GitHub Profile
@KevinGaudin
KevinGaudin / gist:718d91be25c922f2a853f41f8d4c427a
Created September 4, 2019 13:29 — forked from hay/gist:1351230
Enterprisify your Java Class Names!
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
background: white;
text-align: center;
padding: 20px;
font-family: Georgia, serif;
@KevinGaudin
KevinGaudin / report.php
Last active October 17, 2021 07:00
Simplest PHP ACRA backend
<?php
// Outputs all POST parameters to a text file. The file name is the date_time of the report reception
$fileName = date('Y-m-d_H-i-s').'.txt';
$file = fopen($fileName,'w') or die('Could not create report file: ' . $fileName);
foreach($_POST as $key => $value) {
$reportLine = $key." = ".$value."\n";
fwrite($file, $reportLine) or die ('Could not write to report file ' . $reportLine);
}
fclose($file);
?>
{
"ANDROID_VERSION": 1.5,
"APP_VERSION_CODE": 8,
"APP_VERSION_NAME": 1.3,
"AVAILABLE_MEM_SIZE": 181972992,
"BRAND": "generic",
"BUILD": {
"BOARD": "unknown",
"BRAND": "generic",
"DEVICE": "generic",
{
"_id": "05c5a0e0-fcdc-44ef-a03a-7f1dd1b6f63d",
"_rev": "1-9bcfc8c466dc581e49966cccc4d28e7b",
"USER_EMAIL": "N/A",
"SETTINGS_GLOBAL": {
},
"DEVICE_FEATURES": {
"android.hardware.location.network": true,
"android.hardware.location": true,
"android.hardware.touchscreen.multitouch.jazzhand": true,