Let's try this formatter for the first time.
- Installing the package.
diff --git a/mix.exs b/mix.exs
index 2da2204..c46129a 100644
--- a/mix.exs
+++ b/mix.exs
@@ -165,6 +165,7 @@ defmodule Oban.MixProject doLet's try this formatter for the first time.
diff --git a/mix.exs b/mix.exs
index 2da2204..c46129a 100644
--- a/mix.exs
+++ b/mix.exs
@@ -165,6 +165,7 @@ defmodule Oban.MixProject do| # for an example of a suggested `locals_without_parens`, see z_locals_without_parens.exs | |
| # parsing and expanding a formatter.exs file would be a good route too | |
| opts = [sourceror_opts: [locals_without_parens: [...], line_length: 122]] | |
| for transformation <- [&PipeChainStart.run/1, &SinglePipe.run/1] do | |
| ProjTraversal.transform("../my_codebase/", transformation, opts) | |
| end |
This a collection of interesting links found in The Imposter's Handbook by Rob Conery.
Content:
I hereby claim:
To claim this, I am signing this object:
You can use your favorite package manager or please follow this instructions.
https://www.erlang-solutions.com/downloads/download-erlang-otp
$ mkdir ~/dev| defmodule IPv4Parser do | |
| @moduledoc """ | |
| Exercise 2.8.6 from the book The Little Elixir & OTP Guidebook | |
| The idea is to take a look at the IPv4 packet spec and try to write a | |
| parser. | |
| """ | |
| def parse(packet) do | |
| << |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| jsdoc : { | |
| dist : { | |
| src: ['src/*.js', 'test/*.js'], | |
| dest: 'doc' | |
| } |
| // Before: | |
| // CallBacks.loadJsonView(url, "POST", Historicals.UpdateCombo, params); | |
| // After: | |
| $.post(url, params, Historicals.UpdateCombo, "json"); | |
| // Before: | |
| // CallBacks.loadPartialView(url, "POST", infoDialog, params); | |
| // After: | |
| $.post(url, params, infoDialog, "html"); |