Introduction to Testing Elixir Applications with ExUnit
I wrote a tutorial at SemaphoreCI to introduce test-driven development in Elixir with ExUnit. Enjoy! https://semaphoreci.com/community/tutorials/introduction-to-testing-elixir-applications-with-exunit
Hosting a Phoenix app from within a domain's subdirectory with Nginx
Hosting a static HTML site with Nginx is pretty trivial. Hosting a Phoenix app with Nginx is somewhat straightforward. But hosting a Phoenix app from within a static HTML site’s subdirectory takes a little more setup.
In this post, I go over the configurations you need to make on the Nginx side as well as the Phoenix side to ensure your Phoenix app can run from within a domain’s subdirectory (i.e. htmlsite.com/phoenixapp). Hopefully it’ll help you avoid the pitfalls I experienced.
http://geoffreylessel.com/2016/hosting-a-phoenix-app-in-a-subdirectory-with-nginx/
Scoped Finds with Ecto in Phoenix
Continuing my series of how to do basic user-related tasks in Phoenix, see how to perform scoped finds using Ecto in Phoenix.
Ace 0.7.0 - A TCP server for Elixir
Released today the latest version of Ace
Ace was built to teach myself more about the networking layer and TCP/IP. This release makes the TCP part 90% complete. This release also adds an example implementing the Quote of the Day Protocol.
The code is full of comments about what I have learned, and might be of interest to anyone looking for an example project.
Lonestar ElixirConf 2017 in Austin, February 10-11!
Lonestar ElixirConf is bringing Elixir goodness to Austin, Texas, with a Texas flair.
February 10-11, Lonestar ElixirConf is hosting a two-day conference, with all the tasty goodness you have come to expect from Lonestar conferences.
The conference consists of two days of Elixir talks, keynotes and lightning talks, plus some mighty fine food with good friends.
Keynote Speakers
Lonestar ElixirConf will be keynoted by the creators of Phoenix and Nerves. You won’t want to miss what Chris and Justin have to say.
Chris McCord Justin Schneck
CFP & Registration Now Open!
We are looking for speakers to talk about any subject that is Elixir related. Submit your talk at:
http://LonestarElixir.com/#cfp
Registration is also open. Sign up now to reserve your space at the lowest rates available.
http://LonestarElixir.com/#register
I hope to see you in Austin at Lonestar ElixirConf 2017!
Dr. Jim Freeze, Ph.D.<br> Lonestar ElixirConf Organizer<br> http://LonestarElixir.com
P.S. Elixir Advocate tickets expire Dec 2, 2016. http://LonestarElixir.com/#register
P.P.S. Speaker submission deadline is Nov 27 http://LonestarElixir.com/#cfp
P.P.P.S. Don’t forget to reserve your hotel room. http://LonestarElixir.com/#hotel
P.P.P.P.S. The menu is yet to be posted, but when it is, I’m sure you find on it BBQ brisket, chicken fried chicken, breakfast tacos, and, of course, chocolate donuts.
Why I'm betting on Elixir
As a Rubyist looking ahead to web development for the next decade, I’m betting on Elixir. Here’s why https://rossta.net/blog/why-i-am-betting-on-elixir.html
Credo v0.4.13 released - Elixir Code Analysis
I just released v0.4.13
of Credo, the static code analysis tool that emphasizes code consistency and teaching.
How IO Lists help Elixir and Phoenix be fast
IO Lists are often just nested lists of strings. But these simple-seeming structures are one of the secrets of efficient IO in Elixir and simple, fast template rendering in Phoenix.
I’ve explained how in two posts on the Big Nerd Ranch blog:
Anatomy of an Elixir Process
Elixir/Erlang concurrency model is based on the actor pattern which runs on top of BEAM(Erlang Virtual Machine) instead of running directly on Operating System. The actor pattern’s actor is an “Elixir Process” in Elixir programming language.
https://medium.com/@mustafaturan/anatomy-of-an-elixir-process-878030c37166
Image Extraction for Cameras
I have built a tool for my company to extract images for a camera. While using HTTPoison, Quantum, DropBox, Mailgun https://github.com/ijunaid8088/extractor
Visualisation of Elixir Supervision Tree Strategies
Elixir has built in four strategies for supervision trees to enable fault tolerant systems. The names of strategies are :one_for_one, :one_for_all, :rest_for_one, :simple_one_for_one. Enjoy the visualisations…
https://medium.com/@mustafaturan/visualisation-of-elixir-supervision-tree-strategies-4d4cb8123138
Mocks in Elixir
For a long time I haven’t been able to figure out “the way”(tm) to do mocks in Elixir.
I have explored different suggested patterns and found the one I prefer.
I wrote a blog post about it here: https://medium.com/@lasseebert/mocks-in-elixir-7204f8cc9d0f#.3k5oolwkg
Cloud Foundry buildpack for Elixir supports anynines
I’ve released a new version of the Cloud Foundry buildpack for Elixir. It works now with anynines.
Furthermore, Elixir 1.3.x and Erlang 19.x are supported.
My new Elixir library for sending Postmark emails from templates #myelixirstatus
ex_postmark is a Postmark adapter for sending template emails.
You can create HTML & CSS templates in Postmark panel and then fill them in your Elixir code.
Simple Fun Slack Bot in Elixir
ex_mustang is a simple slackbot with few simple abilities like random quote, open PR watching and standup notifier.
I have bunch of issues created so I will eventually work on them or can get some community help.
Gatling uses Distillery for Elixir Releases
I just released part 3 of my little blog series about Gatling.
https://hashrocket.com/blog/posts/how-i-built-my-own-heroku-for-phoenix-apps-part-3
Multiplayer Music Loops in Elixir and Elm
Loops With Friends is an Elixir/Elm app that allows users to play music loops collaboratively.
I wrote three blog posts on how I built and tested the backend in Elixir.
Google Play API in Elixir
ExPlay is a Google Play API in Elixir (ported from the Node.js version). For now, it let’s you look up details of any published Play Store app and download its APK.
Check it out on Github
Sneeze: render Elixir data-structures to HTML
Sneeze: render Elixir data-structures to HTML.
https://hex.pm/packages/sneeze
Inspired by the Clojure library, hiccup