Skip to content

Instantly share code, notes, and snippets.

View narutaro's full-sized avatar
:octocat:
On vacation

narutaro narutaro

:octocat:
On vacation
View GitHub Profile
@narutaro
narutaro / Welcome to Gistlog.md
Last active December 27, 2015 22:15
Welcome to Gistlog

#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
@narutaro
narutaro / node.js installation.md
Last active December 12, 2015 21:49
node.js installation
sudo apt-get update && apt-get upgrade
sudo apt-get install nodejs
sudo apt-get install npm

##Version

# nodejs -v
v0.10.25
@tadyjp
tadyjp / text.md
Last active January 28, 2019 03:55
たった2行のコーディングで、お問い合わせフォームを設置できるサービスを作った

はじめに

formrun (フォームラン)という「急なフォームの設置を依頼されたときに短時間で導入できるお問い合わせフォーム」を作ったので,具体的な利用例のコードを紹介したいと思います。

https://form.run/

対象の読者

  • フォーム設置にストレスを感じたことのあるエンジニア・デザイナー
@voluntas
voluntas / webrtc_turn.rst
Last active July 10, 2025 15:34
WebRTC で利用されいる TURN プロトコルの解説

WebRTC で利用されいる TURN プロトコルの解説

日時:2021-01-29
作:@voluntas
バージョン:2021.2
url:https://voluntas.github.io/

@narutaro
narutaro / query-to-search-for-an-item-with-apollo.md
Last active October 30, 2021 12:03
Query to Search for an Item with Apollo

Query to Search for an Item with Apollo

Last time was to get list of todo from Apollo. This time I am going to add task search functionality by id.

Code

const { ApolloServer, gql } = require('apollo-server');
@narutaro
narutaro / connecting-svelte-to-apollo.md
Last active October 30, 2021 05:55
Connecting Svelte to Apollo

Connecting Svelte to Apollo

@narutaro
narutaro / mqtt-in-your-browser.md
Last active June 3, 2025 06:01
MQTT in your browser

MQTT in your browser

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™.