<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*- 
"""
USB Missile Command Center
written by <NAME> <<EMAIL>>

Mashed up from USB Missile Launcher Python Interface written by <NAME> <<EMAIL>>
          and  Armageddon USB Missile Launcher by <NAME> (aka riklaunim), http://www.rk.edu.pl

Installation Instructions:
  Grab the prerequisites:
    - apt-get install python-dev
    - apt-get install python-pip
    - sudo pip install --pre pyusb
  Get the necessry files (all in one directory):
    - missileserver.py
    - armageddon.py
    - armageddon.pyc
    - stopmissileserver.sh
  Run:
    python ./missileserver.py
      press 'w' when prompted to start webserver
      browse to http://IP:12345 to access the command center web page

  Only tested with the Dream Cheeky 908 Thunder Missile Launcher and Ubuntu 14.04.2 LTS Desktop 64bit
"""

import ctypes
import struct
import time
from armageddon import Armageddon

PASS = "<PASSWORD>"<commit_msg>Adds comment about password field<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*- 
"""
USB Missile Command Center
written by <NAME> <<EMAIL>>

Mashed up from USB Missile Launcher Python Interface written by <NAME> <<EMAIL>>
          and  Armageddon USB Missile Launcher by <NAME> (aka riklaunim), http://www.rk.edu.pl

Installation Instructions:
  Grab the prerequisites:
    - apt-get install python-dev
    - apt-get install python-pip
    - sudo pip install --pre pyusb
  Get the necessry files (all in one directory):
    - missileserver.py
    - armageddon.py
    - armageddon.pyc
    - stopmissileserver.sh
  Run:
    python ./missileserver.py
      press 'w' when prompted to start webserver
      browse to http://IP:12345 to attempt to access the command center web page
      browse to http://IP:12345/pass=<PASSWORD> to access the command center web page
  Only tested with the Dream Cheeky 908 Thunder Missile Launcher and Ubuntu 14.04.2 LTS Desktop 64bit
"""

import ctypes
import struct
import time
from armageddon import Armageddon

PASS = "<PASSWORD>"
{'fraction_non_alphanumeric': 0.0871694417238002, 'fraction_numerical': 0.01811949069539667, 'mean_word_length': 3.2474012474012475, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3575286', 'n_tokens_mistral': 679, 'n_tokens_neox': 613, 'n_words': 235}