Short blog article with script to automatically run stale tests whenever file is changed https://medium.com/@andrew_dryga/run-stale-tests-on-file-change-in-elixir-6f8aac829973
I wanted to share with you a small project that I have been working on for the last weeks.
It is a small tool for assisting you while developing or testing Phoenix sockets and channels, or in other words, a minified version of the famous Postman app but for Phoenix WebSockets.
It is still under development, and I am planning to add some cool features, so suggestions and feedback are very welcome :)
I often want to quickly create a controller or view, not necessarily tied to an entire context/model.
Right now I copy an existing controller/view, and strip it down to a new one. These generators look pretty small, but imo it would be a great workflow improvement to be able to generate these from the command line.
There wasn’t any interest in maintaining this in Phoenix itself, so I made a little package with controller and view generators. Might expand later!
A short intro to
escripts, what they are, how they integrate with mix and why you should avoid using archives.
I just published unsafe which aids in generation of bang functions based on easy module attributes.
Short blog post here, if you feel like reading why: https://whitfin.io/generating-bang-functions-in-elixir/
ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
ExUnit is the testing framework that ships with Elixir. I wrote a quick reference guide for our team and wanted to share with anyone else that found it helpful.
See what the Nerves team has been working on recently and where you can learn more at upcoming training events - http://embedded-elixir.com/post/2017-11-02-nerves-update/
Elixir 1.5 grammar
- Precedence of
@numericand unary numeric prefix operators
- Make binary infix vs unary prefix
-handling more robust to support
one(two, - three)
GeneralCommandLinesto prevent encoding errors on Windows.
Several important areas for Elixir development today are covered. Using Docker for local development as well production deployment. Managing configuration for multiple services. Testing and documenting APIs.
Many of our app API’s use the same process for JWT authentication and authorization. I finally had time to extract things into releasable libraries. A simple alternative to some of the other options available out there. Includes authentication, authorization, as well as blacklisting.
Hope someone can find it useful.
Trying to understand the Y combinator has always left me with a throbbing headache and a craving for pretzels. But recently, while reading through The Little Schemer, I had a moment of clarity which left me with a much deeper understanding of how the whole thing works.
Check out Grokking the Y Combinator with Elixir for a step by step breakdown of what the Y combinator is, why it’s interesting, and how it can be derived through plain old Elixir code.
Many in the community are already aware of Bootleg, but I just published a quick “official” announcement over on the Lab Zero blog with a very quick guide to getting started.
Check the lineup at https://spawnfest.github.io/judges / #erlang #elixirlang
Drab is an extension to Phoenix, designed to remote (from the server side) control the user interface.
The library has completely redesigned custom EEx engine, so it is not putting its
<span> in every corner of your template anymore.
Also, this version introduces shared commander, allowing you to create components of Drab’s template + commander.
Check out the demo page, install, test, develop and enjoy!
How to query jsonb columns in Ecto using fragment: http://www.ubazu.com/using-postgres-jsonb-columns-in-ecto