The Clouduino is a mesh networking enabled, prototyping platform built for developers and engineers who want something a lot faster than an Arduino, while retaining the accessibility of the Arduino ecosystem’s IDE and libraries.
The Clouduino Stratus is a fully open source, mesh enabled, embedded development platform targeted towards industrial applications.
This is a quick tutorial on how to query & mutate with arrays in graphQL Ruby.
The complete code sample is in here.
Scenario: Let’s have a Post model and a Comment model with a one to many relationship, where a single Post can have multiple comments.
# models/post.rbfield :title, type: Stringhas_many :comments
# models/comment.rbfield :content, type: Stringbelongs_to :post
mkdir projectName && cd projectName
2. Initialize project with yarn:
you will be prompt with questions, you can press Enter for default value or input your answer for each questions until the end.
After this, it will generate a file package.json on your root directory.
3. To use es6 features. Install babel (as devDependencies):
yarn add babel-cli babel-loader babel-preset-env babel-preset-react -D
4. Create and configure
with the dot (.) before the word babelrc
If you’re used to Vim, you’ll soon find Arduino’s IDE to be somewhat cumbersome and counter intuitive.
To make Vim work with your Arduino sketches, there are essentially three aspects we need to consider; syntax, compiling and uploading your code to the micro controller, and access to the serial terminal.
This tutorial assumes you’re on OSX and using Homebrew as your package manager. You’ll also need to have Python to painlessly install ino, an Arduino CLI that VIM will be using to compile and upload sketches.
Installing Python, if you don’t have it yet is pretty straight forward through Homebrew…
Agile development teams for startups with Ruby on Rails, Node.js, React, React Native, and GraphQL