Ruby vs. Elixir - Projects & People edition

A blog post highlighting the differences and similarities between the people and projects in the Ruby and Elixir communities.

http://devonestes.herokuapp.com/ruby-vs-elixir-projects-people-edition/

Getting Started with Phoenix

Getting start with Phoenix.

Creating a new app and generating some resources.

https://www.dailydrip.com/topics/elixir/drips/getting-started-with-phoenix

ESpec 1.4.0 is released

ESpec 1.4.0 is released!

Lot’s of improvements.

It’s time to try BDD!

build and deploy phoenix in docker

build and deploy phoenix in docker https://gist.github.com/mjason/115b5f9d5e3e9f14072061f34d234486

Credo v0.7.4 released

I released v0.7.4 of Credo, the static code analysis tool emphasizing code consistency and teaching. For details, please refer to the CHANGELOG.

Building web applications without a framework

Walk through building web applications using the structure provided by mix without a framework.

Talk given at Elixir London.

Using enums like C, Rails with Elixir macros

Moving from Ruby on Rails to Elixir and Phoenix, we use enums idioms heavily to represent integer flag values. Elixir (or ecto library) does not support idiom enums. But using macros, we can create enums easily.

Using enums in Elixir

Dress up your stdout

https://github.com/veelenga/dress

Bamboo (Email library) 1.0rc1 with Attachment Support

Bamboo 1.0.0-rc.1 has been published to hex. Update your mix file, check out the CHANGELOG and give it a try!

There are a few breaking changes and some new enhancements. Be sure to check out the CHANGELOG to see what you need to do to upgrade. Please open issues if you find any bugs in this release. If all looks good we’ll publish 1.0.0!

Thanks to all the awesome contributors that made this possible!

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

Previous page Next page