<commit_before>QS-GPS-Logger
=============

Simple GPS Logger that sends data to arbitrary endpoint

## API
closely mirrors the Java Android API
```
{
  "locations": [
   {
      "timestamp": "1408912444000",
      "latitude" : "40.801063",
      "longitude": "-76.3419352",
      "speed"    : "0.75",
      "bearing"  : "165.7",
      "accuracy" : "17.0",
      "altitude" : "87.0"
    }
  ]
}
```


## Rationale
I have been frustrated be all sorts of "Quantified Self" apps that take possesion of
some of the most personal data I have. This allows me to know exactly where and what happens
with my data.This is a simple hack so that I can run statistical analysis of where I go and what I do. Hopefully I can correlate this with other data I have started collecting as well.

WARNING: This version does not use Https, it is trivial to add in, but unless you have a CA trusted
key you'll need to have android explicitly trust your key.

## Install

0. Be able to build an android app
1. make sure platform-tools/ as well as the tools/ directory is in your PATH environment variable.
2. cd qs-gps
3. ant build
4. adb push bin/qs-gps-logger /sdcard
5+. install on phone

## Run Server
0. modify config/config.json
1. cd server
2. node server.js

<commit_msg>markdown didn't appreciate my bad joke<commit_after>QS-GPS-Logger
=============

Simple GPS Logger that sends data to arbitrary endpoint

## API
closely mirrors the Java Android API
```
{
  "locations": [
   {
      "timestamp": "1408912444000",
      "latitude" : "40.801063",
      "longitude": "-76.3419352",
      "speed"    : "0.75",
      "bearing"  : "165.7",
      "accuracy" : "17.0",
      "altitude" : "87.0"
    }
  ]
}
```


## Rationale
I have been frustrated be all sorts of "Quantified Self" apps that take possesion of
some of the most personal data I have. This allows me to know exactly where and what happens
with my data.This is a simple hack so that I can run statistical analysis of where I go and what I do. Hopefully I can correlate this with other data I have started collecting as well.

WARNING: This version does not use Https, it is trivial to add in, but unless you have a CA trusted
key you'll need to have android explicitly trust your key.

## Install

0. Be able to build an android app
1. make sure platform-tools/ as well as the tools/ directory is in your PATH environment variable.
2. cd qs-gps
3. ant build
4. adb push bin/qs-gps-logger /sdcard
5. install on phone

## Run Server
0. modify config/config.json
1. cd server
2. node server.js


{'fraction_non_alphanumeric': 0.09613869188337273, 'fraction_numerical': 0.04097714736012608, 'mean_word_length': 3.1622950819672133, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6971452', 'n_tokens_mistral': 836, 'n_tokens_neox': 763, 'n_words': 371}