Skip to content

Instantly share code, notes, and snippets.

View jiristepan's full-sized avatar
🎯
geeging

Jiri Stepan jiristepan

🎯
geeging
  • Etnetera activate a.s.
View GitHub Profile
@jiristepan
jiristepan / chickenVsEgg.js
Created October 19, 2018 09:26
Chicken egg problem solved by javascript
let question = ['🥚','🐔']
let answer = question.sort()
console.log(answer[0] + ' was first!')
@jiristepan
jiristepan / loadDatafeedToBigQuery.sh
Last active September 22, 2021 09:09
Load Adobe data feed data to Google BigQuery
#!/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
#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,]
@jiristepan
jiristepan / install-debian.sh
Last active November 18, 2024 09:08
Install nodejs, gcloud and docker on Debian9 in WSL mode
#!/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: