Block-chain:
$ cd ~/iot/lesson10$ python3 hash_value.py$ python3 snakecoin.py$ python3>>> import hashlib>>> m=hashlib.sha256(b"hello, world")>>> m.hexdigest()>>> m.digest_size>>> m.block_size>>> exit()$ cd$ git clone https://github.com/satwikkansal/python_blockchain_app.git$ export FLASK_APP=node_server.py$ cd ~/python_blockchain_app$ flask run --port 8000$ vncserver$ cd ~/python_blockchain_app$ python3 run_app.pyBecause my pi is still on campus I can not re flash it to fix the issues it seems to have with chromium browser currently
$ wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz$ tar zxvf bcm2835-1.60.tar.gz$ cd bcm2835-1.60$ ./configure$ make$ sudo make check$ sudo make install$ cd$ git clone https://github.com/robertlie/dht11-raspi3.git$ cd dht11-raspi3$ npm install$ cd ~/dht11-raspi3$ nano mam_publish.js$ nano mam_receive.js$ nano mam_sensor.js$ cd ~/dht11-raspi3$ node mam_publish.js$ cd ~/dht11-raspi3$ node mam_receive.js YOUR_ROOTHad some issues with my pi and the rest of this lab needs physical components which we do not have due to Covid-19.