hexsha
stringlengths
40
40
size
int64
2
991k
ext
stringclasses
2 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
208
max_stars_repo_name
stringlengths
6
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
list
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
208
max_issues_repo_name
stringlengths
6
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
list
max_issues_count
int64
1
16.3k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
208
max_forks_repo_name
stringlengths
6
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
list
max_forks_count
int64
1
6.91k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
2
991k
avg_line_length
float64
1
36k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
1c3f95e3de80da5f84fea2225629286d080d0ba8
3,056
ex
Elixir
lib/lightbridge/energy_monitor.ex
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
lib/lightbridge/energy_monitor.ex
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
lib/lightbridge/energy_monitor.ex
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
defmodule Lightbridge.EnergyMonitor do @moduledoc """ Polls the smart socket to get it's current energy usage. Publishes to configured MQTT endpoint. """ use GenServer import Lightbridge.Config, only: [fetch: 1] alias Lightbridge.Hs100 alias Lightbridge.EnergyMonitor.Stats # Set the polling frequ...
27.044248
88
0.638743
1c3fa4ca5d55edffc1cd43f2c8c43a747b43948e
1,674
exs
Elixir
config/dev.exs
J3RN/elixir-formatter
d68d496b1ec204035774d10e56acb9926bb46284
[ "BSD-3-Clause" ]
13
2017-12-01T13:27:27.000Z
2022-02-07T03:30:07.000Z
config/dev.exs
J3RN/elixir-formatter
d68d496b1ec204035774d10e56acb9926bb46284
[ "BSD-3-Clause" ]
7
2021-03-08T17:10:38.000Z
2021-08-31T16:28:30.000Z
config/dev.exs
J3RN/elixir-formatter
d68d496b1ec204035774d10e56acb9926bb46284
[ "BSD-3-Clause" ]
5
2017-12-20T09:01:27.000Z
2020-05-03T20:24:46.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :elixir_formatter, ElixirFormatterWeb.Endpoint, ...
34.163265
170
0.718041
1c40552e3deeb2c0514a98953138875a50ecb5eb
67,667
ex
Elixir
lib/elixir/lib/module.ex
fertapric/elixir
9df2216670493aa30f37681cc812f3192adfe55a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
fertapric/elixir
9df2216670493aa30f37681cc812f3192adfe55a
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/elixir/lib/module.ex
fertapric/elixir
9df2216670493aa30f37681cc812f3192adfe55a
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
32.268479
113
0.664401
1c4064b0214f2fc938a648027460da030f6b1d58
1,795
ex
Elixir
examples/ecto_job_priority_demo/lib/ecto_job_priority_demo/job_monitor.ex
ramondelemos/ecto_job
781c6b43cfbfde866b0aa3f7370000910f684fe2
[ "MIT" ]
null
null
null
examples/ecto_job_priority_demo/lib/ecto_job_priority_demo/job_monitor.ex
ramondelemos/ecto_job
781c6b43cfbfde866b0aa3f7370000910f684fe2
[ "MIT" ]
null
null
null
examples/ecto_job_priority_demo/lib/ecto_job_priority_demo/job_monitor.ex
ramondelemos/ecto_job
781c6b43cfbfde866b0aa3f7370000910f684fe2
[ "MIT" ]
null
null
null
defmodule EctoJobPriorityDemo.JobMonitor do @moduledoc false use GenServer alias Ecto.Multi alias EctoJobPriorityDemo.JobQueue alias EctoJobPriorityDemo.Repo def start_link(jobs \\ %{count: 1, priority: 0, period: 1000}, server) do GenServer.start_link(__MODULE__, jobs, name: server) end def init...
24.930556
83
0.604457
1c4071915a6572b83ceb74bed4c23ef3f598bfb5
1,172
ex
Elixir
oeml-sdk/elixir/lib/oeml_restapi/model/position_data.ex
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
357
2017-05-29T15:09:19.000Z
2022-03-30T15:34:10.000Z
oeml-sdk/elixir/lib/oeml_restapi/model/position_data.ex
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
68
2017-12-15T15:39:14.000Z
2022-02-11T11:28:17.000Z
oeml-sdk/elixir/lib/oeml_restapi/model/position_data.ex
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
199
2017-06-01T07:51:14.000Z
2022-03-25T11:52:28.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OEML-RESTAPI.Model.PositionData do @moduledoc """ The Position object. """ @derive [Poison.Encoder] defstruct [ :"symbol_id_exchange", ...
25.478261
91
0.634812
1c4085efa42f792cdfb1119d65f8fc706019352f
2,796
ex
Elixir
lib/distributed.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
24
2017-06-24T01:41:18.000Z
2021-11-05T20:26:27.000Z
lib/distributed.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
null
null
null
lib/distributed.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
2
2017-06-24T01:58:25.000Z
2017-06-28T10:14:20.000Z
defmodule Distributed do @moduledoc """ Make your systems distributed, replicated, scaled well, easily. [![Hex Version](https://img.shields.io/hexpm/v/distributed.svg?style=flat-square)](https://hex.pm/packages/distributed) [![Docs](https://img.shields.io/badge/api-docs-orange.svg?style=flat-square)](https://hexdoc...
27.683168
567
0.671674
1c40a6e986a266b7a0e6de3a8b62271dcefce843
265
ex
Elixir
lib/authoritex/fast/form.ex
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
2
2020-06-11T10:37:21.000Z
2020-10-13T18:12:42.000Z
lib/authoritex/fast/form.ex
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
21
2020-05-12T21:06:32.000Z
2022-01-14T14:43:45.000Z
lib/authoritex/fast/form.ex
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
null
null
null
defmodule Authoritex.FAST.Form do @desc "Faceted Application of Subject Terminology -- Form/Genre" @moduledoc "Authoritex implementation for #{@desc}" use Authoritex.FAST.Base, subauthority: "suggest55", code: "fast-form", description: @desc end
26.5
66
0.724528
1c40b17c6a2dcc4ac2afcfd17b9e911577b09330
5,184
ex
Elixir
lib/pgex/types/type.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
lib/pgex/types/type.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
lib/pgex/types/type.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
defmodule PgEx.Type do # just a friendly name used in error messages and such @callback name() :: binary @callback format() :: binary @callback encode(non_neg_integer, any) :: {:ok, iodata} | :error @callback decode(non_neg_integer, binary) :: {:ok, any} | :error def get_name(module) do module |...
33.882353
118
0.540895
1c410a1eca5a95f32655db140337064f4810981b
4,446
exs
Elixir
test/ex_oneroster/web/controllers/demographic_controller_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
test/ex_oneroster/web/controllers/demographic_controller_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
test/ex_oneroster/web/controllers/demographic_controller_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Web.DemographicControllerTest do use ExOneroster.Web.ConnCase setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "lists all entries on index", %{conn: conn} do conn = get conn, demographic_path(conn, :index) assert json_response(co...
48.857143
185
0.728295
1c416b9ca4b96e1ea998b9fd1fa161782206b4fc
188
exs
Elixir
priv/repo/migrations/20181025002636_update_fees_adv_default.exs
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
1
2020-02-09T03:03:04.000Z
2020-02-09T03:03:04.000Z
priv/repo/migrations/20181025002636_update_fees_adv_default.exs
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
priv/repo/migrations/20181025002636_update_fees_adv_default.exs
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
defmodule Soroban.Repo.Migrations.UpdateFeesAdvDefault do use Ecto.Migration def change do alter table(:jobs) do modify :fees_advanced, :integer, default: 0 end end end
18.8
57
0.734043
1c41762e7d1fd3fb7632245662fc3a5cb0851def
34,212
ex
Elixir
lib/elixir/lib/module.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
29.67216
164
0.656086
1c417ec053b920acf5927e5f6d5cdb2fb947c68e
13,186
ex
Elixir
lib/gim/schema.ex
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
lib/gim/schema.ex
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
lib/gim/schema.ex
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
defmodule Gim.Schema do @moduledoc """ Defines a schema. ## Example defmodule User do use Gim.Schema schema do property :name, index: :unique property :age, default: 0, index: true has_edges :author_of, Post, reflect: :authored_by end end ## Re...
29.765237
124
0.616791
1c4198c85ec64bb4c9eb19d023939a553850bd41
792
exs
Elixir
mix.exs
iwatakeshi/decimal
7ebce665eddc922b88a3f8804b9699ce1e1d9872
[ "Apache-2.0" ]
null
null
null
mix.exs
iwatakeshi/decimal
7ebce665eddc922b88a3f8804b9699ce1e1d9872
[ "Apache-2.0" ]
null
null
null
mix.exs
iwatakeshi/decimal
7ebce665eddc922b88a3f8804b9699ce1e1d9872
[ "Apache-2.0" ]
null
null
null
defmodule Decimal.Mixfile do use Mix.Project @version "2.0.0-rc.0" def project() do [ app: :decimal, version: @version, elixir: "~> 1.2", deps: deps(), name: "Decimal", source_url: "https://github.com/ericmj/decimal", docs: [source_ref: "v#{@version}", main: "readme...
18.857143
80
0.556818
1c41a253777c1e4d67994a226f2287dfeb303e5b
3,451
exs
Elixir
test/prom_ex/ets_cron_flusher_test.exs
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
1
2022-02-20T10:42:44.000Z
2022-02-20T10:42:44.000Z
test/prom_ex/ets_cron_flusher_test.exs
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
null
null
null
test/prom_ex/ets_cron_flusher_test.exs
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
null
null
null
defmodule PromEx.ETSCronFlusherTest do use ExUnit.Case, async: false alias PromEx.Plugins.Phoenix alias PromEx.Test.Support.Events defmodule DefaultPromExSetUp do use PromEx, otp_app: :prom_ex @impl true def plugins do [{Phoenix, router: TestApp.Router, endpoint: TestApp.Endpoint}] end ...
29.245763
96
0.718343
1c41a36099c4eed3c4c1f86313f5c05481997b0c
2,539
exs
Elixir
test/channels/participant_socket_test.exs
b-a-b-e/ProComPrag
50c6c87933e71cb69b5c95bc77bf591a34661410
[ "MIT" ]
1
2020-05-31T21:54:40.000Z
2020-05-31T21:54:40.000Z
test/channels/participant_socket_test.exs
b-a-b-e/ProComPrag
50c6c87933e71cb69b5c95bc77bf591a34661410
[ "MIT" ]
64
2019-07-29T22:06:16.000Z
2022-03-28T23:46:58.000Z
test/channels/participant_socket_test.exs
babe-project/BABE
50c6c87933e71cb69b5c95bc77bf591a34661410
[ "MIT" ]
1
2019-07-28T19:17:43.000Z
2019-07-28T19:17:43.000Z
defmodule Magpie.ParticipantSocketTest do @moduledoc """ Module for tests on the socket connection. """ use Magpie.ChannelCase, async: true alias Magpie.{Experiments, ParticipantSocket} alias Magpie.Experiments.AssignmentIdentifier test "connect with a valid experiment_id" do experiment = insert_dyn...
28.211111
88
0.607326
1c41c70c56608829cfee4d8a3c87a3148ad5623c
508
ex
Elixir
lib/sutur/shops/grant.ex
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
1
2021-11-16T02:18:31.000Z
2021-11-16T02:18:31.000Z
lib/sutur/shops/grant.ex
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
null
null
null
lib/sutur/shops/grant.ex
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
null
null
null
defmodule Sutur.Shops.Grant do use Ecto.Schema import Ecto.Changeset schema "grants" do field :charge_id, :integer field :grants, {:array, :string} field :remaining_usages, :integer field :total_usages, :integer field :shop_id, :id timestamps() end @doc false def changeset(grant, ...
23.090909
81
0.687008
1c41d2c0cf9fd998fd758582f763df61664e032e
322
ex
Elixir
lib/history/products/queries/search.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/history/products/queries/search.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/history/products/queries/search.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule History.Products.Queries.Search do require Ecto.Query import Ecto.Query alias History.Products def call(query) do from( p in Products.Product, where: ilike(p.symbol, ^"%#{query}%") or ilike(p.venue, ^"%#{query}%"), order_by: [asc: :symbol, asc: :venue, asc: :type] ) end en...
23
77
0.63354
1c420baef692bbf472a21d742a62734cebf586e1
2,066
exs
Elixir
test/bankapi/user/update_test.exs
guibes/bankapi
df43b30e7a845d0509b17c1086c70ab651b97c42
[ "MIT" ]
null
null
null
test/bankapi/user/update_test.exs
guibes/bankapi
df43b30e7a845d0509b17c1086c70ab651b97c42
[ "MIT" ]
24
2021-03-26T17:42:17.000Z
2021-03-31T11:47:17.000Z
test/bankapi/user/update_test.exs
guibes/bankapi
df43b30e7a845d0509b17c1086c70ab651b97c42
[ "MIT" ]
1
2021-03-26T17:49:53.000Z
2021-03-26T17:49:53.000Z
defmodule Bankapi.User.UpdateTest do use Bankapi.DataCase alias Bankapi.User.{Create, Update} alias Bankapi.{User, Repo} @valid_attrs_complete %{ cpf: "12345678934", password: "12345678912", country: "USA", city: "Vitorino", birth_date: "2000-01-01", state: "Paraná", name: "Teste Te...
27.918919
90
0.53969
1c4274ac88a6c80b0ed3bda8fc5aa6765f427bd8
3,424
ex
Elixir
lib/ref_inspector/database.ex
elixir-inspector/ref_inspector
f34485a8e32f0aaea2e3951fbb756eac14a9f8dd
[ "Apache-2.0" ]
7
2018-12-22T14:41:26.000Z
2020-05-04T08:16:11.000Z
lib/ref_inspector/database.ex
elixir-inspector/ref_inspector
f34485a8e32f0aaea2e3951fbb756eac14a9f8dd
[ "Apache-2.0" ]
2
2019-11-25T09:41:27.000Z
2020-05-06T17:30:45.000Z
lib/ref_inspector/database.ex
elixir-inspector/ref_inspector
f34485a8e32f0aaea2e3951fbb756eac14a9f8dd
[ "Apache-2.0" ]
null
null
null
defmodule RefInspector.Database do @moduledoc false use GenServer require Logger alias RefInspector.Config alias RefInspector.Database.Loader alias RefInspector.Database.Parser alias RefInspector.Database.State @ets_table_opts [:named_table, :protected, :set, read_concurrency: true] @doc false ...
21.808917
99
0.64632
1c42b0121cdd2053ebfd266137553da0f4a66f05
1,380
ex
Elixir
apps/snitch_core/lib/core/data/schema/tax/tax_rate_class_value.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/schema/tax/tax_rate_class_value.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/schema/tax/tax_rate_class_value.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.TaxRateClassValue do @moduledoc """ Models a TaxRateClassValue The TaxRateClassValue model is repsonsible for handling the percent amount to be used for a tax rate while calculating taxes. """ use Snitch.Data.Schema alias Snitch.Data.Schema.{TaxRate, TaxClass} alias Snitch...
27.6
79
0.707246
1c42e5789e9ce7f891e8a6cde93aa940c2752992
68,774
ex
Elixir
lib/axon/compiler.ex
stefkohub/axon
c2eafa0adfe69a54d48f639181c939b31e6a1731
[ "Apache-2.0" ]
null
null
null
lib/axon/compiler.ex
stefkohub/axon
c2eafa0adfe69a54d48f639181c939b31e6a1731
[ "Apache-2.0" ]
null
null
null
lib/axon/compiler.ex
stefkohub/axon
c2eafa0adfe69a54d48f639181c939b31e6a1731
[ "Apache-2.0" ]
null
null
null
defmodule Axon.CompilerError do defexception [:exception, :graph] @impl true def message(%{graph: %Axon{op: op}, exception: exception}) do op_inspect = if is_atom(op) do Atom.to_string(op) else "#{inspect(op)}" end """ error while building prediction for #{op_inspec...
28.151453
98
0.532629
1c42f8111d6f09d190034cde604a3f4cf0c06342
20,289
ex
Elixir
lib/bitcoin/script/interpreter.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/script/interpreter.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/script/interpreter.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Script.Interpreter do @moduledoc """ Bitcoin Script interpreter. Opcodes numbers are coming from: https://github.com/bitcoin/bitcoin/blob/master/src/script/script.h Implemented from the scratch based on the wiki (https://en.bitcoin.it/wiki/Script) and script test cases from bitcoinj/bitcor...
34.920826
119
0.667554
1c4301b1966d3b66a9ec28f1494ac8d82ae09bd9
365
ex
Elixir
userManagementService/lib/helpers/map_helper.ex
andraspatka/jobportal-ms
006c8ca212f88566113c4b5c00dfe1d4e421c034
[ "MIT" ]
1
2021-05-25T18:24:27.000Z
2021-05-25T18:24:27.000Z
userManagementService/lib/helpers/map_helper.ex
andraspatka/jobportal-ms
006c8ca212f88566113c4b5c00dfe1d4e421c034
[ "MIT" ]
1
2021-05-23T09:50:10.000Z
2021-05-23T09:50:10.000Z
userManagementService/lib/helpers/map_helper.ex
andraspatka/jobportal-ms
006c8ca212f88566113c4b5c00dfe1d4e421c034
[ "MIT" ]
null
null
null
defmodule Api.Helpers.MapHelper do @doc " Takes String keys in a Map and converts them to Atoms. " def string_keys_to_atoms(document) when is_map(document) do Enum.reduce(document, %{}, fn {key, val}, acc -> acc |> Map.put( cond do is_binary(key) -> String.to_atom(key) true...
24.333333
61
0.605479
1c43026a7d707766343893bf1ec4d5ed95a2c6f0
2,480
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/page.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/page.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/page.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.792453
558
0.719758
1c433ef64809e1715e44ff42740369abb65caf7a
5,502
exs
Elixir
test/xcribe/json_schema_test.exs
brainn-co/xcribe
06e66df0ac28d5b3e525f54bc52ed21722701a06
[ "Apache-2.0" ]
30
2019-12-17T20:09:41.000Z
2021-01-11T13:58:24.000Z
test/xcribe/json_schema_test.exs
Finbits/xcribe
37f4195315e27e415212910f0219c68d96a16d4a
[ "Apache-2.0" ]
36
2019-12-17T20:32:04.000Z
2020-12-02T17:50:49.000Z
test/xcribe/json_schema_test.exs
Finbits/xcribe
37f4195315e27e415212910f0219c68d96a16d4a
[ "Apache-2.0" ]
3
2020-02-21T18:13:59.000Z
2020-10-20T07:59:05.000Z
defmodule Xcribe.JsonSchemaTest do use ExUnit.Case, async: true alias Plug.Upload alias Xcribe.JsonSchema describe "type_for/1" do test "return type for given values" do assert JsonSchema.type_for(%{}) == "object" assert JsonSchema.type_for([]) == "array" assert JsonSchema.type_for("a") ...
31.084746
92
0.496547
1c437b9e4fcac5bc3f0b678420cd89b9191ac26a
1,149
ex
Elixir
lib/arc_ecto/type.ex
amatalai/arc_ecto
717efd790cc344ba3f12f29127361e0a90f86ae6
[ "Apache-2.0" ]
null
null
null
lib/arc_ecto/type.ex
amatalai/arc_ecto
717efd790cc344ba3f12f29127361e0a90f86ae6
[ "Apache-2.0" ]
null
null
null
lib/arc_ecto/type.ex
amatalai/arc_ecto
717efd790cc344ba3f12f29127361e0a90f86ae6
[ "Apache-2.0" ]
null
null
null
defmodule Arc.Ecto.Type do def type, do: :string @filename_with_timestamp ~r{^(.*)\?(\d+)$} def cast(definition, args) do case definition.store(args) do {:ok, file} -> {:ok, %{file_name: file, updated_at: Ecto.DateTime.utc}} _ -> :error end end def load(_definition, value) do {file_...
26.113636
84
0.617929
1c43830f481fef5f392ebfbedbe51818598c20f3
1,120
ex
Elixir
lib/navigation_history.ex
zillou/plug-navigation-history
80dbadc3e7958a9085bf078ef611c5895e07a90f
[ "MIT" ]
null
null
null
lib/navigation_history.ex
zillou/plug-navigation-history
80dbadc3e7958a9085bf078ef611c5895e07a90f
[ "MIT" ]
null
null
null
lib/navigation_history.ex
zillou/plug-navigation-history
80dbadc3e7958a9085bf078ef611c5895e07a90f
[ "MIT" ]
null
null
null
defmodule NavigationHistory do @moduledoc """ Module to retrieve tracked paths. """ @doc """ Retrieves the last tracked path. ## Examples: NavigationHistory.last_path(conn) # returns the last path vissited NavigationHistory.last_path(conn, 1) # returns the second last path vissited Navi...
32.941176
115
0.691964
1c43da8d75ac9af0b90749a12a2f9cb0d359b0e9
30
ex
Elixir
testData/org/elixir_lang/parser_definition/literal_string_sigil_line_parsing_test_case/SigilModifiers.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/literal_string_sigil_line_parsing_test_case/SigilModifiers.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/literal_string_sigil_line_parsing_test_case/SigilModifiers.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~S{}abcdefghijklmnopqrstuvwxyz
30
30
0.9
1c43e730183f914bf4310845eba71ca7f5f5adf8
1,910
ex
Elixir
lib/uro_web/controllers/admin/avatar_controller.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro_web/controllers/admin/avatar_controller.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro_web/controllers/admin/avatar_controller.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule UroWeb.Admin.AvatarController do use UroWeb, :controller alias Uro.UserContent alias Uro.UserContent.Avatar def index(conn, params) do page = UserContent.list_avatars_paginated(params) render(conn, "index.html", avatars: page.entries, page: page) end def new(conn, _params) do change...
30.31746
71
0.658115
1c44142647f8b62aa74d2127ee71f1b68c8c6a33
3,987
ex
Elixir
lib/ratatouille/renderer.ex
Fitblip/ratatouille
873f8a51b0f824ce9e39b7575850fcc585cfc7b1
[ "MIT" ]
504
2019-01-13T21:53:21.000Z
2022-03-31T20:58:21.000Z
lib/ratatouille/renderer.ex
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
28
2019-01-26T21:00:23.000Z
2021-12-28T19:06:15.000Z
lib/ratatouille/renderer.ex
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
21
2019-02-21T09:08:27.000Z
2021-12-20T15:51:10.000Z
defmodule Ratatouille.Renderer do @moduledoc """ Logic to render a view tree. This API is still under development. """ alias Ratatouille.Renderer.{Canvas, Element} @type root_element :: %Element{ tag: :view, children: list(child_element()) } @type child_tag :: :ba...
27.122449
80
0.603963
1c441e6713f001148dd79ee07abb4855669b4ac9
233
exs
Elixir
priv/repo/migrations/20160209023941_create_trips.exs
sorentwo/triptastic
d7418381cc3284e3ade31aae7659401b24980d96
[ "MIT" ]
5
2016-02-27T00:24:38.000Z
2020-01-22T08:35:42.000Z
priv/repo/migrations/20160209023941_create_trips.exs
sorentwo/triptastic
d7418381cc3284e3ade31aae7659401b24980d96
[ "MIT" ]
null
null
null
priv/repo/migrations/20160209023941_create_trips.exs
sorentwo/triptastic
d7418381cc3284e3ade31aae7659401b24980d96
[ "MIT" ]
null
null
null
defmodule Triptastic.Repo.Migrations.CreateTrips do use Ecto.Migration def change do create table(:trips) do add :name, :string add :category, :string add :favorites, :integer, default: 0 end end end
19.416667
51
0.67382
1c443c0553976886bdad3795ba54a5dabe1dceb8
597
ex
Elixir
otp/lib/otp/application.ex
GameEssa/ElixirProject
8f5fef5256719ef2ebcfb77c7bb7eb70687ece4f
[ "MIT" ]
null
null
null
otp/lib/otp/application.ex
GameEssa/ElixirProject
8f5fef5256719ef2ebcfb77c7bb7eb70687ece4f
[ "MIT" ]
null
null
null
otp/lib/otp/application.ex
GameEssa/ElixirProject
8f5fef5256719ef2ebcfb77c7bb7eb70687ece4f
[ "MIT" ]
null
null
null
defmodule Otp.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Starts a worker by calling: Otp.Worker.start_link(arg) # {Otp.Worker, arg} {O...
25.956522
62
0.681742
1c44451c0a19fb6d1fdcdef2966f917007ba688f
3,554
ex
Elixir
lib/aws/generated/pi.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/pi.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/pi.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.PI do @moduledoc """ AWS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running RDS instance. The guide provid...
36.265306
82
0.698649
1c445abec68cc6479c53d3fdcf07674f1244816b
722
ex
Elixir
lib/example_ieee754.ex
ZennerIoT/element-parsers
0a828fd4d9d96f417839cbab5b491c21a07efd1c
[ "MIT" ]
31
2017-10-18T13:21:02.000Z
2022-03-17T13:24:36.000Z
lib/example_ieee754.ex
ZennerIoT/element-parsers
0a828fd4d9d96f417839cbab5b491c21a07efd1c
[ "MIT" ]
13
2018-04-05T12:48:14.000Z
2021-08-19T12:22:12.000Z
lib/example_ieee754.ex
ZennerIoT/element-parsers
0a828fd4d9d96f417839cbab5b491c21a07efd1c
[ "MIT" ]
22
2018-02-26T08:31:29.000Z
2022-03-17T13:28:12.000Z
defmodule Parser do use Platform.Parsing.Behaviour require Logger # Example parser for a floating point value (IEEE-754) as part of a LoRaWAN message. # # Changelog: # 2019-03-04 [as]: Initial version for demonstrating purposes. # def parse(<<data::float-32>>, _meta) do # Also possible: float-si...
18.512821
86
0.577562
1c446ae047cc6feb914c1f34bae40e4dabdbe4fb
812
ex
Elixir
lib/digital_ocean/action.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
null
null
null
lib/digital_ocean/action.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
null
null
null
lib/digital_ocean/action.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
null
null
null
defmodule DigitalOcean.Action do alias DigitalOcean.{ Operation } @doc """ Retrieve a details about a specific action. ## Examples iex> DigitalOcean.Action.get(36804636) |> DigitalOcean.request() { :ok, %DigitalOcean.Response{} } """ @spec get(DigitalOcean.id_t()) :: Operation.t() def get(a...
23.2
70
0.609606
1c446d0884a9e576b7a13879c3c6b3cd13c4c86c
584
exs
Elixir
mix.exs
balena/yaphone
3f92a6acc8504289f8d9d13d5e75c45cb7008db6
[ "BSD-3-Clause" ]
null
null
null
mix.exs
balena/yaphone
3f92a6acc8504289f8d9d13d5e75c45cb7008db6
[ "BSD-3-Clause" ]
null
null
null
mix.exs
balena/yaphone
3f92a6acc8504289f8d9d13d5e75c45cb7008db6
[ "BSD-3-Clause" ]
null
null
null
defmodule Yaphone.MixProject do use Mix.Project def project do [ app: :yaphone, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()) ] end def application do [ extra_applications: [...
17.69697
57
0.547945
1c4481a83ec85390bb10139ea4f94ede4b3437f7
2,028
ex
Elixir
lib/ex_onixo/helper/date.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
1
2021-12-11T06:44:18.000Z
2021-12-11T06:44:18.000Z
lib/ex_onixo/helper/date.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
lib/ex_onixo/helper/date.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
defmodule ExOnixo.Helper.Date do import SweetXml import Timex def to_date("", _code), do: nil def to_date(datetime, code) do case code do "00" -> convert_strftime(datetime) "01" -> datetime |> String.slice(0..5) |> parse!("%Y%m", :strftime) "05" -> datetime |> Stri...
26.337662
75
0.536489
1c4493d15c77f82e0258d7097b94c4339d0f9336
344
exs
Elixir
Chapter02/config/prod.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter02/config/prod.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter02/config/prod.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
use Mix.Config # By default, the umbrella project as well as each child # application will require this configuration file, ensuring # they all use the same configuration. While one could # configure all applications here, we prefer to delegate # back to each application for organization purposes. import_config "../ap...
38.222222
60
0.790698
1c44bfbe44446d0c86b72aa3c7dd327dacc8a310
439
ex
Elixir
lib/videorama/multimedia/comentario.ex
ruben44bac/videorama
6350f9aabd778b8660aac5952dc828b3bd35c4c6
[ "MIT" ]
null
null
null
lib/videorama/multimedia/comentario.ex
ruben44bac/videorama
6350f9aabd778b8660aac5952dc828b3bd35c4c6
[ "MIT" ]
null
null
null
lib/videorama/multimedia/comentario.ex
ruben44bac/videorama
6350f9aabd778b8660aac5952dc828b3bd35c4c6
[ "MIT" ]
null
null
null
defmodule Videorama.Multimedia.Comentario do use Ecto.Schema import Ecto.Changeset schema "comentarios" do field :at, :integer field :body, :string belongs_to :usuario, Videorama.Cuentas.Usuario belongs_to :video, Videorama.Multimedia.Video timestamps() end @doc false def changeset(...
19.086957
50
0.690205
1c44c7664b90981199e20d179cdb474089eafd7a
2,496
exs
Elixir
test/xlsx_reader/zip_archive_test.exs
Q1-Energie-AG/xlsx_reader
02b49b6f85b693dfd445c714c01c0454409e621e
[ "Apache-2.0" ]
40
2019-12-20T16:11:47.000Z
2022-02-08T22:59:53.000Z
test/xlsx_reader/zip_archive_test.exs
Q1-Energie-AG/xlsx_reader
02b49b6f85b693dfd445c714c01c0454409e621e
[ "Apache-2.0" ]
4
2020-05-17T11:35:33.000Z
2022-02-08T21:29:46.000Z
test/xlsx_reader/zip_archive_test.exs
Q1-Energie-AG/xlsx_reader
02b49b6f85b693dfd445c714c01c0454409e621e
[ "Apache-2.0" ]
6
2020-04-24T16:31:06.000Z
2022-03-22T07:51:51.000Z
defmodule XlsxReader.ZipArchiveTest do use ExUnit.Case alias XlsxReader.ZipArchive describe "list/1" do test "lists the contents of a zip file" do zip_handle = ZipArchive.handle(TestFixtures.path("test.zip"), :path) assert {:ok, ["dir/subdir/file3.bin", "file1.txt", "file2.dat"]} = ...
35.657143
98
0.657853
1c44cee62de62bf389573f9e236d2d64d2210060
260
ex
Elixir
lib/ex_okex/swap/private/amend_bulk_orders.ex
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
6
2018-12-04T22:05:05.000Z
2022-01-08T11:54:40.000Z
lib/ex_okex/swap/private/amend_bulk_orders.ex
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
14
2019-12-21T11:32:30.000Z
2022-03-28T16:07:01.000Z
lib/ex_okex/swap/private/amend_bulk_orders.ex
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
3
2019-10-19T19:33:34.000Z
2019-10-19T19:35:18.000Z
defmodule ExOkex.Swap.Private.AmendBulkOrders do import ExOkex.Api.Private @prefix "/api/swap/v3" def amend_bulk_orders(instrument_id, params, config \\ nil) do "#{@prefix}/amend_batch_orders/#{instrument_id}" |> post(params, config) end end
23.636364
64
0.726923
1c4505b59995d860fa4f7626b8ab24acad2bcde9
340
exs
Elixir
priv/repo/migrations/00420170502195527_create_accounts_role.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
priv/repo/migrations/00420170502195527_create_accounts_role.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
priv/repo/migrations/00420170502195527_create_accounts_role.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOne.Repo.Migrations.CreateInfinityOne.Accounts.Role do use Ecto.Migration def change do create table(:roles) do add :name, :string add :scope, :string, default: "global" add :description, :string timestamps(type: :utc_datetime) end create unique_index(:roles,...
21.25
72
0.682353
1c4516742482b5f70fdbb984f2f8544889db27ef
20,538
ex
Elixir
lib/github/github/server.ex
gebner/bors-ng
7a88ef7cceb1f112374a426a4bdfffc323b44a61
[ "Apache-2.0" ]
null
null
null
lib/github/github/server.ex
gebner/bors-ng
7a88ef7cceb1f112374a426a4bdfffc323b44a61
[ "Apache-2.0" ]
null
null
null
lib/github/github/server.ex
gebner/bors-ng
7a88ef7cceb1f112374a426a4bdfffc323b44a61
[ "Apache-2.0" ]
null
null
null
require Logger defmodule BorsNG.GitHub.Server do use GenServer alias BorsNG.GitHub @moduledoc """ Provides a real connection to GitHub's REST API. This doesn't currently do rate limiting, but it will. """ def start_link do GenServer.start_link(__MODULE__, :ok, name: GitHub) end @installation_c...
28.095759
100
0.571915
1c452364f7efda764cce5c0ae554e7f749082e63
7,920
ex
Elixir
kousa/test/_support/ws_client.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/test/_support/ws_client.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/test/_support/ws_client.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule BrothTest.WsClient do use WebSockex @api_url Application.compile_env!(:kousa, :api_url) def child_spec(info) do # just make the id be a random uuid. info |> super |> Map.put(:id, UUID.uuid4()) end def start_link(_opts) do ancestors = :"$ancestors" |> Process.get() ...
27.216495
95
0.585859
1c4532784ed7cc02d1cdb2818661888b2611fe6e
1,531
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/secret_manager/lib/google_api/secret_manager/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/secret_manager/lib/google_api/secret_manager/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.452381
345
0.758328
1c45afdead9bf299f44e78f780e87b4574b0bdab
8,855
exs
Elixir
test/graphvix/graph_test.exs
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
47
2016-10-02T21:44:30.000Z
2022-02-21T18:01:40.000Z
test/graphvix/graph_test.exs
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
17
2016-10-27T17:11:27.000Z
2021-12-23T13:19:39.000Z
test/graphvix/graph_test.exs
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
10
2017-03-20T18:21:21.000Z
2021-07-25T14:34:28.000Z
defmodule Graphvix.GraphTest do use ExUnit.Case, async: true use ExUnitProperties alias Graphvix.{Graph, HTMLRecord, Record} doctest Graph, except: [ new: 1, digraph_tables: 1, to_dot: 1, write: 2, compile: 3, show: 2, set_global_properties: 3 ] import HTMLRecord, only: [tr: 1, td: 1, td: 2] pro...
25.014124
111
0.548955
1c45b56058e3d5849fe3d54d757e7ec014498022
18,584
ex
Elixir
lib/credo/execution.ex
kanmaniselvan/credo
276e0fc24d1bf56c8fc2902a9e933c8f208ce391
[ "MIT" ]
null
null
null
lib/credo/execution.ex
kanmaniselvan/credo
276e0fc24d1bf56c8fc2902a9e933c8f208ce391
[ "MIT" ]
null
null
null
lib/credo/execution.ex
kanmaniselvan/credo
276e0fc24d1bf56c8fc2902a9e933c8f208ce391
[ "MIT" ]
1
2019-10-08T16:42:40.000Z
2019-10-08T16:42:40.000Z
defmodule Credo.Execution do @moduledoc """ Every run of Credo is configured via a `Execution` struct, which is created and manipulated via the `Credo.Execution` module. """ @doc """ The `Execution` struct is created and manipulated via the `Credo.Execution` module. """ defstruct argv: [], ...
29.925926
124
0.665842
1c45c2230c68a20649ccd576ac2d9bbf913bd507
353
exs
Elixir
test/coherence_test.exs
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
2
2018-01-19T06:12:16.000Z
2018-03-12T07:17:17.000Z
test/coherence_test.exs
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
null
null
null
test/coherence_test.exs
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
2
2017-09-22T16:54:36.000Z
2021-11-09T20:55:58.000Z
defmodule CoherenceTest do use TestCoherence.ModelCase doctest Coherence alias TestCoherence.User test "creates a user" do changeset = User.changeset(%User{}, %{name: "test", email: "test@example.com", password: "test", password_confirmation: "test"}) user = Repo.insert! changeset assert user.email...
29.416667
132
0.716714
1c46275f300b695ae75b798ff9685adacfb8cad3
2,277
ex
Elixir
clients/content/lib/google_api/content/v21/model/lia_inventory_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/lia_inventory_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/lia_inventory_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.660714
189
0.726834
1c465ed7e6aa2d1b8dbeaf2587f0919b9bb71992
162
exs
Elixir
test/test_helper.exs
chulkilee/ueberauth_example
877fdb63199bf8d00bc72a72908ab2cb34b752aa
[ "MIT" ]
null
null
null
test/test_helper.exs
chulkilee/ueberauth_example
877fdb63199bf8d00bc72a72908ab2cb34b752aa
[ "MIT" ]
null
null
null
test/test_helper.exs
chulkilee/ueberauth_example
877fdb63199bf8d00bc72a72908ab2cb34b752aa
[ "MIT" ]
null
null
null
ExUnit.start() Mix.Task.run("ecto.create", ["--quiet"]) Mix.Task.run("ecto.migrate", ["--quiet"]) Ecto.Adapters.SQL.Sandbox.mode(UeberauthExample.Repo, :manual)
27
62
0.703704
1c466ad5bc46cfbff5cab498de685823494f99e2
355
ex
Elixir
lib/mix/tasks/exhal.release.ex
mikestok/exhal
6c0fa5b648b0e934c96f87d15d9a6439cb8f1345
[ "MIT" ]
23
2016-02-02T14:24:38.000Z
2021-12-07T16:13:30.000Z
lib/mix/tasks/exhal.release.ex
mikestok/exhal
6c0fa5b648b0e934c96f87d15d9a6439cb8f1345
[ "MIT" ]
41
2016-02-03T17:19:42.000Z
2019-06-04T15:42:18.000Z
lib/mix/tasks/exhal.release.ex
mikestok/exhal
6c0fa5b648b0e934c96f87d15d9a6439cb8f1345
[ "MIT" ]
19
2016-02-03T06:04:12.000Z
2021-11-19T16:44:06.000Z
defmodule Mix.Tasks.ExHal.Release do @shortdoc "Release the hounds!" use Mix.Task alias Mix.Tasks.Hex.Build def run(_) do meta = Build.prepare_package()[:meta] System.cmd("git", ["tag", "v#{meta[:version]}"]) System.cmd("git", ["push", "--tags"]) Mix.Tasks.Hex.Publish.run([]) Mix.Tasks.H...
20.882353
52
0.625352
1c4677f95ae7c48a575e9d1fdd43d6e968c2342a
1,936
exs
Elixir
mix.exs
glennr/scrivener_html
9f88769589feab96c90be7490d306bf570996eaf
[ "MIT" ]
1
2021-05-08T03:20:03.000Z
2021-05-08T03:20:03.000Z
mix.exs
glennr/scrivener_html
9f88769589feab96c90be7490d306bf570996eaf
[ "MIT" ]
null
null
null
mix.exs
glennr/scrivener_html
9f88769589feab96c90be7490d306bf570996eaf
[ "MIT" ]
1
2022-01-24T15:50:32.000Z
2022-01-24T15:50:32.000Z
defmodule ScrivenerHtml.Mixfile do use Mix.Project @version "1.8.1" def project do [ app: :scrivener_html, version: @version, elixir: "~> 1.2", name: "scrivener_html", source_url: "https://github.com/mgwidmann/scrivener_html", homepage_url: "https://github.com/mgwidmann/sc...
25.142857
78
0.568698
1c46ba4910a5e02f857f105d1aca5fc9129a149c
2,199
exs
Elixir
config/dev.exs
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
null
null
null
config/dev.exs
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
3
2021-03-09T17:37:23.000Z
2021-09-01T22:28:38.000Z
config/dev.exs
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :crius_chat, CriusChat.Repo, username: "postgres", password: "postgres", database: "crius_chat_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code r...
28.192308
68
0.690769
1c46bf7e407fe70c1204078d3bcccd3747b53e48
193
exs
Elixir
server/config/dev.exs
arturoeanton/elixir-dynamic-api
ad44f1b86a4ee18ce36156326fe2a1d52e7858bc
[ "Apache-2.0" ]
null
null
null
server/config/dev.exs
arturoeanton/elixir-dynamic-api
ad44f1b86a4ee18ce36156326fe2a1d52e7858bc
[ "Apache-2.0" ]
null
null
null
server/config/dev.exs
arturoeanton/elixir-dynamic-api
ad44f1b86a4ee18ce36156326fe2a1d52e7858bc
[ "Apache-2.0" ]
null
null
null
use Mix.Config # Development configurations goes here config :server, port: 8080 # Example of database configuration # config :server, db_config: %{name: "dev_db", password: "", port: 10000}
24.125
73
0.740933
1c46d37dcbad8a48a69cab38dd4732d645baa25e
2,186
ex
Elixir
installer/lib/phx_new/umbrella.ex
tgxworld/phoenix
89b885591431170de73e372d9544d841bedca3db
[ "MIT" ]
2
2020-07-24T08:34:36.000Z
2021-02-08T03:21:49.000Z
installer/lib/phx_new/umbrella.ex
tgxworld/phoenix
89b885591431170de73e372d9544d841bedca3db
[ "MIT" ]
null
null
null
installer/lib/phx_new/umbrella.ex
tgxworld/phoenix
89b885591431170de73e372d9544d841bedca3db
[ "MIT" ]
null
null
null
defmodule Phx.New.Umbrella do @moduledoc false use Phx.New.Generator alias Phx.New.{Ecto, Web, Project} template :new, [ {:eex, "phx_umbrella/gitignore", :project, ".gitignore"}, {:eex, "phx_umbrella/config/config.exs", :project, "config/config.exs"}, {:eex, "phx_umbrella/confi...
35.258065
87
0.60613
1c470d4d58bd40376467a00f26deaae0a2317d2a
38,174
ex
Elixir
lib/elixir/lib/base.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/elixir/lib/base.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/elixir/lib/base.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Base do import Bitwise @moduledoc """ This module provides data encoding and decoding functions according to [RFC 4648](https://tools.ietf.org/html/rfc4648). This document defines the commonly used base 16, base 32, and base 64 encoding schemes. ## Base 16 alphabet | Value | Encoding |...
29.638199
95
0.485697
1c474af9ebff999bade9dadd7163e26460bad116
1,618
ex
Elixir
lib/freshcom/fixture.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom/fixture.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom/fixture.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
defmodule Freshcom.Fixture do alias Faker.{Internet, Name} alias Freshcom.{Request, Identity} def standard_user(opts \\ []) do req = %Request{ fields: %{ name: Name.name(), username: Internet.user_name(), email: Internet.email(), password: "test1234", is_term_acc...
20.481013
70
0.54759
1c475e0f193fe08eff0cf86533b11ad4754f6709
207
ex
Elixir
lib/erlef_web/views/working_group_view.ex
dhadka/website
e67c23d7052b4ef00a1af52b0b9ebc952d34776e
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/views/working_group_view.ex
dhadka/website
e67c23d7052b4ef00a1af52b0b9ebc952d34776e
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/views/working_group_view.ex
dhadka/website
e67c23d7052b4ef00a1af52b0b9ebc952d34776e
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.WorkingGroupView do use ErlefWeb, :view def content("embedded-systems") do [ {"BEAM on the Embedded Landscape 2020", "landscape"} ] end def content(_), do: nil end
17.25
58
0.666667
1c476a6449cb077e6344318ecd71888f6fe429bc
1,622
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/name_and_kind.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/name_and_kind.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/name_and_kind.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.192308
92
0.722565
1c47cf18132d5e4c7f3b159c2c360ae892c828dd
978
exs
Elixir
blank/config/config.exs
unozerocode/turbo-journey
55c54e4b10bb1e49a1f999fd0eb03acdd35fef98
[ "MIT" ]
null
null
null
blank/config/config.exs
unozerocode/turbo-journey
55c54e4b10bb1e49a1f999fd0eb03acdd35fef98
[ "MIT" ]
2
2021-03-10T20:40:33.000Z
2021-05-11T16:13:21.000Z
blank/config/config.exs
unozerocode/turbo-journey
55c54e4b10bb1e49a1f999fd0eb03acdd35fef98
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :blank, BlankWe...
33.724138
86
0.770961
1c4815c03f9fd89d2cdc15728a0581ca2120d2e1
2,564
ex
Elixir
lib/absinthe/execution/input.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/absinthe/execution/input.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
lib/absinthe/execution/input.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defmodule Absinthe.Execution.Input do @moduledoc false # Common functionality for Arguments and Variables alias Absinthe.Execution alias __MODULE__.Meta def process(input_type, meta, execution) do name = input_type |> Atom.to_string |> String.capitalize {execution, missing} = process_error...
28.808989
115
0.638846
1c483a22d1067bb65adbbd376fe64c0120aa7aaf
1,610
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/projection.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/projection.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/projection.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.255319
188
0.753416
1c4872e3c90799ee3f7059a2b22e76289996cd59
5,536
ex
Elixir
clients/play_movies_partner/lib/google_api/play_movies_partner/v1/model/order.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/play_movies_partner/lib/google_api/play_movies_partner/v1/model/order.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/play_movies_partner/lib/google_api/play_movies_partner/v1/model/order.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
58.893617
304
0.73591
1c48c2e752500b9f1015372f203c6425cb54b510
119
ex
Elixir
lib/bitcoin/hsm/app.ex
cancoin/bitcoin-hsm
8037d85ed60627f2344ed017f5ba21499dc6f462
[ "Apache-2.0" ]
1
2017-03-16T16:41:11.000Z
2017-03-16T16:41:11.000Z
lib/bitcoin/hsm/app.ex
cancoin/bitcoin-hsm
8037d85ed60627f2344ed017f5ba21499dc6f462
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/hsm/app.ex
cancoin/bitcoin-hsm
8037d85ed60627f2344ed017f5ba21499dc6f462
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.HSM.App do use Application def start(_, _) do Bitcoin.HSM.Supervisor.start_link end end
11.9
37
0.722689
1c48e8181b701cea4844a03ccdafcf1dd92f7645
1,464
exs
Elixir
test/bitpal/stores/store_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
test/bitpal/stores/store_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
test/bitpal/stores/store_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPal.StoreTest do use BitPal.DataCase, async: true alias BitPal.Repo alias BitPal.Stores setup _tags do %{store: create_store() |> Repo.preload([:users])} end test "store invoice association", %{store: store} do assert {:ok, invoice} = Invoices.register( sto...
28.705882
77
0.603825
1c49125c18a8febd48805297287fcf0d6f99c791
2,402
ex
Elixir
clients/content/lib/google_api/content/v2/model/account_status_products.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v2/model/account_status_products.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/account_status_products.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.033333
145
0.711074
1c4944093eddd5ee04826bb92da0b2be452a4c8e
685
exs
Elixir
test/defql/macros/defdelete_test.exs
fazibear/defql
862a426f852b0b2675d3af766eda2e39f9fde19b
[ "MIT" ]
107
2017-01-21T17:34:06.000Z
2022-02-09T03:13:20.000Z
test/defql/macros/defdelete_test.exs
fazibear/defql
862a426f852b0b2675d3af766eda2e39f9fde19b
[ "MIT" ]
5
2017-01-30T11:30:20.000Z
2019-04-12T10:49:53.000Z
test/defql/macros/defdelete_test.exs
fazibear/defql
862a426f852b0b2675d3af766eda2e39f9fde19b
[ "MIT" ]
8
2017-01-30T11:23:53.000Z
2020-04-19T16:58:40.000Z
defmodule Test.Defql.Macros.Defdelete do use ExUnit.Case use Defql, table: :common_table defdelete delete(params), table: :test defdelete remove(params) test "defdelete lists" do {status, result} = delete(a: 1) assert status == :ok assert result.query == "DELETE test" assert result.params =...
23.62069
73
0.654015
1c496126bf63f7e26e57cf2a473a6053a743ef37
548
ex
Elixir
lib/yatzy/scoring/small_straight.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
3
2020-04-23T14:38:39.000Z
2020-05-03T17:20:32.000Z
lib/yatzy/scoring/small_straight.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
null
null
null
lib/yatzy/scoring/small_straight.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
null
null
null
defmodule Yatzy.Scoring.SmallStraight do @moduledoc """ Small Straight: The combination 1-2-3-4-5. Score: 15 points (sum of all the dice). """ alias Yatzy.Roll defstruct roll: %Roll{}, name: "Small Straight", description: "The combination 1-2-3-4-5.", score: "15 points (s...
22.833333
84
0.580292
1c49658822d1665fd25d11a2f72471816c108f3f
302
exs
Elixir
priv/repo/migrations/20180927173924_create_tags.exs
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
priv/repo/migrations/20180927173924_create_tags.exs
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
27
2018-10-29T18:34:44.000Z
2019-03-11T18:43:12.000Z
priv/repo/migrations/20180927173924_create_tags.exs
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
defmodule DocGen.Repo.Migrations.CreateTags do use Ecto.Migration def change do create table(:tags) do add(:weight, :integer) add(:name, :string, null: false) add(:video_id, references(:videos)) timestamps() end create(unique_index(:tags, [:name])) end end
18.875
46
0.645695
1c497560172a54e8072a0f7744a5171255574ccc
436
ex
Elixir
simple-http-server/lib/todo/application.ex
shivam-tripathi/learningElixir
195af962dcd239230afd7732b88e577f26fc1eff
[ "MIT" ]
null
null
null
simple-http-server/lib/todo/application.ex
shivam-tripathi/learningElixir
195af962dcd239230afd7732b88e577f26fc1eff
[ "MIT" ]
null
null
null
simple-http-server/lib/todo/application.ex
shivam-tripathi/learningElixir
195af962dcd239230afd7732b88e577f26fc1eff
[ "MIT" ]
null
null
null
defmodule Todo.Application do require Logger @moduledoc false use Application @impl true def start(_type, _args) do children = [ {Plug.Cowboy, scheme: :http, plug: Todo.Router, options: [port: 3000]}, {Todo.Server, [name: Todo.Server]} ] Logger.info("Starting application on port 300...
22.947368
77
0.674312
1c4976e164d6a069a4cc0be1e468a29cfd03a97c
1,265
ex
Elixir
phoenix/lib/mehr_schulferien_web/controllers/country_controller.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien_web/controllers/country_controller.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien_web/controllers/country_controller.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
defmodule MehrSchulferienWeb.CountryController do use MehrSchulferienWeb, :controller alias MehrSchulferien.Locations alias MehrSchulferien.Locations.FederalState alias MehrSchulferien.Locations.Country alias MehrSchulferien.Timetables alias MehrSchulferien.Timetables.InsetDayQuantity alias MehrSchulferi...
30.853659
77
0.655336
1c49816f02a90f8e14260c118a61023e755b1fa5
7,122
ex
Elixir
lib/grpc/adapter/gun.ex
aroyer/grpc-elixir
7b0b0b075ba96d4a7338bd9002225e6c611d5654
[ "Apache-2.0" ]
null
null
null
lib/grpc/adapter/gun.ex
aroyer/grpc-elixir
7b0b0b075ba96d4a7338bd9002225e6c611d5654
[ "Apache-2.0" ]
null
null
null
lib/grpc/adapter/gun.ex
aroyer/grpc-elixir
7b0b0b075ba96d4a7338bd9002225e6c611d5654
[ "Apache-2.0" ]
null
null
null
defmodule GRPC.Adapter.Gun do @moduledoc false # A client adapter using Gun. # conn_pid and stream_ref is stored in `GRPC.Server.Stream`. @default_transport_opts [nodelay: true] @spec connect(GRPC.Channel.t(), any) :: {:ok, GRPC.Channel.t()} | {:error, any} def connect(channel, nil), do: connect(channel,...
30.306383
99
0.590845
1c49dbe3c0c65f963ec7bb79c20dde2a32df6fdb
275
ex
Elixir
webapp/lib/penmark_web/views/layout_view.ex
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/lib/penmark_web/views/layout_view.ex
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/lib/penmark_web/views/layout_view.ex
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
defmodule PenmarkWeb.LayoutView do use PenmarkWeb, :view # Phoenix LiveDashboard is available only in development by default, # so we instruct Elixir to not warn if the dashboard route is missing. @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} end
34.375
72
0.774545
1c49ddad8629ce452af97678a54c2d7e93fbeef1
206
exs
Elixir
priv/repo/migrations/20180802065343_create_users.exs
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
priv/repo/migrations/20180802065343_create_users.exs
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
priv/repo/migrations/20180802065343_create_users.exs
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
defmodule Admin.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :name, :string add :password, :string timestamps() end end end
14.714286
46
0.65534
1c49ef5c831f611d270fb232b7d937d0447b3fa8
6,415
ex
Elixir
lib/ueberauth/strategy/keycloak.ex
firezone/ueberauth_keycloak
8a028d6c949604b25a083d4137affa0472ff919c
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/keycloak.ex
firezone/ueberauth_keycloak
8a028d6c949604b25a083d4137affa0472ff919c
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/keycloak.ex
firezone/ueberauth_keycloak
8a028d6c949604b25a083d4137affa0472ff919c
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Keycloak do @moduledoc """ Provides an Ueberauth strategy for authenticating with Keycloak. ### Setup Create an application in Keycloak for you to use. Register a new application at: [your keycloak developer page](https://keycloak.com/settings/developers) and get the `client_id...
29.027149
150
0.663601
1c49f743fef0e13cbaeddc529fd08be89a397364
189
ex
Elixir
config.py.ex
ApolloFortyNine/hetzner_auction_notifier
7cd99f66c7632fb22bc4cf0eede0775c11a9e573
[ "MIT" ]
3
2018-04-01T20:05:52.000Z
2019-05-24T04:37:46.000Z
config.py.ex
ApolloFortyNine/hetzner_auction_notifier
7cd99f66c7632fb22bc4cf0eede0775c11a9e573
[ "MIT" ]
null
null
null
config.py.ex
ApolloFortyNine/hetzner_auction_notifier
7cd99f66c7632fb22bc4cf0eede0775c11a9e573
[ "MIT" ]
null
null
null
robot_username = '' robot_password = '' email_address = '' smtp_address = '' smtp_username = '' smtp_password = '' desired_price_euros = 18 desired_benchmark = 8000 desired_space_gb = 6000
18.9
24
0.746032
1c4a85bb8e1e038a5079228be2f066bb533c5922
1,490
exs
Elixir
mix.exs
jordan0day/grpc-elixir
d07d1357b2c105258f77b908482f694bd11b3c8d
[ "Apache-2.0" ]
null
null
null
mix.exs
jordan0day/grpc-elixir
d07d1357b2c105258f77b908482f694bd11b3c8d
[ "Apache-2.0" ]
null
null
null
mix.exs
jordan0day/grpc-elixir
d07d1357b2c105258f77b908482f694bd11b3c8d
[ "Apache-2.0" ]
null
null
null
defmodule GRPC.Mixfile do use Mix.Project @version "0.3.1" def project do [ app: :grpc, version: @version, elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), package...
23.650794
72
0.54698
1c4aa8461d9a3f1d00c5905b48773d574ee5ea1c
4,121
ex
Elixir
lib/afterglow/api_actions/api_actions.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
lib/afterglow/api_actions/api_actions.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
lib/afterglow/api_actions/api_actions.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.ApiActions do alias AfterGlow.ApiActions.ApiAction alias AfterGlow.ApiActions.ApiActionLogs alias AfterGlow.CacheWrapper.Repo import Ecto.Query def list_api_actions(ids) do from( aa in ApiAction, where: aa.id in ^ids ) |> Repo.all() end def get_api_action!(id)...
26.587097
98
0.640864
1c4aad9f060ffaaadc2a910991d1676544edf127
1,229
ex
Elixir
Chapter9/supervise_database/lib/todo/database_worker.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/supervise_database/lib/todo/database_worker.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/supervise_database/lib/todo/database_worker.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
defmodule Todo.DatabaseWorker do use GenServer def start_link({folder, worker_id}) do IO.puts("Starting database worker #{worker_id}") GenServer.start_link( __MODULE__, folder, name: via_tuple(worker_id) ) end def store(worker_id, key, data) do GenServer.cast(via_tuple(worker...
20.483333
61
0.641172
1c4ab3c8c53b1a055c2d9aaa84a687e35d8e63eb
3,415
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_dlp_job.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_dlp_job.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_dlp_job.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.782051
140
0.724744
1c4ad9e1b848bfe9fdbe8c9f44dea13c8036a742
11,509
exs
Elixir
test/plug/adapters/cowboy/conn_test.exs
wojtekmach/plug
e9afab6c10f173d55b13bd78c64526fb21495b39
[ "Apache-2.0" ]
null
null
null
test/plug/adapters/cowboy/conn_test.exs
wojtekmach/plug
e9afab6c10f173d55b13bd78c64526fb21495b39
[ "Apache-2.0" ]
null
null
null
test/plug/adapters/cowboy/conn_test.exs
wojtekmach/plug
e9afab6c10f173d55b13bd78c64526fb21495b39
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Adapters.Cowboy.ConnTest do use ExUnit.Case, async: true alias Plug.Conn import Plug.Conn ## Cowboy setup for testing # # We use hackney to perform an HTTP request against the cowboy/plug running # on port 8001. Plug then uses Kernel.apply/3 to dispatch based on the first # element of ...
31.274457
107
0.623338
1c4afe37c6ae7325d22590ed0461d5d3f0da838b
68
ex
Elixir
lib/gscraper_web/views/dashboard_view.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
lib/gscraper_web/views/dashboard_view.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
lib/gscraper_web/views/dashboard_view.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule GscraperWeb.DashboardView do use GscraperWeb, :view end
17
38
0.823529
1c4b0a803713fcb2c91cae34aacd569df9c41443
1,967
ex
Elixir
elixir/lib/advent_of_code/day_04.ex
dfireBird/aoc_2020
0393d3c85202b5babe73bce71c1e83d0876c53f6
[ "MIT" ]
null
null
null
elixir/lib/advent_of_code/day_04.ex
dfireBird/aoc_2020
0393d3c85202b5babe73bce71c1e83d0876c53f6
[ "MIT" ]
null
null
null
elixir/lib/advent_of_code/day_04.ex
dfireBird/aoc_2020
0393d3c85202b5babe73bce71c1e83d0876c53f6
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Day04 do def is_valid_keys(passport) do Map.keys(passport) |> Enum.filter(&(&1 != "cid")) |> Enum.sort() == Enum.sort(["byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid"]) end def is_valid_byr(%{"byr" => byr}), do: String.length(byr) == 4 && String.to_integer(byr) in 1920..2002 ...
29.80303
99
0.611591
1c4b0a8e335f76224b716d6a32b3a686d37ba404
1,457
ex
Elixir
lib/paushal_web/controllers/payment_slip_controller.ex
begedin/paushal
4388e1b702e98008aef2d231816d6cdc6773803e
[ "MIT" ]
null
null
null
lib/paushal_web/controllers/payment_slip_controller.ex
begedin/paushal
4388e1b702e98008aef2d231816d6cdc6773803e
[ "MIT" ]
6
2021-03-20T17:24:05.000Z
2021-03-20T17:41:19.000Z
lib/paushal_web/controllers/payment_slip_controller.ex
begedin/paushal
4388e1b702e98008aef2d231816d6cdc6773803e
[ "MIT" ]
null
null
null
defmodule PaushalWeb.PaymentSlipController do use PaushalWeb, :controller alias Paushal.PaymentSlips alias Paushal.PaymentSlips.PaymentSlip action_fallback PaushalWeb.FallbackController def index(conn, _params) do payment_slips = PaymentSlips.list_payment_slips() render(conn, "index.json", payment_...
31.673913
89
0.706246
1c4b40fceb94f5cc46e7bc1b1f5cb67aae346eda
2,596
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/search_targeting_options_request.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/display_video/lib/google_api/display_video/v1/model/search_targeting_options_request.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/search_targeting_options_request.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.357143
300
0.742296
1c4b4185d26207d7f319d6734f0bfd043f2d75db
2,693
ex
Elixir
lib/oban/queue/executor.ex
luizpvas/oban
6e41b15ed8fda628f991ad226f3855fa3bec5b33
[ "Apache-2.0" ]
null
null
null
lib/oban/queue/executor.ex
luizpvas/oban
6e41b15ed8fda628f991ad226f3855fa3bec5b33
[ "Apache-2.0" ]
null
null
null
lib/oban/queue/executor.ex
luizpvas/oban
6e41b15ed8fda628f991ad226f3855fa3bec5b33
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Queue.Executor do @moduledoc false alias Oban.{Config, Job, Query, Worker} @spec child_spec(Job.t(), Config.t()) :: Supervisor.child_spec() def child_spec(job, conf) do %{ id: __MODULE__, start: {__MODULE__, :start_link, [job, conf]}, type: :worker, restart: :tempora...
26.93
93
0.629781
1c4b584bc9cdedf3eea0e6e20899293b9390a0de
939
exs
Elixir
priv/repo/migrations/017_create_unlock.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
priv/repo/migrations/017_create_unlock.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
priv/repo/migrations/017_create_unlock.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.Repo.Migrations.CreateUnlock do use Ecto.Migration def change do create table(:unlocks, primary_key: false) do add :id, :binary_id, primary_key: true add :account_id, references(:accounts, type: :binary_id, on_delete: :delete_all), null: false add :unlockable_id, references...
33.535714
105
0.686901
1c4bac9ab88e361de8f3df370c276d39115a030e
47
exs
Elixir
test/game/manager_test.exs
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
null
null
null
test/game/manager_test.exs
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
1
2021-10-18T21:44:37.000Z
2021-10-18T21:44:37.000Z
test/game/manager_test.exs
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
null
null
null
defmodule ManagerTest do use ExUnit.Case end
11.75
24
0.808511
1c4bb6fdda7aa486296fc69443ab3885e528799b
1,549
ex
Elixir
lib/codes/codes_d53.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d53.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d53.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_D53 do alias IcdCode.ICDCode def _D530 do %ICDCode{full_code: "D530", category_code: "D53", short_code: "0", full_name: "Protein deficiency anemia", short_name: "Protein deficiency anemia", category_name: "Protein deficiency anemia...
29.788462
80
0.613944
1c4bbcee555138706dfc7ef3695ce11a9293e982
757
exs
Elixir
apps/snitch_core/test/tools/user_config_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/tools/user_config_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/tools/user_config_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Tools.UserConfigTest do use ExUnit.Case, async: false alias Snitch.Tools.UserConfig describe "configured properly" do setup do Application.put_env(:snitch_core, :foo, [:bar, :baz]) on_exit(fn -> Application.delete_env(:snitch_core, :foo) end) end test "fet...
21.027778
59
0.626156
1c4bcb76b417a1cd60aa2c6cd2ea6b19141ea595
1,825
exs
Elixir
projects/standup/priv/repo/migrations/19991231235959_seed.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2020-02-11T06:00:11.000Z
2020-02-11T06:00:11.000Z
projects/standup/priv/repo/migrations/19991231235959_seed.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2017-09-23T19:41:29.000Z
2017-09-25T05:12:38.000Z
projects/standup/priv/repo/migrations/19991231235959_seed.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
null
null
null
defmodule Standup.Repo.Migrations.Seed do use Ecto.Migration def change do # Users create table(:users) do add :email, :string add :email_verified_at, :utc_datetime timestamps() end create unique_index(:users, [:email]) # Authors create table(:authors) do add :na...
21.987952
66
0.613151
1c4bcdb2444ec47910f7a0d1dadb5582a13a96e4
2,307
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/ingestion_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/ingestion_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/ingestion_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.722222
388
0.753359
1c4bd42f4a11135ebbaffdb1f79a63cd383ca08d
2,343
ex
Elixir
lib/schism.ex
keathley/schism
23fe89d0e503ba7a31a17effb5b290007d71a3e1
[ "MIT" ]
54
2019-02-17T15:24:42.000Z
2021-09-29T13:21:56.000Z
lib/schism.ex
keathley/schism
23fe89d0e503ba7a31a17effb5b290007d71a3e1
[ "MIT" ]
10
2020-01-23T16:20:11.000Z
2021-09-22T10:13:22.000Z
lib/schism.ex
elixir-toniq/schism
a04e59332a1d62f8d3ff719a16f9ec13629b9917
[ "MIT" ]
2
2019-05-19T05:26:20.000Z
2020-01-29T15:33:03.000Z
defmodule Schism do @moduledoc """ Schism allows you to create network partitions in erlang nodes without needing to leave elixir. Let's say that we have 5 nodes and we want to test what happens when they disconnect from each other. We can use Schism like so: ```elixir test "netsplits" do [n1, n2, n...
28.925926
83
0.665813
1c4bd9ed92f9f29868de4900a3ff9e3d9aec1202
732
exs
Elixir
mix.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
mix.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
mix.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule BusDetective.Umbrella.Mixfile do use Mix.Project def project do [ aliases: aliases(Mix.env()), apps_path: "apps", deps: deps(), preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.travis": :test, "coveralls.html": :test ...
22.875
67
0.61612
1c4bdccccd87e2544f968f4976617f08a6fba770
35,562
exs
Elixir
test/oli/delivery/submission_test.exs
argos-education/oli-torus
cff73a277f80c8071217a074d9d8b650a9c068e5
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli/delivery/submission_test.exs
argos-education/oli-torus
cff73a277f80c8071217a074d9d8b650a9c068e5
[ "MIT" ]
1
2022-03-25T13:46:08.000Z
2022-03-25T16:06:44.000Z
test/oli/delivery/submission_test.exs
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.AttemptsSubmissionTest do use Oli.DataCase alias Oli.Delivery.Attempts.Core, as: Attempts alias Oli.Activities.Model.Part alias Oli.Delivery.Attempts.PageLifecycle alias Oli.Delivery.Attempts.ActivityLifecycle alias Oli.Delivery.Attempts.ActivityLifecycle.Evaluate alias Oli.Delive...
34.933202
146
0.591755
1c4bf004c0b8619f58f36bd63681e5658eae9747
2,553
ex
Elixir
lib/commanded/aggregates/aggregate_state_builder.ex
datafoo/commanded
b497d8cfde386c272902809511f8373d03652684
[ "MIT" ]
null
null
null
lib/commanded/aggregates/aggregate_state_builder.ex
datafoo/commanded
b497d8cfde386c272902809511f8373d03652684
[ "MIT" ]
null
null
null
lib/commanded/aggregates/aggregate_state_builder.ex
datafoo/commanded
b497d8cfde386c272902809511f8373d03652684
[ "MIT" ]
null
null
null
defmodule Commanded.Aggregates.AggregateStateBuilder do alias Commanded.Aggregates.Aggregate alias Commanded.EventStore alias Commanded.EventStore.RecordedEvent alias Commanded.EventStore.SnapshotData alias Commanded.Snapshotting @read_event_batch_size 100 @doc """ Populate the aggregate's state from ...
33.155844
94
0.697611
1c4c5827eff1a094aeb7a98e9085ddd8c4c5eeac
71
exs
Elixir
test/ergo/utils_test.exs
mmower/ergo
f0cfa8debd6697c56509e7856578dc49666f3ff2
[ "MIT" ]
5
2021-07-11T13:01:56.000Z
2021-12-29T17:02:00.000Z
test/ergo/utils_test.exs
mmower/ergo
f0cfa8debd6697c56509e7856578dc49666f3ff2
[ "MIT" ]
null
null
null
test/ergo/utils_test.exs
mmower/ergo
f0cfa8debd6697c56509e7856578dc49666f3ff2
[ "MIT" ]
null
null
null
defmodule Ergo.UtilsTest do use ExUnit.Case doctest Ergo.Utils end
14.2
27
0.788732
1c4c7e10b9fcf328b889dd1c8ea042ec4f8e5457
448
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/92.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/92.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/92.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** verb_aux SYM noun cm quantifier; conj demonstrative noun cm quantifier; verb conj cardinal noun quantifier; pnoun cm cardinal noun quantifier; pnoun cm cardinal adjective quantifier; noun cm quantifier adjective quantifier; verb_aux pn adjective noun quantifier; SYM pn cm demonstrative pn; SY...
28
41
0.78125
1c4c9ca1444eea0e4e31688d847d38b39fe1e208
1,065
ex
Elixir
lib/phoenix13_base/application.ex
pgrunwald/phoenix13_base
9c9ae51f9fda5dc86ffd33b860d1524f8d585e19
[ "MIT" ]
1
2019-03-28T05:47:46.000Z
2019-03-28T05:47:46.000Z
lib/phoenix13_base/application.ex
pgrunwald/phoenix13_base
9c9ae51f9fda5dc86ffd33b860d1524f8d585e19
[ "MIT" ]
null
null
null
lib/phoenix13_base/application.ex
pgrunwald/phoenix13_base
9c9ae51f9fda5dc86ffd33b860d1524f8d585e19
[ "MIT" ]
null
null
null
defmodule Phoenix13Base.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repositor...
33.28125
91
0.724883
1c4ca4b1f631e24c5951d7dd53ae76a6cabb48dc
3,509
ex
Elixir
apps/aehttpclient/lib/client.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aehttpclient/lib/client.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aehttpclient/lib/client.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule Aehttpclient.Client do @moduledoc """ Client used for making requests to a node. """ alias Aecore.Chain.Block alias Aecore.Chain.Header alias Aecore.Tx.SignedTx alias Aecore.Tx.DataTx alias Aecore.Keys require Logger @typedoc "Client request identifier" @type req_kind :: :default | :p...
26.78626
84
0.606156