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
21b53eb7e08d64cca2dc02f946a218e0e6df3088
1,237
exs
Elixir
test/contentful_delivery/delivery_test.exs
prototypsthlm/contentful.ex
cde53cd6792643c2d5518f97db00c4118f842863
[ "MIT" ]
28
2016-06-19T00:18:46.000Z
2021-05-17T07:53:22.000Z
test/contentful_delivery/delivery_test.exs
prototypsthlm/contentful.ex
cde53cd6792643c2d5518f97db00c4118f842863
[ "MIT" ]
79
2016-07-13T14:46:07.000Z
2021-05-17T09:26:50.000Z
test/contentful_delivery/delivery_test.exs
prototypsthlm/contentful.ex
cde53cd6792643c2d5518f97db00c4118f842863
[ "MIT" ]
25
2016-07-13T17:31:52.000Z
2021-05-08T10:14:46.000Z
defmodule Contentful.DeliveryTest do use ExUnit.Case doctest Contentful.Delivery alias Contentful.Delivery @moduledoc """ General tips for testing 1. The library can be configured with an api key for the function calls, keep it lean during tests, i.e. you do not have to pass env and api token to ever...
31.717949
101
0.693614
21b5596ca4f1b9c1d5307ac29bb669f972d92961
1,917
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/histogram_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v3/model/histogram_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/jobs/lib/google_api/jobs/v3/model/histogram_result.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.34
267
0.729264
21b55ab487d83cccbc626e3ed447070d67f12f2b
742
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/network_security_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/network_security_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/network_security_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# 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 Microsoft.Azure.Management.Network.Model.NetworkSecurityGroup do @moduledoc """ NetworkSecurityGroup resource. """ @derive [Poison.Encode...
21.823529
93
0.654987
21b564ffabad3a2c9eb9b50537ff5b479c2abf07
4,291
ex
Elixir
test/struct_modules/lib/user_types.ex
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
101
2020-06-11T23:51:50.000Z
2022-03-30T16:29:18.000Z
test/struct_modules/lib/user_types.ex
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
11
2020-10-11T11:50:24.000Z
2022-02-12T08:54:50.000Z
test/struct_modules/lib/user_types.ex
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
4
2020-07-02T08:54:22.000Z
2021-12-26T09:59:15.000Z
# credo:disable-for-this-file defmodule NoTypesModule do @moduledoc false end defmodule ModuleNested do @moduledoc false @type mn_float :: float() @type various_type :: atom() | integer() | float() | list() defmodule Module do @moduledoc false @type mod_float :: ModuleNested.mn_float() defmod...
26.325153
111
0.635516
21b5854faacb40f4216647055adeeb7cafb319bd
363
ex
Elixir
apps/core/lib/core/guardian_serializer.ex
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
25
2016-08-09T15:04:37.000Z
2021-11-15T12:20:27.000Z
apps/core/lib/core/guardian_serializer.ex
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
62
2016-05-23T20:16:40.000Z
2017-04-18T18:36:29.000Z
apps/core/lib/core/guardian_serializer.ex
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
10
2016-08-17T15:29:21.000Z
2017-02-28T07:58:30.000Z
defmodule Core.GuardianSerializer do @behaviour Guardian.Serializer alias Core.Repo alias Core.User def for_token(user = %User{}), do: { :ok, "User:#{user.id}" } def for_token(_), do: { :error, "Unknown resource type" } def from_token("User:" <> id), do: { :ok, Repo.get(User, id) } def from_token(_), d...
27.923077
64
0.655647
21b58733e174af27b2f1d78a41b4b6f3e6c3b65e
1,916
ex
Elixir
lib/workflow/rules/min_length.ex
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
4
2020-04-23T09:44:01.000Z
2020-10-29T17:02:29.000Z
lib/workflow/rules/min_length.ex
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
13
2020-04-23T09:39:28.000Z
2020-11-05T15:59:25.000Z
lib/workflow/rules/min_length.ex
cnavas88/exvalidate
899127b5427ca1d4f926b8953c09ab6151365dda
[ "MIT" ]
1
2019-10-21T13:10:09.000Z
2019-10-21T13:10:09.000Z
defmodule Exvalidate.Rules.MinLength do @moduledoc """ This module validate the length of list and strings. Value types: 1. String. 2. Tuple. 3. List. ### Examples string ``` iex(3)> Exvalidate.Rules.MinLength.validating({:min_length, 3}, "Boo") {:ok, "Boo"} ``` ``` iex(3)> Exvalidate.Rules.Mi...
24.564103
96
0.634656
21b5a02584786762a050eb802588b515230fd102
500
exs
Elixir
test/controllers/file_controller_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
test/controllers/file_controller_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
test/controllers/file_controller_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.FileControllerTest do use Opencov.ConnCase setup do conn = build_conn() |> with_login {:ok, conn: conn} end test "shows chosen resource", %{conn: conn} do file = insert(:file) conn = get conn, file_path(conn, :show, file) assert html_response(conn, 200) =~ file.name end...
23.809524
72
0.664
21b5b9a1f49fe65958970419bf41975a41931e00
802
ex
Elixir
lib/bankapi_web/views/operation_view.ex
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
4
2020-05-05T18:37:28.000Z
2022-01-05T00:56:19.000Z
lib/bankapi_web/views/operation_view.ex
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
21
2019-12-01T15:32:02.000Z
2019-12-19T13:10:36.000Z
lib/bankapi_web/views/operation_view.ex
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
2
2020-09-12T16:07:11.000Z
2020-12-11T06:46:45.000Z
defmodule BankWeb.OperationView do use BankWeb, :view alias BankWeb.OperationView def render("index.json", %{operations: operations}) do %{data: render_many(operations, OperationView, "operation.json")} end def render("show.json", %{operation: operation}) do %{data: render_one(operation, OperationVi...
26.733333
81
0.687032
21b5ba6a9db3d3142a48ddf5b2bfb0e78d9bd15d
1,276
ex
Elixir
lib/erl2ex/convert/ext_forms.ex
axelson/erl2ex
382d87ab5fe4a3a3bdb03001226c9c514b889eb0
[ "BSD-3-Clause" ]
77
2015-12-28T10:54:32.000Z
2021-11-17T16:14:41.000Z
lib/erl2ex/convert/ext_forms.ex
axelson/erl2ex
382d87ab5fe4a3a3bdb03001226c9c514b889eb0
[ "BSD-3-Clause" ]
5
2016-02-13T09:36:59.000Z
2022-02-23T16:57:58.000Z
lib/erl2ex/convert/ext_forms.ex
axelson/erl2ex
382d87ab5fe4a3a3bdb03001226c9c514b889eb0
[ "BSD-3-Clause" ]
13
2016-06-04T06:49:19.000Z
2021-10-14T03:00:54.000Z
# Conversion logic for extended (epp_dodger) AST forms. defmodule Erl2ex.Convert.ExtForms do @moduledoc false alias Erl2ex.Pipeline.ExComment # A dispatching function that converts a form with a context. Returns a # tuple of a list (possibly empty) of ex_data forms, and an updated context. # This claus...
26.583333
82
0.69279
21b5dee57851ef6eeeaf4a15db0da6135f4ac63f
429
exs
Elixir
priv/repo/migrations/20160804083156_create_essence.exs
MarcAntoine-Arnaud/ecto_relations
477853429af12adb33cd8000b29da044649c1283
[ "MIT" ]
null
null
null
priv/repo/migrations/20160804083156_create_essence.exs
MarcAntoine-Arnaud/ecto_relations
477853429af12adb33cd8000b29da044649c1283
[ "MIT" ]
null
null
null
priv/repo/migrations/20160804083156_create_essence.exs
MarcAntoine-Arnaud/ecto_relations
477853429af12adb33cd8000b29da044649c1283
[ "MIT" ]
null
null
null
defmodule EctoRelations.Repo.Migrations.CreateEssence do use Ecto.Migration def change do create table(:essences) do add :kind, :string add :codec, :string add :stream_id, references(:streams, on_delete: :nothing) timestamps end create table(:essences_streams) do add :ess...
22.578947
63
0.680653
21b5e1d38393ed89c6b43cdde53ef0df6a423818
12,642
exs
Elixir
test/event_subscription_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
test/event_subscription_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
test/event_subscription_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RigInboundGateway.EventSubscriptionTest do @moduledoc """ Clients need to be able to add and remove subscriptions to their connection. """ # Cannot be async because the extractor configuration is modified: use ExUnit.Case, async: false defmodule SubscriptionError do defexception [:code, :body...
32.332481
108
0.583768
21b5fe674be6c584d74c8472616593c3b52696dc
2,434
ex
Elixir
lib/customerio/util.ex
marcelolebre/customerio
33e69aa71bbc98aa8f4bff8bd01e03e45ae0f1e5
[ "MIT" ]
null
null
null
lib/customerio/util.ex
marcelolebre/customerio
33e69aa71bbc98aa8f4bff8bd01e03e45ae0f1e5
[ "MIT" ]
null
null
null
lib/customerio/util.ex
marcelolebre/customerio
33e69aa71bbc98aa8f4bff8bd01e03e45ae0f1e5
[ "MIT" ]
null
null
null
defmodule Customerio.Util do @moduledoc false @type value :: number | String.t() | atom() @behavioral_base_route "https://track.customer.io/api/v1/" @api_base_route "https://api.customer.io/v1/api" defp get_username, do: Application.get_env(:customerio, :site_id) defp get_password, do: Application.get_en...
30.049383
96
0.610518
21b60cdf5e30ef5c55e2a909e3e398ed5215296b
1,578
exs
Elixir
lib/elixir/test/elixir/test_helper.exs
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/test_helper.exs
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/test_helper.exs
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
ExUnit.start [trace: "--trace" in System.argv, assert_receive_timeout: 500] # Beam files compiled on demand path = Path.expand("../../tmp/beams", __DIR__) File.rm_rf!(path) File.mkdir_p!(path) Code.prepend_path(path) Code.compiler_options debug_info: true defmodule PathHelpers do def fixture_path() d...
22.542857
107
0.671736
21b68025783ead17e19af60801eefcbda9ae9248
255
ex
Elixir
app/lib/hobby_dapp.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
app/lib/hobby_dapp.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
app/lib/hobby_dapp.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
defmodule HobbyDapp do @moduledoc """ HobbyDapp keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.5
66
0.756863
21b682c7259422ec9850c05b9cf858e51107f4e8
1,930
exs
Elixir
test/acceptance/ast/reflink_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/reflink_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/reflink_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Ast.ReflinkTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] @moduletag :ast describe "undefined reflinks" do test "simple case" do markdown = "[text] [reference]\n[reference1]: some_url" html = "<p>[text] [reference]</p>\n" ...
29.692308
83
0.558031
21b68c035c6d6a0672f665d2dd0a895f389470e4
8,742
ex
Elixir
lib/sponsorly/sponsorships.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
lib/sponsorly/sponsorships.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
lib/sponsorly/sponsorships.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
defmodule Sponsorly.Sponsorships do @moduledoc """ The Sponsorships context. """ import Ecto.Query, warn: false alias Sponsorly.Repo alias Sponsorly.Sponsorships.Sponsorship alias Sponsorly.Sponsorships.ConfirmedSponsorship alias Sponsorly.Sponsorships.SponsorshipNotifier @doc """ Link existing sp...
23.436997
100
0.658202
21b696d0a454ab59005f9c4a433e1c10606e3e24
1,166
ex
Elixir
apps/speedrun/lib/speedrun/authors.ex
brunobamaral/speedrun
b439e03a0a06c53c03824cb8a37fd55e4aef8e35
[ "Apache-2.0" ]
null
null
null
apps/speedrun/lib/speedrun/authors.ex
brunobamaral/speedrun
b439e03a0a06c53c03824cb8a37fd55e4aef8e35
[ "Apache-2.0" ]
null
null
null
apps/speedrun/lib/speedrun/authors.ex
brunobamaral/speedrun
b439e03a0a06c53c03824cb8a37fd55e4aef8e35
[ "Apache-2.0" ]
null
null
null
defmodule Speedrun.Authors do @moduledoc """ domínio público de funções sobre autores de contexto. """ alias Speedrun.Authors.Schemas.Author alias Speedrun.Authors.Inputs alias Speedrun.Repo require Logger @doc """ entrega changeset para inserir qualquer novo author. falha para o index de em...
30.684211
84
0.642367
21b6a49e205d6701d1cdbf3ce6f7334ce11ccf62
915
ex
Elixir
lib/level/pagination/validations.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level/pagination/validations.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level/pagination/validations.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Pagination.Validations do @moduledoc false import Level.Gettext alias Level.Pagination.Args @doc """ Validates the limit arguments for pagination. ## Examples validate_limit(%{first: nil, last: nil}) => {:error, "You must provide either a `first` or `last` value} vali...
26.911765
85
0.646995
21b6aad9ae9dfaba9a3b11a7842df5a6e021fadb
1,176
ex
Elixir
server/bitcoinex/test/network.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
27
2022-01-01T14:58:22.000Z
2022-03-22T06:11:18.000Z
server/bitcoinex/test/network.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
22
2022-01-01T04:26:10.000Z
2022-03-22T00:02:31.000Z
server/bitcoinex/test/network.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
9
2022-01-03T07:34:36.000Z
2022-03-14T23:19:56.000Z
defmodule Bitcoinex.Network do @enforce_keys [ :name, :hrp_segwit_prefix, :p2pkh_version_decimal_prefix, :p2sh_version_decimal_prefix ] defstruct [ :name, :hrp_segwit_prefix, :p2pkh_version_decimal_prefix, :p2sh_version_decimal_prefix ] @type t() :: %__MODULE__{ name...
19.932203
54
0.636905
21b6b13a69b249f918856210afcb44f754ecf337
2,421
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/secret_env_var.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/secret_env_var.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/secret_env_var.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...
43.232143
311
0.721603
21b6b721b8287a5e421cad89811bdae510f6d248
2,240
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.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...
40
192
0.714732
21b6cd93d1e0e4384f13ce93fc25daff7b7be95c
2,145
ex
Elixir
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_interconnect_attachments.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_interconnect_attachments.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_interconnect_attachments.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...
42.9
295
0.758042
21b6de1fa78552815be2eae8898efc6db7f8dfda
626
ex
Elixir
lib/pastenix/endpoint.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
6
2015-02-25T06:13:45.000Z
2016-04-11T13:06:13.000Z
lib/pastenix/endpoint.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
lib/pastenix/endpoint.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
defmodule Pastenix.Endpoint do use Phoenix.Endpoint, otp_app: :pastenix plug Plug.Static, at: "/", from: :pastenix plug Plug.Logger # Code reloading will only work if the :code_reloader key of # the :phoenix application is set to true in your config file. plug Phoenix.CodeReloader plug Plug.Parser...
21.586207
64
0.690096
21b6f2dc5759811821a5fea9e6c8da34bd8dba80
1,164
ex
Elixir
lib/states_language/ast/parallel.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
4
2020-05-13T04:38:37.000Z
2020-05-13T20:24:21.000Z
lib/states_language/ast/parallel.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
null
null
null
lib/states_language/ast/parallel.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
null
null
null
defmodule StatesLanguage.AST.Parallel do @moduledoc false @behaviour StatesLanguage.AST alias StatesLanguage.AST.{Await, Resource} alias StatesLanguage.Node @impl true def create( %Resource{ name: state_name, node: %Node{ parameters: parameters, input_pat...
25.304348
85
0.520619
21b72f17ecd2e5d5c94efe33626788f127ba8ff3
394
ex
Elixir
apps/performance_1/lib/library_app/library_schema_types.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/performance_1/lib/library_app/library_schema_types.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/performance_1/lib/library_app/library_schema_types.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule LibraryApp.Schema.Types do use Absinthe.Schema.Notation @desc "An author of the book" object :author do field :id, :id field :name, :string field :surname, :string field :books, list_of(:book) end @desc "A book created by one or multiple authors" object :book do field :id, :i...
21.888889
51
0.670051
21b7326ad96e2ba202bafdde1ad64f943649b2e6
827
ex
Elixir
lib/contact_form/application.ex
doma-engineering/contact_form
0b6305ec6afc238afff4f848c43acdb1ad739d6f
[ "WTFPL" ]
null
null
null
lib/contact_form/application.ex
doma-engineering/contact_form
0b6305ec6afc238afff4f848c43acdb1ad739d6f
[ "WTFPL" ]
2
2021-08-01T18:52:32.000Z
2021-08-18T13:47:58.000Z
lib/contact_form/application.ex
doma-engineering/contact_form
0b6305ec6afc238afff4f848c43acdb1ad739d6f
[ "WTFPL" ]
null
null
null
defmodule ContactForm.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ ContactFormWeb.Telemetry, {Phoenix.PubSub, name: ContactForm.PubSub}, {SiteEncrypt.P...
28.517241
65
0.724305
21b735b1ed8323dbd6ef6b17a7db7e2a6c80465a
3,831
exs
Elixir
test/linkir_web/controllers/user_reset_password_controller_test.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
test/linkir_web/controllers/user_reset_password_controller_test.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
test/linkir_web/controllers/user_reset_password_controller_test.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
defmodule LinkirWeb.UserResetPasswordControllerTest do use LinkirWeb.ConnCase, async: true alias Linkir.Accounts alias Linkir.Repo import Linkir.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/reset_password" do test "renders the reset password page", %{conn: conn} do...
33.605263
91
0.634038
21b73fa71fd782f61e34b4db9d466eadaa6f9629
235
ex
Elixir
lib/skeleton/utils/utils.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
3
2020-12-15T09:04:57.000Z
2021-06-11T02:01:09.000Z
lib/skeleton/utils/utils.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
lib/skeleton/utils/utils.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
defmodule MapSchema.Utils do @moduledoc false @doc """ The module have the utils functions. Take list of fields and build a full name. """ def get_field_name(lista_fields) do lista_fields |> Enum.join("_") end end
16.785714
44
0.693617
21b759cec19dcf3258f767299df982eb9a3d665f
6,893
ex
Elixir
lib/finch.ex
supersimple/finch
5aa06f16f54841b138625791cb22c2da63865367
[ "MIT" ]
null
null
null
lib/finch.ex
supersimple/finch
5aa06f16f54841b138625791cb22c2da63865367
[ "MIT" ]
null
null
null
lib/finch.ex
supersimple/finch
5aa06f16f54841b138625791cb22c2da63865367
[ "MIT" ]
null
null
null
defmodule Finch do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) alias Finch.{Pool, PoolManager} use Supervisor @atom_methods [ :get, :post, :put, :patch, :delete, :hea...
27.794355
259
0.625707
21b77463e62fb1c90237aa2631fe6dc8d3c79a56
1,391
exs
Elixir
test/credo/plugin_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/plugin_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/plugin_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
defmodule Credo.PluginTest do use Credo.TestHelper, async: false @integration_path "test/fixtures/example_plugin_integration" alias Credo.Execution Code.require_file("test/fixtures/example_plugin_integration/plugin/example_plugin.ex") test "it should use ExamplePlugin's default config" do File.cd!(@in...
31.613636
88
0.710999
21b782a67d58ac3100a2ad32a2b9bf2d1019345a
788
exs
Elixir
test/plug/html_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
1,218
2017-07-14T15:13:32.000Z
2022-03-30T16:42:42.000Z
test/plug/html_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
502
2017-07-19T15:36:44.000Z
2022-03-31T06:47:36.000Z
test/plug/html_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
376
2017-07-17T15:47:55.000Z
2022-03-23T19:24:30.000Z
defmodule Plug.HTMlTest do use ExUnit.Case, async: true doctest Plug.HTML import Plug.HTML, only: [html_escape: 1] test "escapes HTML" do assert html_escape("<script>") == "&lt;script&gt;" assert html_escape("html&company") == "html&amp;company" assert html_escape("\"quoted\"") == "&quot;quoted&qu...
31.52
70
0.664975
21b7a3d31e74f96dd7732e90cf5bdbaacbc0e3be
2,898
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/accelerator_type_aggregated_list_warning.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/accelerator_type_aggregated_list_warning.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/accelerator_type_aggregated_list_warning.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...
47.508197
612
0.773982
21b7a7896e7ad9bd5b2ff8c9aac1678049664c99
164
ex
Elixir
lib/state_chart/runtime/assign.ex
johnnyt/ex_statechart
54b4df032700917df578b0a4543338a96864d2e5
[ "MIT" ]
null
null
null
lib/state_chart/runtime/assign.ex
johnnyt/ex_statechart
54b4df032700917df578b0a4543338a96864d2e5
[ "MIT" ]
null
null
null
lib/state_chart/runtime/assign.ex
johnnyt/ex_statechart
54b4df032700917df578b0a4543338a96864d2e5
[ "MIT" ]
1
2020-11-11T15:57:52.000Z
2020-11-11T15:57:52.000Z
defmodule StateChart.Runtime.Assign do use StateChart.Definition do field(:string, :id, 1) field(:ref, :ref, 2) field(:any, :expression, 3) end end
20.5
38
0.670732
21b7b22ae94f05bd4c8c1867679fcc3aad6bb7f1
277
ex
Elixir
lib/my_phoenix_api_template.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
lib/my_phoenix_api_template.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
lib/my_phoenix_api_template.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
defmodule MyPhoenixApiTemplate do @moduledoc """ MyPhoenixApiTemplate keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
27.7
66
0.776173
21b7c73d979809db2676e09215ec29ebe907325a
348
exs
Elixir
priv/repo/migrations/20200403110306_create_journal.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
3
2020-04-08T19:15:22.000Z
2020-05-24T22:37:54.000Z
priv/repo/migrations/20200403110306_create_journal.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
10
2020-04-05T17:31:49.000Z
2020-06-10T11:09:17.000Z
priv/repo/migrations/20200403110306_create_journal.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
null
null
null
defmodule Covid19Questionnaire.Data.Repo.Migrations.CreateJournal do use Ecto.Migration def up do create table(:journal, primary_key: false) do add(:uuid, :uuid, primary_key: true) add(:date, :utc_datetime_usec, null: false) add(:data, :jsonb, null: false) end end def down do dro...
21.75
68
0.683908
21b7cf0acb12753557010dd7ba2b263d03f25d6e
175
ex
Elixir
lib/serve_elm_web/runtime.ex
robotarmy/serve_elm
931787a55acbe076eac0c0b199c5cfc63425197e
[ "MIT" ]
null
null
null
lib/serve_elm_web/runtime.ex
robotarmy/serve_elm
931787a55acbe076eac0c0b199c5cfc63425197e
[ "MIT" ]
null
null
null
lib/serve_elm_web/runtime.ex
robotarmy/serve_elm
931787a55acbe076eac0c0b199c5cfc63425197e
[ "MIT" ]
null
null
null
defmodule ServeElmWeb.Runtime do import Execjs.Runtime defruntime Node8, command: "/Users/curtis/.nvm/versions/node/v8.9.3/bin/node", runner: "node_runner.js.eex" end
19.444444
64
0.754286
21b7e841b8f78747a4c2e6ca2476931a1931e611
177
exs
Elixir
apps/ex_wire/test/ex_wire/util/timestamp_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
14
2017-08-21T06:14:49.000Z
2020-05-15T12:00:52.000Z
apps/ex_wire/test/ex_wire/util/timestamp_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
7
2017-08-11T07:50:14.000Z
2018-08-23T20:42:50.000Z
apps/ex_wire/test/ex_wire/util/timestamp_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
3
2017-08-20T17:56:41.000Z
2018-08-21T00:36:10.000Z
defmodule ExWire.Util.TimestampTest do use ExUnit.Case, async: true alias ExWire.Util.Timestamp test "returns a valid timestamp" do assert Timestamp.now > 0 end end
22.125
38
0.751412
21b7f64def805f4875c1a8ca1586dcc11fd6fea1
1,422
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/overlays/category_overlay.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/category_overlay.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/category_overlay.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...
21.223881
74
0.649789
21b7fcaa0c9579a841fb2b6501760de091076188
2,401
ex
Elixir
lib/parser.ex
dragonwasrobot/i18n-to-elm
e04311464b0c8543be930923c14d0da8c9a89518
[ "MIT" ]
19
2017-05-13T02:16:47.000Z
2021-09-21T08:29:01.000Z
lib/parser.ex
dragonwasrobot/i18n-to-elm
e04311464b0c8543be930923c14d0da8c9a89518
[ "MIT" ]
3
2017-08-25T19:18:25.000Z
2020-03-03T22:05:41.000Z
lib/parser.ex
dragonwasrobot/i18n-to-elm
e04311464b0c8543be930923c14d0da8c9a89518
[ "MIT" ]
1
2019-02-02T16:35:56.000Z
2019-02-02T16:35:56.000Z
defmodule I18n2Elm.Parser do @moduledoc ~S""" Parses JSON i18n files into an intermediate representation to be used for e.g. printing elm types and functions. """ require Logger alias I18n2Elm.Types.Translation @spec parse_translation_files([String.t()]) :: [Translation.t()] def parse_translation_file...
28.247059
75
0.56768
21b820ddf111307ec80e27b37be15f8127d6e857
708
exs
Elixir
test/constant_test.exs
willpenington/bin_format
818cfab9c99928e7f664e84499130286462b5f8b
[ "MIT" ]
3
2015-11-05T02:49:18.000Z
2020-05-04T22:30:58.000Z
test/constant_test.exs
willpenington/bin_format
818cfab9c99928e7f664e84499130286462b5f8b
[ "MIT" ]
null
null
null
test/constant_test.exs
willpenington/bin_format
818cfab9c99928e7f664e84499130286462b5f8b
[ "MIT" ]
null
null
null
defmodule ConstantTests do use ExUnit.Case defmodule ConstantPacket do use BinFormat defformat do constant <<1,2,3>> integer :a, 10, 8 constant <<5, 6>> end end @sample_binary <<1,2,3,20,5,6>> @wrong_binary <<2,3,4,20,1,2>> defp sample_struct do %ConstantPacket{a: 2...
20.228571
65
0.687853
21b84513ecfb8964ccfe9982cd02a6912a806777
1,584
ex
Elixir
lib/webhooks_emitter/emitter.ex
VoiSmart/webhooks_emitter
d1aeaf87c0ee78901180354ecb01f6d472aab42c
[ "Apache-2.0" ]
3
2020-03-19T07:37:18.000Z
2020-03-30T11:45:31.000Z
lib/webhooks_emitter/emitter.ex
VoiSmart/webhooks_emitter
d1aeaf87c0ee78901180354ecb01f6d472aab42c
[ "Apache-2.0" ]
2
2020-10-06T11:03:37.000Z
2020-11-17T13:44:50.000Z
lib/webhooks_emitter/emitter.ex
VoiSmart/webhooks_emitter
d1aeaf87c0ee78901180354ecb01f6d472aab42c
[ "Apache-2.0" ]
2
2020-10-06T10:17:11.000Z
2020-10-06T12:13:39.000Z
defmodule WebhooksEmitter.Emitter do @moduledoc false alias WebhooksEmitter.Emitter.Supervisor, as: EmitterSup alias WebhooksEmitter.Emitter.Worker def registry_name do WebhooksEmitter.EmittersRegistry end def start_emitter(emitter_id, event_names, config) do spec = %{ id: emitter_spec_id(em...
25.967213
81
0.712121
21b860b16d63c4481a75e956ec833de2a96106d6
342
ex
Elixir
lib/supabase_surface/components/icons/icon_battery.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_battery.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_battery.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconBattery do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.battery(width: icon_size, height: icon_size)} </IconContain...
22.8
65
0.719298
21b8747901d6e6ca8b1a15422cb1d3971a972aad
596
exs
Elixir
mix.exs
micheleberetta98/qkd-sim
7766797fbf5e8056947f8a121e3b3d35bd8466b8
[ "MIT" ]
2
2021-05-25T21:17:44.000Z
2021-06-07T12:03:22.000Z
mix.exs
micheleberetta98/qkd-sim
7766797fbf5e8056947f8a121e3b3d35bd8466b8
[ "MIT" ]
null
null
null
mix.exs
micheleberetta98/qkd-sim
7766797fbf5e8056947f8a121e3b3d35bd8466b8
[ "MIT" ]
null
null
null
defmodule Qkdsim.MixProject do use Mix.Project def project do [ app: :qkdsim, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appl...
19.866667
87
0.563758
21b89537b4ea435fc3c1eb10e15b3b90d7336999
82
ex
Elixir
lib/breadcrumbs/schema/scrape_data.ex
azohra/breadcrumbs
6466e66d5a2a8fb103db5d1d8ddf43b92d1e13a0
[ "MIT" ]
3
2018-11-09T18:18:40.000Z
2018-12-10T21:10:21.000Z
lib/breadcrumbs/schema/scrape_data.ex
azohra/Breadcrumbs
6466e66d5a2a8fb103db5d1d8ddf43b92d1e13a0
[ "MIT" ]
null
null
null
lib/breadcrumbs/schema/scrape_data.ex
azohra/Breadcrumbs
6466e66d5a2a8fb103db5d1d8ddf43b92d1e13a0
[ "MIT" ]
null
null
null
defmodule ScrapeData do @moduledoc false defstruct valid: [], errors: [] end
13.666667
33
0.707317
21b8a11792ae37233b69a6a9e96b458b9d6e673d
1,191
exs
Elixir
config/test.exs
karabiner-inc/materia_batch
92508508e2cfcdf8c938093e5cdc5b11b730ca67
[ "Apache-2.0" ]
null
null
null
config/test.exs
karabiner-inc/materia_batch
92508508e2cfcdf8c938093e5cdc5b11b730ca67
[ "Apache-2.0" ]
1
2019-12-13T06:26:50.000Z
2019-12-13T06:26:55.000Z
config/test.exs
karabiner-inc/materia_batch
92508508e2cfcdf8c938093e5cdc5b11b730ca67
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :materia_batch, MateriaBatchWeb.Test.Endpoint, http: [port: 4001], # server: false, debug_errors: true, code_reloader: false, check_origin: false, watchers: [] # Print only warnings and...
27.068182
70
0.759026
21b8c12a5fa883c77ec805693e73cc41ecb190ec
4,763
ex
Elixir
lib/codes/codes_g04.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_g04.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_g04.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_G04 do alias IcdCode.ICDCode def _G0400 do %ICDCode{full_code: "G0400", category_code: "G04", short_code: "00", full_name: "Acute disseminated encephalitis and encephalomyelitis, unspecified", short_name: "Acute disseminated encephalitis and...
38.41129
117
0.665967
21b8e59820fc4335174ed931bcc614e2ced151e3
6,301
exs
Elixir
test/storage/read_events_test.exs
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
test/storage/read_events_test.exs
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
1
2018-08-23T16:47:17.000Z
2018-08-23T19:56:42.000Z
test/storage/read_events_test.exs
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
1
2018-07-30T18:25:06.000Z
2018-07-30T18:25:06.000Z
defmodule EventStore.Storage.ReadEventsTest do use EventStore.StorageCase alias EventStore.EventFactory alias EventStore.{RecordedEvent,Storage} alias EventStore.Storage.{Appender,CreateStream} @all_stream_id 0 describe "read stream forward" do test "when stream does not exist", %{conn: conn} do ...
40.133758
108
0.699254
21b9070331eb3fcc29bef39033409bd24eba4754
2,482
ex
Elixir
lib/liberator_example_web/controllers/post_controller.ex
Cantido/liberator_example
d14014277cdc803a8ef895f80aac0651cea7108e
[ "MIT" ]
null
null
null
lib/liberator_example_web/controllers/post_controller.ex
Cantido/liberator_example
d14014277cdc803a8ef895f80aac0651cea7108e
[ "MIT" ]
null
null
null
lib/liberator_example_web/controllers/post_controller.ex
Cantido/liberator_example
d14014277cdc803a8ef895f80aac0651cea7108e
[ "MIT" ]
null
null
null
defmodule LiberatorExampleWeb.PostController do use Liberator.Resource alias LiberatorExample.Blog alias LiberatorExample.Blog.Post require Logger @impl true def allowed_methods(_), do: ["GET", "POST", "PUT", "DELETE"] @impl true def available_media_types(_), do: ["application/json"] @impl true ...
22.563636
95
0.65552
21b9108934d5a79a7ac66253126439fcb2a1b81b
1,252
exs
Elixir
config/config.exs
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
null
null
null
config/config.exs
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
2
2021-03-10T06:19:38.000Z
2021-05-11T02:11:14.000Z
config/config.exs
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
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 :full_stackory_slack, ecto_repos: [Full...
33.837838
86
0.786741
21b91b61755ffa71ab2804d9a47bfa89d9fc8ac4
3,140
ex
Elixir
lib/cassandra_ecto/connection.ex
vintikzzz/cassandra_ecto
95375fbc20bd7aedc81d38fe791086cab0d86e84
[ "Apache-2.0" ]
35
2016-12-12T01:21:10.000Z
2022-03-17T13:31:11.000Z
lib/cassandra_ecto/connection.ex
vintikzzz/cassandra_ecto
95375fbc20bd7aedc81d38fe791086cab0d86e84
[ "Apache-2.0" ]
14
2016-12-24T19:38:55.000Z
2018-03-15T17:57:44.000Z
lib/cassandra_ecto/connection.ex
vintikzzz/cassandra_ecto
95375fbc20bd7aedc81d38fe791086cab0d86e84
[ "Apache-2.0" ]
12
2017-02-21T02:35:08.000Z
2018-09-01T09:32:31.000Z
defmodule Cassandra.Ecto.Connection do @moduledoc """ Manages connection to Cassandra DB. """ use GenServer import Supervisor.Spec alias Cassandrex, as: C alias Cassandra.Ecto.Log @conn_opts [:keyspace, :auth, :ssl, :protocol_version, :pool_max_size, :pool_min_size, :pool_cull_interval] @defaul...
29.904762
85
0.641401
21b93039fe41656c338e6525c077b53adc7230ca
2,422
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instances_get_effective_firewalls_response_effective_firewall_policy.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/instances_get_effective_firewalls_response_effective_firewall_policy.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/instances_get_effective_firewalls_response_effective_firewall_policy.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...
37.84375
158
0.710983
21b9388f25f3ba238a140f77ea13dc1005df7b3b
3,103
ex
Elixir
apps/mishka_user/lib/acl/acl_management.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_user/lib/acl/acl_management.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_user/lib/acl/acl_management.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
defmodule MishkaUser.Acl.AclManagement do use GenServer, restart: :temporary require Logger alias MishkaUser.Acl.AclDynamicSupervisor @type params() :: map() @type id() :: String.t() @type token() :: String.t() @spec start_link(keyword) :: :ignore | {:error, any} | {:ok, pid} def start_link(args) do ...
26.07563
130
0.646793
21b944fd6e83c1b3c786f32c3a80c52308671909
4,792
ex
Elixir
lib/typo/pdf/annotation.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/pdf/annotation.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/pdf/annotation.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
# # Copyright 2022, John Vinters <john.vinters@gmail.com> # # 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 appli...
35.761194
89
0.646077
21b94761f756d055f94fca23a7a2ec9cb693ce16
1,180
ex
Elixir
lib/mix/lib/mix/tasks/local.rebar.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/tasks/local.rebar.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/local.rebar.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Local.Rebar do use Mix.Task @rebar_url "http://s3.hex.pm/rebar" @shortdoc "Install rebar locally" @moduledoc """ Fetch a copy of rebar from the given path or url. It defaults to a rebar copy that ships with Elixir source if available or fetches it from #{@rebar_url}. The local co...
28.095238
92
0.680508
21b949e1be5b29436712b420e56b2a98a2174fb6
1,025
exs
Elixir
mix.exs
sashman/absinthe_gen
76700d9d53a94168bb57075de44754f08f1b0e2b
[ "MIT" ]
23
2019-08-02T13:08:33.000Z
2022-01-08T11:41:25.000Z
mix.exs
sashman/absinthe_gen
76700d9d53a94168bb57075de44754f08f1b0e2b
[ "MIT" ]
4
2019-11-04T21:58:04.000Z
2021-09-16T21:51:22.000Z
mix.exs
sashman/absinthe_gen
76700d9d53a94168bb57075de44754f08f1b0e2b
[ "MIT" ]
1
2022-02-17T16:42:48.000Z
2022-02-17T16:42:48.000Z
defmodule AbsintheGen.MixProject do use Mix.Project def project do [ app: :absinthe_gen, version: "0.2.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, dialyzer: [plt_add_apps: [:mix]], build_embedded: Mix.env() == :prod, description: description(), pac...
22.282609
70
0.586341
21b963036d53d387878290f09510e50a4d3e0684
938
ex
Elixir
apps/admin_app/lib/admin_app_web/views/shipping_policy_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/admin_app/lib/admin_app_web/views/shipping_policy_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/views/shipping_policy_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.ShippingPolicyView do use AdminAppWeb, :view alias Snitch.Data.Schema.ShippingRuleIdentifier def check_identifier(:product, shipping_rule) do product_identifers = ShippingRuleIdentifier.product_identifier() shipping_rule.shipping_rule_identifier.code in product_identifers end d...
31.266667
69
0.801706
21b96afe34bbfdb7dd08cd102d49d941443ef7ee
29,796
exs
Elixir
test/floki/html/generated/tokenizer/namedEntities_part4_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
test/floki/html/generated/tokenizer/namedEntities_part4_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
test/floki/html/generated/tokenizer/namedEntities_part4_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.HTML.Generated.Tokenizer.NamedentitiesPart4Test do use ExUnit.Case, async: true # NOTE: This file was generated by "mix generate_tokenizer_tests namedEntities.test". # html5lib-tests rev: e52ff68cc7113a6ef3687747fa82691079bf9cc5 alias Floki.HTML.Tokenizer test "tokenize/1 Bad named entity: ...
24.645161
87
0.649215
21b97e290f4246f42a8c86f101c2eb065adf7f1d
3,786
exs
Elixir
test/macros/generate_defer_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/macros/generate_defer_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/macros/generate_defer_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
#defmodule StateServerTest.Macros.GenerateDeferTest do # use ExUnit.Case, async: true # # alias StateServer.Macros # # test "generate_defer for handle_call snapshot" do # assert (~S""" # foo |> case do # :defer -> # if function_exported?(data.module, :__handle_call_shim__, 4) do # data.mod...
33.210526
136
0.485737
21b981d4e909ac91b8f5022f651b0b691a42420b
1,701
ex
Elixir
lib/chatbot_web/endpoint.ex
mikehelmick/meme-bot
52a84cfb3f5ddcdddadf59b0ba3976f9e3f23800
[ "Apache-2.0" ]
7
2019-04-05T06:12:56.000Z
2021-04-03T11:39:40.000Z
lib/chatbot_web/endpoint.ex
mikehelmick/meme-bot
52a84cfb3f5ddcdddadf59b0ba3976f9e3f23800
[ "Apache-2.0" ]
null
null
null
lib/chatbot_web/endpoint.ex
mikehelmick/meme-bot
52a84cfb3f5ddcdddadf59b0ba3976f9e3f23800
[ "Apache-2.0" ]
3
2019-04-20T13:05:48.000Z
2019-06-05T16:52:46.000Z
defmodule ChatbotWeb.Endpoint do use Phoenix.Endpoint, otp_app: :chatbot socket "/socket", ChatbotWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static files in production. plug Plug.Static,...
28.35
95
0.703116
21b9866c8760d4a0c145f73331201b1c06e4a8da
2,065
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/dns_record_set.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/dns_record_set.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/dns_record_set.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.22807
137
0.697337
21b9e55e21bbc909c6645cf1c12547926d818937
77
ex
Elixir
lib/not_qwerty123/gettext.ex
kianmeng/not_qwerty123
9778ab77db866778ad7a5874be6f4cf2818a5933
[ "MIT" ]
39
2016-07-09T14:07:52.000Z
2020-12-25T00:21:44.000Z
lib/not_qwerty123/gettext.ex
kianmeng/not_qwerty123
9778ab77db866778ad7a5874be6f4cf2818a5933
[ "MIT" ]
13
2016-07-09T14:05:20.000Z
2022-01-20T02:42:41.000Z
lib/not_qwerty123/gettext.ex
kianmeng/not_qwerty123
9778ab77db866778ad7a5874be6f4cf2818a5933
[ "MIT" ]
11
2016-07-09T14:02:21.000Z
2021-07-01T00:28:27.000Z
defmodule NotQwerty123.Gettext do use Gettext, otp_app: :not_qwerty123 end
19.25
38
0.818182
21b9ede3bc3880b07b1812f724fe562524f6eb9e
1,462
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/custom_field.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/jobs/lib/google_api/jobs/v2/model/custom_field.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/custom_field.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
29.836735
79
0.727086
21b9f74ef3115d99654824b2fcc82b73219d64a4
4,265
ex
Elixir
messages/elixir/lib/cucumber_messages/generated/elixir_cucumber_messages_timestamp.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
1
2020-12-14T07:17:55.000Z
2020-12-14T07:17:55.000Z
messages/elixir/lib/cucumber_messages/generated/elixir_cucumber_messages_timestamp.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
null
null
null
messages/elixir/lib/cucumber_messages/generated/elixir_cucumber_messages_timestamp.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
null
null
null
# credo:disable-for-this-file defmodule(CucumberMessages.Timestamp) do @moduledoc(false) ( defstruct(seconds: 0, nanos: 0, __uf__: []) ( @spec(encode(struct) :: {:ok, iodata} | {:error, any}) def(encode(msg)) do try do {:ok, encode!(msg)} rescue e -> ...
32.557252
119
0.534349
21b9f88234b4e35b2ce475685a9cd61fa3886d60
961
exs
Elixir
test/json_schema_test_suite/draft7/min_properties_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/json_schema_test_suite/draft7/min_properties_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/json_schema_test_suite/draft7/min_properties_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule JsonSchemaTestSuite.Draft7.MinPropertiesTest do use ExUnit.Case import Xema, only: [valid?: 2] describe ~s|minProperties validation| do setup do %{ schema: Xema.from_json_schema( %{"minProperties" => 1}, draft: "draft7", atom: :force ...
22.348837
60
0.562955
21ba1447dbbe2b144ef3bc9f6a029a3a520a067f
1,399
exs
Elixir
test/erlef/agenda_test.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
test/erlef/agenda_test.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
test/erlef/agenda_test.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule Erlef.AgendaTest do use Erlef.DataCase alias Erlef.Agenda # n.b, The following tests are merely to check : # - can we start up? # - does the GenServer get all working group calendars and combine them and not crash? # - are the combined results made available? # - can handle_info/2 be called an...
32.534884
97
0.68263
21ba3df7da2fd2ad0d212529f8ca178e36032fae
2,560
exs
Elixir
test/models/user_test.exs
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
96
2016-02-26T20:20:33.000Z
2020-10-02T16:21:00.000Z
test/models/user_test.exs
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
12
2016-02-27T16:23:55.000Z
2017-07-04T13:46:00.000Z
test/models/user_test.exs
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
24
2016-03-10T23:55:33.000Z
2019-06-07T18:32:34.000Z
defmodule Lyn.UserTest do use Lyn.ModelCase alias Lyn.User alias Lyn.Factory @valid_attrs %{email: "test@test.com", password: "test1234", password_confirmation: "test1234", username: "testuser"} @invalid_attrs %{} setup do role = Factory.create(:role, admin: false) {:ok, role: role} end defp...
38.787879
159
0.703906
21ba669ed4ea3105d91af5ca43d9222354a375e3
96
exs
Elixir
.formatter.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
3
2021-04-16T21:54:55.000Z
2021-04-30T22:15:41.000Z
.formatter.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
1
2021-06-29T15:54:19.000Z
2021-06-29T15:54:19.000Z
.formatter.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
2
2021-04-16T22:23:16.000Z
2021-05-26T15:52:55.000Z
[ import_deps: [:phoenix], inputs: ["*.{ex,exs}", "{apps,config,lib,test}/**/*.{ex,exs}"] ]
19.2
64
0.53125
21ba81e6f9c2588370781d0919cb54907d62486e
9,940
exs
Elixir
test/mailer_notifier_test.exs
rafaeliga/boom
809d5575a3ca74239e4bdb906cc2de5fd6cd3e4e
[ "MIT" ]
null
null
null
test/mailer_notifier_test.exs
rafaeliga/boom
809d5575a3ca74239e4bdb906cc2de5fd6cd3e4e
[ "MIT" ]
null
null
null
test/mailer_notifier_test.exs
rafaeliga/boom
809d5575a3ca74239e4bdb906cc2de5fd6cd3e4e
[ "MIT" ]
null
null
null
defmodule MailerNotifierTest do use ExUnit.Case use Plug.Test doctest BoomNotifier @receive_timeout 500 defmodule TestController do use Phoenix.Controller import Plug.Conn defmodule TestException do defexception plug_status: 403, message: "booom!" end def index(_conn, _params) d...
27.611111
103
0.564286
21ba8f738ff5c4a9627bd0bf3daa16e45a6889a4
1,504
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/apk_detail.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/apk_detail.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/apk_detail.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...
31.333333
93
0.742021
21bad3e3e265311115dbf4eaa6ab0fe40e26c537
989
exs
Elixir
apps/ldap_search/test/ldap_search_test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
apps/ldap_search/test/ldap_search_test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
apps/ldap_search/test/ldap_search_test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
defmodule LdapSearchTest do use ExUnit.Case test "finding a non-existent email returns an empty list" do assert LdapSearch.find_by_email("not.a.real.email@example.com") == [] end test "finding an existing email address returns that person" do assert LdapSearch.find_by_email("jane@example.com") == ...
39.56
128
0.632963
21badb64f1e7677241aeacb379d3068b91e30375
1,367
exs
Elixir
test/process_managers/process_manager_instance_exception_test.exs
Cantido/commanded
e8058c4381e16547e6960eaf9f38619c6a43b18f
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/process_managers/process_manager_instance_exception_test.exs
Cantido/commanded
e8058c4381e16547e6960eaf9f38619c6a43b18f
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/process_managers/process_manager_instance_exception_test.exs
Cantido/commanded
e8058c4381e16547e6960eaf9f38619c6a43b18f
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.ProcessManagers.ProcessManagerInstanceExceptionTest do use ExUnit.Case alias Commanded.ProcessManagers.{ExampleApp, ExampleRouter, ExampleProcessManager} alias Commanded.ProcessManagers.ExampleAggregate.Commands.{Error, Raise, Start} setup do start_supervised!(ExampleApp) :ok en...
31.790698
97
0.754938
21bb1814dc4ebb8721fd92bcdd7662c81d7c19f5
3,563
exs
Elixir
test/grizzly/smart_start/meta_extension/advanced_joining_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/smart_start/meta_extension/advanced_joining_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/smart_start/meta_extension/advanced_joining_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.SmartStart.MetaExtension.AdvancedJoiningTest do use ExUnit.Case, async: true alias Grizzly.SmartStart.MetaExtension.AdvancedJoining describe "creating a AdvancedJoining.t()" do test "when all is okay" do keys = [:s2_unauthenticated] expected_joining = %AdvancedJoining{keys: key...
29.204918
94
0.666012
21bb1883bfaca648adf2cdb409b1dd61bf769ce0
3,108
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__audit_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__audit_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__audit_config.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...
56.509091
1,110
0.748713
21bb2295da050e2d00a2725ec6f133bd6d6180b7
5,783
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/note.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/note.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/note.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
60.873684
164
0.710704
21bb2a1ac35e2c8132b5469d57b6dddb6992f73a
582
exs
Elixir
channels/mix.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/mix.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/mix.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
defmodule Channels.MixProject do use Mix.Project def project do [ app: :hypertrons_channels, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
18.774194
59
0.554983
21bb35c22582199df2a593c6cd7e5bcbe4b2ac4d
2,667
ex
Elixir
web/lib/rfid_latachz/attendances.ex
latachz/latachz-rfid
dbb1462fa258568831de3600ae6108e91080cf0a
[ "PostgreSQL", "Unlicense", "MIT" ]
1
2020-01-26T05:41:49.000Z
2020-01-26T05:41:49.000Z
web/lib/rfid_latachz/attendances.ex
latachz/latachz-rfid
dbb1462fa258568831de3600ae6108e91080cf0a
[ "PostgreSQL", "Unlicense", "MIT" ]
1
2020-05-26T09:28:01.000Z
2020-05-26T09:28:01.000Z
web/lib/rfid_latachz/attendances.ex
latachz/latachz-rfid
dbb1462fa258568831de3600ae6108e91080cf0a
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
defmodule RfidLatachz.Attendances do @moduledoc """ The Attendances context. """ import Ecto.Query, warn: false alias RfidLatachz.Repo alias RfidLatachz.Attendances.Attendance alias RfidLatachz.Users alias Phoenix.PubSub import Ecto @doc """ Returns the list of attendances. ## Examples ...
20.515385
80
0.637045
21bb469262cf52ec4b3718b87246f278cd357483
872
exs
Elixir
test/symmetric_encryption_ecto/type/json_test.exs
bpardee/symmetric_encryption_ecto
643e2ffba3f3709261b29e180fca52fcc3ccd89f
[ "Apache-2.0" ]
null
null
null
test/symmetric_encryption_ecto/type/json_test.exs
bpardee/symmetric_encryption_ecto
643e2ffba3f3709261b29e180fca52fcc3ccd89f
[ "Apache-2.0" ]
null
null
null
test/symmetric_encryption_ecto/type/json_test.exs
bpardee/symmetric_encryption_ecto
643e2ffba3f3709261b29e180fca52fcc3ccd89f
[ "Apache-2.0" ]
null
null
null
defmodule SymmetricEncryptionEcto.Type.JSONTest do use ExUnit.Case, async: true alias SymmetricEncryptionEcto.Type.JSON test "json types" do map = %{"foo" => 1, "bar" => "zulu"} json_map = Jason.encode!(map) fixed_encrypted_map = SymmetricEncryption.fixed_encrypt(json_map) random_encrypted_map =...
39.636364
79
0.68578
21bb53a39a4fbc90987cf4002816c995e2cfb3e0
2,330
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/status.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...
43.962264
427
0.723605
21bb7b23a6340df09bbe59f6cff2811b526a22f4
290
ex
Elixir
lib/elirc/extensions/twitch/twitch_channel.ex
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
20
2015-06-18T03:30:58.000Z
2021-01-11T19:55:00.000Z
lib/elirc/extensions/twitch/twitch_channel.ex
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
1
2015-06-24T01:03:31.000Z
2015-06-24T12:41:21.000Z
lib/elirc/extensions/twitch/twitch_channel.ex
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
7
2015-06-22T14:25:12.000Z
2016-01-21T03:39:02.000Z
defmodule TwitchChannel do use Elirc.Extension.Channel def start_link(ext) do GenServer.start_link(__MODULE__, [ext], [name: __MODULE__]) end def init([ext]) do {:ok, [ext]} end def add_user({user, channel}) do IO.inspect user {user, channel} end end
16.111111
43
0.651724
21bb9ca8950d2c5a22881965750db38d6de31e2d
1,604
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/environment_variable.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/environment_variable.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/environment_variable.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# 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.45098
78
0.733167
21bbb97726e5f0fe814b0557758b00d9f3fa3545
1,585
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/test_iam_permissions_response.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...
33.723404
143
0.755836
21bbc6a7674ade6945f91eb632480ba415524bfe
1,554
exs
Elixir
apps/omg_status/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_status/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_status/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
defmodule OMG.Status.Mixfile do use Mix.Project def project() do [ app: :omg_status, version: version(), build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", elixirc_paths: elix...
27.263158
110
0.550837
21bbdf3686038300d91cb9343c626118d710dc65
674
exs
Elixir
Elixir/Basics/first_app/mix.exs
xuedong/programming-language-learning
daba94ffcf99f2ff81224ccbd336b2c0e4013ba1
[ "MIT" ]
null
null
null
Elixir/Basics/first_app/mix.exs
xuedong/programming-language-learning
daba94ffcf99f2ff81224ccbd336b2c0e4013ba1
[ "MIT" ]
null
null
null
Elixir/Basics/first_app/mix.exs
xuedong/programming-language-learning
daba94ffcf99f2ff81224ccbd336b2c0e4013ba1
[ "MIT" ]
null
null
null
defmodule FirstApp.Mixfile do use Mix.Project def project do [app: :first_app, version: "0.0.1", elixir: "~> 1.1-dev", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` f...
20.424242
77
0.611276
21bbe816dfe09b82dc148c5a2b9335444424f25d
537
ex
Elixir
lib/lil_links_web/views/error_view.ex
EssenceOfChaos/lil_links
8666d317063b7388296cf11a4dec00a0c339db39
[ "MIT" ]
1
2019-04-24T03:02:27.000Z
2019-04-24T03:02:27.000Z
lib/lil_links_web/views/error_view.ex
EssenceOfChaos/lil_links
8666d317063b7388296cf11a4dec00a0c339db39
[ "MIT" ]
null
null
null
lib/lil_links_web/views/error_view.ex
EssenceOfChaos/lil_links
8666d317063b7388296cf11a4dec00a0c339db39
[ "MIT" ]
null
null
null
defmodule LilLinksWeb.ErrorView do use LilLinksWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message fr...
31.588235
83
0.72067
21bbf28853d83675cbd0bc09379c3111052d7881
270
ex
Elixir
lib/trento/domain/host/commands/update_heartbeat.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
lib/trento/domain/host/commands/update_heartbeat.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
lib/trento/domain/host/commands/update_heartbeat.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Domain.Commands.UpdateHeartbeat do @moduledoc """ Updated the host heartbeat. """ @required_fields :all use Trento.Command defcommand do field :host_id, :string field :heartbeat, Ecto.Enum, values: [:passing, :critical] end end
18
62
0.707407
21bbfb3851cb7f598ad7c2be95e82de5465ca1b1
2,676
exs
Elixir
test/plug/plug_accept_language_test.exs
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
test/plug/plug_accept_language_test.exs
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
test/plug/plug_accept_language_test.exs
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Plug.AcceptLanguage.Test do use ExUnit.Case, async: true use Plug.Test import ExUnit.CaptureLog import Plug.Conn, only: [put_req_header: 3] test "that the locale is set if the accept-language header is a valid locale name" do opts = Cldr.Plug.AcceptLanguage.init(cldr_backend: TestBackend....
29.406593
94
0.610613
21bc3946ee5896039cff82b1a7c477b0a841bbe1
7,118
exs
Elixir
test/rondo_server_test.exs
exstruct/rondo_server
55727d2f068c2e83c2528d0427aa088137f56664
[ "MIT" ]
1
2016-09-20T20:00:58.000Z
2016-09-20T20:00:58.000Z
test/rondo_server_test.exs
exstruct/rondo_server
55727d2f068c2e83c2528d0427aa088137f56664
[ "MIT" ]
null
null
null
test/rondo_server_test.exs
exstruct/rondo_server
55727d2f068c2e83c2528d0427aa088137f56664
[ "MIT" ]
null
null
null
defmodule Test.Rondo.Server do use ExUnit.Case alias __MODULE__.Client alias Usir.Message defmodule Hello do use Rondo.Component def render(%{"name" => name}) do el("Text", nil, [name]) end end defmodule Counter do defmodule Count do use Rondo.Action def affordance(_) d...
24.210884
111
0.54299
21bc4121a0af772e689b5fecd84305089c0270aa
6,674
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/api/resellernotify.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/api/resellernotify.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/api/resellernotify.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...
40.204819
170
0.697183
21bc6012d74533bae8b4e79e1e52eb9f0f3ecd3b
2,010
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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...
34.655172
180
0.755721
21bc870b095cef5aebbbe185ac850893d942599b
962
ex
Elixir
lib/changelog_web/views/news/news_issue_view.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog_web/views/news/news_issue_view.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog_web/views/news/news_issue_view.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.NewsIssueView do use ChangelogWeb, :public_view alias Changelog.{NewsItem, NewsAd} alias ChangelogWeb.{NewsItemView, SponsorView} def items_with_ads(items, []), do: items def items_with_ads(items, ads) do items |> Enum.chunk_every(3) |> Enum.with_index |> Enum.map(fn{i...
29.151515
136
0.660083
21bcb4e05f765ae4c272ccc93dfd646a9a6b6c19
2,365
ex
Elixir
server/lib/freedom_account.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
6
2019-04-03T19:16:01.000Z
2020-08-10T09:38:24.000Z
server/lib/freedom_account.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
32
2019-03-19T02:45:45.000Z
2021-12-05T06:58:07.000Z
server/lib/freedom_account.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
null
null
null
defmodule FreedomAccount do @moduledoc """ FreedomAccount domain and business logic. """ use Knigge, config_key: :freedom_account, default: __MODULE__.Impl, otp_app: :freedom_account alias FreedomAccount.Accounts alias FreedomAccount.Authentication alias FreedomAccount.Funds @type account...
30.714286
94
0.724313
21bcbf983de35cc79c0434d3121eff11f5479c86
1,735
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/add_chart_request.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/add_chart_request.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/add_chart_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...
36.914894
350
0.745245
21bce6f3994d40b9a7bc75d1060f9144129f0580
1,602
exs
Elixir
mix.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
mix.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
mix.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
defmodule EliscoreChat.Mixfile do use Mix.Project def project do [ app: :eliscore_chat, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), ...
26.262295
79
0.588015
21bd02033b4ff234ca3327b8590519d8cdb67146
1,637
ex
Elixir
lib/absinthe/schema/prototype/notation.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
lib/absinthe/schema/prototype/notation.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
lib/absinthe/schema/prototype/notation.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Prototype.Notation do @moduledoc false defmacro __using__(opts \\ []) do content(opts) end def content(_opts \\ []) do quote do use Absinthe.Schema @schema_provider Absinthe.Schema.Compiled @pipeline_modifier __MODULE__ directive :deprecated do ...
29.763636
92
0.628589
21bd0ebf37e0faff40d7628ec7e1ecedc66f95a0
2,323
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/list_app_profiles_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/list_app_profiles_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/list_app_profiles_response.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...
43.830189
305
0.742574
21bd17219a7c3ee71301f0c17695f6cdb65599d4
517
ex
Elixir
web/router.ex
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
web/router.ex
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
web/router.ex
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
defmodule TweetMap.Router do use TweetMap.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", TweetMap do pipe_th...
19.148148
57
0.675048
21bd5a907565bd2db560e12aeb6b3c3c6c31ee64
1,098
ex
Elixir
elixir/lib/homework_web/schemas/users_schema.ex
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
1
2021-03-15T04:09:23.000Z
2021-03-15T04:09:23.000Z
elixir/lib/homework_web/schemas/users_schema.ex
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
8
2022-01-17T20:50:29.000Z
2022-01-17T20:54:41.000Z
elixir/lib/homework_web/schemas/users_schema.ex
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
1
2022-01-19T06:55:41.000Z
2022-01-19T06:55:41.000Z
defmodule HomeworkWeb.Schemas.UsersSchema do @moduledoc """ Defines the graphql schema for user. """ use Absinthe.Schema.Notation alias HomeworkWeb.Resolvers.UsersResolver object :user do field(:id, non_null(:id)) field(:dob, :string) field(:first_name, :string) field(:last_name, :string) ...
23.869565
44
0.65847
21bd978387828ff9a338ae66bb31d7b4c353adc1
132
exs
Elixir
app_fw/test/app_fw_test.exs
samuelventura/nerves_sample_bbb_emmc
13b2d376b002c420f71f62cfe48fc3eea4c83a1d
[ "Apache-2.0" ]
null
null
null
app_fw/test/app_fw_test.exs
samuelventura/nerves_sample_bbb_emmc
13b2d376b002c420f71f62cfe48fc3eea4c83a1d
[ "Apache-2.0" ]
null
null
null
app_fw/test/app_fw_test.exs
samuelventura/nerves_sample_bbb_emmc
13b2d376b002c420f71f62cfe48fc3eea4c83a1d
[ "Apache-2.0" ]
null
null
null
defmodule AppFwTest do use ExUnit.Case doctest AppFw test "greets the world" do assert AppFw.hello() == :world end end
14.666667
34
0.69697
21bdb6220422eb328cd2ec1ddcc79b7cf2da5b0c
1,524
ex
Elixir
lib/rocketpay_web/endpoint.ex
nnmuniz/rocketpay
3174bcb6bed1578a1cd96e3be90499cc87382b21
[ "MIT" ]
2
2021-03-09T22:58:09.000Z
2021-03-28T12:22:11.000Z
lib/rocketpay_web/endpoint.ex
nnmuniz/rocketpay
3174bcb6bed1578a1cd96e3be90499cc87382b21
[ "MIT" ]
9
2021-02-28T20:29:58.000Z
2021-03-26T01:28:01.000Z
lib/rocketpay_web/endpoint.ex
nnmuniz/rocketpay
3174bcb6bed1578a1cd96e3be90499cc87382b21
[ "MIT" ]
1
2021-03-28T11:56:37.000Z
2021-03-28T11:56:37.000Z
defmodule RocketpayWeb.Endpoint do use Phoenix.Endpoint, otp_app: :rocketpay # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_rocke...
28.754717
97
0.717192
21bdf8cb98ad5a5e74c4bb05e1b44de8195db3b6
118
exs
Elixir
test/poliwave_test.exs
ZuraGuerra/poliwave
e961c0a4f47ca21377df860b48b7415ae50b1b99
[ "MIT" ]
null
null
null
test/poliwave_test.exs
ZuraGuerra/poliwave
e961c0a4f47ca21377df860b48b7415ae50b1b99
[ "MIT" ]
null
null
null
test/poliwave_test.exs
ZuraGuerra/poliwave
e961c0a4f47ca21377df860b48b7415ae50b1b99
[ "MIT" ]
null
null
null
defmodule PoliwaveTest do use ExUnit.Case doctest Poliwave test "the truth" do assert 1 + 1 == 2 end end
13.111111
25
0.677966