- upgrade to stretch (ideally need buster for python 3.7 and node 10)
- rebuilt python 3.7 (https://www.wyre-it.co.uk/blog/latestpython/)
- the tests hung, re-started and finsihed the script manually
- install node 10 (https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp) curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
- pipenv (https://pipenv.readthedocs.io/en/latest/install/#installing-pipenv)
- Need to really add pip3.7 to the path first to make this easier.
- install git (https://projects.raspberrypi.org/en/projects/getting-started-with-git/4) sudo apt install git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let selected = {}; | |
let ready = (callback) => { | |
// in case the document is already rendered | |
if (document.readyState != 'loading') callback(); | |
// modern browsers | |
else if (document.addEventListener) document.addEventListener('DOMContentLoaded', callback); | |
// IE <= 8 | |
else document.attachEvent('onreadystatechange', function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
toHex(str) { | |
let hex = ''; | |
for(let i=0;i<str.length;i++) { | |
let s = str.charCodeAt(i).toString(16); | |
hex += (s.length===1 ? '0' : '')+ str.charCodeAt(i).toString(16)+ ' '; | |
} | |
return hex; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +calanais is my blockchain ID. https://onename.com/calanais |
NewerOlder