This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | ShortName | ModeAndPID | Equation | Min Value | Max Value | Units | Header | startDiagnostic | stopDiagnostic | scale | minimumRefreshDelayMillis | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
[FORD]Coolant temperature(From TCM) | Coolant | 0x0105 | A-40 | 0 | 120 | °C | TCM | 1 | 0 | |||
[FORD]Engine Oil Temp | EOT | 0x221310 | (((A*256)+B)/100)-40 | 0 | 300 | °C | Auto | 1 | 0 | |||
Boost Pressure | BOOST | 0x22f470 | ((D*256+E)/32-[33])/100 | -0.5 | 1.8 | bar | 7E0 | 1 | 0 | |||
Boost Pressure Desired | BOOST DSD | 0x22f470 | ((B*256+C)/32-[33])/100 | -0.5 | 1.8 | bar | 7E0 | 1 | 0 | |||
Brake Fluid Pressure | BFP | 0x22280a | (A*256+B)*100/128 | 0 | 65535 | kPa | 7E0 | 1 | 0 | |||
Brake Switch | BRAKE SW | 0x22da05 | {A:7} | 0 | 1 | ON/OFF | 726 | 1 | 0 | |||
Charge Air Cooler Temperature | CACT | 0x22f477 | C-40 | -40 | 100 | °C | 7E0 | 1 | 0 | |||
Coupling Solenoid Duty Cycle | CUP SOL | 0x221e7a | A*100/255 | 0 | 100 | % | 761 | 1 | 0 | |||
Distance from Bumper to Target | DIST BMP TGT | 0x22d901 | B/4 | 0 | 16 | m | 793 | 1 | 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './App.css'; | |
import { useState } from 'react'; | |
import cloneDeep from "lodash-es/cloneDeep"; | |
import shuffle from "lodash-es/shuffle"; | |
class WinLocation { | |
constructor() { | |
this.posArray = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# On my machine VLC fails to connect to chromecast. If I specify the IP it fails to connect because of certificate errors. I can | |
# manually download the certificate but it is only valid for 2 days. This little script gets it all working. | |
# Set your ip address below and call this script with the filename. | |
CHROMECAST_IP=192.168.1.153 | |
gnutls-cli --save-cert=chromecast.pem --insecure $CHROMECAST_IP:8009 | |
mkdir -p ~/.local/share/vlc/certs | |
mv chromecast.pem ~/.local/share/vlc/certs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import time | |
loop = asyncio.new_event_loop() | |
def print_time(): | |
global start | |
end = time.time() | |
print(end - start) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from concurrent.futures import ThreadPoolExecutor | |
import random | |
start = 0 | |
def print_time(): | |
global start | |
end = time.time() | |
print(end - start) |