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 argparse | |
import requests | |
import logging as log | |
import pandas as pd | |
from datetime import datetime | |
import json | |
def call_exponea_api(method,path, payload, config): | |
url = f"{config['api_endpoint']}{path}" | |
log.debug(url) |
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
- id: '1646558426XXX' | |
alias: 'Reed and Update Local Temp' | |
description: 'No description' | |
trigger: | |
- platform: time_pattern | |
minutes: /15 | |
condition: [] | |
action: | |
- service: number.set_value | |
target: |
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
library(ggplot2) | |
library(dplyr) | |
library(scales) | |
library(zoo) | |
library(rvest) | |
library(jsonlite) | |
#seznam dnu v tudnu | |
weekdays <- c("Po","Ut","St","Ct","Pa","So","Ne") |
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
library(ggplot2) | |
library(scales) | |
library(dplyr) | |
################## parameters ############## | |
all <- 10000000 # population | |
sick <- 200000 # number of sick people | |
sensitivity <- 0.95 # how many SICK people will be detected correctly | |
specificity <- 0.95 # how many HEALTHY people will be detected correctly |
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
google_project_iam_member.member-lle: Refreshing state... [id=activate-mobileapps-reviews-2/roles/editor/user:[email protected]] | |
google_bigquery_dataset.dataset-sanbox: Refreshing state... [id=projects/activate-mobileapps-reviews-2/datasets/sandbox] | |
google_bigquery_dataset.dataset-l0: Refreshing state... [id=projects/activate-mobileapps-reviews-2/datasets/L0] | |
google_project_iam_member.member-hka: Refreshing state... [id=activate-mobileapps-reviews-2/roles/editor/user:[email protected]] | |
google_storage_bucket.bucket-temp: Refreshing state... [id=activate-mobileapps-reviews-2-temp] | |
google_project_iam_member.member-fha: Refreshing state... [id=activate-mobileapps-reviews-2/roles/editor/user:[email protected]] | |
google_project_iam_member.member-jzu: Refreshing state... [id=activate-mobileapps-reviews-2/roles/editor/user:[email protected]] | |
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: |
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 numpy as np | |
import cv2 | |
# open capturing device and check | |
cap = cv2.VideoCapture("DJI160.MOV") | |
# define color range - bottom and top of color space in GBR (reverse RGB) | |
boundaries = ([00, 00, 123], [88, 88 , 190]) | |
frames=0 #frame counter | |
# main loop - frame by frame proceesing |
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 numpy as np | |
import cv2 | |
import sys | |
# input and output folders | |
basedir = "/mnt/c/MEDIA" | |
infolder = "input" | |
outfolder = "output" | |
if (len(sys.argv) != 2): |
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
library(dplyr) | |
library(tidyr) | |
library(ggplot2) | |
library(scales) | |
# simple vizualization of public dataset https://data.humdata.org/dataset/novel-coronavirus-2019-ncov-cases | |
rm(list=ls()) |
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
add-apt-repository universe | |
sudo apt-get update | |
apt-get install -y mc mdadm lvm2 | |
mkdir /media/DATA | |
mount -t ntfs -o nls=utf8,umask=0222 /dev/sda2 /media/DATA | |
mkdir /media/SYNO | |
mdadm -Asf && vgchange -ay | |
mount /dev/vg1000/lv /media/SYNO -o ro |
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
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var space = String.fromCharCode(32); | |
var nonBreakingSpace = String.fromCharCode(160); | |
//var nonBreakingSpace = "_"; // pro test | |
//hlavni funkce. Provede nahrazeni ve vsech bunkach | |
function replaceActiveSheet(){ | |
var sheet = ss.getActiveSheet() | |
var range =sheet.getDataRange(); | |
var values = range.getValues() |
NewerOlder