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
| /* | |
| */ | |
| function serialized(fn){ | |
| let queue = Promise.resolve(); | |
| return (...args)=>{ | |
| const res = queue.then(() => fn(...args)); | |
| queue = res.catch(() => {}); | |
| return res; |
| <div class="bubbles-wrapper bubbles-circle"> | |
| <div class="bubble">1</div> | |
| <div class="bubble">2</div> | |
| <div class="bubble">3</div> | |
| <div class="bubble">4</div> | |
| <div class="bubble">5</div> | |
| <div class="bubble">6</div> | |
| </div><!-- remove spaces | |
| --><div class="bubbles-wrapper bubbles-vertical"> | |
| <div class="bubble"></div> |
| import React, { Component } from 'react'; | |
| import { | |
| View, | |
| ViewPropTypes, | |
| TouchableOpacity, | |
| StyleSheet, | |
| Text | |
| } from 'react-native'; | |
| import PropTypes from 'prop-types'; |
| // tslint:disable:max-classes-per-file | |
| declare module 'react-native-paper' { | |
| import { Component, ReactNode } from 'react'; | |
| import { | |
| StyleProp, | |
| TextProps, | |
| TextStyle, | |
| TouchableHighlightProps, | |
| TouchableNativeFeedbackProps, | |
| ViewProps, |
| pod 'FMDB'#, :git => 'https://github.com/ccgus/fmdb.git', :commit => '1b346b527179f8869d6e8332917c80ac83337ee8' | |
| post_install do |installer| | |
| Dir['Pods/*/**/*.h'].each { |file| | |
| search_text = %q["sqlite3.h"] | |
| replace_text = '<SQLCipher/sqlite3.h>' | |
| oldFile = File.read(file) | |
| if oldFile.include? search_text |
| //First, define a custom bundle class as like as below | |
| import Foundation | |
| //A key used for exchanging associated object | |
| var _BUNDLE_KEY = 0 | |
| class BundleEx : Bundle { | |
| override func localizedString(forKey key: String, value: String?, table tableName: String?) -> String { |
| // | |
| // KeyboardBehaviorController.swift | |
| // Spot | |
| // | |
| // Created by Afshin on 6/20/17. | |
| // Copyright © 2017 AFE. All rights reserved. | |
| // | |
| import Foundation | |
| import UIKit |
| ///Polygon decoder | |
| public func decodePoly(encoded: String) -> [Location]? { | |
| var poly = [Location]() | |
| var index = 0 | |
| let len = encoded.length | |
| var lat = 0.0, lng = 0.0 | |
| var encodedData = encoded.unicodeScalars | |
| //Put this in android block | |
| libraryVariants.all { variant -> | |
| variant.outputs.each { output -> | |
| println("---> Variant name: " + variant.getName()) | |
| println("---> Variant base name: " + variant.getBaseName()) | |
| println("---> Variant Assemble: " + variant.getAssemble()) |