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
5ae2f80758e3a3ce21a1ac92710c6fc0ffedc597
93
exs
Elixir
test/faker/dog_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
test/faker/dog_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
test/faker/dog_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.Dog.PtBrTest do use ExUnit.Case, async: true doctest Faker.Dog.PtBr end
15.5
31
0.763441
5ae3057d4a5920df6cbd8bbae9badc5a47228a7b
1,562
ex
Elixir
lib/transferdrop_web/views/error_helpers.ex
sheosi/transferdrop
9021fd1c0d2d28dddc141264ce95a4e8d896c3ee
[ "MIT" ]
null
null
null
lib/transferdrop_web/views/error_helpers.ex
sheosi/transferdrop
9021fd1c0d2d28dddc141264ce95a4e8d896c3ee
[ "MIT" ]
null
null
null
lib/transferdrop_web/views/error_helpers.ex
sheosi/transferdrop
9021fd1c0d2d28dddc141264ce95a4e8d896c3ee
[ "MIT" ]
null
null
null
defmodule TransferdropWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content...
32.541667
81
0.668374
5ae30aaed04d98d10130785a080fee5168940db2
699
exs
Elixir
test/number/decimal_format_compiler_test.exs
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
21
2019-12-21T23:25:14.000Z
2022-03-22T00:40:34.000Z
test/number/decimal_format_compiler_test.exs
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
15
2019-06-14T16:29:23.000Z
2022-03-02T07:56:33.000Z
test/number/decimal_format_compiler_test.exs
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
7
2017-10-05T11:35:36.000Z
2018-08-20T12:17:03.000Z
defmodule DecimalFormatCompiler.Test do use ExUnit.Case, async: true alias Cldr.Number.Format Enum.each(TestBackend.Cldr.Number.Format.decimal_format_list(), fn format -> test "Compile decimal format #{inspect(format)}" do assert {:ok, _result} = Format.Compiler.parse(unquote(format)) end end) ...
27.96
78
0.69671
5ae330b5b1f0e460ba8f7292eeadcf3b5f8154c9
2,189
ex
Elixir
clients/data_pipelines/lib/google_api/data_pipelines/v1/model/google_cloud_datapipelines_v1_list_pipelines_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_pipelines/lib/google_api/data_pipelines/v1/model/google_cloud_datapipelines_v1_list_pipelines_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_pipelines/lib/google_api/data_pipelines/v1/model/google_cloud_datapipelines_v1_list_pipelines_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
36.483333
267
0.750114
5ae349e073132e7539e88c9c6cff15a0ab315239
1,590
ex
Elixir
kousa/lib/broth/message/user/create_bot.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/broth/message/user/create_bot.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/broth/message/user/create_bot.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Broth.Message.User.CreateBot do use Broth.Message.Call, reply: __MODULE__ @derive {Jason.Encoder, only: [:username]} @primary_key {:id, :binary_id, []} schema "users" do field(:username, :string) end # inbound data. def changeset(initializer \\ %__MODULE__{}, data) do initializer ...
24.84375
84
0.586164
5ae36fa0f782d2590ad361f3ceb8e1a9bfabb945
1,176
exs
Elixir
mix.exs
hopsor/open_hours
19b8736e4d8401c0eb2e4270e27bf0b1e30b3133
[ "MIT" ]
37
2019-07-08T17:31:26.000Z
2022-01-15T04:49:05.000Z
mix.exs
hopsor/open_hours
19b8736e4d8401c0eb2e4270e27bf0b1e30b3133
[ "MIT" ]
1
2019-07-11T10:03:43.000Z
2019-07-16T18:50:46.000Z
mix.exs
hopsor/open_hours
19b8736e4d8401c0eb2e4270e27bf0b1e30b3133
[ "MIT" ]
1
2020-02-05T09:17:38.000Z
2020-02-05T09:17:38.000Z
defmodule OpenHours.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :open_hours, version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), docs: docs() ] e...
19.6
59
0.558673
5ae3807286bc2cc6235c2f9f2457c0491ba89259
2,145
exs
Elixir
mix.exs
adampash/dataloader
c2c1402fa4c9d007f6939aeb0fc82f62f2234595
[ "MIT" ]
415
2017-10-18T22:27:17.000Z
2022-03-31T06:28:37.000Z
mix.exs
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
108
2017-10-24T07:17:06.000Z
2022-03-20T00:19:57.000Z
mix.exs
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
83
2017-11-15T06:15:38.000Z
2022-03-20T00:26:44.000Z
defmodule Dataloader.Mixfile do use Mix.Project @source_url "https://github.com/absinthe-graphql/dataloader" @version "1.0.10" def project do [ app: :dataloader, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env())...
23.315217
72
0.55711
5ae3b023e26b820d700fae80aa64dabf1977798c
228
exs
Elixir
integration/elistrix_remote/test/test_helper.exs
tobz/elistrix
c9dd8a8369000492240969ada2b763433768aafa
[ "MIT" ]
15
2015-05-05T07:22:23.000Z
2019-08-16T12:08:56.000Z
integration/elistrix_remote/test/test_helper.exs
tobz/elistrix
c9dd8a8369000492240969ada2b763433768aafa
[ "MIT" ]
null
null
null
integration/elistrix_remote/test/test_helper.exs
tobz/elistrix
c9dd8a8369000492240969ada2b763433768aafa
[ "MIT" ]
null
null
null
ExUnit.start # Create the database, run migrations, and start the test transaction. Mix.Task.run "ecto.create", ["--quiet"] Mix.Task.run "ecto.migrate", ["--quiet"] Ecto.Adapters.SQL.begin_test_transaction(ElistrixRemote.Repo)
32.571429
70
0.758772
5ae3fad6d21d6713bb2f80bbd82bc99297a1678b
1,084
exs
Elixir
mix.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
3
2021-07-03T08:27:46.000Z
2021-08-18T06:00:38.000Z
mix.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
1
2021-06-21T19:27:35.000Z
2021-06-30T18:24:39.000Z
mix.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
1
2021-08-13T16:14:13.000Z
2021-08-13T16:14:13.000Z
defmodule ElxValidation.MixProject do use Mix.Project def project do [ app: :elx_validation, version: "0.1.3", elixir: "~> 1.11", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps()...
21.68
69
0.563653
5ae410ade3b05a7653f25e4c2b4f3b08998bff40
1,478
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/property_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/property_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/property_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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...
29.56
76
0.711096
5ae416b074d60b63fa2c8146c756d5ebe7b6be38
1,606
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/list_folders_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/list_folders_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/list_folders_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # 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...
32.12
106
0.752179
5ae419f327e1f4cda06529c9fd5d336cf8f74853
254
exs
Elixir
priv/repo/migrations/20200811222605_remove_attempted_login_count_column_from_user_tokens_table.exs
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20200811222605_remove_attempted_login_count_column_from_user_tokens_table.exs
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
priv/repo/migrations/20200811222605_remove_attempted_login_count_column_from_user_tokens_table.exs
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocator.Repo.Migrations.RemoveAttemptedLoginCountColumnFromUserTokensTable do use Ecto.Migration def change do alter(table(:users_tokens)) do remove(:attempted_login_count, :integer, null: false, default: 0) end end end
25.4
90
0.771654
5ae42ac006f68a8f661dc6c2c5ed8bb683a3cc4c
199
exs
Elixir
test/mnemonix/stores/elastix_test.exs
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
36
2016-10-30T21:40:19.000Z
2021-05-03T10:51:50.000Z
test/mnemonix/stores/elastix_test.exs
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
52
2016-10-30T20:57:35.000Z
2017-12-28T03:39:57.000Z
test/mnemonix/stores/elastix_test.exs
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
5
2017-01-25T22:02:58.000Z
2018-01-30T14:27:55.000Z
if Code.ensure_loaded?(Elastix) do defmodule Mnemonix.Stores.Elastix.Test do use Mnemonix.Test.Case, async: true @moduletag :elastic_search doctest Mnemonix.Stores.Elastix end end
18.090909
43
0.748744
5ae44de335df2a634cbcf2f9ad83b35345ee61f5
1,941
ex
Elixir
lib/livebook_web/live/session_live/cell_settings_component.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
1
2021-05-21T22:14:23.000Z
2021-05-21T22:14:23.000Z
lib/livebook_web/live/session_live/cell_settings_component.ex
cristina007-bot/livebook
101f582196a161a06b62b38fe55c7f8c0a04b54d
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_settings_component.ex
cristina007-bot/livebook
101f582196a161a06b62b38fe55c7f8c0a04b54d
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.CellSettingsComponent do use LivebookWeb, :live_component alias Livebook.Session @impl true def update(assigns, socket) do metadata = assigns.cell.metadata assigns = Map.merge(assigns, %{disable_formatting: Map.get(metadata, "disable_formatting", false)}) ...
32.898305
141
0.634724
5ae4680a7f8460aaad1c8c5f40d6c61eaba8cd5a
282
exs
Elixir
config/test.exs
tableturn/poly_amory
e468f9621b89be13b24885d28f8e22f1075e910d
[ "MIT" ]
null
null
null
config/test.exs
tableturn/poly_amory
e468f9621b89be13b24885d28f8e22f1075e910d
[ "MIT" ]
null
null
null
config/test.exs
tableturn/poly_amory
e468f9621b89be13b24885d28f8e22f1075e910d
[ "MIT" ]
null
null
null
use Mix.Config config :poly_amory, ecto_repos: [PolyAmory.TestRepo] config :poly_amory, PolyAmory.TestRepo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "polyamory_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox
23.5
52
0.751773
5ae46e1ca0dcb158b61de09bf5edbd27741fa8e3
1,926
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/monitoring_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/monitoring_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/monitoring_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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 ...
36.339623
125
0.745067
5ae4832a95634bb3bbca65ab6511901768818513
2,221
exs
Elixir
test/philopets/blogs/comments_test.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
test/philopets/blogs/comments_test.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
test/philopets/blogs/comments_test.exs
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
defmodule Philopets.Blogs.CommentsTest do use Philopets.DataCase alias Philopets.Blogs.Comments describe "blog_comments" do alias Philopets.Blogs.Comments.Comment alias Philopets.BlogsFixtures alias Philopets.Accounts.ProfilesFixtures import Philopets.Blogs.CommentsFixtures @invalid_attrs ...
34.703125
91
0.70824
5ae50b79aae479564ad1147b8b88abea693d74b1
2,820
exs
Elixir
apps/snitch_core/test/data/model/product_review_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/model/product_review_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/model/product_review_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.ProductReviewTest do use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory alias Snitch.Data.Model.ProductReview setup do product = insert(:product) [product: product] end setup :rating_options @tag rating_option_count: 1 test "create product rev...
32.790698
91
0.703191
5ae51641f89d4dd75f05dbf664d10f7e8ce5e41c
2,149
ex
Elixir
lib/adyen_checkout_ex/model/payment_response.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/payment_response.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/payment_response.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.PaymentResponse do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"action", :"additionalData", ...
39.796296
274
0.735691
5ae52cf9695bc2a9ec95fe9a27d0b22badd7ecd1
135
exs
Elixir
test/reflux_test.exs
lowlandresearch/reflux
1fa23e4d609bfa0a27f5f231abbfa28c8835f1f2
[ "MIT" ]
null
null
null
test/reflux_test.exs
lowlandresearch/reflux
1fa23e4d609bfa0a27f5f231abbfa28c8835f1f2
[ "MIT" ]
null
null
null
test/reflux_test.exs
lowlandresearch/reflux
1fa23e4d609bfa0a27f5f231abbfa28c8835f1f2
[ "MIT" ]
null
null
null
defmodule RefluxTest do use ExUnit.Case doctest Reflux test "greets the world" do assert Reflux.hello() == :world end end
15
35
0.703704
5ae52fb42fdd37125d6323b2a992c9d5724940d9
4,714
ex
Elixir
lib/mix/lib/mix/project_stack.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project_stack.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project_stack.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule Mix.ProjectStack do @moduledoc false @timeout 30_000 @typep file :: binary @typep config :: Keyword.t @typep project :: {module, config, file} @spec start_link :: {:ok, pid} def start_link() do initial = %{stack: [], post_config: [], cache: %{}} Agent.start_link fn -> initial end,...
23.688442
84
0.560246
5ae5426ea605f7bf090263eb3a62428357ae172c
20,153
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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...
79.656126
191
0.742172
5ae5485cbe318dd8da7cf084e0542897d27eff85
368
ex
Elixir
apps/tai/lib/tai/fleets.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/fleets.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/lib/tai/fleets.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.Fleets do alias __MODULE__ @spec load :: Fleets.Services.Load.result() @spec load(map) :: Fleets.Services.Load.result() def load(config \\ Tai.Config.get(:fleets)) do Fleets.Services.Load.execute(config) end @spec search(list) :: Fleets.Queries.Search.result() def search(options) do ...
24.533333
54
0.711957
5ae5510549644dc239e90da308bcb953744fb711
325
exs
Elixir
elixir/codes-from-books/little-elixir/cap4/metex/mix.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
elixir/codes-from-books/little-elixir/cap4/metex/mix.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
elixir/codes-from-books/little-elixir/cap4/metex/mix.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
defmodule Metex.Mixfile do use Mix.Project def project do [app: :metex, version: "0.0.1", elixir: "~> 1.0", deps: deps] end def application do [applications: [:logger, :httpoison]] end defp deps do [ {:httpoison, "~> 0.9.0"}, {:json, "~> 0.3.0"} ] end...
14.130435
41
0.510769
5ae55fa86ad17f29f3e04bc30c5283f5ca769c59
1,123
exs
Elixir
config/config.exs
atanych/translator
0535854adefea1036752fa03de1fd623a01f222c
[ "MIT" ]
13
2016-04-17T17:02:11.000Z
2021-04-06T08:40:51.000Z
config/config.exs
atanych/translator
0535854adefea1036752fa03de1fd623a01f222c
[ "MIT" ]
4
2016-04-12T02:54:30.000Z
2016-12-26T16:26:39.000Z
config/config.exs
atanych/translator
0535854adefea1036752fa03de1fd623a01f222c
[ "MIT" ]
5
2016-04-17T17:02:13.000Z
2018-09-27T17:10:16.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.225806
73
0.752449
5ae5bb63f242ccc2ef4963ef02374f77e8eb46af
2,557
exs
Elixir
mix.exs
rbino/astarte_data_access
d3fa2210fbe3b3d3942a8be10732c0fb6334d048
[ "Apache-2.0" ]
null
null
null
mix.exs
rbino/astarte_data_access
d3fa2210fbe3b3d3942a8be10732c0fb6334d048
[ "Apache-2.0" ]
null
null
null
mix.exs
rbino/astarte_data_access
d3fa2210fbe3b3d3942a8be10732c0fb6334d048
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
27.793478
97
0.648416
5ae5d7ca13b464ee6fdeb61fd455b613efbab15f
1,006
ex
Elixir
test/factories/refund_factory.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
1
2020-04-07T22:17:25.000Z
2020-04-07T22:17:25.000Z
test/factories/refund_factory.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
17
2018-04-11T12:07:07.000Z
2019-03-18T21:33:18.000Z
test/factories/refund_factory.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
2
2020-06-22T09:31:41.000Z
2020-06-22T09:34:23.000Z
ExUnit.start() defmodule MangoPay.RefundFactory do @moduledoc false defmacro __using__([]) do quote do def created_refund_factory(module_name \\ nil) do Factories.SharedFunctions.get_json( Enum.join( Enum.filter( [ "", Factories....
21.869565
67
0.451292
5ae5d96a7e5cd2c9e9847d18fab6a75bffb986d9
16,956
ex
Elixir
lib/elixir/lib/inspect/algebra.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/lib/inspect/algebra.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/inspect/algebra.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Inspect.Opts do @moduledoc """ Defines the Inspect.Opts used by the Inspect protocol. The following fields are available: * `:structs` - when false, structs are not formatted by the inspect protocol, they are instead printed as maps, defaults to true. * `:binaries` - when `:as_strings` ...
31.992453
103
0.605803
5ae5da5b10f2e35dab4172bfb5715ce317c5cd27
1,739
ex
Elixir
lib/recipients/recipient.ex
htdc/pinxs
809112cf16d007e58902b70272549076675d6c23
[ "MIT" ]
1
2019-06-03T06:46:02.000Z
2019-06-03T06:46:02.000Z
lib/recipients/recipient.ex
htdc/pinxs
809112cf16d007e58902b70272549076675d6c23
[ "MIT" ]
7
2018-05-23T11:10:10.000Z
2021-12-08T00:49:23.000Z
lib/recipients/recipient.ex
htdc/pinxs
809112cf16d007e58902b70272549076675d6c23
[ "MIT" ]
1
2018-07-02T03:09:51.000Z
2018-07-02T03:09:51.000Z
defmodule PINXS.Recipients.Recipient do alias PINXS.HTTP.API alias __MODULE__ @moduledoc """ Provides functions for working with payment recipients ## Required fields All recipients require the following fields - email And one of the following - bank_account - bank_account_token """ @deriv...
22.012658
84
0.651524
5ae603745ab0a0b1fa5369d5259322c2b6fe87ce
212
ex
Elixir
lib/decoding/start_section_parser.ex
ElixiumNetwork/WaspVM
7a313825ed50720256dda6e61e83356621357963
[ "MIT" ]
112
2018-12-14T23:43:38.000Z
2019-03-22T22:02:27.000Z
lib/decoding/start_section_parser.ex
ElixiumNetwork/Elixium-Wasm
7a313825ed50720256dda6e61e83356621357963
[ "MIT" ]
21
2018-12-22T23:53:14.000Z
2019-02-21T00:18:05.000Z
lib/decoding/start_section_parser.ex
ElixiumNetwork/Elixium-Wasm
7a313825ed50720256dda6e61e83356621357963
[ "MIT" ]
4
2019-05-11T16:37:19.000Z
2021-05-18T13:45:06.000Z
defmodule AlchemyVM.Decoder.StartSectionParser do alias AlchemyVM.LEB128 @moduledoc false def parse(section) do {index, _entries} = LEB128.decode_unsigned(section) {:start, index} end end
16.307692
56
0.721698
5ae629868e669a438616d40d9cd9d1f54857a640
1,072
exs
Elixir
exercises/practice/collatz-conjecture/test/collatz_conjecture_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/collatz-conjecture/test/collatz_conjecture_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/collatz-conjecture/test/collatz_conjecture_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule CollatzConjectureTest do use ExUnit.Case test "zero steps for one" do assert CollatzConjecture.calc(1) == 0 end @tag :pending test "zero is an error" do assert_raise FunctionClauseError, fn -> CollatzConjecture.calc(0) end end @tag :pending test "divide if even" do assert Collat...
22.333333
79
0.70056
5ae63d24c5de53d4e77135d64f4419eea64ed81f
8,311
ex
Elixir
lib/game/command/move.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/move.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/move.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.Move do @moduledoc """ The movement commands: north, east, south, west """ use Game.Command use Game.Zone alias Data.Exit alias Game.Command.AFK alias Game.Door alias Game.Player alias Game.Quest alias Game.Session.GMCP alias Metrics.CharacterInstrumenter @must_be_ali...
25.971875
100
0.596198
5ae6476160cf95e45954df71e354210dd04025cc
2,805
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_ssl_proxy_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/target_ssl_proxy_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_ssl_proxy_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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 ...
45.241935
393
0.71836
5ae67b03c8416a4def692d456f3028e12c2deca1
4,897
exs
Elixir
test/lib/sms_sender_test.exs
deniskulicek/apus
be40b09a5507a56feee87d98d68d8720826f5bda
[ "MIT" ]
null
null
null
test/lib/sms_sender_test.exs
deniskulicek/apus
be40b09a5507a56feee87d98d68d8720826f5bda
[ "MIT" ]
null
null
null
test/lib/sms_sender_test.exs
deniskulicek/apus
be40b09a5507a56feee87d98d68d8720826f5bda
[ "MIT" ]
null
null
null
defmodule Apus.SmsSenderTest do use ExUnit.Case defmodule TestAdapter do def deliver(%{body: "I fail"}, _) do {:error, "failure message"} end def deliver(message, config) do send(:sender_test, {:deliver, message, config}) end def handle_config(config), do: config end defmodul...
24.485
96
0.613028
5ae6a209d95ffc712bfe7e419035b8baa49247ae
3,331
ex
Elixir
lib/gsm.ex
l1h3r/gsm
4fa870331ead3bc1af6e897230e21e0a1132463b
[ "MIT" ]
4
2018-09-21T13:44:54.000Z
2021-07-06T16:33:54.000Z
lib/gsm.ex
l1h3r/gsm
4fa870331ead3bc1af6e897230e21e0a1132463b
[ "MIT" ]
null
null
null
lib/gsm.ex
l1h3r/gsm
4fa870331ead3bc1af6e897230e21e0a1132463b
[ "MIT" ]
null
null
null
defmodule GSM do @moduledoc """ Documentation for GSM. """ defmodule BadCharacter do defexception [:message] def exception(value) do %__MODULE__{ message: "Unsupported GSM-7 character: #{inspect(value)}" } end end # Extended (2-byte) GSM-7 characters @extended GSM.Convers...
25.234848
87
0.626238
5ae6e1523ff1babe6f19678a3e2f4dd6bfdf8b92
1,806
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.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...
38.425532
322
0.760244
5ae6ec60b1a138528966ebaf81ecba92b3b4bc74
2,104
ex
Elixir
lib/stripe_post/opts.ex
aforward/stripe-post
2aa29bab7c69495bd43d53202589b7af48c9fa8c
[ "MIT" ]
null
null
null
lib/stripe_post/opts.ex
aforward/stripe-post
2aa29bab7c69495bd43d53202589b7af48c9fa8c
[ "MIT" ]
1
2021-07-22T19:32:28.000Z
2021-07-22T20:04:03.000Z
lib/stripe_post/opts.ex
aforward/stripe-post
2aa29bab7c69495bd43d53202589b7af48c9fa8c
[ "MIT" ]
null
null
null
defmodule StripePost.Opts do @moduledoc """ Generate API options based on overwritten values, as well as any configured defaults. Please refer to `StripePost` for more details on configuring this library, the know what can be configured. """ @doc """ Merge the `provided_opts` with the `configured_opts...
30.941176
111
0.651616
5ae6fd37d02bf58b85689ff6c0629aaa3d8bcfd2
57,980
ex
Elixir
lib/elixir/lib/calendar/datetime.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
2
2021-11-10T01:18:14.000Z
2021-11-10T01:35:54.000Z
lib/elixir/lib/calendar/datetime.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/elixir/lib/calendar/datetime.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2020-12-18T19:20:35.000Z
2020-12-18T19:20:35.000Z
defmodule DateTime do @moduledoc """ A datetime implementation with a time zone. This datetime can be seen as an ephemeral snapshot of a datetime at a given time zone. For such purposes, it also includes both UTC and Standard offsets, as well as the zone abbreviation field used exclusively for formatting...
34.822823
306
0.636547
5ae738295fe1d56d10b5121f4fc2210224184054
3,313
exs
Elixir
test/central_web/controllers/account/report_controller_test.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
test/central_web/controllers/account/report_controller_test.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/central_web/controllers/account/report_controller_test.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule CentralWeb.Account.ReportControllerTest do use CentralWeb.ConnCase alias Central.Account.AccountTestLib alias Central.Helpers.GeneralTestLib setup do GeneralTestLib.conn_setup(~w(admin.report)) end # @create_attrs %{name: "some name"} # @update_attrs %{name: "some updated name"} # @inv...
34.510417
97
0.653184
5ae74b0f7c743d22b2c5590fbb69191d67b3965c
2,318
ex
Elixir
apps/omg_eth/lib/omg_eth/ethereum_height_monitor/alarm_handler.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_eth/lib/omg_eth/ethereum_height_monitor/alarm_handler.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_eth/lib/omg_eth/ethereum_height_monitor/alarm_handler.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # 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...
37.387097
98
0.723469
5ae7f004323ed753076035967a401cd5aa7a0455
884
ex
Elixir
test/support/conn_case.ex
schwarz/clipstamp
1cda56679e371c1d091b3879577467d51efa0d01
[ "MIT" ]
null
null
null
test/support/conn_case.ex
schwarz/clipstamp
1cda56679e371c1d091b3879577467d51efa0d01
[ "MIT" ]
null
null
null
test/support/conn_case.ex
schwarz/clipstamp
1cda56679e371c1d091b3879577467d51efa0d01
[ "MIT" ]
null
null
null
defmodule Clipstamp.Web.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if ...
25.257143
58
0.728507
5ae7f37267cb296089f52bdc95a0852f8d5b278f
102
exs
Elixir
exercises/02-higher-order-functions/reduce/product/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
1
2021-09-22T09:52:11.000Z
2021-09-22T09:52:11.000Z
exercises/02-higher-order-functions/reduce/product/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
22
2019-06-19T18:58:13.000Z
2020-03-16T14:43:06.000Z
exercises/02-higher-order-functions/reduce/product/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
32
2019-09-19T03:25:11.000Z
2020-10-06T15:01:47.000Z
defmodule Math do def product(xs) do xs |> Enum.reduce(1, fn (x, acc) -> x * acc end) end end
17
52
0.598039
5ae7fcc67f1c7b1ce353d3e13a525fda5062c8e9
1,831
ex
Elixir
lib/ex_dns/resource/mx.ex
kipcole9/dns
f32448954f5c8f13ba714099f47e0e80e1091cf5
[ "Apache-2.0" ]
3
2019-08-09T05:24:23.000Z
2021-11-16T18:44:00.000Z
lib/ex_dns/resource/mx.ex
kipcole9/dns
f32448954f5c8f13ba714099f47e0e80e1091cf5
[ "Apache-2.0" ]
null
null
null
lib/ex_dns/resource/mx.ex
kipcole9/dns
f32448954f5c8f13ba714099f47e0e80e1091cf5
[ "Apache-2.0" ]
null
null
null
defmodule ExDns.Resource.MX do @moduledoc """ Manages the MX resource record. The wire protocol is defined in [RFC1035](https://tools.ietf.org/html/rfc1035#section-3.3.9) 3.3.9. MX RDATA format +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | PREFERENCE | ...
28.609375
94
0.554888
5ae818899f9a5503251b980dcf45f0b316acfeaa
2,298
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_page_info.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_page_info.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_page_info.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
42.555556
221
0.749782
5ae81a6d18dd938fc0397ead83e6bc0732a306d8
233
ex
Elixir
lib/bike_brigade/locations/neighborhood.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
lib/bike_brigade/locations/neighborhood.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
lib/bike_brigade/locations/neighborhood.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Locations.Neighborhood do use BikeBrigade.Schema schema "toronto_neighborhoods" do field :name, :string # Not including because we use it only in the database # field :geom, :geometry end end
23.3
58
0.742489
5ae8218199da9cd37a82248e3e4da0f9a2923eb5
17,867
ex
Elixir
lib/module/live_streams.ex
denielchiang/mux_wrapper
b1cb924dc7e58ee98c6db406c5ff7c0a26824d58
[ "MIT" ]
null
null
null
lib/module/live_streams.ex
denielchiang/mux_wrapper
b1cb924dc7e58ee98c6db406c5ff7c0a26824d58
[ "MIT" ]
null
null
null
lib/module/live_streams.ex
denielchiang/mux_wrapper
b1cb924dc7e58ee98c6db406c5ff7c0a26824d58
[ "MIT" ]
null
null
null
defmodule MuxWrapper.LiveStreams do @moduledoc """ Provides a wrapper of live streaming to manipulate Mux API """ alias Mux.Video.LiveStreams alias MuxWrapper.EmbeddedSchema.{LiveStream, Playback, Simulcast} @privacy %{ public: "public", private: "signed" } @doc """ Provide a function to sen...
27.194825
174
0.599597
5ae8322cd93e64a8ee63c263b7fd70188466f947
1,882
ex
Elixir
chapter4/challenges/githubrepogetter/lib/githubrepogetter_web/telemetry.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter4/challenges/githubrepogetter/lib/githubrepogetter_web/telemetry.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter4/challenges/githubrepogetter/lib/githubrepogetter_web/telemetry.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule GithubrepogetterWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000m...
33.607143
88
0.682784
5ae84f914a7126c74aadf8d9ca4304b1c13a1895
2,822
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/word.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/word.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/word.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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 ...
39.746479
135
0.682849
5ae856bebf58c77927b4e227450927fef1a84f34
772
ex
Elixir
lib/snor.ex
biswarupchakravarty/snor
134929f08971d9903f347459c31aad9f43a5cc85
[ "MIT" ]
null
null
null
lib/snor.ex
biswarupchakravarty/snor
134929f08971d9903f347459c31aad9f43a5cc85
[ "MIT" ]
null
null
null
lib/snor.ex
biswarupchakravarty/snor
134929f08971d9903f347459c31aad9f43a5cc85
[ "MIT" ]
null
null
null
defmodule Snor do @moduledoc """ Snor is a fast and simple implementation of Mustache style templating for Elixir. Snor also has support for executing functions. """ alias Snor.{Executor, Parser} @doc ~S""" Render a given template to a string. The second parameter is the map that contains the data to ...
27.571429
83
0.659326
5ae86ba029b2085531c31e1857e95189900d036e
957
ex
Elixir
lib/glimesh_web/live/chat_live/pop_out.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
lib/glimesh_web/live/chat_live/pop_out.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
lib/glimesh_web/live/chat_live/pop_out.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.ChatLive.PopOut do use GlimeshWeb, :live_view alias Glimesh.Accounts alias Glimesh.ChannelLookups def mount(%{"username" => streamer_username}, session, socket) do case ChannelLookups.get_channel_for_username!(streamer_username) do %Glimesh.Streams.Channel{} = channel -> ...
34.178571
107
0.668757
5ae8ada7e3d5d7c0e0e95e349fe9fd54795ab93a
9,933
exs
Elixir
test/flex_test/decoder_test.exs
dangdennis/flow-elixir-sdk
03ddc52c5951486bd80488f6fe2328f8ebfaa5bc
[ "MIT" ]
1
2021-04-09T06:28:53.000Z
2021-04-09T06:28:53.000Z
test/flex_test/decoder_test.exs
dangdennis/flow-elixir-sdk
03ddc52c5951486bd80488f6fe2328f8ebfaa5bc
[ "MIT" ]
null
null
null
test/flex_test/decoder_test.exs
dangdennis/flow-elixir-sdk
03ddc52c5951486bd80488f6fe2328f8ebfaa5bc
[ "MIT" ]
null
null
null
defmodule FlexTest.Decoder do use ExUnit.Case doctest Flex alias Flex.Decoder @tag disabled: false test "decoder decodes" do assert %{"type" => "Int", "value" => "1"} |> Decoder.decode() == 1 end test "Void" do assert %{ "type" => "Void" } |> Decode...
21.453564
112
0.337058
5ae8add4885366b42200340a5b1eaf90b62d3b36
9,200
ex
Elixir
lib/ielixir/boyle.ex
lanalabs/IElixir
c185ce83649c268b7766e707481a3a49c525485b
[ "Apache-2.0" ]
null
null
null
lib/ielixir/boyle.ex
lanalabs/IElixir
c185ce83649c268b7766e707481a3a49c525485b
[ "Apache-2.0" ]
null
null
null
lib/ielixir/boyle.ex
lanalabs/IElixir
c185ce83649c268b7766e707481a3a49c525485b
[ "Apache-2.0" ]
null
null
null
defmodule Boyle do @moduledoc """ This module is responsible for runtime package management. Name of the package honours remarkable chemist, Robert Boyle. This package allows you to manage your Elixir virtual enviromnent without need of restarting erlang virtual machine. Boyle installs environment into `./envs/you_...
25.484765
490
0.6275
5ae8af274b3728af8e4e242ba8bf57baba0245cf
31,211
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/api/organizations.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/access_approval/lib/google_api/access_approval/v1/api/organizations.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/access_approval/lib/google_api/access_approval/v1/api/organizations.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
45.76393
551
0.623915
5ae8ee361b92a45c7170d59d81c9fe57b999f89a
1,189
exs
Elixir
test/arrow/adjustment_test.exs
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
test/arrow/adjustment_test.exs
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
test/arrow/adjustment_test.exs
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
defmodule Arrow.AdjustmentTest do @moduledoc false use Arrow.DataCase alias Arrow.Adjustment alias Arrow.Repo describe "database" do test "can insert an adjustment" do adj = %Adjustment{ source: "testing", source_label: "test_insert_adjustment", route_id: "test_route" ...
25.847826
80
0.632464
5ae91f4a66dcfe210c0cb53432bc53e699924b26
613
ex
Elixir
lib/blog_web/util/DateFormatter.ex
nlundkvist/blog
8353b0619e7d88285bb233990dcf8ec4959d6ed8
[ "MIT" ]
null
null
null
lib/blog_web/util/DateFormatter.ex
nlundkvist/blog
8353b0619e7d88285bb233990dcf8ec4959d6ed8
[ "MIT" ]
null
null
null
lib/blog_web/util/DateFormatter.ex
nlundkvist/blog
8353b0619e7d88285bb233990dcf8ec4959d6ed8
[ "MIT" ]
null
null
null
defmodule BlogWeb.Util.DateFormatter do def format_date(%NaiveDateTime{:year => year, :month => month, :day => day}) do format_month(month) <> " " <> to_string(day) <> ", " <> to_string(year) end def format_month(month) when is_number(month) and month >= 1 and month <= 12 do case month do 1 -> "Ja...
23.576923
81
0.538336
5ae92da0367c90fc0963a1ff470f18ec60466b57
1,210
exs
Elixir
config/config.exs
infinityoneframework/etop
8e1fa45d52de752f7fab7df6f509e3c952a091c8
[ "MIT" ]
4
2020-10-21T16:41:05.000Z
2022-03-22T11:36:08.000Z
config/config.exs
infinityoneframework/etop
8e1fa45d52de752f7fab7df6f509e3c952a091c8
[ "MIT" ]
2
2021-10-04T10:03:18.000Z
2022-01-29T08:36:02.000Z
config/config.exs
infinityoneframework/etop
8e1fa45d52de752f7fab7df6f509e3c952a091c8
[ "MIT" ]
1
2021-10-15T06:16:45.000Z
2021-10-15T06:16:45.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.666667
73
0.746281
5ae93001d83335ead5a2054a523b035357f2b2b5
10,242
ex
Elixir
lib/sorted_set.ex
evanob/sorted_set_nif
1b261b532106b9461d3bab1c262ecea9d2d0b3de
[ "MIT" ]
null
null
null
lib/sorted_set.ex
evanob/sorted_set_nif
1b261b532106b9461d3bab1c262ecea9d2d0b3de
[ "MIT" ]
null
null
null
lib/sorted_set.ex
evanob/sorted_set_nif
1b261b532106b9461d3bab1c262ecea9d2d0b3de
[ "MIT" ]
null
null
null
defmodule Discord.SortedSet do @moduledoc """ SortedSet provides a fast, efficient, rust-backed data structure that stores terms in Elixir sort order and ensures the uniqueness of members. See the [README](/sorted_set_nif/doc/readme.html) for more details about """ alias Discord.SortedSet.{NifBridge, Types...
31.906542
98
0.672623
5ae93bd34f153fefdf5e34ba43241e2347b03e7c
6,120
exs
Elixir
test/framing_test.exs
mnishiguchi/circuits_uart
d620b85caa302cd0a38ebf04e313b33f52b749c4
[ "Apache-2.0" ]
87
2018-11-30T04:51:04.000Z
2022-03-13T23:16:09.000Z
test/framing_test.exs
mnishiguchi/circuits_uart
d620b85caa302cd0a38ebf04e313b33f52b749c4
[ "Apache-2.0" ]
41
2019-01-02T19:19:03.000Z
2022-03-23T21:52:42.000Z
test/framing_test.exs
deke/nerves_uart
613d3a609376586fff8e2fc03803cb5c010987a9
[ "Apache-2.0" ]
25
2018-11-30T06:02:11.000Z
2021-12-07T20:42:09.000Z
Code.require_file("uart_test.exs", __DIR__) defmodule FramingTest do use ExUnit.Case alias Circuits.UART @moduledoc """ These tests are high level framing tests. See `framing_*_test.exs` for unit tests. """ setup do UARTTest.common_setup() end @tag skip: "Fix test on Windows" test "receive a...
30.6
95
0.572876
5ae9417bb8038c48db8c66ad68703812af03d518
90
exs
Elixir
apps/hard_hat/config/test.exs
gullintanni/gullintanni
63c58b7ea438a4c6885a13842d8e33d3b1273ced
[ "0BSD" ]
15
2016-08-09T21:27:54.000Z
2020-12-03T11:21:10.000Z
apps/hard_hat/config/test.exs
gullintanni/gullintanni
63c58b7ea438a4c6885a13842d8e33d3b1273ced
[ "0BSD" ]
15
2016-08-04T21:11:05.000Z
2017-08-02T17:46:17.000Z
apps/hard_hat/config/test.exs
gullintanni/gullintanni
63c58b7ea438a4c6885a13842d8e33d3b1273ced
[ "0BSD" ]
null
null
null
# Override configuration settings when running in the `:test` environment. use Mix.Config
30
74
0.8
5ae94d3c3c9a9022b2e84d72f2fc64248dacfa0a
268
exs
Elixir
test/event_store/subscription_test.exs
Navneet-gupta01/commanded-extreme-adapter
daac1726573d4b979aaeddd0dae9aca0473a9446
[ "MIT" ]
null
null
null
test/event_store/subscription_test.exs
Navneet-gupta01/commanded-extreme-adapter
daac1726573d4b979aaeddd0dae9aca0473a9446
[ "MIT" ]
null
null
null
test/event_store/subscription_test.exs
Navneet-gupta01/commanded-extreme-adapter
daac1726573d4b979aaeddd0dae9aca0473a9446
[ "MIT" ]
null
null
null
defmodule Commanded.EventStore.Adapters.Extreme.SubscriptionTest do use Commanded.EventStore.SubscriptionTestCase alias Commanded.EventStore.Adapters.Extreme.Storage setup do Storage.reset!() end defp event_store_wait(_default \\ nil), do: 10_000 end
22.333333
67
0.794776
5ae9652ce2ab4c9e501e5f6979aba887809ab6ec
1,011
exs
Elixir
config/config.exs
tilacog/bank-account-opening
e9d6ad11e6376af08b92a7f61e17d5df80a3a08f
[ "MIT" ]
null
null
null
config/config.exs
tilacog/bank-account-opening
e9d6ad11e6376af08b92a7f61e17d5df80a3a08f
[ "MIT" ]
null
null
null
config/config.exs
tilacog/bank-account-opening
e9d6ad11e6376af08b92a7f61e17d5df80a3a08f
[ "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 config :bank, ecto_repos: [Bank.Repo] # Conf...
30.636364
86
0.7636
5ae96a8bb1eb68bad1d28eafc20a99273955e65c
1,727
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/grafeas_v1_slsa_provenance_zero_two_slsa_material.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1/model/grafeas_v1_slsa_provenance_zero_two_slsa_material.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1/model/grafeas_v1_slsa_provenance_zero_two_slsa_material.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
31.4
125
0.727852
5ae980d44d7d4c238113789504372a60508083f8
339
exs
Elixir
test/tortoise/package/pingresp_test.exs
ngenic/tortoise311
18aa234c26f0e1d7b3dcac5dad562231346a20ef
[ "Apache-2.0" ]
2
2021-12-23T21:51:31.000Z
2022-02-20T22:29:24.000Z
test/tortoise/package/pingresp_test.exs
ngenic/tortoise311
18aa234c26f0e1d7b3dcac5dad562231346a20ef
[ "Apache-2.0" ]
11
2021-11-18T01:23:15.000Z
2022-03-28T18:15:18.000Z
test/tortoise/package/pingresp_test.exs
ngenic/tortoise311
18aa234c26f0e1d7b3dcac5dad562231346a20ef
[ "Apache-2.0" ]
3
2021-11-19T16:23:38.000Z
2022-03-18T11:36:54.000Z
defmodule Tortoise311.Package.PingrespTest do use ExUnit.Case doctest Tortoise311.Package.Pingresp alias Tortoise311.Package test "encoding and decoding ping responses" do pingresp = %Package.Pingresp{} assert ^pingresp = pingresp |> Package.encode() |> Package....
21.1875
48
0.663717
5ae991daec57a6ab154328138e6268a66d284ccb
11,126
ex
Elixir
lib/pow_assent/ecto/user_identities/context.ex
rauann/pow_assent
3aa16771a92b5ec978b138ec8ec3fa680f627759
[ "MIT" ]
null
null
null
lib/pow_assent/ecto/user_identities/context.ex
rauann/pow_assent
3aa16771a92b5ec978b138ec8ec3fa680f627759
[ "MIT" ]
null
null
null
lib/pow_assent/ecto/user_identities/context.ex
rauann/pow_assent
3aa16771a92b5ec978b138ec8ec3fa680f627759
[ "MIT" ]
null
null
null
defmodule PowAssent.Ecto.UserIdentities.Context do @moduledoc """ Handles pow assent user identity context for user identities. ## Usage This module will be used by PowAssent by default. If you wish to have control over context methods, you can do configure `lib/my_project/user_identities/user_identities....
35.320635
212
0.682635
5ae9ada2465444cf5f3ce504a42ade859fbc639e
19,926
ex
Elixir
lib/gen_nntp.ex
sntran/gen_nntp
6cd01d8e625407f3717a15dd51d87e7f42b86c2e
[ "Apache-2.0" ]
5
2021-03-12T13:41:05.000Z
2021-10-16T20:17:15.000Z
lib/gen_nntp.ex
sntran/gen_nntp
6cd01d8e625407f3717a15dd51d87e7f42b86c2e
[ "Apache-2.0" ]
null
null
null
lib/gen_nntp.ex
sntran/gen_nntp
6cd01d8e625407f3717a15dd51d87e7f42b86c2e
[ "Apache-2.0" ]
null
null
null
defmodule GenNNTP do @moduledoc ~S""" The NNTP client and server library. This module provides both the behaviour for an NNTP server, and the client API to interact with a NNTP server. All functionality is defined in `:gen_nntp`. This Elixir module is just a wrapper for `:gen_nntp`. ## Example The `...
34.714286
103
0.653317
5ae9b62943e1546f70edb59a294a45ca4196d78e
877
ex
Elixir
lib/blog/web/helpers/plug_helper.ex
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
2
2017-06-08T23:28:13.000Z
2017-06-08T23:28:16.000Z
lib/blog/web/helpers/plug_helper.ex
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
lib/blog/web/helpers/plug_helper.ex
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
defmodule Blog.PlugHelper do import Plug.Conn def init(options), do: options # def call(conn, _opts) do # conn # |> put_resp_content_type("text/plain") # |> send_resp(200, "Hello World!") # end def timer_start(conn, _opts) do start = Timex.now # conn["params"] = %{koko: "koko"} # IO...
22.487179
52
0.616876
5ae9f71e516116b90e13bef62d15d3129cf6faf7
1,915
exs
Elixir
test/secrets_manager_provider_test.exs
FindHotel/secrets_manager_provider
987d78ba949c9ff714b3289d216c9fcce98f4781
[ "MIT", "Unlicense" ]
null
null
null
test/secrets_manager_provider_test.exs
FindHotel/secrets_manager_provider
987d78ba949c9ff714b3289d216c9fcce98f4781
[ "MIT", "Unlicense" ]
null
null
null
test/secrets_manager_provider_test.exs
FindHotel/secrets_manager_provider
987d78ba949c9ff714b3289d216c9fcce98f4781
[ "MIT", "Unlicense" ]
1
2022-03-19T19:11:26.000Z
2022-03-19T19:11:26.000Z
defmodule SecretsManagerProviderTest do use ExUnit.Case, async: true import Mox setup :verify_on_exit! describe "init/1" do test "returns the given path" do assert SecretsManagerProvider.init({:name, "/path/to"}) == {:name, "/path/to"} end end describe "load/2 with TOML" do setup do ...
27.357143
96
0.638642
5ae9f80ef0d763d82d2aed9507cea18af4851723
1,978
ex
Elixir
lib/find_my_personal_web.ex
romenigld/find_my_personal
d3545d29cdf80c6e2a90b0bb784579bbd488120c
[ "MIT" ]
null
null
null
lib/find_my_personal_web.ex
romenigld/find_my_personal
d3545d29cdf80c6e2a90b0bb784579bbd488120c
[ "MIT" ]
11
2022-01-12T02:39:42.000Z
2022-02-09T02:17:04.000Z
lib/find_my_personal_web.ex
gissandrogama/find_my_personal
12f23b37e967949af9f3e511cf1ce684452d8f66
[ "MIT" ]
null
null
null
defmodule FindMyPersonalWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use FindMyPersonalWeb, :controller use FindMyPersonalWeb, :view The definitions below will be executed for every...
24.121951
76
0.699191
5aea0043dafd1cb2242214d7ac0827d033e8e2cb
2,857
exs
Elixir
example/config/runtime.exs
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
example/config/runtime.exs
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
example/config/runtime.exs
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.608108
82
0.697235
5aea1371be945e12bb4ba613827ddc02bd32f6dd
5,951
ex
Elixir
lib/tesla/mock.ex
brenomaia/tesla
c1e0f2d031eb87a207db33333b8d4afc58384e87
[ "MIT" ]
1
2022-01-22T16:59:48.000Z
2022-01-22T16:59:48.000Z
lib/tesla/mock.ex
brenomaia/tesla
c1e0f2d031eb87a207db33333b8d4afc58384e87
[ "MIT" ]
null
null
null
lib/tesla/mock.ex
brenomaia/tesla
c1e0f2d031eb87a207db33333b8d4afc58384e87
[ "MIT" ]
1
2021-09-26T18:49:44.000Z
2021-09-26T18:49:44.000Z
defmodule Tesla.Mock do @moduledoc """ Mock adapter for better testing. ## Setup ``` # config/test.exs config :tesla, adapter: Tesla.Mock # in case MyClient defines specific adapter with `adapter SpecificAdapter` config :tesla, MyClient, adapter: Tesla.Mock ``` ## Examples ``` defmodule MyA...
22.800766
98
0.588641
5aea2c6e22d61ee9fa05fb87d9ccb4b35b4af8ff
2,178
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/time_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/time_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/time_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # 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 ...
38.210526
115
0.727273
5aea3059d9cb8c413c8c82881c1796db6a5f27a6
1,996
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/report.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/report.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/report.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...
36.962963
83
0.750501
5aea30fc3115b4bbd18a72afb7a3277ad1ab1c03
441
exs
Elixir
test/zcash_explorer_web/views/error_view_test.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-11-04T20:19:35.000Z
2022-02-15T06:55:49.000Z
test/zcash_explorer_web/views/error_view_test.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-09-12T01:36:25.000Z
2022-02-18T07:28:42.000Z
test/zcash_explorer_web/views/error_view_test.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
8
2021-07-23T17:11:41.000Z
2022-03-17T17:07:55.000Z
defmodule ZcashExplorerWeb.ErrorViewTest do use ZcashExplorerWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(ZcashExplorerWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 5...
29.4
98
0.748299
5aea39da1fa14dced00390609060be2ffb489dd5
121
ex
Elixir
testData/org/elixir_lang/reference/module/multiple_alias/reference.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/reference/module/multiple_alias/reference.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/reference/module/multiple_alias/reference.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
defmodule Prefix.Reference do alias Prefix.{MultipleAliasAye, MultipleAliasBee} MultipleAliasAye<caret> @a 1 end
15.125
51
0.785124
5aea4d98d883a8340e2ad2495645a28598c8c2fd
30
ex
Elixir
testData/org/elixir_lang/parser_definition/literal_regex_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_regex_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_regex_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
~R{}abcdefghijklmnopqrstuvwxyz
30
30
0.9
5aea59da2dacd4679eeddcc385840fe5e55556a7
6,831
ex
Elixir
lib/mr_roboto/rules.ex
LeakyBucket/mr_roboto
1c7ca71779bc10945cc85bb9f1f7ab39e1b0a3e6
[ "MIT" ]
2
2016-03-31T23:28:36.000Z
2016-10-29T09:53:31.000Z
lib/mr_roboto/rules.ex
LeakyBucket/mr_roboto
1c7ca71779bc10945cc85bb9f1f7ab39e1b0a3e6
[ "MIT" ]
1
2016-10-29T09:53:18.000Z
2016-10-29T09:53:18.000Z
lib/mr_roboto/rules.ex
LeakyBucket/mr_roboto
1c7ca71779bc10945cc85bb9f1f7ab39e1b0a3e6
[ "MIT" ]
null
null
null
defmodule MrRoboto.Rules do @moduledoc """ The Rules module defines the rules for a user-agent. The Rules module defines the MrRoboto.Rules struct which provides a convenient way to track the directives for a user agent The Rules module also provides functionality for checking whether a path is legal for ...
27.65587
307
0.649978
5aea5bb4bd4d42eb32f295a7b541b734365105f3
2,283
ex
Elixir
lib/membrane/core/element/caps_controller.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/caps_controller.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/caps_controller.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.CapsController do @moduledoc false # Module handling caps received on input pads. use Bunch alias Membrane.{Caps, Pad} alias Membrane.Core.{CallbackHandler, InputBuffer, Telemetry} alias Membrane.Core.Child.PadModel alias Membrane.Core.Element.{ActionHandler, State} al...
33.573529
98
0.648708
5aea7171400d299d01df1ee86466e9c3ecf754d3
4,541
exs
Elixir
test/jit_jerky_web/live/shipping/address_live_test.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
test/jit_jerky_web/live/shipping/address_live_test.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
test/jit_jerky_web/live/shipping/address_live_test.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
defmodule JITJerkyWeb.Shipping.AddressLiveTest do use JITJerkyWeb.ConnCase import Phoenix.LiveViewTest alias JITJerky.Shipping @create_attrs %{address_line1: "some address_line1", address_line2: "some address_line2", city: "some city", country: "some country", delivery_instructions: %{}, name: "some name", p...
38.811966
335
0.66329
5aea79d460c5faff7446999ccab2f8ba7c12347b
277
exs
Elixir
apps/mishka_api/config/test.exs
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_api/config/test.exs
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_api/config/test.exs
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. # config :mishka_api, MishkaApiWeb.Endpoint, # http: [port: 4002], # server: false # Print only warnings and errors during test config :logger, level: :warn
25.181818
56
0.725632
5aea8c0cbddd06dbecb42820df50b90b997b6d18
262
ex
Elixir
lib/mundum/repo.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
lib/mundum/repo.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
lib/mundum/repo.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
defmodule Mundum.Repo do use Ecto.Repo, otp_app: :mundum @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
21.833333
66
0.694656
5aeaca863f8d2e4bfee88c346e7a8b71372c2173
66
exs
Elixir
apps/player/test/player_test.exs
TheLokin/Peer2Dungeon
0712f94217a84d4fce137412b93fb9cfc5eaa4ba
[ "MIT" ]
null
null
null
apps/player/test/player_test.exs
TheLokin/Peer2Dungeon
0712f94217a84d4fce137412b93fb9cfc5eaa4ba
[ "MIT" ]
null
null
null
apps/player/test/player_test.exs
TheLokin/Peer2Dungeon
0712f94217a84d4fce137412b93fb9cfc5eaa4ba
[ "MIT" ]
null
null
null
defmodule PlayerTest do use ExUnit.Case doctest Player end
11
23
0.757576
5aeb2a1d1d54df9b4b61aa8f60db86dbe57f648a
1,336
exs
Elixir
test/min_delegate_test.exs
kminwoog/min_delegate
3e6b5825d7b8667cb250552b433b80a8f6741627
[ "MIT" ]
null
null
null
test/min_delegate_test.exs
kminwoog/min_delegate
3e6b5825d7b8667cb250552b433b80a8f6741627
[ "MIT" ]
null
null
null
test/min_delegate_test.exs
kminwoog/min_delegate
3e6b5825d7b8667cb250552b433b80a8f6741627
[ "MIT" ]
null
null
null
defmodule MinDelegateTest do use ExUnit.Case doctest MinDelegate @moduletag :min_delegate test "min_delegate" do {:ok, pid} = GenServer.start_link(MinDelegateQ, [], []) ret = MinDelegateQ.add_value(pid, 4) assert(ret == [4]) ret = MinDelegateQ.add_value(pid, 1) assert(ret == [1, 4]) Mi...
21.901639
61
0.651198
5aeb5702da6d61a4a9ab8aac5873caa437f12b46
203
ex
Elixir
lib/phone/bd.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/bd.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/bd.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.BD do @moduledoc false use Helper.Country def regex, do: ~r/^(880)()(.{10})/ def country, do: "Bangladesh" def a2, do: "BD" def a3, do: "BGD" matcher :regex, ["880"] end
15.615385
36
0.605911
5aeb59b88087d6e47501a8e8adf5920c65f911c6
1,875
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/exfil_resource.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/exfil_resource.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/exfil_resource.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
37.5
335
0.733333
5aeb8c726681f73a18fde398ee20a04539af3a90
3,157
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/84.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/84.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/84.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** adjective * cm cm * pnoun * noun; cm * cm pnoun * cardinal * noun; pn * cm conj * cardinal * noun; conj * cm verb * adjective * noun; pnoun * cm pn * particle * noun; pnoun * cm SYM * adverb * pnoun; cm * verb verb a34 verb_aux * noun; pnoun * pnoun cm * pnoun * pnoun; conj * pnoun verb_aux *...
33.585106
43
0.62401
5aeb8c9d59b136cd54e2f9119347f5b65af7452d
4,646
ex
Elixir
lib/learn/api/courses_users.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
lib/learn/api/courses_users.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
lib/learn/api/courses_users.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
defmodule Learn.Api.CoursesUsers do require IEx @moduledoc """ Learn.Api.CoursesUsers iex(25)> {status, response} = Api.CoursesUsers.get_course_user(rcauth, "courseId:mbk-original", "userName:mkauffman-new1", %{expand: "user"}) iex(26)> my_cu_json = Learn.CourseUser.new_from_json(response.body) %Lear...
41.115044
119
0.6483
5aebb06984c0fab0b31ec68eb93ead8b06446129
789
ex
Elixir
lib/docusign/model/merge_field.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/merge_field.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/merge_field.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.MergeField do @moduledoc """ Contains information for transfering values between Salesforce data fields and DocuSign Tabs. ""...
23.909091
95
0.651458
5aebb874bf9f8df49a455a193139fd8935661a5e
699
ex
Elixir
lib/web/gettext.ex
yknx4/opencov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
8
2021-08-22T10:37:57.000Z
2022-01-10T11:27:06.000Z
lib/web/gettext.ex
yknx4/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
109
2021-08-20T04:08:04.000Z
2022-01-03T07:39:18.000Z
lib/web/gettext.ex
Librecov/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
null
null
null
defmodule Librecov.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Librecov.Gettext # Simple translation gettext "Here is the stri...
36.789474
72
0.685265
5aebc7ef16ff4d474136f8ec4758b35ba549fcf1
5,791
exs
Elixir
apps/ewallet_db/test/ewallet_db/membership_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/test/ewallet_db/membership_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/test/ewallet_db/membership_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # 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 ...
36.19375
97
0.680711
5aebc972d317a7a8ca9013cffc05d3d54d912bb4
1,021
exs
Elixir
config/config.exs
curiosum-dev/elixir-debugging
061d7c7405725df61da8d069b0069389aabb710f
[ "MIT" ]
1
2022-01-25T09:29:24.000Z
2022-01-25T09:29:24.000Z
config/config.exs
curiosum-dev/elixir-debugging
061d7c7405725df61da8d069b0069389aabb710f
[ "MIT" ]
null
null
null
config/config.exs
curiosum-dev/elixir-debugging
061d7c7405725df61da8d069b0069389aabb710f
[ "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 config :hello, ecto_repos: [Hello.Repo] # Con...
31.90625
86
0.766895
5aebfc3369cf4cddf7d33ed8491640d84cf70c71
3,131
ex
Elixir
lib/world/world.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/world/world.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/world/world.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
defmodule ElixirRPG.World do use GenServer alias ElixirRPG.World alias ElixirRPG.Entity alias ElixirRPG.Entity.EntityStore require Logger @initial_state %World.Data{target_tick_rate: 15, last_tick: nil} def start_link(name, live_view_frontend \\ nil) when is_atom(name) do GenServer.start_link(__MO...
26.310924
86
0.696263
5aec125d4b44a5ce0fd59db2d6cdf53154ea92c0
2,923
ex
Elixir
apps/ewallet_config/test/support/config_test_helper.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/test/support/config_test_helper.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/test/support/config_test_helper.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # 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 writi...
29.525253
98
0.696203
5aec21c8f6d870627f7d47023d91608aacff6f39
4,573
ex
Elixir
lib/strategy/dns_poll.ex
Fibrasek/libcluster
310f30b066f8d779ae41adc9f53f8213c57dcf9f
[ "MIT" ]
null
null
null
lib/strategy/dns_poll.ex
Fibrasek/libcluster
310f30b066f8d779ae41adc9f53f8213c57dcf9f
[ "MIT" ]
null
null
null
lib/strategy/dns_poll.ex
Fibrasek/libcluster
310f30b066f8d779ae41adc9f53f8213c57dcf9f
[ "MIT" ]
null
null
null
defmodule Cluster.Strategy.DNSPoll do @moduledoc """ Assumes you have nodes that respond to the specified DNS query (A record), and which follow the node name pattern of `<name>@<ip-address>`. If your setup matches those assumptions, this strategy will periodically poll DNS and connect all nodes it finds. ##...
28.943038
150
0.618194
5aec245331c85f128fe4d6aa2a016b052ffdd47b
135
exs
Elixir
apps/broker/test/broker_test.exs
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/broker/test/broker_test.exs
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/broker/test/broker_test.exs
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule BrokerTest do use ExUnit.Case doctest Broker test "greets the world" do assert Broker.hello() == :world end end
15
35
0.703704
5aec5a23e73160559f047a0dc841a961897fa431
1,906
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/test_ruleset_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/test_ruleset_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/test_ruleset_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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...
36.653846
137
0.742392
5aecaea0f6fdb57ce16929bf57134f03d29506e0
4,690
ex
Elixir
lib/mix/tasks/cafex.offset_reset.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/cafex.offset_reset.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/cafex.offset_reset.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Cafex.OffsetReset do use Mix.Task import Mix.Cafex import Cafex.Consumer.Util alias Cafex.Connection alias Cafex.Protocol.Offset alias Cafex.Protocol.OffsetCommit alias Cafex.Protocol.JoinGroup alias Cafex.Protocol.SyncGroup alias Cafex.Consumer.LoadBalancer @shortdoc "Reset co...
35.801527
116
0.598507
5aecf0db99d6b09acf96754273d6b93b5123660c
5,197
exs
Elixir
lib/iex/test/iex/interaction_test.exs
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/interaction_test.exs
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/interaction_test.exs
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.InteractionTest do use IEx.Case ## Basic interaction test "whole output" do assert capture_io("IO.puts \"Hello world\"", fn -> IEx.Server.start([dot_iex_path: ""], {IEx, :dont_display_result, []}) end) =~ "Interactive Elixir (#{System....
31.307229
121
0.574755
5aecfc5bdae98ba58d6888331bed7acc0752e98f
2,321
ex
Elixir
clients/content/lib/google_api/content/v21/model/accounts_custom_batch_request_entry_link_request.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/accounts_custom_batch_request_entry_link_request.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/accounts_custom_batch_request_entry_link_request.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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.017241
267
0.716071
5aed0bec0f3c6537772fc917604f74d9d1c1db31
10,013
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/api/v1.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/api/v1.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/api/v1.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "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...
45.721461
196
0.640168
5aed3c37168f7be8ef819ba24ea9682f7b5d01f3
13,729
ex
Elixir
web/api/schema.ex
ZURASTA/bonbon
231888326535a11aa7e7c4ed93e0a0ba01411d95
[ "BSD-2-Clause" ]
1
2017-06-15T11:20:27.000Z
2017-06-15T11:20:27.000Z
web/api/schema.ex
ScrimpyCat/bonbon
231888326535a11aa7e7c4ed93e0a0ba01411d95
[ "BSD-2-Clause" ]
null
null
null
web/api/schema.ex
ScrimpyCat/bonbon
231888326535a11aa7e7c4ed93e0a0ba01411d95
[ "BSD-2-Clause" ]
2
2017-07-25T10:16:19.000Z
2017-08-02T06:54:22.000Z
defmodule Bonbon.API.Schema do use Absinthe.Schema import_types Bonbon.API.Schema.Item.Food import_types Bonbon.API.Schema.Account.User import_types Bonbon.API.Schema.Account.Business import_types Bonbon.API.Schema.Account defmacrop show_exception_messages(fun) do quote do f...
34.408521
184
0.580086