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
# | |
# Script che legge le temperature dall'ADC expansion montata | |
# sull'Onion Omega2. | |
# Oltre a leggere i dati effettua pure le chiamate HTTP verso il webserver. | |
# https://docs.onion.io/omega2-docs/adc-expansion.html | |
# import vari | |
import math # x calcoli sensori | |
import json # x jsonificare prima del POST |
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
#!/usr/bin/python | |
# Utility di base | |
import os | |
import time | |
import datetime | |
# Loggare su file | |
import logging | |
logging.basicConfig( |
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 | |
# | |
# @uthor: Filipe Madureira | |
# Backups a compressed raspbian system to a remote NAS location. | |
# | |
NAS_PATH="//server/share" | |
MOUNT_PATH="/mnt/remote-nas" | |
BACKUP_PATH=$MOUNT_PATH"/backups/" | |
TEMP_PATH="/tmp/backup" |
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
// Core | |
import React, { Component } from "react"; | |
import { connect } from "react-redux"; | |
// Elementi UI | |
import ErrorMessage from "../../ui/ErrorMessage"; | |
import LoadingSpinner from "../../ui/LoadingSpinner"; | |
import DistanceTestForm from "./DistanceTestForm"; | |
// Utils |
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
{"lastUpload":"2019-08-16T13:40:03.458Z","extensionVersion":"v3.4.1"} |