Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am fralik on github.
  • I am fralik (https://keybase.io/fralik) on keybase.
  • I have a public key ASCSmzIcTU57x-YnN5ifMaFMg6aF6b7UOlyJp2qs1pgTEwo

To claim this, I am signing this object:

[tool.poetry]
name = "sensortag"
version = "0.1.0"
description = ""
authors = ["Vadim Frolov <fralik@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.7"
pandas = "^0.24.2"
envparse = "^0.2.0"
FROM python:3.7.4
ARG PIP_NO_CACHE_DIR=off
WORKDIR /app
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
ENV PATH=/root/.poetry/bin:$PATH
COPY poetry.lock ./
COPY pyproject.toml ./
@fralik
fralik / stones.js
Last active September 22, 2018 11:39
Stone coords
var addressPoints = [
{
"lat": 56.607512,
"lng": 16.439838
},
{
"lat": 56.678834,
"lng": 16.527814
},
{
@fralik
fralik / sendRequest.m
Last active July 19, 2022 18:10
Matlab code to download a file from Google Drive and to save it locally
fileName = 'file_00002_00002.tif';
fileId = '0B649boZqpYG1OEZnV21ncDVNcVk';
fileUrl = sprintf('https://drive.google.com/uc?export=download&id=%s', fileId);
request = matlab.net.http.RequestMessage();
% First request will be redirected to information page about virus scanning
% We can get a confirmation code from an associated cookie file
[~, infos] = sendRequest(matlab.net.URI(fileUrl), request);
confirmCode = '';
for j = 1:length(infos('drive.google.com').cookies)