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
ac2ab6d5b077186ccd7efb909ea9449727eae9f0
2,527
ex
Elixir
lib/storage/utilities.ex
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
1
2022-01-06T22:43:40.000Z
2022-01-06T22:43:40.000Z
lib/storage/utilities.ex
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
8
2021-07-05T19:03:33.000Z
2021-11-10T17:14:01.000Z
lib/storage/utilities.ex
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
3
2022-01-06T22:43:24.000Z
2022-03-04T21:40:37.000Z
defmodule Azure.Storage.Utilities do @moduledoc """ Utilities """ @doc """ Adds a value to a list, which is a value in a dictionary. ## Examples iex> %{foo: nil} |> Azure.Storage.Utilities.add_to(:foo, :a) %{foo: [:a]} iex> %{foo: [:a]} |> Azure.Storage.Utilities.add_to(:foo, :b) ...
26.322917
115
0.552434
ac2ae8981c2788dbf25a2ba2123d40ed288f3426
540
exs
Elixir
apps/reaper/test/unit/reaper/topic/topic_manager_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/reaper/test/unit/reaper/topic/topic_manager_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/reaper/test/unit/reaper/topic/topic_manager_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Reaper.Topic.TopicManagerTest do use ExUnit.Case use Placebo use Properties, otp_app: :reaper alias Reaper.Topic.TopicManager getter(:elsa_brokers, generic: true) getter(:output_topic_prefix, generic: true) test "should delete input topic when the topic names are provided" do dataset_id =...
30
94
0.744444
ac2afae8486faff25e6f358605f2915652d68c63
1,652
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_refund.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_refund.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_refund.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...
31.769231
94
0.746973
ac2b0be8d4786c9dd5cc676e33f1b785e11790d2
1,769
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/export_stats.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vault/lib/google_api/vault/v1/model/export_stats.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/export_stats.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 ...
33.377358
127
0.716789
ac2b144ba59b1028acea105d1ef795c75cfd5371
1,612
ex
Elixir
lib/ubi_nadeo_api/services/dedicated_servers.ex
QBonaventure/tm-api
124e80fd6af75fb00963fc5e43f760a7fa6b59e0
[ "MIT" ]
null
null
null
lib/ubi_nadeo_api/services/dedicated_servers.ex
QBonaventure/tm-api
124e80fd6af75fb00963fc5e43f760a7fa6b59e0
[ "MIT" ]
null
null
null
lib/ubi_nadeo_api/services/dedicated_servers.ex
QBonaventure/tm-api
124e80fd6af75fb00963fc5e43f760a7fa6b59e0
[ "MIT" ]
null
null
null
defmodule UbiNadeoApi.Service.DedicatedServers do alias UbiNadeoApi.Service.OutboundRequest @dedicated_server_origin "http://files.v04.maniaplanet.com" @lastest_server_url @dedicated_server_origin <> "/server/TrackmaniaServer_Latest.zip" @title_version_format "%Y%m%d" @url_version_format "%Y-%m-%d" def ch...
31
87
0.681141
ac2b1adfab07ba760242226272d35e59458ee4fd
5,186
exs
Elixir
lib/elixir/test/elixir/protocol/consolidation_test.exs
axelson/elixir
accadf541c2045844b0c399adae22476840b3602
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/protocol/consolidation_test.exs
axelson/elixir
accadf541c2045844b0c399adae22476840b3602
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/elixir/test/elixir/protocol/consolidation_test.exs
fertapric/elixir
9df2216670493aa30f37681cc812f3192adfe55a
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) path = Path.expand("../../ebin", __DIR__) File.mkdir_p!(path) files = Path.wildcard(PathHelpers.fixture_path("consolidation/*")) Kernel.ParallelCompiler.compile_to_path(files, path) defmodule Protocol.ConsolidationTest do use ExUnit.Case, async: true alias Protoco...
30.869048
103
0.684535
ac2b3abe69b2e7d502afa4a48f39127a073277c1
1,903
exs
Elixir
apps/blunt/mix.exs
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt/mix.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt/mix.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Blunt.MixProject do use Mix.Project @version "0.1.0-rc1" def project do [ app: :blunt, version: @version, elixir: "~> 1.12", # build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", ...
26.430556
88
0.526537
ac2b541b55f501c3b6851fdd1dc7061bbae3d4d4
1,702
ex
Elixir
lib/sue/db/graph.ex
alwayswimmin/Sue
33dfd860e7d5b6dce11e2dc202924efad6a9474c
[ "MIT" ]
1
2020-06-21T01:50:12.000Z
2020-06-21T01:50:12.000Z
lib/sue/db/graph.ex
alwayswimmin/Sue
33dfd860e7d5b6dce11e2dc202924efad6a9474c
[ "MIT" ]
null
null
null
lib/sue/db/graph.ex
alwayswimmin/Sue
33dfd860e7d5b6dce11e2dc202924efad6a9474c
[ "MIT" ]
null
null
null
defmodule Sue.DB.Graph do alias Sue.DB alias Sue.Models.{Account, Chat} require Logger def db_tables() do [ { :graph, [ type: :set, attributes: [:key, :val] ] } ] end def add_edge(edge_type, src, dst) when is_atom(edge_type) do DB.write(...
24.666667
79
0.584019
ac2b710530c98119d599fdf627ac15d50cc021c4
1,087
exs
Elixir
apps/tai/test/tai/iex/commands/start_advisors_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/test/tai/iex/commands/start_advisors_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/iex/commands/start_advisors_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.IEx.Commands.StartAdvisorsTest do use Tai.TestSupport.DataCase, async: false import ExUnit.CaptureIO import Support.Advisors, only: [insert_spec: 1] setup do insert_spec(%{group_id: :group_a, advisor_id: :main}) insert_spec(%{group_id: :group_b, advisor_id: :main}) :ok end test "...
33.96875
87
0.634775
ac2bd500c42ba03502d640a3d453306fd8fff97b
1,225
exs
Elixir
apps/omg_db/test/fixtures.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_db/test/fixtures.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_db/test/fixtures.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 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 writi...
29.878049
74
0.71102
ac2be960c3107a83fd564d8fbaa84c94069f98fe
300
ex
Elixir
test/helpers/cowboy_handlers/lost_conn_handler.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
test/helpers/cowboy_handlers/lost_conn_handler.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
test/helpers/cowboy_handlers/lost_conn_handler.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule Helpers.CowboyHandlers.LostConnHandler do @moduledoc false def init(req, opts) do :timer.sleep(2_000) reply = :cowboy_req.reply( 200, %{"content-type" => "text/plain; charset=utf-8"}, "Hello", req ) {:ok, reply, opts} end end
17.647059
57
0.57
ac2bf40a2c77d7ece184db97c7be568717e5735f
679
exs
Elixir
sample_app/config/config.exs
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
null
null
null
sample_app/config/config.exs
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
null
null
null
sample_app/config/config.exs
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "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. use Mix.Config # Configures the endpoint config :my_app, MyAppWeb.Endpoint, url: [host: "localhost...
32.333333
68
0.756996
ac2bf9f68da3f6dbd434370302c98904591dde4e
2,893
exs
Elixir
test/diversity_in_tech_web/controllers/user_controller_test.exs
dreamingechoes/diversity-in-tech
4eb5dadf69f82fd08e1cdd1b125264930d3b4e6f
[ "MIT" ]
8
2018-06-22T05:43:30.000Z
2020-04-13T20:31:40.000Z
test/diversity_in_tech_web/controllers/user_controller_test.exs
dreamingechoes/diversity-in-tech
4eb5dadf69f82fd08e1cdd1b125264930d3b4e6f
[ "MIT" ]
null
null
null
test/diversity_in_tech_web/controllers/user_controller_test.exs
dreamingechoes/diversity-in-tech
4eb5dadf69f82fd08e1cdd1b125264930d3b4e6f
[ "MIT" ]
null
null
null
defmodule DiversityInTechWeb.UserControllerTest do use DiversityInTechWeb.ConnCase alias DiversityInTech.Accounts @create_attrs %{ email: "some email", name: "some name", role: 42, surname: "some surname", username: "some username" } @update_attrs %{ email: "some updated email", ...
26.787037
77
0.633598
ac2c3d24feb230f0671c8eb8551a0c5c455dd23c
1,618
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/remove_product_from_product_set_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/remove_product_from_product_set_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/remove_product_from_product_set_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...
32.36
136
0.749691
ac2c5c758da46f373003b21a8fe685614617af0a
2,585
ex
Elixir
lib/mix/tasks/absinthe.schema.sdl.ex
Boulevard/absinthe
d83a1ff439f9d52575e34940df492528738d038a
[ "MIT" ]
null
null
null
lib/mix/tasks/absinthe.schema.sdl.ex
Boulevard/absinthe
d83a1ff439f9d52575e34940df492528738d038a
[ "MIT" ]
null
null
null
lib/mix/tasks/absinthe.schema.sdl.ex
Boulevard/absinthe
d83a1ff439f9d52575e34940df492528738d038a
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Absinthe.Schema.Sdl do require Logger use Mix.Task import Mix.Generator @shortdoc "Generate a schema.graphql file for an Absinthe schema" @default_filename "./schema.graphql" @moduledoc """ Generate a schema.graphql file mix absinthe.schema.sdl --schema MySchema ## Usage ...
25.343137
110
0.652998
ac2c8412e2f23260d2194f848fcaf01cbb61d29f
1,516
ex
Elixir
lib/web.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
1
2018-10-23T04:13:35.000Z
2018-10-23T04:13:35.000Z
lib/web.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/web.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
defmodule Web 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 Web, :controller use Web, :view The definitions below will be executed for every view, controller, etc, so keep them sho...
22.294118
69
0.668865
ac2ca45709afe6c964c153b2d008fdd9997a3750
1,085
ex
Elixir
lib/corker/slack/slack.ex
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
5
2019-05-24T17:00:42.000Z
2019-05-27T13:50:56.000Z
lib/corker/slack/slack.ex
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
17
2019-05-27T08:59:36.000Z
2020-02-17T06:45:27.000Z
lib/corker/slack/slack.ex
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
1
2019-08-27T14:27:06.000Z
2019-08-27T14:27:06.000Z
defmodule Corker.Slack do use Slack alias Corker.Slack.{ Actions, Users } def handle_connect(%{users: users}, state) do Users.extract(users) {:ok, state} end def handle_event(%{type: "message"} = message, slack, state) do case Actions.parse(message, slack.me) do actions when is...
21.27451
71
0.647926
ac2cd403ddf670cfee7a4ccf70dbcbaf88027052
2,251
ex
Elixir
lib/keycdn.ex
karlosmid/exkeycdn
4f8a756b2ea7b5bcb2d2821509250004ed8850ea
[ "MIT" ]
null
null
null
lib/keycdn.ex
karlosmid/exkeycdn
4f8a756b2ea7b5bcb2d2821509250004ed8850ea
[ "MIT" ]
null
null
null
lib/keycdn.ex
karlosmid/exkeycdn
4f8a756b2ea7b5bcb2d2821509250004ed8850ea
[ "MIT" ]
null
null
null
defmodule ExKeyCDN do @moduledoc """ A native ExKeyCDN REST API client in Elixir. Based on Braintree Elixir client: https://github.com/sorentwo/braintree-elixir For general reference please see: https://www.keycdn.com/api """ defmodule ConfigError do @moduledoc """ Raised at runtime when a con...
25.873563
78
0.645935
ac2cdad343fb96fd535ac0e368c35e259784558c
2,382
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/devices_long_running_operation_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/devices_long_running_operation_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/devices_long_running_operation_metadata.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...
37.21875
135
0.733837
ac2d069c8132b21becf6b5f140a6c950c6903ba7
721
ex
Elixir
apps/ewallet/test/support/db_case.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/support/db_case.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/support/db_case.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.DBCase do @moduledoc """ A test case template for tests that need to connect to the DB. """ import EWalletDB.Factory alias EWalletDB.Repo defmacro __using__(_opts) do quote do use ExUnit.Case import EWallet.DBCase import EWalletDB.Factory alias Ecto.Adapters.SQ...
24.033333
83
0.68932
ac2d22e0100da71c1f0cf8b93bb98d77f07e6bff
1,678
ex
Elixir
lib/librecov_web/live/repository_live/build_row.ex
yknx4/opencov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
8
2021-08-22T10:37:57.000Z
2022-01-10T11:27:06.000Z
lib/librecov_web/live/repository_live/build_row.ex
yknx4/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
109
2021-08-20T04:08:04.000Z
2022-01-03T07:39:18.000Z
lib/librecov_web/live/repository_live/build_row.ex
Librecov/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
null
null
null
defmodule Librecov.RepositoryLive.BuildRow do use Surface.Component alias Librecov.Router.Helpers, as: Routes import Librecov.CommonView alias Surface.Components.Link alias Librecov.RepositoryLive.CoverageDiff alias Surface.Components.LiveRedirect alias Librecov.Common.Icon prop build, :struct, requir...
29.438596
138
0.580453
ac2d3b1136cc7c346c637aa19aea284ac5ac4d55
896
ex
Elixir
lib/exbee/frames/at_command_result_frame.ex
msm/exbee
b99b7996c5da9092472371b8bc0bd5e7c2daa3f6
[ "Apache-2.0" ]
6
2017-06-18T14:29:59.000Z
2019-07-28T15:47:02.000Z
lib/exbee/frames/at_command_result_frame.ex
msm/exbee
b99b7996c5da9092472371b8bc0bd5e7c2daa3f6
[ "Apache-2.0" ]
3
2018-01-28T22:00:06.000Z
2019-10-14T11:14:47.000Z
lib/exbee/frames/at_command_result_frame.ex
msm/exbee
b99b7996c5da9092472371b8bc0bd5e7c2daa3f6
[ "Apache-2.0" ]
4
2016-09-22T02:50:34.000Z
2019-10-14T07:43:38.000Z
defmodule Exbee.ATCommandResultFrame do @moduledoc """ Received in response to an `Exbee.ATCommandFrame` or `Exbee.ATCommandQueueFrame`. Some commands send back multiple frames; for example, the `ND` command. """ @type t :: %__MODULE__{id: integer, command: String.t(), status: atom, value: binary} defstru...
28.903226
93
0.632813
ac2d4028f79ab8691206a21cab61dad09e4b0867
1,604
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/get_iam_policy_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/get_iam_policy_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/get_iam_policy_request.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...
34.12766
176
0.753117
ac2d41bcd7a3db9e0d9c9634f86757ca2f80e981
3,658
exs
Elixir
RAEM/raem/test/raem_web/controllers/enade_controller_test.exs
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/test/raem_web/controllers/enade_controller_test.exs
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/test/raem_web/controllers/enade_controller_test.exs
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
2
2018-02-24T19:56:21.000Z
2018-02-26T00:16:41.000Z
defmodule RaemWeb.EnadeControllerTest do use RaemWeb.ConnCase alias Raem.Enades @create_attrs %{ano: ~D[2010-04-17], area: "some area", cod_grupo: 42, cod_ies: 42, cod_municipio: 42, conceito_enade: 42, conceito_idd: 42, media_ce_conc: 120.5, media_ce_ing: 120.5, media_fg_cong: 120.5, media_fg_ing: 120.5, media...
41.101124
452
0.680973
ac2d4a1a155e94cbcfa69960c2ed886cb1a00c09
4,235
ex
Elixir
lib/sanbase/model/ico.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/model/ico.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/model/ico.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Model.Ico do use Ecto.Schema import Ecto.Query import Ecto.Changeset alias Sanbase.Repo alias Sanbase.Model.ModelUtils alias Sanbase.Model.Ico alias Sanbase.Model.Project alias Sanbase.Model.Currency alias Sanbase.Model.IcoCurrency schema "icos" do belongs_to(:project, Proje...
28.809524
92
0.672019
ac2d53065b80a00b16cc66fd5b8aee23664f3baf
4,634
ex
Elixir
lib/onsor/materials/materials.ex
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
null
null
null
lib/onsor/materials/materials.ex
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
4
2021-03-09T00:47:04.000Z
2022-02-10T15:15:28.000Z
lib/onsor/materials/materials.ex
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
null
null
null
defmodule Onsor.Materials do @moduledoc """ The Materials context. """ import Ecto.Query, warn: false alias Onsor.Repo alias Onsor.Materials.Material @doc """ Returns the list of materials based on input filters. ## Examples iex> filter_search_materials() [%Material{}, ...] """ d...
25.184783
195
0.586103
ac2db083f1d612e6e6c956104b088e3fd43d6dfd
740
ex
Elixir
lib/atom_tweaks_web/exceptions/wrong_user_error.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
lib/atom_tweaks_web/exceptions/wrong_user_error.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
lib/atom_tweaks_web/exceptions/wrong_user_error.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaksWeb.WrongUserError do @moduledoc """ Exception raised when someone attempts to modify a resource they don't own. """ alias AtomTweaksWeb.WrongUserError defexception plug_status: 404, message: "not found", conn: nil, current_user: nil, ...
28.461538
87
0.660811
ac2e0a3c949672e0a162c0a6d2c4040fb5789f3d
97
exs
Elixir
test/kanban_test.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
1
2020-06-30T11:42:09.000Z
2020-06-30T11:42:09.000Z
test/kanban_test.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
test/kanban_test.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
defmodule KanbanTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
12.125
23
0.649485
ac2e0e3f18283525f2656ce0c930f544fdeb9a84
1,059
ex
Elixir
lib/ex_twilio/resources/lookup.ex
john-griffin/ex_twilio
75c018094fbfafdd140c9a90d6306b8d952c1a75
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/lookup.ex
john-griffin/ex_twilio
75c018094fbfafdd140c9a90d6306b8d952c1a75
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/lookup.ex
john-griffin/ex_twilio
75c018094fbfafdd140c9a90d6306b8d952c1a75
[ "MIT" ]
null
null
null
defmodule ExTwilio.Lookup do @moduledoc """ Represents the Lookup Api provided by Twilio - [Twilio docs](https://www.twilio.com/docs/api/lookups) """ alias ExTwilio.{Parser, Config} alias ExTwilio.UrlGenerator, as: Url @base_url "https://lookups.twilio.com/v1/PhoneNumbers/" defmodule PhoneNumber ...
27.868421
87
0.634561
ac2e201a68b5975989e62001b3c8a1ea0a40f817
1,117
ex
Elixir
lib/digraphviz.ex
couchemar/digraphviz
46f457a1cb51bfd0139a3c9dbcd6c0ead43b4f89
[ "MIT" ]
null
null
null
lib/digraphviz.ex
couchemar/digraphviz
46f457a1cb51bfd0139a3c9dbcd6c0ead43b4f89
[ "MIT" ]
null
null
null
lib/digraphviz.ex
couchemar/digraphviz
46f457a1cb51bfd0139a3c9dbcd6c0ead43b4f89
[ "MIT" ]
null
null
null
defmodule Digraphviz do @moduledoc """ Digraphviz -- converts Erlang :digraph to graph description in .dot language. """ alias Digraphviz.Converter @doc """ Converts :digraph to iodata which contains .dot. `attributes` defines global attributes for graph, nodes and edges. * :graph -- graph attributes...
25.976744
105
0.61504
ac2e9656e33071021c122a681f4f3bcf53a744b0
332
ex
Elixir
crawler_challenge/test/factories/courts_factory.ex
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
crawler_challenge/test/factories/courts_factory.ex
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
3
2021-05-08T08:50:39.000Z
2022-02-10T19:40:38.000Z
crawler_challenge/test/factories/courts_factory.ex
tuliostarling/elixir-crawler
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
defmodule CrawlerChallenge.CourtsFactory do use ExMachina.Ecto, repo: CrawlerChallenge.Repo alias Faker.Name defmacro __using__(_opts) do quote do def courts_factory do %CrawlerChallenge.Courts.Court{ name: Name.first_name(), initials: Name.name() } end en...
19.529412
49
0.653614
ac2ea0ae635c7176f5055cd84ba8a8c6f4a25267
85
ex
Elixir
web/views/post_view.ex
keichan34/phoenix_exfile_test_app
63de22ab04a61ef7f13a53f2b34d3c752a1def7a
[ "MIT" ]
1
2016-04-19T11:56:32.000Z
2016-04-19T11:56:32.000Z
web/views/post_view.ex
keichan34/phoenix_exfile_test_app
63de22ab04a61ef7f13a53f2b34d3c752a1def7a
[ "MIT" ]
1
2016-08-05T07:52:34.000Z
2016-09-02T03:45:03.000Z
web/views/post_view.ex
keichan34/phoenix_exfile_test_app
63de22ab04a61ef7f13a53f2b34d3c752a1def7a
[ "MIT" ]
null
null
null
defmodule PhoenixExfileTestApp.PostView do use PhoenixExfileTestApp.Web, :view end
21.25
42
0.847059
ac2eb0dac5502a6ad31e691e48bfc460687ab3c0
181
exs
Elixir
priv/repo/migrations/20190605192812_add_deleted_at_to_teams.exs
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
5
2019-08-29T20:22:25.000Z
2020-04-01T17:40:48.000Z
priv/repo/migrations/20190605192812_add_deleted_at_to_teams.exs
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
34
2019-03-06T17:53:29.000Z
2021-09-01T01:25:23.000Z
priv/repo/migrations/20190605192812_add_deleted_at_to_teams.exs
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
2
2020-01-10T22:12:36.000Z
2021-01-22T04:37:45.000Z
defmodule IdeaPortal.Repo.Migrations.AddDeletedAtToTeams do use Ecto.Migration def change do alter table(:teams) do add(:deleted_at, :utc_datetime) end end end
18.1
59
0.729282
ac2ed2585257d0075e7edbcfa9a098f679d52980
92
exs
Elixir
examples/simple/config/config.exs
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
examples/simple/config/config.exs
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
examples/simple/config/config.exs
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :simple, ecto_repos: [Simple.Repo] import_config "#{Mix.env}.exs"
13.142857
30
0.717391
ac2eda750f6facf8f89141cd58aa161ddd69e43e
4,250
ex
Elixir
lib/sftp_toolkit/download.ex
software-mansion-labs/elixir-sftp-toolkit
e72815680903250c5d1d47b457e33e5a3891011c
[ "Apache-2.0" ]
1
2019-02-28T20:13:25.000Z
2019-02-28T20:13:25.000Z
lib/sftp_toolkit/download.ex
SoftwareMansion/elixir-sftp-toolkit
e72815680903250c5d1d47b457e33e5a3891011c
[ "Apache-2.0" ]
null
null
null
lib/sftp_toolkit/download.ex
SoftwareMansion/elixir-sftp-toolkit
e72815680903250c5d1d47b457e33e5a3891011c
[ "Apache-2.0" ]
1
2021-07-14T12:14:15.000Z
2021-07-14T12:14:15.000Z
defmodule SFTPToolkit.Download do @moduledoc """ Module containing functions that ease downloading data from the SFTP server. """ use Bunch @default_operation_timeout 5000 @default_chunk_size 32768 @default_remote_mode [:read, :binary] @default_local_mode [:write, :binary] @doc """ Downloads a si...
34
92
0.620706
ac2ee6a6153355003c075fcd22ce889842ac115b
47
exs
Elixir
test/test_helper.exs
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
2
2022-01-28T13:56:13.000Z
2022-03-20T12:17:54.000Z
test/test_helper.exs
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
test/test_helper.exs
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
Playground.App.run_supervisor() ExUnit.start()
15.666667
31
0.808511
ac2ef961bf6eef875a0d8cceaa25dabd5953eac3
4,729
exs
Elixir
test/business_logic/accounts_test.exs
TheLe0/bankingixir
3f5f81452ad26f813b160c046143d316baa3985e
[ "MIT" ]
null
null
null
test/business_logic/accounts_test.exs
TheLe0/bankingixir
3f5f81452ad26f813b160c046143d316baa3985e
[ "MIT" ]
1
2022-01-31T14:04:19.000Z
2022-01-31T14:06:46.000Z
test/business_logic/accounts_test.exs
TheLe0/bankingixir
3f5f81452ad26f813b160c046143d316baa3985e
[ "MIT" ]
null
null
null
defmodule AccountsTest do use ExUnit.Case alias Accounts setup do {:ok, sup} = Accounts.start_link() on_exit(fn -> refute Process.alive?(sup), "Supervisor still running!" end) [sup: sup] end describe "Create account" do test "Create an account test" do response = A...
25.701087
83
0.60055
ac2f1ad3b934597f18f76ad1682befaf870333d6
952
exs
Elixir
mix.exs
shinriyo/fushicho
1403ae798069896644ed6d9e05a53172fb0ae721
[ "MIT" ]
1
2016-09-14T02:08:34.000Z
2016-09-14T02:08:34.000Z
mix.exs
shinriyo/fushicho
1403ae798069896644ed6d9e05a53172fb0ae721
[ "MIT" ]
null
null
null
mix.exs
shinriyo/fushicho
1403ae798069896644ed6d9e05a53172fb0ae721
[ "MIT" ]
null
null
null
defmodule Fushicho.Mixfile do use Mix.Project def project do [app: :fushicho, version: "0.1.0", elixir: "~> 1.3", description: "Scaffolding system for Phoenix", # ライブラリの概要 package: [ maintainers: ["shinriyo"], # メンテナ(以前は :contributors でしたが deprecated になりました。) licenses: ["MIT"]...
24.410256
83
0.610294
ac2f1b4fc1c8c14e29782d4ccf3bc1af4c22c9c9
1,115
ex
Elixir
2020/otp/calculator/lib/core.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/calculator/lib/core.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/calculator/lib/core.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule Calculator.Core do # reducers def add(accumulator, number), do: accumulator + number def subtract(accumulator, number), do: accumulator - number def multiply(accumulator, number), do: accumulator * number def divide(accumulator, number), do: accumulator / number @doc """ ## examples iex[1...
21.862745
87
0.617937
ac2f5985605a34c048317d9358043008e48a21a2
11,049
ex
Elixir
lib/structex/hysteresis/inserted_wooden_siding_wall.ex
h-ikeda/structex
109f019108e76c5464fb2273c2e7f0f79fbfef37
[ "MIT" ]
null
null
null
lib/structex/hysteresis/inserted_wooden_siding_wall.ex
h-ikeda/structex
109f019108e76c5464fb2273c2e7f0f79fbfef37
[ "MIT" ]
6
2021-07-20T20:10:18.000Z
2022-02-23T20:14:12.000Z
lib/structex/hysteresis/inserted_wooden_siding_wall.ex
h-ikeda/structex
109f019108e76c5464fb2273c2e7f0f79fbfef37
[ "MIT" ]
null
null
null
defmodule Structex.Hysteresis.InsertedWoodenSidingWall do @moduledoc """ Calculates rigidity and ultimate strength of the inserted wooden siding walls. Depending the following study. https://www.jstage.jst.go.jp/article/aijs/76/659/76_659_97/_article/-char/ja/ """ @doc """ 初期すべり変形角R0 wall_inner_length ...
34.313665
101
0.673455
ac2f7658ad8da0c358a8bc20d83191d54abcb525
2,938
exs
Elixir
test/plp_test.exs
modelabcl/tds
468f059dc7fc5ea12679ffc1419ecd29ed85b861
[ "Apache-2.0" ]
100
2015-02-03T04:43:28.000Z
2021-09-08T10:21:19.000Z
test/plp_test.exs
modelabcl/tds
468f059dc7fc5ea12679ffc1419ecd29ed85b861
[ "Apache-2.0" ]
97
2015-02-17T15:32:55.000Z
2021-10-06T12:50:31.000Z
test/plp_test.exs
modelabcl/tds
468f059dc7fc5ea12679ffc1419ecd29ed85b861
[ "Apache-2.0" ]
76
2015-02-02T19:50:41.000Z
2021-09-29T07:46:27.000Z
defmodule PLPTest do import Tds.TestHelper require Logger use ExUnit.Case, async: true @tag timeout: 50000 setup do {:ok, pid} = Tds.start_link(opts()) {:ok, [pid: pid]} end test "Max and Large PLP returns", context do # :dbg.tracer() # :dbg.p(:all, :c) # :dbg.tpl(Tds.Types, :encod...
24.280992
86
0.52757
ac2f7cbce61f12695e9b63cf312fd461a974305f
1,149
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_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 &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.054054
98
0.760661
ac2f8980d34a2a27d52ada759f5630e65049f316
3,113
ex
Elixir
Dining/philo/lib/philo.ex
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
Dining/philo/lib/philo.ex
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
Dining/philo/lib/philo.ex
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
defmodule Philo do def start(name, left_chopstick, right_chopstick) do ref = make_ref() IO.inspect "#{name} has ID #{inspect ref}" spawn_link(__MODULE__, :loop, [name, left_chopstick, right_chopstick, ref, :think]) end def pick_left(chopstick, ref, :think) do send chopstick, {:pick, self(), ref} ...
24.511811
87
0.580469
ac2f9ca104e95e4229c2a459f63f4ef46f9c3931
2,012
ex
Elixir
lib/monitor_web/controllers/api_controller.ex
juanpabloaj/phoenix_gitlab_monitor
2b14a31c8d614b195d5003cd17faf9e5cfa56723
[ "MIT" ]
12
2018-11-04T03:39:34.000Z
2020-04-29T19:30:58.000Z
lib/monitor_web/controllers/api_controller.ex
juanpabloaj/phoenix_gitlab_monitor
2b14a31c8d614b195d5003cd17faf9e5cfa56723
[ "MIT" ]
16
2018-11-07T01:05:01.000Z
2021-05-07T21:32:07.000Z
lib/monitor_web/controllers/api_controller.ex
juanpabloaj/phoenix_gitlab_monitor
2b14a31c8d614b195d5003cd17faf9e5cfa56723
[ "MIT" ]
3
2019-08-27T20:29:00.000Z
2020-05-25T20:36:12.000Z
defmodule MonitorWeb.ApiController do use MonitorWeb, :controller plug :validate_token plug :fetch_pipeline def accept_branch?(branch, branches) do case branches do [] -> true nil -> true _ -> Enum.member?(branches, branch) end end def put_pipeline_info(params) do payload = ...
26.12987
61
0.61829
ac2fabcba4fdcb8087028f6500bb8dae0f1a53d2
268
ex
Elixir
lib/cldr/datetime/exception.ex
yuchunc/cldr_dates_times
c9dd560dc5a0c1cc6ac94ca34d67becd94217e29
[ "Apache-2.0" ]
null
null
null
lib/cldr/datetime/exception.ex
yuchunc/cldr_dates_times
c9dd560dc5a0c1cc6ac94ca34d67becd94217e29
[ "Apache-2.0" ]
null
null
null
lib/cldr/datetime/exception.ex
yuchunc/cldr_dates_times
c9dd560dc5a0c1cc6ac94ca34d67becd94217e29
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.UnknownTimeUnit do @moduledoc """ Exception raised when an attempt is made to use a time unit that is not known. in `Cldr.DateTime.Relative`. """ defexception [:message] def exception(message) do %__MODULE__{message: message} end end
22.333333
80
0.720149
ac2fb3873a8dc79e661105a5a73c98d9864e4725
1,286
exs
Elixir
test/postmex/delivery_test.exs
pejrich/postmex
c2d2889f7db56c28d0775074c9b757b3b6f895f4
[ "MIT" ]
null
null
null
test/postmex/delivery_test.exs
pejrich/postmex
c2d2889f7db56c28d0775074c9b757b3b6f895f4
[ "MIT" ]
null
null
null
test/postmex/delivery_test.exs
pejrich/postmex
c2d2889f7db56c28d0775074c9b757b3b6f895f4
[ "MIT" ]
null
null
null
defmodule Postmex.DeliveryTest do use ExUnit.Case alias Postmex.Delivery describe "Delivery" do test "it should validate required params" do assert {:ok, %{}} = Delivery.new(valid_attrs()) end test "it should validate missing params" do attrs = Map.merge(valid_attrs(), %{pickup_name: nil...
26.244898
97
0.616641
ac2fd93d74b3934f9f0eb8d475e9edd27851d38f
738
ex
Elixir
samples/phoenix_wobserver/lib/phoenix_wobserver/web/gettext.ex
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
11
2017-05-05T12:28:35.000Z
2020-02-26T09:16:10.000Z
samples/phoenix_wobserver/lib/phoenix_wobserver/web/gettext.ex
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
samples/phoenix_wobserver/lib/phoenix_wobserver/web/gettext.ex
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
defmodule PhoenixWobserver.Web.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 PhoenixWobserver.Web.Gettext # Simple translation ...
29.52
72
0.691057
ac2fe86b1e5d0683660c3259fee404c429b11131
2,820
exs
Elixir
test/groupher_server/cms/comments/meetup_pending_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
2
2018-03-26T08:56:21.000Z
2018-07-02T22:34:51.000Z
test/groupher_server/cms/comments/meetup_pending_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2018-03-21T03:40:50.000Z
2018-07-10T06:33:10.000Z
test/groupher_server/cms/comments/meetup_pending_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
null
null
null
defmodule GroupherServer.Test.CMS.Comments.MeetupPending do @moduledoc false use GroupherServer.TestTools alias GroupherServer.{Accounts, CMS} alias Accounts.Model.User alias CMS.Model.Comment alias Helper.ORM alias CMS.Constant @audit_legal Constant.pending(:legal) @audit_illegal Constant.pending(...
30.989011
89
0.628723
ac2ff2e2f2d2186fd15ec390910ab5ffde6748d6
4,171
exs
Elixir
test/xema/custom_validator_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/xema/custom_validator_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/xema/custom_validator_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule Xema.CustomValidatorTest do use ExUnit.Case, async: true alias Xema.ValidationError defmodule Palindrome do def check(str) do case str == String.reverse(str) do true -> :ok false -> {:error, :no_palindrome} end end end defmodule ThreeWords do @behaviour Xem...
27.261438
98
0.500599
ac3000f8943fae9fce3644c31b45062db72e5f36
6,154
ex
Elixir
lib/live_view_examples/tabs/home.ex
zorbash/observer_live
f78af309a85783ac61d97ba9bb5ffd7a64ec9823
[ "MIT" ]
219
2019-04-02T02:51:59.000Z
2021-11-10T22:14:17.000Z
lib/live_view_examples/tabs/home.ex
zorbash/observer_live
f78af309a85783ac61d97ba9bb5ffd7a64ec9823
[ "MIT" ]
1
2021-05-08T11:51:29.000Z
2021-05-08T11:51:29.000Z
lib/live_view_examples/tabs/home.ex
zorbash/observer_live
f78af309a85783ac61d97ba9bb5ffd7a64ec9823
[ "MIT" ]
14
2019-04-02T07:19:38.000Z
2021-03-27T19:19:45.000Z
defmodule LiveViewExamples.Tabs.Home do import LiveViewExamples.Format @top_attributes [:memory, :reductions] def collect(%{ stats: %{ io: io_stats, gc: gc_stats, schedulers: schedulers } = stats, settings: _ } = state) do put_in(state[:stats], Map.merge(stats, base_stats()))...
32.560847
98
0.663633
ac300cffa802a76a02c9c552f8f3ca07ba80d796
22,590
exs
Elixir
test/integration/locator_test.exs
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
30
2021-06-01T16:59:35.000Z
2022-03-25T16:56:19.000Z
test/integration/locator_test.exs
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
35
2021-06-10T17:05:31.000Z
2022-02-11T22:30:36.000Z
test/integration/locator_test.exs
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
4
2021-08-13T20:38:18.000Z
2022-01-31T04:32:35.000Z
defmodule Playwright.LocatorTest do use Playwright.TestCase, async: true alias Playwright.{Channel, ElementHandle, Locator, Page} describe "Locator.all_inner_texts/1" do test "...", %{page: page} do Page.set_content(page, "<div>A</div><div>B</div><div>C</div>") texts = Page.locator(page...
30.48583
113
0.596193
ac302a8c6990640835bfd8f8b53187c4a7844590
282
ex
Elixir
lib/unikey_web/controllers/fallback_controller.ex
alexfariac/Unique-Key-Generator
3493790f8e76f776406e1e33888f4c9009917e24
[ "MIT" ]
1
2021-12-26T19:35:57.000Z
2021-12-26T19:35:57.000Z
lib/unikey_web/controllers/fallback_controller.ex
alexfariac/Unique-Key-Generator
3493790f8e76f776406e1e33888f4c9009917e24
[ "MIT" ]
null
null
null
lib/unikey_web/controllers/fallback_controller.ex
alexfariac/Unique-Key-Generator
3493790f8e76f776406e1e33888f4c9009917e24
[ "MIT" ]
null
null
null
defmodule UnikeyWeb.FallbackController do use UnikeyWeb, :controller alias UnikeyWeb.ErrorView def call(conn, {:error, %{result: result, status: status}}) do conn |> put_status(status) |> put_view(ErrorView) |> render("error.json", result: result) end end
21.692308
64
0.691489
ac30361274cfac28b3e1c071a7ed1af50ecf7fe4
1,359
ex
Elixir
lib/app_api/utils/randomizer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-07-05T15:13:12.000Z
2021-12-16T08:58:56.000Z
lib/app_api/utils/randomizer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
null
null
null
lib/app_api/utils/randomizer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-08-13T21:37:00.000Z
2021-11-10T04:08:26.000Z
defmodule AppApi.Randomizer do @moduledoc """ Random string generator module. """ @doc """ Generate random string based on the given legth. It is also possible to generate certain type of randomise string using the options below: * :all - generate alphanumeric random string * :alpha - generate nom-nume...
31.604651
140
0.660044
ac30423bf6a6234a4939831f5e3fccb1e292076e
40,891
ex
Elixir
lib/cubdb.ex
sascha-wolf/cubdb
e854caf9dd69c2071ee8752421ccb0fbb68e23d2
[ "Apache-2.0" ]
null
null
null
lib/cubdb.ex
sascha-wolf/cubdb
e854caf9dd69c2071ee8752421ccb0fbb68e23d2
[ "Apache-2.0" ]
null
null
null
lib/cubdb.ex
sascha-wolf/cubdb
e854caf9dd69c2071ee8752421ccb0fbb68e23d2
[ "Apache-2.0" ]
null
null
null
defmodule CubDB do @moduledoc """ `CubDB` is an embedded key-value database written in the Elixir language. It runs locally, it is schema-less, and backed by a single file. ## Fetaures - Both keys and values can be any arbitrary Elixir (or Erlang) term. - Simple `get/3`, `put/3`, and `delete/2` opera...
32.046238
100
0.649605
ac307a06b27f214dba2660e449d6258a18b756d9
241
exs
Elixir
apps/demarest_mays/config/dev.exs
bravely/demarest_mays
9786efa1c589b23e7f8aeb7182cdc140c451fe92
[ "MIT" ]
null
null
null
apps/demarest_mays/config/dev.exs
bravely/demarest_mays
9786efa1c589b23e7f8aeb7182cdc140c451fe92
[ "MIT" ]
null
null
null
apps/demarest_mays/config/dev.exs
bravely/demarest_mays
9786efa1c589b23e7f8aeb7182cdc140c451fe92
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :demarest_mays, DemarestMays.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "demarest_mays_dev", hostname: "localhost", pool_size: 10
21.909091
41
0.746888
ac307d7fab8d048a81bfa9b848ce224a4be06763
1,391
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/big_query_query_spec.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/big_query_query_spec.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/big_query_query_spec.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...
29.595745
79
0.733285
ac30a2dce56789d9813737139c3e6d180424c816
2,189
ex
Elixir
lib/events/actors.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
3
2019-06-19T14:00:28.000Z
2019-06-20T23:26:06.000Z
lib/events/actors.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
null
null
null
lib/events/actors.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
null
null
null
defmodule PLM.Actors do require Logger use N2O, with: [:n2o, :kvs, :nitro] use FORM use BPE def header() do panel( id: :header, class: :th, body: [ panel(class: :column6, body: "No"), panel(class: :column10, body: "Name"), panel(class: :column6, body: "Module"), ...
21.89
81
0.534947
ac30d26c030cfa7ae0ab6cf8d76e3ca731328b2c
315
ex
Elixir
turtle_ui/examples/spiral.ex
jaimeiniesta/turtle
9376c7dc29d755f3a7c2fea053bfd68db9c47c10
[ "Apache-2.0" ]
13
2019-09-18T15:58:23.000Z
2022-02-17T11:16:59.000Z
turtle_ui/examples/spiral.ex
jaimeiniesta/turtle
9376c7dc29d755f3a7c2fea053bfd68db9c47c10
[ "Apache-2.0" ]
1
2020-11-05T18:23:48.000Z
2022-02-12T20:56:35.000Z
turtle_ui/examples/spiral.ex
jaimeiniesta/turtle
9376c7dc29d755f3a7c2fea053bfd68db9c47c10
[ "Apache-2.0" ]
1
2022-02-12T22:57:08.000Z
2022-02-12T22:57:08.000Z
defmodule TurtleUI.Examples.Spiral do @moduledoc """ Spiral """ import TurtleUI def run(size, angle) do spiral(size, angle) :ok end defp spiral(size, _angle) when size > 100, do: :stop defp spiral(size, angle) do forward(size) right(angle) spiral(size + 2, angle) end end
14.318182
54
0.634921
ac30e62f0260e545914257022a1c3cb8b0f14fbe
2,267
exs
Elixir
test/integration/plug_test.exs
ityonemo/multiverses_finch
200af83f02109ee9d1e51fac929a44c7c249c44c
[ "MIT" ]
null
null
null
test/integration/plug_test.exs
ityonemo/multiverses_finch
200af83f02109ee9d1e51fac929a44c7c249c44c
[ "MIT" ]
null
null
null
test/integration/plug_test.exs
ityonemo/multiverses_finch
200af83f02109ee9d1e51fac929a44c7c249c44c
[ "MIT" ]
null
null
null
import MultiversesTest.Replicant defmoduler Multiverses.FinchTest.Integration.PlugTest do use ExUnit.Case, async: true use Multiverses, with: Finch ################################################################# # PLUG SECTION use Plug.Router use Multiverses.Finch.Plug plug :match plug :dispatch ...
23.863158
71
0.602117
ac3128f766249f1e69c456f3e277dbdff12ed687
1,059
ex
Elixir
lib/cotoami_web/channels/timeline_channel.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami_web/channels/timeline_channel.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami_web/channels/timeline_channel.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule CotoamiWeb.TimelineChannel do @moduledoc """ Realtime communication in a cotonoma. """ use CotoamiWeb, :channel alias Cotoami.CotonomaService alias CotoamiWeb.Presence def join("timelines:" <> amishi_id_or_cotonoma_key, _params, socket) do if amishi_id_or_cotonoma_key == socket.assigns.ami...
27.868421
80
0.703494
ac312e1617ef49e53d41d242dfc6d34bcf38c5a5
3,057
ex
Elixir
web/views/shared_view.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
web/views/shared_view.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
web/views/shared_view.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.SharedView do use Artus.Web, :view def encap(s) do "“" <> s <> "”" end def style_titles(title, subtitle) do case subtitle do nil -> "#{Artus.NotMarkdown.to_html("#{title}")}," |> encap sub -> "#{Artus.NotMarkdown.to_html("#{title}")}. #{Artus.NotMarkdown.to_html("#{sub}")...
30.267327
110
0.529277
ac3140b9e6da7f2aaaa4b51e26c3b2590f796194
4,152
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/binding.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...
78.339623
1,909
0.765173
ac318f6e333c092edff853ffcf3cee3f8c38149b
758
exs
Elixir
installer/templates/phx_umbrella/config/config.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
installer/templates/phx_umbrella/config/config.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
installer/templates/phx_umbrella/config/config.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. 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 # configu...
37.9
68
0.774406
ac319c8cb39c4ae04afd4f0ee1944bebd1584a37
845
ex
Elixir
lib/mail_slurp_api/model/html_validation_result.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/html_validation_result.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/html_validation_result.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.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 MailSlurpAPI.Model.HtmlValidationResult do @moduledoc """ HTML Validation Results """ @derive [Poison.Encoder] defstruct [ :"errors", ...
25.606061
91
0.697041
ac31a2980de1cbf1ef5002fef12742cee7fa2047
442
ex
Elixir
lib/phoenix_api_project_web/views/tag_view.ex
faridghafoori/phoenix-api-project
4593f514150d7b61623f00be6f637f4eec378ffe
[ "MIT" ]
null
null
null
lib/phoenix_api_project_web/views/tag_view.ex
faridghafoori/phoenix-api-project
4593f514150d7b61623f00be6f637f4eec378ffe
[ "MIT" ]
null
null
null
lib/phoenix_api_project_web/views/tag_view.ex
faridghafoori/phoenix-api-project
4593f514150d7b61623f00be6f637f4eec378ffe
[ "MIT" ]
null
null
null
defmodule PhoenixApiProjectWeb.TagView do use PhoenixApiProjectWeb, :view alias PhoenixApiProjectWeb.TagView def render("index.json", %{tags: tags}) do %{data: render_many(tags, TagView, "tag.json")} end def render("show.json", %{tag: tag}) do %{data: render_one(tag, TagView, "tag.json")} end d...
21.047619
51
0.631222
ac31b706511a3f973dfaf83f6923c86252808403
1,733
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet.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...
33.980392
149
0.733987
ac31c0af6efd4c2d6420a797d48c4e14b3df4d3c
1,240
ex
Elixir
apps/accept_websocket/lib/accept/websocket.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/accept_websocket/lib/accept/websocket.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/accept_websocket/lib/accept/websocket.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Accept.Websocket do @moduledoc """ A WebSocket connection for data being pushed to Hindsight. ## Configuration * `path` - Required. Path of WebSocket endpoint. * `port` - Required. Port on which the WebSocket can be reached. * `idle_timeout` - Timeout in milliseconds. Defaults to 3 minutes. * ...
23.846154
68
0.616935
ac31d93897edf0c049ea46917fbe87306b01ad36
6,199
ex
Elixir
lib/iex/lib/iex/evaluator.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Evaluator do @moduledoc false @doc """ Eval loop for an IEx session. Its responsibilities include: * loading of .iex files * evaluating code * trapping exceptions in the code being evaluated * keeping expression history """ def start(server, leader) do old_leader = Process...
29.660287
99
0.64946
ac31db06f5b0ae9fd611184fa880ce1af29790a4
1,050
ex
Elixir
test/support/conn_case.ex
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
test/support/conn_case.ex
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
test/support/conn_case.ex
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
defmodule ShopmapWeb.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 data structures and query the data layer. Finally, if th...
26.923077
69
0.718095
ac3228c584dc0ee7725aca577fb8d260e2422460
3,068
exs
Elixir
mix.exs
verypossible-labs/nerves_system_bbb_sgx
3ae117c16ae6545e32cabf01999855763673b3bd
[ "Apache-2.0" ]
1
2020-06-26T16:04:40.000Z
2020-06-26T16:04:40.000Z
mix.exs
verypossible/nerves_system_bbb_sgx
3ae117c16ae6545e32cabf01999855763673b3bd
[ "Apache-2.0" ]
1
2021-02-10T18:36:40.000Z
2021-02-10T18:36:40.000Z
mix.exs
verypossible-labs/nerves_system_bbb_sgx
3ae117c16ae6545e32cabf01999855763673b3bd
[ "Apache-2.0" ]
2
2020-07-10T00:12:18.000Z
2020-10-21T15:22:15.000Z
defmodule NervesSystemBBBSGX.MixProject do use Mix.Project @github_organization "verypossible" @app :nerves_system_bbb_sgx @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", ...
24.741935
83
0.591917
ac32407339d452c4b2eaf322f9ecd360fd6b3027
1,076
ex
Elixir
apps/artemis_notify/lib/artemis_notify/drivers/slack/create_notification.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_notify/lib/artemis_notify/drivers/slack/create_notification.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_notify/lib/artemis_notify/drivers/slack/create_notification.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule ArtemisNotify.Drivers.Slack.CreateNotification do defmodule Error do defexception message: "Error" end require Logger @moduledoc """ Create a Slack Notification """ def call!(params, user) do case call(params, user) do {:error, _} -> raise(ArtemisNotify.Drivers.Slack.CreateNotif...
23.391304
117
0.697026
ac3253b2df5bff1d1155d4c5f83483eafb00852d
1,720
exs
Elixir
test/structs/attachment_test.exs
jchristgit/crux_structs
9545295e0ffd2261ebe17a935270546bd52861f6
[ "MIT" ]
6
2018-05-22T07:13:47.000Z
2019-10-17T03:40:22.000Z
test/structs/attachment_test.exs
jchristgit/crux_structs
9545295e0ffd2261ebe17a935270546bd52861f6
[ "MIT" ]
2
2018-11-01T17:11:51.000Z
2019-06-15T13:33:31.000Z
test/structs/attachment_test.exs
jchristgit/crux_structs
9545295e0ffd2261ebe17a935270546bd52861f6
[ "MIT" ]
2
2018-10-29T06:53:41.000Z
2019-06-14T19:15:56.000Z
defmodule Crux.Structs.AttachmentTest do use ExUnit.Case, async: true doctest Crux.Structs.Attachment test "create" do attachment = %{ "filename" => "410121532308848640.png", "height" => 128, "id" => "440894250004250624", "proxy_url" => "https://media.discordap...
33.72549
119
0.650581
ac3257e755fbe3d1234f1dfb65e1f295c6e908bc
2,233
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_templates_scoped_list_warning.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/node_templates_scoped_list_warning.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/node_templates_scoped_list_warning.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...
42.132075
250
0.729512
ac325d89f5c5414c7e40e5212d555361a2a21686
130
exs
Elixir
config/config.exs
zven21/aasm
f6749269c8317415fe12993d210a234ebf017ec9
[ "MIT" ]
2
2019-06-10T11:42:02.000Z
2019-08-06T02:53:59.000Z
config/config.exs
zven21/aasm
f6749269c8317415fe12993d210a234ebf017ec9
[ "MIT" ]
null
null
null
config/config.exs
zven21/aasm
f6749269c8317415fe12993d210a234ebf017ec9
[ "MIT" ]
null
null
null
use Mix.Config config :logger, :console, level: :error config :aasm, ecto_repos: [Dummy.Repo] import_config "#{Mix.env()}.exs"
16.25
39
0.707692
ac3277d18a992da67d12e576742fa519c6c9d76c
561
ex
Elixir
lib/gentry/supervisor.ex
spreedly/gentry
3acf32549f539ba5d2cdb011fcccd95ea0a605dd
[ "MIT" ]
3
2018-01-18T16:02:30.000Z
2019-04-04T16:57:09.000Z
lib/gentry/supervisor.ex
spreedly/gentry
3acf32549f539ba5d2cdb011fcccd95ea0a605dd
[ "MIT" ]
null
null
null
lib/gentry/supervisor.ex
spreedly/gentry
3acf32549f539ba5d2cdb011fcccd95ea0a605dd
[ "MIT" ]
null
null
null
defmodule Gentry.Supervisor do @moduledoc """ Setup Gentry for running workers and tasks. Hook this up as a supervisor in Application or whereever appropriate for your app. Use `Gentry` for a convenient synchronous interface. """ use Supervisor def start_link do Supervisor.start_link(__MODULE__,...
21.576923
79
0.705882
ac32909dc01abb10d4815907d88de6df2d97581b
3,524
ex
Elixir
lib/finch/pool_manager.ex
c4710n/finch
f07ef3063b2778776ea847bab45fc7b566d02668
[ "MIT" ]
71
2021-10-16T09:55:02.000Z
2022-03-26T08:42:59.000Z
lib/finch/pool_manager.ex
c4710n/finch
f07ef3063b2778776ea847bab45fc7b566d02668
[ "MIT" ]
21
2021-10-16T07:58:51.000Z
2022-03-28T12:27:40.000Z
lib/finch/pool_manager.ex
c4710n/finch
f07ef3063b2778776ea847bab45fc7b566d02668
[ "MIT" ]
20
2021-10-16T09:55:06.000Z
2022-03-27T13:21:27.000Z
defmodule Finch.PoolManager do @moduledoc false use GenServer @mint_tls_opts [ :cacertfile, :ciphers, :depth, :partial_chain, :reuse_sessions, :secure_renegotiate, :server_name_indication, :verify, :verify_fun, :versions ] @default_conn_hostname "localhost" def sta...
27.107692
98
0.671964
ac329fb73de4b30e5856199f7a4fa409653eeb08
4,648
ex
Elixir
deps/phoenix/lib/phoenix/code_reloader.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/code_reloader.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/code_reloader.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Phoenix.CodeReloader do @moduledoc """ A plug and module to handle automatic code reloading. For each request, Phoenix checks if any of the modules previously compiled requires recompilation via `__phoenix_recompile__?/0` and then calls `mix compile` for sources exclusive to the `web` directory. ...
25.96648
147
0.529905
ac32b07ecad78de936873925c3d3f7d8a4c9280e
5,180
ex
Elixir
lib/plug_signature/crypto.ex
voltone/plug_signature
a77a4c944b6aeb23277bbc132cf74b90761b1755
[ "BSD-3-Clause" ]
14
2020-01-01T14:44:38.000Z
2021-09-07T08:15:13.000Z
lib/plug_signature/crypto.ex
voltone/plug_signature
a77a4c944b6aeb23277bbc132cf74b90761b1755
[ "BSD-3-Clause" ]
2
2020-05-14T09:19:50.000Z
2021-06-15T06:24:05.000Z
lib/plug_signature/crypto.ex
voltone/plug_signature
a77a4c944b6aeb23277bbc132cf74b90761b1755
[ "BSD-3-Clause" ]
3
2020-03-05T13:53:42.000Z
2021-06-10T10:24:07.000Z
defmodule PlugSignature.Crypto do @moduledoc """ This module exposes the cryptographic core functions used in HTTP signatures. These functions may be used to implement clients, or alternative server-side implementations, e.g. for Raxx. Supported algorithms: * 'hs2019', using ECDSA, RSASSA-PSS or HMAC (a...
31.779141
101
0.696332
ac32c4f19276fe38d74b116a2d90f506285929cf
1,771
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firestore/lib/google_api/firestore/v1/model/list_locations_response.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...
35.42
165
0.738001
ac32ce776f5695b8c5a496218831594c92ddb69f
1,524
ex
Elixir
lib/mail_slurp_api/model/page_organization_inbox_projection.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/page_organization_inbox_projection.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/page_organization_inbox_projection.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.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 MailSlurpAPI.Model.PageOrganizationInboxProjection do @moduledoc """ Paginated organization inbox results. Page index starts at zero. Projection r...
30.48
195
0.658793
ac32dec4854bcddaf047f81b20756dbc863f45f4
3,863
exs
Elixir
apps/mcam_server_web/test/mcam_server_web/controllers/user_reset_password_controller_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/mcam_server_web/test/mcam_server_web/controllers/user_reset_password_controller_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/mcam_server_web/test/mcam_server_web/controllers/user_reset_password_controller_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule McamServerWeb.UserResetPasswordControllerTest do use McamServerWeb.ConnCase, async: true alias McamServer.Accounts alias McamServer.Repo import McamServer.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/reset_password" do test "renders the reset password pag...
33.885965
91
0.635516
ac32e832364d23901c91038fefe149707addafaa
238
ex
Elixir
lib/grizzly/command_class/association.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/association.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/association.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.Association do alias Grizzly.Node @type associated_nodes :: [Node.node_id()] @spec decode_nodes(binary) :: associated_nodes def decode_nodes(binary) do :erlang.binary_to_list(binary) end end
21.636364
48
0.760504
ac331495b6978f5c8a05cd7daec867a2a856ba0e
1,155
ex
Elixir
clients/books/lib/google_api/books/v1/model/reading_position.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/reading_position.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/reading_position.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 &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...
26.860465
77
0.724675
ac33266f99c380011976bb5b373c6b846a35698d
117
ex
Elixir
lib/web/views/admin/help_topic_view.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/web/views/admin/help_topic_view.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/web/views/admin/help_topic_view.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.Admin.HelpTopicView do use Web, :view alias Web.Admin.SharedView import Web.KeywordsHelper end
14.625
36
0.777778
ac333fd72f536828cc61dc7d3ad02425c47199ce
3,722
ex
Elixir
lib/elixoids/server/websocket_ship_handler.ex
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
5
2016-07-05T13:42:33.000Z
2020-12-07T14:12:16.000Z
lib/elixoids/server/websocket_ship_handler.ex
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
70
2016-06-04T11:31:27.000Z
2020-11-21T20:00:09.000Z
lib/elixoids/server/websocket_ship_handler.ex
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
1
2016-07-05T17:10:05.000Z
2016-07-05T17:10:05.000Z
defmodule Elixoids.Server.WebsocketShipHandler do @moduledoc """ Websocket Handler for a player. Queries the ship state at 5 fps and publishes it over the websocket. FPS rate matches the laser recharge rate. """ alias Elixoids.Game.Server, as: Game alias Elixoids.Ship.Server, as: Ship import Elixoids....
27.167883
96
0.63971
ac3365ded91955c334fc8e3fd50be84b854e09d8
958
ex
Elixir
test/support/models/dummy.ex
mentero/Positioner
c1771b064a35805bf495b9974459c67f45764543
[ "MIT" ]
1
2021-07-26T11:47:56.000Z
2021-07-26T11:47:56.000Z
test/support/models/dummy.ex
mentero/Positioner
c1771b064a35805bf495b9974459c67f45764543
[ "MIT" ]
null
null
null
test/support/models/dummy.ex
mentero/Positioner
c1771b064a35805bf495b9974459c67f45764543
[ "MIT" ]
null
null
null
defmodule Dummy do use Ecto.Schema import Ecto.Changeset @type t :: %__MODULE__{} schema "dummies" do field(:title, :string) field(:position, :integer) field(:idx, :integer) belongs_to(:tenant, Tenant) timestamps() end @spec create_changeset(t(), Tenant.t(), map()) :: Ecto.Changeset...
25.891892
80
0.664927
ac337b578d150c0b0549e70947c0ee8dfb097ef9
2,672
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/security_policy_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/security_policy_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/security_policy_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 &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 ...
45.288136
393
0.728293
ac3389b35b4f4b1563e61b8ff23c0e182fce163e
5,491
ex
Elixir
lib/gen_amqp/server.ex
Liftitapp/gen_amqp
604037aee146229eee6162316db811ab67a2c8ad
[ "MIT" ]
null
null
null
lib/gen_amqp/server.ex
Liftitapp/gen_amqp
604037aee146229eee6162316db811ab67a2c8ad
[ "MIT" ]
null
null
null
lib/gen_amqp/server.ex
Liftitapp/gen_amqp
604037aee146229eee6162316db811ab67a2c8ad
[ "MIT" ]
1
2021-03-01T19:21:38.000Z
2021-03-01T19:21:38.000Z
defmodule GenAMQP.Server do @moduledoc """ Defines the behaviour for servers connected through RabbitMQ """ defmacro __using__(opts) do event = opts[:event] conn_name = Keyword.get(opts, :conn_name, nil) size = Keyword.get(opts, :size, 5) dynamic_sup_name = Keyword.get(opts, :conn_supervisor, n...
29.521505
92
0.547623
ac338bed5c0c6fbee6c5cb362956a7633e86b642
15,489
ex
Elixir
lib/cldr/unit/parser.ex
kianmeng/cldr_units
fae3ed1f658e6b4c5164c2ebbe786cc562014a8b
[ "Apache-2.0" ]
null
null
null
lib/cldr/unit/parser.ex
kianmeng/cldr_units
fae3ed1f658e6b4c5164c2ebbe786cc562014a8b
[ "Apache-2.0" ]
null
null
null
lib/cldr/unit/parser.ex
kianmeng/cldr_units
fae3ed1f658e6b4c5164c2ebbe786cc562014a8b
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Unit.Parser do @moduledoc """ Parse unit strings into composable unit structures. These structures can then be used to produced localized output, or to be converted to another unit of the same unit category. """ alias Cldr.Unit.Conversions alias Cldr.Unit.Conversion alias Cldr.Unit...
29.224528
98
0.662728
ac3391fcb940b7378ed0323802c11a3ced0d05b7
1,933
ex
Elixir
lib/pgex/types/uuid.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
lib/pgex/types/uuid.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
lib/pgex/types/uuid.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
defmodule PgEx.Types.UUID do use PgEx.Types.Bin import Bitwise, only: [bsl: 2, bor: 2] def encode(_type, <<value::bytes-size(16)>>), do: value def encode(_type, <<a1, a2, a3, a4, a5, a6, a7, a8, ?-, b1, b2, b3, b4, ?-, c1, c2, c3, c4, ?-, d1, d2, d3, d4, ?-, e1, e2, e3, e4, e5, e6, e7, e8, e9, eA, eB, eC>>) do...
37.901961
227
0.56596
ac33b66cbe2b749ad3878d12823cdce41e96d14a
350
exs
Elixir
priv/repo/seeds.exs
chasm/elm_pack
5bbdc4df335376170b6d161bfc65f9fc7eca2648
[ "MIT" ]
1
2016-08-02T00:36:46.000Z
2016-08-02T00:36:46.000Z
priv/repo/seeds.exs
chasm/elm_pack
5bbdc4df335376170b6d161bfc65f9fc7eca2648
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
chasm/elm_pack
5bbdc4df335376170b6d161bfc65f9fc7eca2648
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # ElmPack.Repo.insert!(%ElmPack.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will ...
29.166667
61
0.705714
ac33b947c09a0240f81e2cee0e38a0c3d7d061aa
226
exs
Elixir
config/test.exs
no-vacancies/ex-zkb
eb9b13318b0c68f5b0562786027e218507fe3abc
[ "MIT" ]
null
null
null
config/test.exs
no-vacancies/ex-zkb
eb9b13318b0c68f5b0562786027e218507fe3abc
[ "MIT" ]
null
null
null
config/test.exs
no-vacancies/ex-zkb
eb9b13318b0c68f5b0562786027e218507fe3abc
[ "MIT" ]
null
null
null
import Config config :ex_zkb, ExZkb.Pathfinder.Repo, database: "pathfinder", username: "pathfinder", password: "pathfinder", hostname: "localhost", pool_size: Ecto.Adapters.SQL.Sandbox config :logger, level: :warn
20.545455
38
0.734513
ac342e9ecc865a60545f5cc66f5d7bf105e16386
14,408
ex
Elixir
apps/rig/lib/rig/event_filter.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
apps/rig/lib/rig/event_filter.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
apps/rig/lib/rig/event_filter.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
defmodule Rig.EventFilter do @moduledoc """ Check point between connection processes and event sources. # Event Subscriptions The EventFilter is a central component to RIG's event subscription implementation. In order to understand their role, we first take a look at events and event types. ## Events and...
45.308176
232
0.536438
ac3445ad5cd4cfe5cb1da71698069209a342acbe
4,572
exs
Elixir
test/iodized/definition_test.exs
envato/iodized
396a051262fbdfb051e696a5d39e76414dab3568
[ "MIT" ]
16
2015-01-13T20:56:40.000Z
2021-07-16T08:05:36.000Z
test/iodized/definition_test.exs
envato/iodized
396a051262fbdfb051e696a5d39e76414dab3568
[ "MIT" ]
5
2015-01-11T23:50:58.000Z
2017-06-06T05:24:04.000Z
test/iodized/definition_test.exs
envato/iodized
396a051262fbdfb051e696a5d39e76414dab3568
[ "MIT" ]
2
2015-04-06T11:16:10.000Z
2016-08-01T05:28:03.000Z
defmodule Iodized.DefinitionTest do use ExUnit.Case, async: true alias Iodized.Definition.Rule, as: Rule defmodule AllTest do use ExUnit.Case, async: true alias Iodized.Definition.All, as: All test "is true if all conditions match" do definition = %All{definitions: [true, true]} assert R...
33.372263
121
0.651137
ac34651153d5297b8aa373a9c2723d99f4958cd4
5,730
ex
Elixir
lib/chat_api_web/controllers/registration_controller.ex
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/registration_controller.ex
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/registration_controller.ex
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.RegistrationController do use ChatApiWeb, :controller require Logger alias Ecto.Changeset alias Plug.Conn alias ChatApiWeb.ErrorHelpers @spec create(Conn.t(), map()) :: Conn.t() def create(conn, params) def create(conn, %{"user" => user_params}) when is_map_key(user_params, "inv...
30.641711
92
0.623735
ac3475403732f5d0e213d18039f1b712608b89b8
11,705
ex
Elixir
lib/plaid/asset_report.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
16
2021-03-09T02:29:32.000Z
2022-03-13T07:18:03.000Z
lib/plaid/asset_report.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
5
2021-04-24T20:38:14.000Z
2022-03-19T22:03:09.000Z
lib/plaid/asset_report.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
2
2021-06-11T02:15:01.000Z
2022-03-15T18:39:59.000Z
defmodule Plaid.AssetReport do @moduledoc """ [Plaid Asset Reports API](https://plaid.com/docs/api/products/#assets) calls and schema. """ alias Plaid.AssetReport.User alias Plaid.Castable defmodule AsyncResponse do @moduledoc """ Plaid Asset Report schema used when generating asset reports. ...
29.558081
127
0.651089
ac348e6e16bfe4032fab334a9181aad45f83c823
1,162
ex
Elixir
lib/graphvix/record_subset.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
47
2016-10-02T21:44:30.000Z
2022-02-21T18:01:40.000Z
lib/graphvix/record_subset.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
17
2016-10-27T17:11:27.000Z
2021-12-23T13:19:39.000Z
lib/graphvix/record_subset.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
10
2017-03-20T18:21:21.000Z
2021-07-25T14:34:28.000Z
defmodule Graphvix.RecordSubset do @moduledoc """ [Internal] Models a row or a column as part of a `Graphvix.Record` vertex. The functionality provided by this module is internal. See the documentation for `Graphvix.Record`. """ defstruct [ cells: [], is_column: false ] alias __MODULE__ @t...
29.05
78
0.66179
ac348f99d94a7b2893ac8d831b2ce7665831fd44
191
exs
Elixir
priv/test/migrations/20170320052040_create_user.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
2
2021-04-25T20:59:53.000Z
2021-07-13T22:49:20.000Z
priv/test/migrations/20170320052040_create_user.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
null
null
null
priv/test/migrations/20170320052040_create_user.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExOauth2Provider.Test.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :email, :string timestamps() end end end
17.363636
61
0.696335
ac34a05b95a9dbeb668201f1442f18e81b89c970
816
ex
Elixir
lib/queries/index_size.ex
blockfi/ecto_psql_extras
27602dfb9d508b8ad3a904b1962d8a837128b0c7
[ "MIT" ]
278
2020-08-04T12:38:29.000Z
2022-03-25T15:14:28.000Z
lib/queries/index_size.ex
blockfi/ecto_psql_extras
27602dfb9d508b8ad3a904b1962d8a837128b0c7
[ "MIT" ]
21
2020-09-27T14:38:21.000Z
2021-11-08T22:44:46.000Z
lib/queries/index_size.ex
blockfi/ecto_psql_extras
27602dfb9d508b8ad3a904b1962d8a837128b0c7
[ "MIT" ]
15
2020-09-28T18:08:25.000Z
2022-03-22T11:26:21.000Z
defmodule EctoPSQLExtras.IndexSize do @behaviour EctoPSQLExtras def info do %{ title: "The size of indexes, descending by size", order_by: [size: :desc], columns: [ %{name: :schema, type: :string}, %{name: :name, type: :string}, %{name: :size, type: :bytes} ] ...
26.322581
95
0.61152
ac34e9e91756e647893750f85a65b6a1e8b6700e
7,196
exs
Elixir
test/conduit_amqp_test.exs
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
9
2017-02-01T14:12:28.000Z
2021-07-06T23:22:29.000Z
test/conduit_amqp_test.exs
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
77
2018-02-02T19:17:08.000Z
2021-08-03T05:20:21.000Z
test/conduit_amqp_test.exs
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
10
2018-02-02T19:07:44.000Z
2021-05-05T03:34:41.000Z
defmodule ConduitAMQPTest do @moduledoc false use ExUnit.Case, async: false use AMQP defmodule Broker do @moduledoc false def receives(_name, message) do send(ConduitAMQPTest, {:broker, message}) message end end defmodule OtherBroker do @moduledoc false def receives(_name,...
31.286957
117
0.535297