Skip to content

Instantly share code, notes, and snippets.

View voith's full-sized avatar
👨‍🎓
Building on top of Ethereum

Voith voith

👨‍🎓
Building on top of Ethereum
View GitHub Profile
#Install on the system
pip3 install epdb
# Set in the code
import epdb; epdb.serve()
# Connect to the debugger
python3 -c 'import epdb; epdb.connect()'

Keybase proof

I hereby claim:

  • I am voith on github.
  • I am voith26 (https://keybase.io/voith26) on keybase.
  • I have a public key ASBoESSGBKFWMQJ8TaZXGLodnYqy2U-0TkYCKHZnHxDlBwo

To claim this, I am signing this object:

@voith
voith / README.md
Last active March 17, 2018 13:58
Basic Mqtt test

** setup

  1. Install python2
  2. Install paho-mqtt libtray: pip install paho-mqtt
  3. Download all three python files in the gist and store them in the same directory:
  4. To run the subscriber run python mqtt_subscriber.py
  5. To run the publisher run python mqtt_publisher.py