This file contains hidden or 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/sh | |
| ##################################################################### | |
| # | |
| # tools form development and google cloud management instalation | |
| # tested on debian9 for Windows10 https://www.microsoft.com/en-us/p/debian-gnu-linux/9msvkqc78pk6?activetab=pivot%3Aoverviewtab | |
| # | |
| # run as regular user, don't use sudo! | |
| # | |
| # will install: |
This file contains hidden or 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
| #install.packages("neuralnet") | |
| library(neuralnet) | |
| library(MASS) | |
| #pripravime si data | |
| data <- Boston | |
| index <- sample(1:nrow(data),round(0.8*nrow(data))) | |
| train <- data[index,] | |
| test <- data[-index,] |
This file contains hidden or 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 | |
| # First in https://console.cloud.google.com/ | |
| # 1) Create project | |
| # 2) Enable billing | |
| # 3) Install gcloud command line tools and run `gcloud init` to login and configure | |
| # (https://cloud.google.com/sdk/docs/downloads-apt-get) | |
| # | |
| # Created by data hackers from http://activate.cz |
This file contains hidden or 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
| let question = ['🥚','🐔'] | |
| let answer = question.sort() | |
| console.log(answer[0] + ' was first!') |
This file contains hidden or 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() |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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: |
OlderNewer