Render Markdown templates directly in Phoenix
Just published phoenix_markdown to hex. Makes Markdown files first class templates in Phoenix. Uses Earmark to render.
This means you can place *.html.md files in your templates directories and use them directly from the controller, or as partials in other templates via render “some_markdown.html”.
Also means the Markdown conversions are compiled. Very fast at runtime.
Chat Controlled Music With Mopidy and Hedwig
Create a music server that can be controlled via chat using Mopidy and Hedwig. We’ll leverage Spotify and Icecast as well to allow a distributed team to listen to a shared music stream.
This will use the hedwig bot framework, hedwig_mopidy chat responder, and mopidy API client.
Release Omise 0.3.0
A new version of Omise client library for Elixir is released with response data improvement and more.
Check it out at https://hex.pm/packages/omise
Front-end packages with Phoenix and Brunch
How to manage front-end assets, including their images or fonts, with a default Phoenix asset management stack?
Read more at Phoenix on Rails blog.
Xlsxir No Longer Skips Empty Cells
Fixed issue where empty cells were skipped. Empty cells will now be represented as nil. Checkout the change log for a simple example. Update to v1.3.1 to get this fix (hex or github).
Monitor your remote Elixir/ Phoenix app with erlang observer
I wrote a mix task that helps you monitoring your remote Elixir/ Phoenix app on your local machine.
Using Ecto With an Existing MySQL Database
While Postgres is the default Ecto database type, you can use MySQL databases as well. Beyond that, it is relatively easy to connect to an already existing MySQL database and take advantage of the power of Ecto with it.
In this post we discover how to connect to an already existing MySQL database and even deal with non-standard field types and funky primary keys.
http://geoffreylessel.com/2016/using-ecto-with-an-existing-mysql-database/
Phoenix vs Rails: Mix and Rake tasks
Mix is an equivalent of Rake for running project tasks. But it’s much more than what you came to expect from Rake.
Read more at Phoenix on Rails blog.
Writing A Full Site in Phoenix and Elm Part 2: Making HTTP Requests
I just published part 2 of a story on writing a full site in Phoenix and Elm! This time, we’re focusing in on just making HTTP GET requests and learning the basics of Tasks and Commands. In future posts we’ll flesh this all out a bit more into a full-functioning API handler!
https://medium.com/@diamondgfx/writing-a-full-site-in-phoenix-and-elm-a4622c5130f5#.avcdwv5lj
Colorscheme
I wrote an Elixir library to generate Terminal.app and iTerm2 color schemes last weekend. If you have a minute, I’d love to get your feedback on it. https://github.com/jeffkreeftmeijer/colorscheme
Taking the N largest elements from a list
Taking the N largest elements from a list in Elixir, demonstrates recursion, pattern matching and guards.
Special Processes in OTP
Testing a GenServer using OTP’s sys module
http://blog.carbonfive.com/2016/06/28/special-processes-in-otp/
My Elixir Diary
Just started learning #elixir and plan to share my daily experience learning it. https://code-shoily.github.io/my-elixir-diary/
Let's Build Something: Elixir, Part 6 - Adding Metrics to StatsYard
Adding some basic metrics to our project with Statix, Folsom, and Ex_VMStats. http://tech.strofcon.org/2016/06/lets-build-something-elixir-part-6.html
Elixir vs Ruby: Naming conventions
How does naming files, modules, variables and functions in Elixir compare to Ruby and its convention-driven world?
Read more at Phoenix on Rails blog.
vk.com OAuth2 Strategy for Überauth
I am happy to introduce an authorization backend for the russian largest social network: https://vk.com
Project’s page: https://github.com/sobolevn/ueberauth_vk
Made for the awesome ueberauth project: https://github.com/ueberauth/ueberauth
Kerosene Pagination for ecto and phoenix
I am very happy to release a newer version of my pagination library, check it out on github https://github.com/elixirdrops/kerosene.
New version of the 'Sequences' library
I’ve updated the Sequences library, that lazily computes sequences of useful mathematical numbers for you, like Fibonacchi, the Factorials, the Catalan numbers, and the Primes.
Now, it will also happily generate digits of pi for you, as well as some other small things.
I look forward to any feedback!
Swoosh v0.4 released
Swoosh 0.4 is out today. Highlights from this release:
- Sendmail adapter.
- DKIM support for the SMTP and Sendmail adapter.
-
New
deliver!/2variant ofdeliver/2. - Basic integration testing for the library itself. We are now making real calls to the various providers’ API during testing (except Mandrill as they no longer have a free plan).
Check the full changelog for more details.
Open an issue or grab me on Slack/IRC if you run into any issue with this release.
