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
3f768f69e18fc2218cf3fc143531bb66ac4744f2
603
exs
Elixir
apps/game_of_life_web/test/views/error_view_test.exs
tslim/elixir-phoenix-life
c86fd69198c9193bdcd5b3b1b504f41f67268139
[ "MIT" ]
1
2016-09-28T07:38:55.000Z
2016-09-28T07:38:55.000Z
apps/game_of_life_web/test/views/error_view_test.exs
tslim/elixir-phoenix-life
c86fd69198c9193bdcd5b3b1b504f41f67268139
[ "MIT" ]
null
null
null
apps/game_of_life_web/test/views/error_view_test.exs
tslim/elixir-phoenix-life
c86fd69198c9193bdcd5b3b1b504f41f67268139
[ "MIT" ]
null
null
null
defmodule GameOfLife.Web.ErrorViewTest do use GameOfLife.Web.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(GameOfLife.Web.ErrorView, "404.html", []) == "Page not found" end test ...
27.409091
72
0.686567
3f769137ad4140759b045be917e2120d12858f01
4,679
exs
Elixir
test/mock_bus_test.exs
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
null
null
null
test/mock_bus_test.exs
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
null
null
null
test/mock_bus_test.exs
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
null
null
null
defmodule KaufmannEx.TestSupport.MockBusTest do use KaufmannEx.TestSupport.MockBus defmodule ExamplePublisher do def publish(event_name, payload, context \\ %{}) do message_body = %{ payload: payload, meta: event_metadata(event_name, context) } KaufmannEx.Publisher.publish(ev...
29.427673
97
0.653131
3f769ef626bf9597a223edaae4c9b4b4d1f808d4
1,695
ex
Elixir
lib/rps_web/controllers/user_controller.ex
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
3
2018-05-28T15:10:11.000Z
2020-08-02T21:14:25.000Z
lib/rps_web/controllers/user_controller.ex
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
lib/rps_web/controllers/user_controller.ex
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
defmodule RpsWeb.UserController do use RpsWeb, :controller plug Guardian.Plug.EnsureAuthenticated, [handler: __MODULE__] when action not in [:create] alias Rps.Accounts alias Rps.Accounts.User alias Rps.Accounts.Auth.Guardian action_fallback RpsWeb.FallbackController # @TODO: Implement a good signup p...
30.818182
92
0.679646
3f76d4e347908f957ecf9f69f4aa3f864078479d
3,263
ex
Elixir
lib/who_web/presenters/member_presenter.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
lib/who_web/presenters/member_presenter.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
lib/who_web/presenters/member_presenter.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule WhoWeb.MemberPresenter do @moduledoc """ Creates a data object containing all the important information regarding a Member. """ alias WhoWeb.MemberView @type t :: %__MODULE__{ name: String.t(), title: String.t(), state: String.t(), party: String.t(), chamber: String.t(), ...
30.495327
85
0.652467
3f77314d6ff4ed779bf6305a333134e08f0c352b
1,763
exs
Elixir
mix.exs
mnishiguchi/scd4x
4ad57b3b45d0a6a8302ee6e4fc41e6202af2fed5
[ "MIT" ]
null
null
null
mix.exs
mnishiguchi/scd4x
4ad57b3b45d0a6a8302ee6e4fc41e6202af2fed5
[ "MIT" ]
null
null
null
mix.exs
mnishiguchi/scd4x
4ad57b3b45d0a6a8302ee6e4fc41e6202af2fed5
[ "MIT" ]
null
null
null
defmodule SCD4X.MixProject do use Mix.Project @version "0.1.1" @source_url "https://github.com/mnishiguchi/scd4x" def project do [ app: :scd4x, version: @version, description: "Use Sensirion SCD4x CO2 sensors (SCD40 and SCD41) in Elixir", elixir: "~> 1.11", elixirc_paths: eli...
22.896104
100
0.550766
3f774ae49ef14f72ff114633750711144755e473
984
exs
Elixir
test/k8s/operation/path_test.exs
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
226
2019-02-03T00:49:32.000Z
2022-03-30T15:02:22.000Z
test/k8s/operation/path_test.exs
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
109
2019-01-20T20:39:33.000Z
2022-03-31T20:21:34.000Z
test/k8s/operation/path_test.exs
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
43
2019-02-07T01:18:31.000Z
2022-03-08T04:15:33.000Z
defmodule K8s.Operation.PathTest do use ExUnit.Case, async: true doctest K8s.Operation.Path describe "build/1" do test "when a required param is missing, returns an error" do operation = %K8s.Operation{ method: :get, verb: :get, data: nil, path_params: [namespace: "defau...
28.114286
90
0.594512
3f7753c6722baf745bb38bee4c857346e86723bd
541
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/patch_route_filter.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/patch_route_filter.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/patch_route_filter.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.PatchRouteFilter do @moduledoc """ Route Filter Resource. """ @derive [Poison.Encoder] defstru...
20.807692
89
0.713494
3f77905765f1b96be34cb7fa567efecc4c46b0ba
552
ex
Elixir
lib/couchdb_connector/supervisor.ex
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
64
2016-01-20T17:48:05.000Z
2017-05-24T18:00:14.000Z
lib/couchdb_connector/supervisor.ex
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
40
2016-01-16T18:39:46.000Z
2017-06-03T10:02:54.000Z
lib/couchdb_connector/supervisor.ex
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
22
2015-12-28T00:23:20.000Z
2017-05-28T21:58:21.000Z
defmodule Couchdb.Connector.Supervisor do use Supervisor @moduledoc """ The main supervisor of the couchdb_connector application """ @spec start_link(String.t) :: {:ok, pid()} def start_link(name) do Supervisor.start_link(__MODULE__, :ok, name: name) end @spec start(term, map()) :: {:ok, pid()} ...
24
75
0.666667
3f77914d1a0ad3e10b08f3d39c850246ed57a5d7
266
ex
Elixir
lib/glasnost/repo.ex
cyberpunk-ventures/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
26
2017-03-04T20:07:09.000Z
2018-08-15T10:16:06.000Z
lib/glasnost/repo.ex
cyberpunk-ventures/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
18
2017-03-18T13:59:31.000Z
2018-09-06T10:08:33.000Z
lib/glasnost/repo.ex
metachaos-systems/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
9
2017-03-16T19:02:04.000Z
2018-06-02T23:44:52.000Z
defmodule Glasnost.Repo do use Ecto.Repo, otp_app: :glasnost @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.166667
66
0.699248
3f77a050c35c94252dfb29ab0785a48ab6e28f73
2,391
ex
Elixir
lib/everex/note_store.ex
jwarlander/everex
559a18e45054abd7d2adfeb3ef060f79b58308e9
[ "Apache-2.0" ]
11
2015-02-22T17:42:03.000Z
2018-09-23T07:48:57.000Z
lib/everex/note_store.ex
jwarlander/everex
559a18e45054abd7d2adfeb3ef060f79b58308e9
[ "Apache-2.0" ]
38
2015-03-11T16:13:27.000Z
2021-08-02T07:14:50.000Z
lib/everex/note_store.ex
jwarlander/everex
559a18e45054abd7d2adfeb3ef060f79b58308e9
[ "Apache-2.0" ]
4
2015-05-20T01:33:33.000Z
2020-06-09T04:44:46.000Z
# # Copyright 2015 Johan Wärlander # # 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 wr...
31.460526
76
0.673358
3f77ae730c047fcfd2a75f34b8a85e20817f47fb
5,278
exs
Elixir
test/phoenix/controller/render_test.exs
lancehalvorsen/phoenix
f366b7a399db04badb816f74851040fa141c51ee
[ "MIT" ]
null
null
null
test/phoenix/controller/render_test.exs
lancehalvorsen/phoenix
f366b7a399db04badb816f74851040fa141c51ee
[ "MIT" ]
null
null
null
test/phoenix/controller/render_test.exs
lancehalvorsen/phoenix
f366b7a399db04badb816f74851040fa141c51ee
[ "MIT" ]
null
null
null
Code.require_file "../../fixtures/views.exs", __DIR__ defmodule Phoenix.Controller.RenderTest do use ExUnit.Case, async: true use RouterHelper import Phoenix.Controller defp conn() do conn(:get, "/") |> put_view(MyApp.UserView) |> fetch_query_params end defp layout_conn() do conn() |> put_layout...
32.380368
93
0.666919
3f77bcc8d5c6f6d4a840f87c8ab3d1ba1ec67ef1
1,117
ex
Elixir
test/support/channel_case.ex
joaopealves/heat_tags
95cbc1bc0d74a1ba7f715e77c33d0696a879a3fe
[ "MIT" ]
null
null
null
test/support/channel_case.ex
joaopealves/heat_tags
95cbc1bc0d74a1ba7f715e77c33d0696a879a3fe
[ "MIT" ]
null
null
null
test/support/channel_case.ex
joaopealves/heat_tags
95cbc1bc0d74a1ba7f715e77c33d0696a879a3fe
[ "MIT" ]
null
null
null
defmodule HeatTagsWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts ...
27.243902
70
0.728738
3f7812571b2da1281dc7db76b891d0ac5e082cdd
604
ex
Elixir
lib/edgedb/protocol/messages/server/restore_ready.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/messages/server/restore_ready.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/messages/server/restore_ready.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Messages.Server.RestoreReady do use EdgeDB.Protocol.Message alias EdgeDB.Protocol.{ Datatypes, Types } defmessage( name: :restore_ready, server: true, mtype: 0x2B, fields: [ headers: Keyword.t(), jobs: Datatypes.UInt16.t() ] ) @impl EdgeDB...
20.133333
62
0.650662
3f7821bcdd4966ad44c785ce085dc0481a1b3d55
3,105
exs
Elixir
test/unit/configuration/plugin_test.exs
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
328
2017-05-05T15:19:46.000Z
2022-03-11T10:52:45.000Z
test/unit/configuration/plugin_test.exs
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
83
2017-04-30T10:36:15.000Z
2019-10-14T13:14:34.000Z
test/unit/configuration/plugin_test.exs
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
29
2017-05-02T14:36:50.000Z
2021-09-03T13:36:17.000Z
defmodule Annon.Configuration.PluginTest do @moduledoc false use Annon.DataCase, async: true alias Annon.Configuration.Plugin alias Annon.Configuration.Schemas.Plugin, as: PluginSchema alias Annon.Factories.Configuration, as: ConfigurationFactory setup do %{api: ConfigurationFactory.insert(:api)} end...
39.807692
93
0.701127
3f782510efe2ad936701cf06513fb4d16b666349
678
ex
Elixir
test/commands/support/composite/bank_account_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/commands/support/composite/bank_account_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/commands/support/composite/bank_account_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.Commands.Composite.BankAccountRouter do @moduledoc false use Commanded.Commands.Router alias Commanded.ExampleDomain.BankAccount alias Commanded.ExampleDomain.BankAccount.Commands.{OpenAccount, DepositMoney, WithdrawMoney} alias Commanded.ExampleDomain.DepositMoneyHandler alias Command...
37.666667
95
0.845133
3f782d1424916ec4de0092dd03e10ed1834b8199
654
exs
Elixir
apps/artemis_web/test/artemis_web/views/error_view_test.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_web/test/artemis_web/views/error_view_test.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
3
2019-03-05T23:55:09.000Z
2019-05-29T13:46:34.000Z
apps/artemis_web/test/artemis_web/views/error_view_test.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisWeb.ErrorViewTest do use ArtemisWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 401.html" do assert render_to_string(ArtemisWeb.ErrorView, "401.html", []) =~ "Unauthorized" end test "renders 403.html" do ...
28.434783
92
0.717125
3f785fd1d00e95348c43886379f76cbf5237d91a
2,602
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/word_info.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/speech/lib/google_api/speech/v1/model/word_info.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/word_info.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.464286
377
0.726364
3f786d469b1224a578551e81ad2c418b7b6f290e
526
ex
Elixir
lib/ua_inspector/database/supervisor.ex
lessless/ua_inspector
6c01e12f80c629916de0c53ae5950a89dbd5de17
[ "Apache-2.0" ]
null
null
null
lib/ua_inspector/database/supervisor.ex
lessless/ua_inspector
6c01e12f80c629916de0c53ae5950a89dbd5de17
[ "Apache-2.0" ]
null
null
null
lib/ua_inspector/database/supervisor.ex
lessless/ua_inspector
6c01e12f80c629916de0c53ae5950a89dbd5de17
[ "Apache-2.0" ]
null
null
null
defmodule UAInspector.Database.Supervisor do @moduledoc false use Supervisor alias UAInspector.Database @doc false def start_link(default \\ nil) do Supervisor.start_link(__MODULE__, default) end @doc false def init(_state) do children = [ Database.Bots, Database.BrowserEngines, ...
18.785714
53
0.697719
3f787aea7af3c0687a3ba4bbaa8fe3e7f947ceeb
13,098
ex
Elixir
lib/hexpm/repository/registry_builder.ex
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/registry_builder.ex
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/registry_builder.ex
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.RegistryBuilder do @doc """ Builds the ets registry file. Only one build process should run at a given time, but if a rebuild request comes in during building we need to rebuild immediately after again. """ import Ecto.Query, only: [from: 2] require Hexpm.Repo require Logger ...
28.723684
98
0.624599
3f787f62dd297f866a22826698c071abdb466433
446
ex
Elixir
lib/graphql_with_absinthe_on_phoenix/graphql/types/verse.ex
wbotelhos/graphql-with-absinthe-on-phoenix
f831d4c78bbba821ef2dd6deee5e3640aff864a5
[ "MIT" ]
1
2021-08-03T20:30:49.000Z
2021-08-03T20:30:49.000Z
lib/graphql_with_absinthe_on_phoenix/graphql/types/verse.ex
wbotelhos/graphql-with-absinthe-on-phoenix
f831d4c78bbba821ef2dd6deee5e3640aff864a5
[ "MIT" ]
null
null
null
lib/graphql_with_absinthe_on_phoenix/graphql/types/verse.ex
wbotelhos/graphql-with-absinthe-on-phoenix
f831d4c78bbba821ef2dd6deee5e3640aff864a5
[ "MIT" ]
null
null
null
defmodule GraphqlWithAbsintheOnPhoenix.GraphQL.Types.Verse do use Absinthe.Schema.Notation object :verse do field :id, non_null(:id) field :chapter, non_null(:integer) field :number, non_null(:integer) field :body, non_null(:string) field :book, :book end input_object :verse_create_inputs...
23.473684
61
0.713004
3f78aeb8d01f53d2ee239beee58bfecd3517b0d5
175
exs
Elixir
apps/omg_burner/config/dev.exs
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
1
2018-10-09T13:49:02.000Z
2018-10-09T13:49:02.000Z
apps/omg_burner/config/dev.exs
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
null
null
null
apps/omg_burner/config/dev.exs
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
1
2018-07-16T14:15:09.000Z
2018-07-16T14:15:09.000Z
use Mix.Config config :omg_burner, # in milliseconds casual_period: (10 * :math.pow(10, 3)) |> round, # in milliseconds short_period: (1 * :math.pow(10, 3)) |> round
21.875
50
0.651429
3f78b20a84bf43bebd21dc41150fe114dc1496e6
1,499
exs
Elixir
test/safira_web/controllers/auth_controller_test.exs
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
test/safira_web/controllers/auth_controller_test.exs
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
test/safira_web/controllers/auth_controller_test.exs
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule SafiraWeb.AuthControllerTest do use SafiraWeb.ConnCase setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end describe "sign_up" do test "user", %{conn: conn} do attendee = insert(:attendee) user = build(:user) struct = %{ "user"...
24.57377
68
0.542362
3f78d6ff7a42ac6174401b7784723f51f7c019d6
1,244
exs
Elixir
test/environment_test.exs
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
5
2018-12-28T21:55:02.000Z
2022-02-13T17:55:29.000Z
test/environment_test.exs
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
2
2019-01-16T16:13:13.000Z
2019-02-06T01:45:51.000Z
test/environment_test.exs
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
null
null
null
defmodule EnvironmentTest do alias Lox.{ Environment, Token } use ExUnit.Case test "Environment: create" do assert Environment.new() == %Environment{outer: nil, inner: %{}} end test "Environment: create with outer scope" do outer = %Environment{outer: nil, inner: %{"a" => 2, "b" => 3}} ...
20.393443
75
0.599678
3f78dd5aac36f00ab748076268af74c44b046e3b
2,322
exs
Elixir
test/discovered_bugs_tests/various_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
3
2020-07-07T20:41:23.000Z
2020-07-17T09:05:37.000Z
test/discovered_bugs_tests/various_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
1
2020-07-08T00:04:38.000Z
2020-07-08T00:04:38.000Z
test/discovered_bugs_tests/various_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveredBugsTests.Various do @moduledoc false use ExUnit.Case, async: false describe "cons operator" do setup do ExDebugger.Repo.reset() {:ok, %{ path: "test/support/discovered_bugs/cons_operator.exs" }} end test "usage of [... | ...] within `case` doe...
27.317647
106
0.509905
3f7924b15a963b1ea456825891010339dfad5256
2,995
exs
Elixir
test/test_helper.exs
CryptoRand/Elixir
39b42def935b9a4d6908c549a35855020b9a4d5e
[ "MIT" ]
null
null
null
test/test_helper.exs
CryptoRand/Elixir
39b42def935b9a4d6908c549a35855020b9a4d5e
[ "MIT" ]
null
null
null
test/test_helper.exs
CryptoRand/Elixir
39b42def935b9a4d6908c549a35855020b9a4d5e
[ "MIT" ]
null
null
null
ExUnit.start() defmodule CryptoRand.Test.FixedBytes do @moduledoc false defmacro __using__(opts) do quote do @puid_fixed_bytes unquote(opts)[:bytes] def rand_bytes(length) do # IO.puts(FixedBytes.binary_digits(@puid_fixed_bytes)) n_bytes = byte_size(@puid_fixed_bytes) by...
25.598291
98
0.620033
3f7931c3a997ac181de73a59f722d9712981a821
884
exs
Elixir
test/geolix/adapter/mmdb2/result_test.exs
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
test/geolix/adapter/mmdb2/result_test.exs
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
test/geolix/adapter/mmdb2/result_test.exs
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MMDB2.ResultTest do use ExUnit.Case, async: true alias Geolix.Adapter.MMDB2.Result defp result_for(type), do: Result.to_struct(type, %{}, nil).__struct__ test "unknown type is unmodified" do data = %{foo: :bar} assert data == Result.to_struct("invalid-type", data, nil) end...
31.571429
72
0.71267
3f794f477af9658c22778c889e7a81be85a4d2b7
1,788
exs
Elixir
config/config.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
config/config.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
config/config.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
# 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 :vutuv, ecto_repos: [Vutuv.Repo] # Con...
30.827586
95
0.775168
3f79762d837aad4ac0a1732211c95cf8c3b1fe17
337
exs
Elixir
priv/repo/migrations/20210115081700_create_user_uniswap_staking.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20210115081700_create_user_uniswap_staking.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20210115081700_create_user_uniswap_staking.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.CreateUserUniswapStaking do use Ecto.Migration def change do create table(:user_uniswap_staking) do add(:san_staked, :float) add(:user_id, references(:users, on_delete: :delete_all)) timestamps() end create(unique_index(:user_uniswap_staking, [:user...
22.466667
63
0.718101
3f797fbe1130eb5fc63f6d2522ca4dad40eb561c
601
exs
Elixir
test/langue/java_properties/expectation_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/langue/java_properties/expectation_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/langue/java_properties/expectation_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule LangueTest.Formatter.JavaProperties.Expectation do alias Langue.Entry defmodule Simple do use Langue.Expectation.Case def render do """ yes=Oui url.hello=Bonjour url.nested.ultra=I’m so nested url.normal=Normal string """ end def entries do [ ...
23.115385
74
0.590682
3f7998f5032d323bb5831a1f5babbab615fe6f42
385
ex
Elixir
web/views/link_view.ex
ssuprunenko/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
67
2016-10-01T03:17:18.000Z
2021-01-17T15:04:27.000Z
web/views/link_view.ex
marvelperseus/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
1
2017-01-03T11:30:20.000Z
2017-01-03T11:30:20.000Z
web/views/link_view.ex
marvelperseus/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
10
2016-10-15T15:36:46.000Z
2019-07-29T01:58:03.000Z
defmodule Web.LinkView do use Web.Web, :view def links_json(links) do Poison.encode! render_many(links, Web.LinkView, "link.json") end def render("show.json", %{link: link}) do %{data: render_one(link, Web.LinkView, "link.json")} end def render("link.json", %{link: link}) do %{ id: link....
19.25
64
0.615584
3f79a32a6b821f375d3a3e1bf6be812b246b2167
14,031
ex
Elixir
kousa/lib/kousa/room.ex
sperezm97/dogehouse
d79fa58dbc90e4437a677ff9a3558758a2290ddf
[ "MIT" ]
1
2021-04-22T08:37:55.000Z
2021-04-22T08:37:55.000Z
kousa/lib/kousa/room.ex
mateuszklysz/dogehouse
ba8c757bc0419ac07bd9bf062c67a39ab74cdfa6
[ "MIT" ]
null
null
null
kousa/lib/kousa/room.ex
mateuszklysz/dogehouse
ba8c757bc0419ac07bd9bf062c67a39ab74cdfa6
[ "MIT" ]
null
null
null
defmodule Kousa.Room do alias Kousa.Utils.VoiceServerUtils alias Beef.Users alias Beef.Follows alias Beef.Rooms # note the following 2 module aliases are on the chopping block! alias Beef.RoomPermissions alias Beef.RoomBlocks def set_auto_speaker(user_id, value) do if room = Rooms.get_room_by_creat...
26.930902
96
0.567529
3f79bba1d738427a9bcb4f8992e4494438de3057
4,108
ex
Elixir
lib/buy_the_food/accounts/user_token.ex
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
lib/buy_the_food/accounts/user_token.ex
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
lib/buy_the_food/accounts/user_token.ex
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
defmodule BuyTheFood.Accounts.UserToken do use Ecto.Schema import Ecto.Query @hash_algorithm :sha256 @rand_size 32 # It is very important to keep the reset password token expiry short, # since someone with access to the e-mail may take over the account. @reset_password_validity_in_days 1 @confirm_vali...
29.342857
100
0.69036
3f79cd76b0ea55e374cea0855648755c6328bf01
2,017
exs
Elixir
config/dev.exs
spearheadsys/asciinema-server
6c8874e5dcfbbf9be176f831dd1ea421c43d375f
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
config/dev.exs
spearheadsys/asciinema-server
6c8874e5dcfbbf9be176f831dd1ea421c43d375f
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
config/dev.exs
spearheadsys/asciinema-server
6c8874e5dcfbbf9be176f831dd1ea421c43d375f
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
use Mix.Config # Configure your database config :asciinema, Asciinema.Repo, username: "postgres", password: "postgres", database: "asciinema_development", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 secret_key_base = System.get_env("SECRET_KEY_BASE") || "60BnX...
29.231884
72
0.73178
3f79d1b2c7f61e3a904784177bf50906fa33f010
2,084
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/batch_update_presentation_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/batch_update_presentation_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/batch_update_presentation_response.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 "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...
38.592593
153
0.747601
3f7a010ab6ac70c3bb2ff798666cbde5b626d0b9
2,595
exs
Elixir
apps/admin_api/test/admin_api/v1/channels/transaction_request_channel_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/v1/channels/transaction_request_channel_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/v1/channels/transaction_request_channel_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.646341
76
0.674759
3f7a1b305474769376bb9d753b65fb4213324ef1
1,412
exs
Elixir
apps/kv/test/kv/registry_test.exs
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
1
2019-04-12T08:50:05.000Z
2019-04-12T08:50:05.000Z
apps/kv/test/kv/registry_test.exs
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
apps/kv/test/kv/registry_test.exs
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
defmodule KV.RegistryTest do use ExUnit.Case, async: true setup context do {:ok, _} = KV.Registry.start_link(context.test) {:ok, registry: context.test} end test "spawns buckets", %{registry: registry} do assert KV.Registry.lookup(registry, "shopping") == :error KV.Registry.create(registry, "...
31.377778
67
0.67847
3f7a2f9deb3d68edc1e10209e5eca6e19a6911a1
490
exs
Elixir
text_client/mix.exs
johncoleman83/elixir-for-programmers
062d0a761e59b30909377694151655c946f48bb4
[ "MIT" ]
null
null
null
text_client/mix.exs
johncoleman83/elixir-for-programmers
062d0a761e59b30909377694151655c946f48bb4
[ "MIT" ]
null
null
null
text_client/mix.exs
johncoleman83/elixir-for-programmers
062d0a761e59b30909377694151655c946f48bb4
[ "MIT" ]
null
null
null
defmodule TextClient.MixProject do use Mix.Project def project do [ app: :text_client, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ex...
17.5
59
0.577551
3f7a72704d14a79727df76047e9e44dda73eb92e
1,703
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/batch_get_photos_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/batch_get_photos_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/batch_get_photos_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...
36.234043
212
0.758661
3f7a78ce6926419f6b4ff7a5bbbaebb6f7c72ed9
1,780
exs
Elixir
mix.exs
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
170
2017-05-25T15:09:53.000Z
2021-07-09T04:04:14.000Z
mix.exs
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
78
2017-05-25T09:41:55.000Z
2019-01-04T20:53:35.000Z
mix.exs
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
8
2017-06-24T12:28:06.000Z
2018-09-17T16:11:56.000Z
defmodule Talon.Mixfile do use Mix.Project def project do base_config = [ app: :talon, version: "0.1.0", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), start_permanent: Mix.env() == :prod, build_embedded: Mix.env == :prod, compilers: compilers(Mix.env), ...
27.8125
82
0.566854
3f7a7ee6d90f71c9093990f7762dac52b7f525e6
6,652
ex
Elixir
clients/source_repo/lib/google_api/source_repo/v1/model/policy.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/policy.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/policy.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.101266
164
0.678142
3f7ad65a59aedf84d03225a78cd0a092aedf8515
480
ex
Elixir
lib/plugin_app.ex
membraneframework/membrane_rtp_vp8_plugin
6beadf1cd1aac329c7230a0fb218d74f79b04a36
[ "Apache-2.0" ]
null
null
null
lib/plugin_app.ex
membraneframework/membrane_rtp_vp8_plugin
6beadf1cd1aac329c7230a0fb218d74f79b04a36
[ "Apache-2.0" ]
1
2021-03-17T14:32:24.000Z
2021-03-17T14:32:24.000Z
lib/plugin_app.ex
membraneframework/membrane_rtp_vp8_plugin
6beadf1cd1aac329c7230a0fb218d74f79b04a36
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTP.VP8.Plugin.App do @moduledoc false use Application alias Membrane.RTP.{VP8, PayloadFormat} @impl true def start(_type, _args) do PayloadFormat.register(%PayloadFormat{ encoding_name: :VP8, payload_type: 98, depayloader: VP8.Depayloader, payloader: VP8.Payloa...
25.263158
71
0.716667
3f7af5a58c354ce9844585541bd438b92cf907f9
1,575
ex
Elixir
lib/oli/authoring/broadcasting/messages.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/authoring/broadcasting/messages.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/authoring/broadcasting/messages.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Authoring.Broadcaster.Messages do ### Message creation API def message_new_revision(resource_id) do resource(resource_id) end def message_new_revisions_in_project(resource_id, project_slug) do [resource(resource_id), project(project_slug)] |> join end def message_new_resource(projec...
30.288462
84
0.749841
3f7b24f5bec91763f0f33a36e4d1765e97c04224
2,894
exs
Elixir
test/ktsllex/config_test.exs
quiqupltd/ktsllex
e596e774561a56cafb7dcfc1c43d8e1cdfc86348
[ "MIT" ]
3
2018-09-07T13:43:22.000Z
2020-04-28T18:00:24.000Z
test/ktsllex/config_test.exs
quiqupltd/ktsllex
e596e774561a56cafb7dcfc1c43d8e1cdfc86348
[ "MIT" ]
3
2018-09-11T13:00:17.000Z
2018-09-11T20:45:59.000Z
test/ktsllex/config_test.exs
quiqupltd/ktsllex
e596e774561a56cafb7dcfc1c43d8e1cdfc86348
[ "MIT" ]
null
null
null
defmodule Ktsllex.ConfigTest do use ExUnit.Case, async: false alias Ktsllex.Config, as: Subject defmodule HTTPoisonMock do def get(url, headers) do send(:current_test, %{url: url, headers: headers}) %{"compatibility" => "BACKWARD"} |> Poison.encode!() |> mock_http_poison_response(20...
28.653465
90
0.635107
3f7b2af3b9761676141c8bb546850d4e1a7a8bac
4,784
ex
Elixir
lib/crc.ex
evepoe/crc
cb46b4118a7475555fb5013b0acf8c22fc7c964a
[ "MIT" ]
18
2015-12-01T03:25:11.000Z
2021-12-05T13:12:41.000Z
lib/crc.ex
evepoe/crc
cb46b4118a7475555fb5013b0acf8c22fc7c964a
[ "MIT" ]
31
2016-10-19T23:03:30.000Z
2022-03-11T06:50:46.000Z
lib/crc.ex
evepoe/crc
cb46b4118a7475555fb5013b0acf8c22fc7c964a
[ "MIT" ]
15
2016-09-27T13:37:56.000Z
2022-01-12T13:53:35.000Z
defmodule CRC do @moduledoc """ This module is used to calculate CRC (Cyclic Redundancy Check) values for binary data. It uses NIF functions written in C to iterate over the given binary calculating the CRC checksum value. CRC implementations have been tested against these online calculators to validate th...
34.171429
104
0.706104
3f7b4592fd31ca979642e3f127f1575d11497b0a
59,970
ex
Elixir
lib/explorer/data_frame.ex
dgreiss/explorer
3f417ac5e4996393dd7cc5460b7aeec756b759ee
[ "MIT" ]
null
null
null
lib/explorer/data_frame.ex
dgreiss/explorer
3f417ac5e4996393dd7cc5460b7aeec756b759ee
[ "MIT" ]
null
null
null
lib/explorer/data_frame.ex
dgreiss/explorer
3f417ac5e4996393dd7cc5460b7aeec756b759ee
[ "MIT" ]
null
null
null
defmodule Explorer.DataFrame do @moduledoc """ The DataFrame struct and API. """ alias __MODULE__, as: DataFrame alias Explorer.Series import Explorer.Shared, only: [impl!: 1] import Nx.Defn.Kernel, only: [keyword!: 2] @type data :: Explorer.Backend.DataFrame.t() @type t :: %DataFrame{data: data} ...
33.977337
357
0.588494
3f7b7e1de62dfb4e1ae3842291d3ac1b9e6b7739
10,111
ex
Elixir
lib/spandex_datadog/api_server.ex
Adzz/spandex_datadog
64b95c4c4267b290b66ec9c754793d9fbdeaed90
[ "MIT" ]
null
null
null
lib/spandex_datadog/api_server.ex
Adzz/spandex_datadog
64b95c4c4267b290b66ec9c754793d9fbdeaed90
[ "MIT" ]
null
null
null
lib/spandex_datadog/api_server.ex
Adzz/spandex_datadog
64b95c4c4267b290b66ec9c754793d9fbdeaed90
[ "MIT" ]
null
null
null
defmodule SpandexDatadog.ApiServer do @moduledoc """ Implements worker for sending spans to datadog as GenServer in order to send traces async. """ use GenServer require Logger alias Spandex.{ Span, Trace } defmodule State do @moduledoc false @type t :: %State{} defstruct [ ...
28.888571
126
0.586094
3f7b8eef5506c3c9777ab50e13aaded5479249bc
442
ex
Elixir
test/support/vegetable.ex
maltoe/flop
b7637655b613bcbb7949fabaf37d8ba5acb1a5be
[ "MIT" ]
null
null
null
test/support/vegetable.ex
maltoe/flop
b7637655b613bcbb7949fabaf37d8ba5acb1a5be
[ "MIT" ]
null
null
null
test/support/vegetable.ex
maltoe/flop
b7637655b613bcbb7949fabaf37d8ba5acb1a5be
[ "MIT" ]
null
null
null
defmodule Flop.Vegetable do @moduledoc """ Defines an Ecto schema for testing. """ use Ecto.Schema @derive {Flop.Schema, filterable: [:name, :family], sortable: [:name], default_limit: 50, default_order_by: [:name], default_order_directions: [:asc], ...
22.1
44
0.590498
3f7b92b37337491c60d55c66d2b1a60e67fa7473
611
exs
Elixir
day4/test/day4_test.exs
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
day4/test/day4_test.exs
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
day4/test/day4_test.exs
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
defmodule Day4Test do use ExUnit.Case doctest Day4 test "single correct" do assert 123 == Day4.decode_list(["aaaaa-bbb-z-y-x-123[abxyz]"]) assert 987 == Day4.decode_list(["a-b-c-d-e-f-g-h-987[abcde]"]) assert 404 == Day4.decode_list(["not-a-real-room-404[oarel]"]) assert 0 == Day4.decode_list(["t...
26.565217
66
0.615385
3f7bc9221aa597bfdc8a27552f0665f88b4a4220
1,179
exs
Elixir
test/primer/avatars_test.exs
lee-dohm/phoenix-primer
f9fef3f1e4de21f747e47151685f1c94bc428f55
[ "MIT" ]
2
2018-06-26T03:12:20.000Z
2020-01-26T17:55:29.000Z
test/primer/avatars_test.exs
lee-dohm/phoenix-primer
f9fef3f1e4de21f747e47151685f1c94bc428f55
[ "MIT" ]
2
2018-03-21T09:25:08.000Z
2018-04-13T09:15:13.000Z
test/primer/avatars_test.exs
lee-dohm/phoenix-primer
f9fef3f1e4de21f747e47151685f1c94bc428f55
[ "MIT" ]
null
null
null
defmodule Primer.AvatarsTest do use Primer.Case import Primer.Avatars setup do user = %{name: "foo", avatar_url: "https://example.com/image.png"} {:ok, user: user} end test "renders correctly without size option", context do image = context.user |> avatar() |> render() a...
25.085106
80
0.625954
3f7bdb18aeb78ac366fea04942135ab2e41a15ca
687
ex
Elixir
lib/essence/chunker.ex
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
68
2016-09-10T20:04:37.000Z
2022-03-16T14:53:27.000Z
lib/essence/chunker.ex
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
1
2018-02-14T20:22:45.000Z
2018-02-14T20:22:45.000Z
lib/essence/chunker.ex
nicbet/essence
f3371c33839d4db00020181c9ec980d449d2a00b
[ "MIT" ]
8
2017-02-11T19:28:56.000Z
2021-04-13T08:07:55.000Z
defmodule Essence.Chunker do @moduledoc """ This module contains helpful methods to chunk text into paragraphs and sentences. """ @doc """ Chunks a given `text` into paragraphs. A paragraph is any text, separated by two or more newline characters. """ @spec paragraphs(String.t) :: List.t def paragraphs...
28.625
110
0.640466
3f7be29708e1b8600a91edcdd97cc5249ffa30c6
353
exs
Elixir
priv/repo/migrations/20200818141257_create_credential.exs
noahjames404/elixir-pheonix-framework
c1587709d67ef7c9bad247d4fe4ec80e23e4041b
[ "MIT" ]
null
null
null
priv/repo/migrations/20200818141257_create_credential.exs
noahjames404/elixir-pheonix-framework
c1587709d67ef7c9bad247d4fe4ec80e23e4041b
[ "MIT" ]
null
null
null
priv/repo/migrations/20200818141257_create_credential.exs
noahjames404/elixir-pheonix-framework
c1587709d67ef7c9bad247d4fe4ec80e23e4041b
[ "MIT" ]
null
null
null
defmodule Hello.Repo.Migrations.CreateCredential do use Ecto.Migration def change do create table(:credential) do add :email, :string add :user_id, references(:users, on_delete: :delete_all), null: false timestamps() end create unique_index(:credential, [:email]) create index(:c...
22.0625
75
0.688385
3f7c0532040a1e35a9070c72a8ea342217412a49
1,830
ex
Elixir
lib/ex_oneroster/users/users.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
lib/ex_oneroster/users/users.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
lib/ex_oneroster/users/users.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Users do @moduledoc """ The boundary for the Users system. """ import Ecto.Query, warn: false alias ExOneroster.Repo alias ExOneroster.Users.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do Repo....
17.264151
92
0.57541
3f7c192672215698595936f5b05be55323e898d3
2,813
exs
Elixir
mix.exs
ElixiumNetwork/elixium_core
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
164
2018-06-23T01:17:51.000Z
2021-08-19T03:16:31.000Z
mix.exs
alexdovzhanyn/ultradark
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
37
2018-06-28T18:07:27.000Z
2019-08-22T18:43:43.000Z
mix.exs
alexdovzhanyn/ultradark
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
26
2018-06-22T00:58:34.000Z
2021-08-19T03:16:40.000Z
defmodule Elixium.Mixfile do use Mix.Project def project do [ app: :elixium_core, version: "0.6.3", elixir: "~> 1.7", elixirc_paths: ["lib"], start_permanent: Mix.env() == :prod, deps: deps(), name: "Elixium Core", description: description(), source_url: "h...
28.13
101
0.613224
3f7c1feedcfe7bdc8f123670c75f2be05686708e
3,200
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/forwarding_rule_aggregated_list.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/forwarding_rule_aggregated_list.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/forwarding_rule_aggregated_list.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...
47.761194
393
0.7175
3f7c27c7c074601e2c8900221633e0f7a9a9158a
180
exs
Elixir
priv/repo/migrations/20181119174600_add_post_id.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
priv/repo/migrations/20181119174600_add_post_id.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
priv/repo/migrations/20181119174600_add_post_id.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
defmodule JsonapiIssue134.Repo.Migrations.AddPostId do use Ecto.Migration def change do alter table(:comments) do add :post_id, references(:posts) end end end
18
54
0.722222
3f7c3e2a69645fce15310e51f78101fd5a85c6a9
630
ex
Elixir
lib/changelog/files/image.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
null
null
null
lib/changelog/files/image.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
null
null
null
lib/changelog/files/image.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
null
null
null
defmodule Changelog.Files.Image do use Changelog.File, [:jpg, :jpeg, :png, :gif, :svg] @versions [:original, :large, :medium, :small] def storage_dir(_, {_, scope}), do: "uploads/#{source(scope)}/#{hashed(scope.id)}" def filename(version, _), do: version def transform(:original, _), do: :noaction def tr...
27.391304
84
0.631746
3f7c531b38a31f4e69b7d1d76ae51149b691b25b
1,819
ex
Elixir
backend/lib/backend_web/telemetry.ex
sdil/todo-app-phoenix-nuxtjs
cfdb2ccce9cf54f691236ae81740608ce1c6a227
[ "MIT" ]
null
null
null
backend/lib/backend_web/telemetry.ex
sdil/todo-app-phoenix-nuxtjs
cfdb2ccce9cf54f691236ae81740608ce1c6a227
[ "MIT" ]
null
null
null
backend/lib/backend_web/telemetry.ex
sdil/todo-app-phoenix-nuxtjs
cfdb2ccce9cf54f691236ae81740608ce1c6a227
[ "MIT" ]
null
null
null
defmodule BackendWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn ...
32.482143
86
0.671798
3f7c902944b2cb089b90803f71408cb3bcd60c2a
48,691
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/videos.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/api/videos.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/api/videos.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...
65.532974
1,195
0.67341
3f7cef25daa7e33a440b7a7cbe9534e3ab22e4f4
487
ex
Elixir
lib/thousand_island/acceptor_pool_supervisor.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
139
2019-11-29T02:11:40.000Z
2022-03-24T00:17:52.000Z
lib/thousand_island/acceptor_pool_supervisor.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
11
2020-01-23T15:43:58.000Z
2022-02-15T10:16:37.000Z
lib/thousand_island/acceptor_pool_supervisor.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
8
2021-10-09T16:36:35.000Z
2022-01-31T20:39:10.000Z
defmodule ThousandIsland.AcceptorPoolSupervisor do @moduledoc false use Supervisor def start_link(arg) do Supervisor.start_link(__MODULE__, arg) end def init({server_pid, %ThousandIsland.ServerConfig{num_acceptors: num_acceptors} = config}) do base_spec = {ThousandIsland.AcceptorSupervisor, {server...
27.055556
96
0.743326
3f7d125cde6808beab30bbba98947077d7752065
1,593
ex
Elixir
clients/content/lib/google_api/content/v2/model/pos_custom_batch_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/model/pos_custom_batch_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_custom_batch_request.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.893617
159
0.75204
3f7d4f25a969262e96699673ed19f0c51154b1a6
1,630
ex
Elixir
apps/content/lib/content/post_admin.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/content/lib/content/post_admin.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/content/lib/content/post_admin.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
defmodule Legendary.Content.PostAdmin do @moduledoc """ Custom admin logic for content posts and pages. """ alias Legendary.Content.{Post, Posts.PreviewImages} import Ecto.Query, only: [from: 2] def singular_name(_) do "Post or Page" end def plural_name(_) do "Posts and Pages" end def c...
22.957746
73
0.588957
3f7d551997307d321d9b244bcef60d8d1d08739a
316
exs
Elixir
priv/config/plain_mqtt.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
priv/config/plain_mqtt.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
priv/config/plain_mqtt.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
use Mix.Config config :emqttd, :listeners, [{mqtt_type, mqtt_port, [acceptors: 8, max_clients: 128, access: [allow: :all], connopts: [], sockopts: [backlog: 8, ip: mqtt_addr, recbuf: 4096, sndbuf: 4096, delay_send: false]]}]
22.571429
37
0.503165
3f7d76a2f3e7673d2f99a8620859f8c5c4fcc819
207
exs
Elixir
test/screens_web/controllers/health_controller_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
test/screens_web/controllers/health_controller_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
test/screens_web/controllers/health_controller_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule ScreensWeb.HealthControllerTest do use ScreensWeb.ConnCase describe "index/2" do test "returns 200", %{conn: conn} do assert %{status: 200} = get(conn, "/_health") end end end
20.7
51
0.676329
3f7d8ee23861f6ec19b9d37fdfeac1a6c9a49ca4
2,036
ex
Elixir
questions/aggregates/00010000-count.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
null
null
null
questions/aggregates/00010000-count.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
null
null
null
questions/aggregates/00010000-count.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
1
2019-10-08T04:46:40.000Z
2019-10-08T04:46:40.000Z
|QUESTIONNAME| Count the number of facilities |QUESTION| For our first foray into aggregates, we're going to stick to something simple. We want to know how many facilities exist - simply produce a total count. |QUERY| select count(*) from cd.facilities; |ANSWER| <p>Aggregation starts out pretty simply! The SQL above ...
47.348837
335
0.744597
3f7da57733983835ffe2083f582406d1a96c0a1c
2,086
ex
Elixir
lib/cryptozaur/drivers/coinmarketcap_rest.ex
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
5
2018-09-19T09:13:15.000Z
2021-10-20T23:29:57.000Z
lib/cryptozaur/drivers/coinmarketcap_rest.ex
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
6
2018-07-29T05:33:02.000Z
2018-09-18T20:42:19.000Z
lib/cryptozaur/drivers/coinmarketcap_rest.ex
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
3
2018-07-24T05:55:04.000Z
2018-09-19T09:14:08.000Z
defmodule Cryptozaur.Drivers.CoinmarketcapRest do use HTTPoison.Base use GenServer require OK import OK, only: [success: 1, failure: 1] import Logger import Cryptozaur.Utils @timeout 600_000 @http_timeout 30000 @requests_per_minute 10 @millis_in_minute 60_000 def start_link(state, opts \\ []) ...
23.438202
134
0.62464
3f7da5c7c6d87bf9b7a7dd58c77b5a1bfd4b0122
7,332
ex
Elixir
lib/assert_value/parser.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
79
2017-10-25T11:06:32.000Z
2021-08-16T08:55:19.000Z
lib/assert_value/parser.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
11
2017-11-15T17:09:42.000Z
2022-03-18T10:52:19.000Z
lib/assert_value/parser.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
6
2017-05-18T14:52:14.000Z
2022-03-18T20:02:39.000Z
defmodule AssertValue.Parser do # This is internal parser error # In theory we parse any valid Elixir code and should not face it defmodule ParseError do defexception [message: "Unable to parse assert_value arguments"] end # Parse file with test code and returns {:ok, parsed} on success # where parsed...
34.914286
77
0.592608
3f7db33140f21aae7866e49e278dd6929f0715e4
556
ex
Elixir
mix/support/normalize/normalize_lenient_parse.ex
musicglue/cldr
8a86a59710898425c429fd25a4739671b0951c51
[ "Apache-2.0" ]
null
null
null
mix/support/normalize/normalize_lenient_parse.ex
musicglue/cldr
8a86a59710898425c429fd25a4739671b0951c51
[ "Apache-2.0" ]
null
null
null
mix/support/normalize/normalize_lenient_parse.ex
musicglue/cldr
8a86a59710898425c429fd25a4739671b0951c51
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Normalize.LenientParse do @moduledoc false def normalize(content, locale) do content |> normalize_lenient_parse(locale) end def normalize_lenient_parse(content, _locale) do date = get_in(content,["characters", "lenient_scope_date"]) general = get_in(content,["characters", "lenient...
24.173913
68
0.710432
3f7db87fcd05b521d25bc1d47c865c3449f97ae2
4,274
ex
Elixir
lib/dwolla.ex
ark7-inc/dwolla-elixir
a3ee9c149fbf5cd5d38dc2e854278ab321a94bf5
[ "MIT" ]
6
2018-07-23T07:43:56.000Z
2021-07-09T01:24:21.000Z
lib/dwolla.ex
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
1
2019-11-05T05:31:35.000Z
2019-11-06T21:26:38.000Z
lib/dwolla.ex
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
7
2019-02-12T07:48:09.000Z
2021-11-08T15:58:06.000Z
defmodule Dwolla do @moduledoc """ An HTTP Client for Dwolla. [Dwolla API Docs](https://docsv2.dwolla.com) """ use HTTPoison.Base alias Dwolla.Utils @token_endpoint "token" defmodule MissingClientSecretError do defexception message: """ Client secret is missing. Please add clie...
29.680556
101
0.653018
3f7db9eb161946508abe4c7f248aac8f9718b992
26,641
ex
Elixir
lib/aws/generated/kendra.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/kendra.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/kendra.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Kendra do @moduledoc """ Amazon Kendra is a service for indexing large document sets. """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviat...
39.822123
154
0.736083
3f7dcd86002fb2d042136066cdb210ef2b722b42
4,131
ex
Elixir
clients/content/lib/google_api/content/v21/model/test_order_line_item_product.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/test_order_line_item_product.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/test_order_line_item_product.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...
46.943182
274
0.677318
3f7de083fddbca8d1dccaa3b9ed8ef8043bf4fa4
1,170
exs
Elixir
apps/discovery_api/test/integration/discovery_api/data/visualization_migration_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/test/integration/discovery_api/data/visualization_migration_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/test/integration/discovery_api/data/visualization_migration_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApi.Data.VisualizationMigratorTest do use ExUnit.Case use Placebo use DiscoveryApi.DataCase alias SmartCity.TestDataGenerator, as: TDG alias DiscoveryApi.Test.Helper alias DiscoveryApi.Repo alias DiscoveryApi.Schemas.Visualizations.Visualization alias DiscoveryApi.Schemas.Users alia...
34.411765
100
0.704274
3f7e0eb13144ea37cb9aeaed2bb194f7d34c9421
384
ex
Elixir
sources/person.ex
boehs/lerners.io
bc25ef48b0bed1aaefad66d16fa5d784c6ca779d
[ "MIT" ]
null
null
null
sources/person.ex
boehs/lerners.io
bc25ef48b0bed1aaefad66d16fa5d784c6ca779d
[ "MIT" ]
null
null
null
sources/person.ex
boehs/lerners.io
bc25ef48b0bed1aaefad66d16fa5d784c6ca779d
[ "MIT" ]
null
null
null
defmodule Person do defstruct name: "Ethan Lerner", aliases: ["miapolis"], socials: %{ email: "ethan@lerners.io", github: "github.com/miapolis", # Send me a friend request! discord: "miapolis#????", spotify: "lerners.io/spot...
29.538462
44
0.481771
3f7e381aebf2892b78084a083ccb39c2513b6c28
5,026
ex
Elixir
apps/command/lib/command/news.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
6
2017-08-10T13:57:06.000Z
2019-01-17T08:48:40.000Z
apps/command/lib/command/news.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
14
2017-08-08T13:07:00.000Z
2019-02-28T15:10:18.000Z
apps/command/lib/command/news.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
null
null
null
defmodule Command.News do alias Nostrum.Api, as: API import Nostrum.Struct.Embed def latest(channel_id, opts \\ []) when is_list(opts) do with {:ok, stages} <- Spla2API.schedule(), {:ok, salmons} <- Spla2API.coop() do stages = stages |> Map.update!(:regular, &List.first/1) ...
27.615385
99
0.544767
3f7e4ca6009a57f740fbcdf485cad83bdd0273fe
1,577
ex
Elixir
test/support/integration_helper.ex
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
null
null
null
test/support/integration_helper.ex
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
2
2022-03-28T03:22:37.000Z
2022-03-28T03:22:54.000Z
test/support/integration_helper.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
null
null
null
defmodule K8s.Test.IntegrationHelper do @moduledoc "Kubernetes integration helpers for test suite" @spec conn() :: K8s.Conn.t() def conn do {:ok, conn} = "TEST_KUBECONFIG" |> System.get_env("./integration.yaml") |> K8s.Conn.from_file() # Override the defaults for testing %K8s.Conn{...
23.537313
60
0.542803
3f7e59bf5b1ae8ecd072cbeb899add449ecacdf3
582
ex
Elixir
lib/docusign/model/folders.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/folders.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/folders.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.Folders do @moduledoc """ Folder management """ @derive [Poison.Encoder] defstruct [ :folders ] @type t :: %__M...
20.785714
75
0.689003
3f7e6ce4fb29b0ff2165466000d1c2977adc54cd
1,486
exs
Elixir
test/lib/mix/tasks/timber/install/application_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/mix/tasks/timber/install/application_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/mix/tasks/timber/install/application_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
defmodule Mix.Tasks.Timber.Install.ApplicationTest do use Timber.TestCase alias Mix.Tasks.Timber.Install.{API, Application} alias Mix.Tasks.Timber.Install.Application.MalformedApplicationPayload alias Timber.Installer.{FakeFile, FakeHTTPClient} describe "Mix.Tasks.Timber.Install.Application.new!/1" do t...
47.935484
218
0.655451
3f7e71fcbb6b988920e78bd07b926e34ef8f2853
1,320
ex
Elixir
lib/membrane/rtcp/compound_packet.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtcp/compound_packet.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtcp/compound_packet.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTCP.CompoundPacket do @moduledoc """ Parses compound RTCP packets into a list of subpackets. """ alias Membrane.RTCP.{Header, Packet} alias Membrane.RTP.Utils defstruct [:packets] @type t :: %__MODULE__{packets: [Packet.t()]} @spec serialize(t()) :: binary() def serialize(%__MO...
30.697674
79
0.638636
3f7e8826ec14f8ef86600adce830d44c8e6eed5d
282
exs
Elixir
test/roiimPpaysafe_web/views/layout_view_test.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
test/roiimPpaysafe_web/views/layout_view_test.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
test/roiimPpaysafe_web/views/layout_view_test.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
defmodule RoiimPpaysafeWeb.LayoutViewTest do use RoiimPpaysafeWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
31.333333
65
0.776596
3f7e8a48b262b93064aebaefbac1fbe49d0b6820
514
ex
Elixir
apps/snitch_core/lib/core/tools/helpers/rummage.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/tools/helpers/rummage.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/tools/helpers/rummage.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Tools.Helper.Rummage do def get_rummage_params(conn) do conn.req_headers |> Enum.into(%{}) |> get_referer() |> parse_uri() |> decode_query() end defp get_referer(%{"referer" => referer}), do: referer defp get_referer(_), do: nil defp parse_uri(nil), do: nil defp pars...
21.416667
65
0.659533
3f7ed2a1db4e0adf5232a8743ed99e34ae30857b
106
exs
Elixir
test/gp_test.exs
benfb/gpixir
919e15fb517027f0124375cf6ed2b0908884fa80
[ "MIT" ]
1
2016-04-10T08:14:23.000Z
2016-04-10T08:14:23.000Z
test/gp_test.exs
benfb/gpixir
919e15fb517027f0124375cf6ed2b0908884fa80
[ "MIT" ]
null
null
null
test/gp_test.exs
benfb/gpixir
919e15fb517027f0124375cf6ed2b0908884fa80
[ "MIT" ]
null
null
null
defmodule GpTest do use ExUnit.Case doctest Gp test "the truth" do assert 1 + 1 == 2 end end
11.777778
21
0.641509
3f7ede400f50a6098b7ac8903dd2f5be90c07c90
6,292
ex
Elixir
apps/api_web/lib/api_web/controllers/facility_controller.ex
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/controllers/facility_controller.ex
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/controllers/facility_controller.ex
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule ApiWeb.FacilityController do use ApiWeb.Web, :api_controller alias State.Facility @filters ~w(stop type)s @pagination_opts [:offset, :limit, :order_by] @includes ~w(stop) def state_module, do: State.Facility swagger_path :index do get(path(__MODULE__, :index)) description(""" Lis...
29.265116
235
0.595041
3f7ee9c9bbf40c63e7d0634ef07cec7260c35cc4
1,173
ex
Elixir
string_calc/lib/string_calc/day08.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
string_calc/lib/string_calc/day08.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
string_calc/lib/string_calc/day08.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule StringCalc.Day08 do def compute(src), do: src |> String.graphemes() |> parse_expression() |> elem(0) defp parse_expression(src) when is_list(src), do: parse_term(src) |> parse_expression() defp parse_expression({num1, ["+" | rest]}) do {num2, rest} = parse_expression(rest) ...
21.327273
60
0.57971
3f7f1604ca859bab8261fa5ee77598c48c85a9a0
377
ex
Elixir
lib/cotoami_web/views/error_view.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami_web/views/error_view.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami_web/views/error_view.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule CotoamiWeb.ErrorView do use CotoamiWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templat...
20.944444
47
0.700265
3f7f3a97f788490b609f3f3a0a4b6ce3b9ec54b2
1,354
exs
Elixir
apps/admin_api/test/admin_api/emails/forget_password_email_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/test/admin_api/emails/forget_password_email_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/emails/forget_password_email_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.ForgetPasswordEmailTest do use AdminAPI.ConnCase alias AdminAPI.ForgetPasswordEmail alias EWalletDB.ForgetPasswordRequest setup do user = insert(:user, email: "example@mail.com") _request = insert(:forget_password_request, token: "the_token", user_id: user.id) request = Forg...
36.594595
100
0.70901
3f7f3c68992087a1bef0214cb53a433ff57ea77e
1,123
exs
Elixir
config/config.exs
followanalytics/redix_pool
b8458046680b9bf2968b0998a49f619100eb5ade
[ "MIT" ]
12
2017-05-31T21:23:10.000Z
2022-02-16T21:32:55.000Z
config/config.exs
followanalytics/redix_pool
b8458046680b9bf2968b0998a49f619100eb5ade
[ "MIT" ]
2
2017-11-18T18:40:24.000Z
2018-02-05T18:14:36.000Z
config/config.exs
followanalytics/redix_pool
b8458046680b9bf2968b0998a49f619100eb5ade
[ "MIT" ]
4
2019-08-13T18:58:26.000Z
2021-01-25T13:16:37.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.225806
73
0.752449
3f7f4b6998baec7133fe51a067ecadde23cd2c2a
2,003
ex
Elixir
lib/changelog_web/email.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog_web/email.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog_web/email.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Email do use Bamboo.Phoenix, view: ChangelogWeb.EmailView def guest_thanks(person, opts) do from = opts["from"] || "editors@changelog.com" reply = opts["reply"] || "editors@changelog.com" subject = opts["subject"] || "Your episode is live!" message = opts["message"] pers...
26.706667
72
0.65352
3f7f5baba5c3951d53e5f1f42679bd4405c91700
1,337
exs
Elixir
mix.exs
OnceApp/Analytics
4d3d6fd5eb5c7ec18b4df23515bb25661df818d9
[ "MIT" ]
null
null
null
mix.exs
OnceApp/Analytics
4d3d6fd5eb5c7ec18b4df23515bb25661df818d9
[ "MIT" ]
null
null
null
mix.exs
OnceApp/Analytics
4d3d6fd5eb5c7ec18b4df23515bb25661df818d9
[ "MIT" ]
1
2019-08-08T16:39:56.000Z
2019-08-08T16:39:56.000Z
defmodule Analytics.MixProject do use Mix.Project def project do [ app: :analytics, package: package(), version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), source_url: "https://github.com/OnceApp/Anal...
23.45614
67
0.554974
3f7f6ef9a2c9a08a4fee7e802268258f77610882
1,818
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/vpn_tunnels_scoped_list.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/vpn_tunnels_scoped_list.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/vpn_tunnels_scoped_list.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
35.647059
97
0.754675
3f7f80d010e23e432b379bc0475ff399eaac1139
9,549
ex
Elixir
lib/phoenix_ecto/html.ex
edwinthinks/phoenix_ecto
6c91a5c18fb05f39d6b422dfb3f8c99456f85d18
[ "MIT" ]
null
null
null
lib/phoenix_ecto/html.ex
edwinthinks/phoenix_ecto
6c91a5c18fb05f39d6b422dfb3f8c99456f85d18
[ "MIT" ]
null
null
null
lib/phoenix_ecto/html.ex
edwinthinks/phoenix_ecto
6c91a5c18fb05f39d6b422dfb3f8c99456f85d18
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Phoenix.HTML) do defimpl Phoenix.HTML.FormData, for: Ecto.Changeset do def to_form(changeset, opts) do %{params: params, data: data} = changeset {name, opts} = Keyword.pop(opts, :as) name = to_string(name || form_for_name(data)) %Phoenix.HTML.Form{ source: c...
30.803226
99
0.568751
3f7fc79e97d32e876a6446fd550a74929d3383b7
291
ex
Elixir
test/environment/ecto/post.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
19
2018-11-10T09:08:18.000Z
2021-12-06T10:15:23.000Z
test/environment/ecto/post.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
3
2018-11-29T06:47:12.000Z
2020-10-07T14:34:56.000Z
test/environment/ecto/post.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
4
2019-03-30T14:50:48.000Z
2022-03-18T17:06:49.000Z
defmodule DiluteTest.Environment.Ecto.Post do use Ecto.Schema schema "posts" do field(:title, :string) field(:votes, :integer) field(:published, :boolean) field(:rating, :integer) has_many(:comments, DiluteTest.Environment.Ecto.Comment) timestamps() end end
19.4
60
0.694158
3f7fcfd705746bf7745dee504ca8c630b8ac592b
1,366
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_pool.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pool.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pool.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...
28.458333
137
0.718155
3f7fdb57445107ba88c4f17f9f6de9ac99585026
1,772
exs
Elixir
template/$PROJECT_NAME$/apps/$APP1_NAME$/mix.exs
ericsteen/master_proxy
df5a93bca9e655d7d4b9724da200639e0b247133
[ "Apache-2.0" ]
3
2019-02-01T09:47:15.000Z
2019-03-29T23:10:01.000Z
template/$PROJECT_NAME$/apps/$APP1_NAME$/mix.exs
upstarter/master_proxy
df5a93bca9e655d7d4b9724da200639e0b247133
[ "Apache-2.0" ]
null
null
null
template/$PROJECT_NAME$/apps/$APP1_NAME$/mix.exs
upstarter/master_proxy
df5a93bca9e655d7d4b9724da200639e0b247133
[ "Apache-2.0" ]
null
null
null
defmodule <%= @app1_name %>Web.Mixfile do use Mix.Project def project do [app: :<%= @app1_name %>, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: ">= 1.4.2", elixirc_paths: eli...
28.580645
67
0.5807
3f7fe11066c5c486092f219441a73ff65bfcd2f3
60,068
ex
Elixir
clients/logging/lib/google_api/logging/v2/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
52.142361
707
0.679846
3f80085fb11d59400386a922f0f68ea5d7f6261f
3,080
ex
Elixir
lib/amqpx/receiver.ex
ulfurinn/amqpx
55d280cac013b58eb2e1b832a23119aae1978861
[ "MIT" ]
2
2020-01-13T19:55:24.000Z
2020-03-13T14:12:08.000Z
lib/amqpx/receiver.ex
ulfurinn/amqpx
55d280cac013b58eb2e1b832a23119aae1978861
[ "MIT" ]
null
null
null
lib/amqpx/receiver.ex
ulfurinn/amqpx
55d280cac013b58eb2e1b832a23119aae1978861
[ "MIT" ]
3
2018-12-03T10:44:22.000Z
2021-08-06T13:06:31.000Z
defmodule AMQPX.Receiver do use Supervisor @moduledoc """ Provides message handling with transparent connection recovery. Starts a supervisor with a connection watchdog and a handler process. In case of connection loss the process group will be shutdown and restarted until it can reconnect. The message h...
32.421053
143
0.681169
3f80188b72e64a06053e5424223fec8745283656
3,769
ex
Elixir
apps/engine/lib/engine/fee/fetcher/updater.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/lib/engine/fee/fetcher/updater.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/lib/engine/fee/fetcher/updater.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.Fee.Fetcher.Updater do @moduledoc """ Decides whether fees will be updated from the fetched fees from the feed. """ alias Engine.Fee alias Engine.Fee.Fetcher.Updater.Merger @type can_update_result_t :: {:ok, Fee.full_fee_t()} | :no_changes # Internal data structure resulted from merge ...
40.526882
111
0.728575
3f80307e8a3ed4c831e954ab9b25f0505d09a5c9
1,581
exs
Elixir
mix.exs
marick/mockery_extras
6b2c689354b0e238669dbc30e09add47a15027e4
[ "Unlicense" ]
1
2021-03-15T07:09:50.000Z
2021-03-15T07:09:50.000Z
mix.exs
marick/mockery_extras
6b2c689354b0e238669dbc30e09add47a15027e4
[ "Unlicense" ]
null
null
null
mix.exs
marick/mockery_extras
6b2c689354b0e238669dbc30e09add47a15027e4
[ "Unlicense" ]
null
null
null
defmodule MockeryExtras.MixProject do use Mix.Project @github "https://github.com/marick/mockery_extras" @version "0.3.1" def project do [ description: """ Helper functions and documentation for use with the Mockery package. """, app: :mockery_extras, version: @version...
24.703125
87
0.562935
3f806f78d03845f1eecc8eacbf7f4b484492be80
4,970
exs
Elixir
test/oli/authoring/media_libary_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli/authoring/media_libary_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli/authoring/media_libary_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Authoring.MediaLibraryTest do alias Oli.Authoring.MediaLibrary alias Oli.Authoring.MediaLibrary.{ItemOptions} use Oli.DataCase defp media_item_fixture(project_id, tag, attrs \\ %{}) do Map.merge( %{ project_id: project_id, url: tag, mime_type: tag, file_...
29.939759
98
0.605433
3f8088e6d0f22235ce77df067ca883d063cc2ef5
13,986
ex
Elixir
lib/aws/generated/ground_station.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/ground_station.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/ground_station.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.GroundStation do @moduledoc """ Welcome to the AWS Ground Station API Reference. AWS Ground Station is a fully managed service that enables you to control satellite communications, downli...
20.447368
99
0.582511
3f808a4e2fa4ec3fcac47ce040de2bb3ee8a98b4
1,043
exs
Elixir
test/rocketpay_web/controllers/accounts_controller_test.exs
ibrunotome/rocketpay-elixir
71de669aec03ac1ee35f6bb5e533e29f3f818270
[ "MIT" ]
null
null
null
test/rocketpay_web/controllers/accounts_controller_test.exs
ibrunotome/rocketpay-elixir
71de669aec03ac1ee35f6bb5e533e29f3f818270
[ "MIT" ]
null
null
null
test/rocketpay_web/controllers/accounts_controller_test.exs
ibrunotome/rocketpay-elixir
71de669aec03ac1ee35f6bb5e533e29f3f818270
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.AccountsControllerTest do use RocketpayWeb.ConnCase, async: true alias Rocketpay.Account alias Rocketpay.User describe "deposit/2" do setup %{conn: conn} do params = %{ name: "Rafael", password: "123456", nickname: "camarda", email: "rafael@bana...
24.833333
94
0.582934
3f80abab696aff3afc300bd3fa473957ced3d40a
2,717
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_k_anonymity_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_k_anonymity_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_k_anonymity_config.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...
53.27451
629
0.777696