Blog: Nerves Firmware Updates

Learn how to perform over-the-network firmware upgrades for your Nerves project in our latest blog post! Embedded-Elixir.com

Elixir hot-reloading for MIDI events generation (PoC)

In this GitHub repo I’m sharing an example of using Code.eval_file, GenServer and PortMidi to create some sort of music live-coding environment (as featured in an ElixirConfEU lightning talk), where the current “music position” is remembered across reloads.

Make sure to check out the Youtube video I posted to see a demo!

IoT Fun with Elixir! Sensing Hot Behavior with ElixirALE and GenServers

If you ever wanted to take a Raspberry Pi (or any linux-based platform exposing an i2c driver), a connected sensor, and wrap them both into an Elixir program but thought it might be too daunting of a task, this article is for you! In this article, we are going to focus on a simple i2c device that senses temperature and humidity and demonstrate how to write an application that will run as a GenServer. You can use this application (available as a hex archive) to request a measurement in your application by including it as a dependency.

Https://lute.io

IoT Fun with Elixir! Sensing Hot Behavior with ElixirALE and GenServers

If you ever wanted to take a Raspberry Pi (or any linux-based platform exposing an i2c driver), a connected sensor, and wrap them both into an Elixir program but thought it might be too daunting of a task, this article is for you! In this article, we are going to focus on a simple i2c device that senses temperature and humidity and demonstrate how to write an application that will run as a GenServer. You can use this application (available as a hex archive) to request a measurement in your application by including it as a dependency.

Https://lute.io

IoT Fun with Elixir! Sensing Hot Behavior with ElixirALE and GenServers

If you ever wanted to take a Raspberry Pi (or any linux-based platform exposing an i2c driver), a connected sensor, and wrap them both into an Elixir program but thought it might be too daunting of a task, this article is for you! In this article, we are going to focus on a simple i2c device that senses temperature and humidity and demonstrate how to write an application that will run as a GenServer. You can use this application (available as a hex archive) to request a measurement in your application by including it as a dependency.

Https://lute.io

Phoenix + Angular 4: Serve Angular 4 apps on a Phoenix Server

https://github.com/ChrisCates/thechriscates.ca Demonstration of how to server Angular 4 apps on a Phoenix server.

Phoenix with image upload to S3 in an API: Implementation and testing

My third blog post about Elixir, this time is about implement image uploading with Arc and S3 and how to test it.

https://medium.com/coletiv-stories/phoenix-with-image-upload-to-s3-in-an-api-implementation-and-testing-6ab5187175b0

Scout: Elixir Application Monitoring (free)

We’ve released a BETA version of our Elixir app monitoring library, scout_apm. Scout instruments Phoenix (controllers, views, and templates) + Ecto, and has support for custom instrumentation.

Detailed transaction traces are collected as well.

We offer generous (I think) free plan. Get started.

We’d love your feedback: lots more is planned.

Links:

Custom Error Pages with Phoenix

In this episode we’ll customize the 404 and 500 error pages in a Phoenix application.

https://elixircasts.io/custom-error-pages-in-phoenix

FunWithFlags: a feature toggle library for Elixir with web GUI

I’ve released FunWithFlags v0.7.1, a feature toggle library for Elixir with support for global state, groups and actors. Also, FunWithFlags.UI v0.0.3, its optional web GUI available as a Plug for Phoenix.

FakerElixir - FakerElixir generates fake data for you.

We just released version 1.0.0 🎉🎉

About

FakerElixir is an Elixir package that generates fake data for you. Whether you need to seed your database, create factories for your project, FakerElixir is here for you

Generate fake unique emails

# Create stream to generate fake unique emails
stream = Stream.repeatedly(fn ->

  FakerElixir.Helper.unique!(:unique_emails, fn -> 
    FakerElixir.Internet.email(:popular) 
  end)

end)

# Grab 400 unique emails
emails = 
  stream |> Enum.take(400)

Seed your database with a pre-defined cycle

iex(1)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Peter"
iex(2)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Audrey"
iex(3)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Laurent"
iex(4)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Peter"

… and all the basics

FakerElixir.Number.between(11.22, 13.88) # 11.24
FakerElixir.Internet.url(:safe) # "https://www.stefan-little.org/"
FakerElixir.File.extension(:audio) # "mp3"
FakerElixir.Commerce.sku # "4OY026FR"
FakerElixir.Bank.credit_card_type # "MasterCard"
FakerElixir.Date.backward(1) # "2016-08-18 05:58:04Z"

Don’t be shy to contribute, report a bug, improve the code :)

https://github.com/GesJeremie/faker-elixir

Que - Elixir Job Processing with Mnesia

Que is a simple background job processing library backed by Mnesia. That means it works without any external dependencies such as Redis which makes it easy to set up and use.


<img src=’https://i.imgur.com/Eec71eh.png’ alt=’Que’ width=’100px’ />

Setting up Gitlab CI for Elixir/Phoenix on your VPS

Step by step guide showing how to combine Gitlab.com with your VPS to run CI builds using Docker.

https://www.frankkumro.com/post/setting-up-gitlab-ci-for-elixir-phoenix-on-your-vps/

Setting up HTTPS for Raxx applications

New Tokumei guide Security with HTTPS. Complete walk-through to add TLS/SSL to any Raxx application.

ExDash: Internal Elixir docs integrated with Dash

A mix task to make your app’s documentation searchable and readable via Alfred and Dash: ExDash on github. Supports Umbrella Apps! Start dog-fooding your docs today!

Focus v0.3.0

v0.3.0 of Focus, a library for working with functional lenses is up on hex. The changelog can be found on the release page.

Passwordless Authentication with Phoenix Tokens

Check out this article on the brave new world of passwordless authentication and how to use Phoenix Tokens to implement in your Elixir application!

How to Redirect from the Phoenix Router

A simple guide on redirecting from the Phoenix router using Test-Driven Development (TDD).

https://www.viget.com/articles/how-to-redirect-from-the-phoenix-router

Elixir 2D rendering

Want to draw some shapes with Elixir? Check out https://github.com/jamesotron/vivid.ex

From Zero to Hero in Elixir #2 - IEx and Basic Types

From Zero to Hero in Elixir #2 - IEx and Basic Types

https://youtu.be/5DeLxAKDowA

Previous page Next page