Standard Braking Distance
- DE:
(Geschwindigkeit / 10) * (Geschwindigkeit / 10) - EN:
(Speed / 10) * (Speed / 10)
Evasive (Emergency) Braking Distance
- DE:
((Geschwindigkeit / 10) * (Geschwindigkeit / 10)) / 2 - EN:
((Speed / 10) * (Speed / 10)) / 2
| <?php | |
| /* | |
| * Converts CSV to JSON | |
| * Example uses the csv file of this gist | |
| */ | |
| $feed="https://gist.githubusercontent.com/devfaysal/9143ca22afcbf252d521f5bf2bdc6194/raw/ec46f6c2017325345e7df2483d8829231049bce8/data.csv"; | |
| //Read the csv and return as array | |
| $data = array_map('str_getcsv', file($feed)); | |
| //Get the first raw as the key | |
| $keys = array_shift($data); |
| // dm Klopapier Widget | |
| // | |
| // Copyright (C) 2020 by marco79 <[email protected]> | |
| // | |
| // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
| // | |
| // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL | |
| // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | |
| // INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER | |
| // IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| from github import Github | |
| import tomark | |
| import datetime | |
| from dateutil import tz | |
| class pipeline_mngt_adv(): | |
| ''' Class for pipeline management ''' | |
| def __init__(self, token, org): | |
| ''' Init function |