Skip to content

Instantly share code, notes, and snippets.

View mrtycjan's full-sized avatar

Tycjan Sobel mrtycjan

  • RST Software Masters
  • Poland, Lower Silesia
View GitHub Profile
@mrtycjan
mrtycjan / scraper.ts
Created March 29, 2020 17:20
influx node covid 19 client
import { InfluxDB, WritePrecision, Point } from '@influxdata/influxdb-client';
import {default as axios, AxiosResponse} from 'axios';
const config = {
url: 'http://localhost:9999',
token: 'your_token_here',
org: 'your_orgid_here',
bucket: 'corona_live',
}
@mrtycjan
mrtycjan / scraper.ts
Created March 29, 2020 17:20
influx node covid 19 client
import { InfluxDB, WritePrecision, Point } from '@influxdata/influxdb-client';
import {default as axios, AxiosResponse} from 'axios';
const config = {
url: 'http://localhost:9999',
token: 'your_token_here',
org: 'your_orgid_here',
bucket: 'corona_live',
}
@mrtycjan
mrtycjan / scraper.ts
Created March 29, 2020 17:19
influx node covid 19 client
import { InfluxDB, WritePrecision, Point } from '@influxdata/influxdb-client';
import {default as axios, AxiosResponse} from 'axios';
const config = {
url: 'http://localhost:9999',
token: 'your_token_here',
org: 'your_orgid_here',
bucket: 'corona_live',
}
@mrtycjan
mrtycjan / main.cpp
Last active April 18, 2018 12:05
binarnie pl algorytm rozkładu liczby na czynniki pierwsze
#include <iostream>
//rozklad liczb na czynniki pierwsze
//Tycjan Sobel 2018
using namespace std;
int main()
{
int liczba;