Skip to content

Instantly share code, notes, and snippets.

View artekw's full-sized avatar

Artur Wronowski artekw

View GitHub Profile
@artekw
artekw / bitbay.py
Last active December 23, 2017 16:08
Wycena kryptowalut w bitbay w PLN
import ccxt
PUB = "XXX"
PRV = "XXX"
def portfelBitbay():
portfel_pln = {}
bitbay = ccxt.bitbay({
"apiKey": PUB,
"secret": PRV
@artekw
artekw / rvitalk.rb
Created November 22, 2016 20:05 — forked from mqu/rvitalk.rb
rvitalk : ruby P300 protocol implementation to handle IO to Viessmann heating systems
#!/usr/bin/ruby
# encoding: utf-8
# author : Marc Quinton, april 2015
# name : rvitalk : ruby P300 protocol implementation to handle IO to Viessmann heating systems
# object : connect to a Viessmann heating system via Optolink adaptator to query internal values.
# version : 0.5 - added write mode for commands, P300 constants,
# requirements : ruby >= 2.1, ruby-serialport, a serial USB optolink adapter, a Viessman heating system.
# licence : MIT
# links : http://openv.wikispaces.com/vcontrold ; https://gist.github.com/mqu
// SIMPL
// A Serial Interpreted Minimal Programming Language
// Inspired by Txtzyme - by Ward Cunningham
// SIMPL tries to take you back to an age of computing when things were simple
// So it compiles in under 6K - leaving lots of room for other stuff
// SIMPL allows new words to be defined by preceding them with colon : (Like Forth)