soracom / handson Goto Github PK
View Code? Open in Web Editor NEWMaterials and codes for Hands-On training
License: Apache License 2.0
Materials and codes for Hands-On training
License: Apache License 2.0
I tried to follow our workshop exercise again, but I failed at this step, any idea?
sudo curl -o /etc/NetworkManager/dispatcher.d/90.set_ppp_route_metric https://soracom-files.s3.amazonaws.com/handson/90.set_ppp_route_metric
Error message:
HypriotOS/armv7: pirate@rpi-soracom in ~
$ sudo curl -o /etc/NetworkManager/dispatcher.d/90.set_ppp_route_metric https://soracom-files.s3.amazonaws.com/handson/90.set_ppp_route_metric
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:39 --:--:-- 0curl: (6) Could not resolve host: soracom-files.s3.amazonaws.com
38-39行目のread_distance関数の定義
return distance
GPIO.cleanup()
ですが、return後にGPIO.cleanup()を書いても実行されないため、
GPIO.cleanup()
return distance
とすべきかと思われます。そうすることで9行目の
GPIO.setwarnings(False)
が不要になります。
https://github.com/soracom/handson/blob/master/setup/setup.md の
sudo apt-get install -y usb-modeswitch wvdial
の前に、
sudo apt-get update
でパッケージリストの更新を行う必要があります。パッケージリストが古いため、インストールが行えませんでした。
It looks like someone changed the password...
Can't connect to the console with the pre-registered account :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.