Skip to content

Instantly share code, notes, and snippets.

@mnishiguchi
mnishiguchi / nerves-quickstart.md
Last active March 14, 2024 04:02
Nerves Quickstart (English)

Nerves Quickstart

For those exploring [Nerves] for the first time, we recommend [Nerves Livebook]. It allows you to try out the Nerves project on real hardware without needing to build a project from scratch.

Within minutes, you'll have a [Raspberry Pi] or [Beaglebone] running Nerves. You'll be able to run code in Livebook and work through Nerves tutorials from the comfort of your browser.

No prior knowledge about the [Elixir] programming language is required. You can learn it in [Nerves Livebook].

@mnishiguchi
mnishiguchi / nerves-quickstart.md
Last active March 14, 2024 04:00
Elixir Nerves Quickstart (日本語)

Nerves Quickstart

初めて [Nerves] 試す方には[Nerves Livebook]をお勧めします。

[Nerves Livebook]という予めビルドされたファームウェアが公開されているので、それをダウンロードして[microSD カード]に焼くだけで簡単に氣樂に[Nerves]を樂しめます。[Livebook] のノートブック上で[Elixir]コードを実際に実行しながら進められるので、ウェブブラウザで快適に 楽しく[Nerves] を学べます。

[Elixir]コードを実行しますが、[Elixir]言語に関する知識は特に不要です。なぜなら、[Nerves Livebook]上で[Elixir]言語を学ぶこともできるからです。

@mnishiguchi
mnishiguchi / binary-clock--ja_20240211_1.md
Last active March 2, 2024 09:11
binary-clock--ja_20240211_1

Frankさんのカスタム二進数時計基板

Mix.install([
  {:circuits_spi, "~> 2.0 or ~> 1.0"},
  {:kino, "~> 0.12.2"}
])

基板の設計

@mnishiguchi
mnishiguchi / nerves-system-versions.md
Created June 14, 2022 11:54
Nerves system versions

Nerves system versions

rpi rpi0 rpi2 rpi3a rpi3 rpi4 bbb x86_64 osd32mp1
OTP 25.0 1.19.0 1.19.0 1.19.0 1.19.0 1.19.0 1.19.0 2.14.0 1.19.0 0.10.0
OTP 24.3.2 1.18.4 1.18.4 1.18.4 1.18.4 1.18.4 1.18.4 - 1.18.4 0.9.4
OTP 24.2 1.18.3 1.18.3 1.18.3 1.18.3 1.18.3 1.18.3 2.13.4 1.18.3 0.9.3
OTP 24.1.7 1.17.3 1.17.3 1.17.3 1.17.3 1.17.3 1.17.3 2.12.3 1.17.3 0.8.3
@mnishiguchi
mnishiguchi / inky-phat-weather.md
Last active November 13, 2021 16:14
Inky pHAT weather example in Elixir
@mnishiguchi
mnishiguchi / inky-phat-name-badge.md
Last active November 21, 2021 00:01
Inky pHAT name badge example in Elixir
{"version":1,"resource":"file:///Users/mnishiguchi/Code/mnishiguchi/installers/setup_macos.sh","entries":[{"id":"gGRq.sh","timestamp":1706054272419}]}
@mnishiguchi
mnishiguchi / rails_friendly_forwarding.md
Last active February 15, 2018 01:51
Rails - redirect - friendly forwarding
@mnishiguchi
mnishiguchi / js_url.md
Last active January 8, 2019 04:14
JS - Ensure valid web url - Prepend url scheme if necessary
@mnishiguchi
mnishiguchi / rails_google_places_client.md
Last active December 14, 2017 15:20
Rails google places client