Git Product home page Git Product logo

hackrunninggo-sc's Introduction

HackRunningGo-SC

PC can run without legs. ๐Ÿ˜Ž

Description

This python script can help you to add Running Records for your personal information. And the running route is so reasonable because we change others running route and recode.

Declaration

This project is not for profit, so our organization choose opensource for it. We hope our school to make a better app, it includes encrypted transmission information, use tokens for authentication, irreversible encryption account password and more secure network interface. We sincerely hope that the school software technology is getting better and better, and it is not like this. ๐Ÿ˜“

So if you are like a ๐Ÿ’ฉ, we will fuck it. Thx.

Screenshot

Operating environment

You need to install python 2.7. And we recommend you to use terminal or bash in Linux, item in macOS and powershell in Windows.

Dependencies

  1. requests(A HTTP library for python)

About app.conf

We use json string to configure this app. And notice that every time you modifed device_model, mac_address or imei, you need reset customDeviceId and deviceId to a empty string. The application will re-caculate it.

  1. device_model: The phone's model you want to use to upload your record.
  2. mac_address: The phone's mac address you want to use to upload your record.
  3. imei: The phone's imei you want to use to upload your record.
  4. startLatLng: We use it to get test points like a seed. You better change it to the geo coordinate of your school.

Flow

1. Clone these repo(need git installed) or download the zip.

You need to deploy environment.

git clone https://github.com/HackSwjtu/HackRunningGo-SC.git 
cd HackRunningGo-SC

2. Input your login id and password

Write your profile id and password to user.data.

bash \[id] [password] >> user.data
cat user.data

e.g

3. Update running route static data. (optional)

You can run following command code to update the static running route data. It will update these files: route.data and tp.data.

python updateRoutes.py

4. Let's run! Hacking!

Run HaRunGo.py, and be happy!

python HaRunGo.py

MIT License

Copyright (c) 2016 Hack Swjtu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.