MQTT is probably best known as a lightweight messaging protocol implemented for small sensors, but there is actually a JavaScript implementation called MQTT.js
. It's a JavaScript implementation, so of course it works in a browser. I think it's a great option for front-end engineers who are working with MQTT/IoT-related projects (for example, creating a dashboard to visualize MQTT data). In this article, I'd like to write about what I did when I tried to connect MQTT.js
to the test server (broker) of Mosquitto™
.
Last time was to get list of todo from Apollo. This time I am going to add task search functionality by id.
const { ApolloServer, gql } = require('apollo-server');
日時: | 2021-01-29 |
---|---|
作: | @voluntas |
バージョン: | 2021.2 |
url: | https://voluntas.github.io/ |
formrun (フォームラン)という「急なフォームの設置を依頼されたときに短時間で導入できるお問い合わせフォーム」を作ったので,具体的な利用例のコードを紹介したいと思います。
- フォーム設置にストレスを感じたことのあるエンジニア・デザイナー
sudo apt-get update && apt-get upgrade
sudo apt-get install nodejs
sudo apt-get install npm
##Version
# nodejs -v
v0.10.25
#Welcome to Gistlog
##What is Gistlog? Gistlog makes your gist snippets readable like a blog. This page is the live sample of Gistlog. All the contents here come form your gist.
##Intallation
This repositry consists of html, css and js so just clone this repogitry to any web server. I recommend to use github pages. Just push to your repositry as <your_name>.github.io
git clone https://github.com/narutaro/narutaro.github.io.git
Docker registry does not have authentication nor certificate mechanism so in case you have docker registry on the internet, you need something that support those in front of the registry. You can find examples using Nginx for it on the web and this is yet another one.
Client talks to Nginx. Nginx proxies the request to the docker registry. The nginx is on the host OS - not as a container.
+-----------+ +--------------------------------------------------------+
| | | Server Docker container |
#Install
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
If you see this error,
$ sudo add-apt-repository ppa:webupd8team/java
sudo: add-apt-repository: command not found
- 標本調査
- ランダムサンプリングで標本数は、どのくらいあればいいのでしょうか?
- 標本はいくつ集めたらよいか
- http://www.ceser.hyogo-u.ac.jp/naritas/spss/sample_size/sample_size.htm