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 {api} from '../data/store.js'; | |
import config from "../config/config"; | |
import ConnectionContext from "../contexts/ConnectionContext"; | |
const Logger = require('@marceliwac/logger'); | |
const refreshInterval = (1000 * config.dataRefreshIntervalInSeconds) || 10000; | |
async function newDataAvailable(checksumPath, currentChecksum){ |
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 {api} from '../data/store.js'; | |
import config from "../config/config"; | |
import ConnectionContext from "../contexts/ConnectionContext"; | |
const Logger = require('@marceliwac/logger'); | |
const refreshInterval = (1000 * config.dataRefreshIntervalInSeconds) || 10000; | |
async function newDataAvailable(checksumPath){ |
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 | |
# | |
# Authored by: Marceli Wac | |
# | |
# MacOS utility used for displaying the signal strength in a form of cascading progress bar | |
# prepended with a percentage value. Signal strength is expressed using cubic formula for | |
# conversion between dBm and % as described in http://cecas.clemson.edu/linux/nm-ipw2200.shtml | |
# Progress bar should be used for indication only. | |
# Uncertainty progress bar: +/- 2% | |
# percentage value: +/- 1% |