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
ac5c82a5e951e27dd5eca35376d02fab0b4fb238
1,861
exs
Elixir
clients/access_approval/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/access_approval/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/access_approval/mix.exs
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...
27.776119
106
0.659323
ac5c893a7c2c9086781cee005659ae865a719f4f
1,908
ex
Elixir
lib/koans/06_lists.ex
milquetoastable/elixir-koans
1abdb9944dd6e3f6162e0ed9b4b17bb9a5cacbd6
[ "MIT" ]
null
null
null
lib/koans/06_lists.ex
milquetoastable/elixir-koans
1abdb9944dd6e3f6162e0ed9b4b17bb9a5cacbd6
[ "MIT" ]
null
null
null
lib/koans/06_lists.ex
milquetoastable/elixir-koans
1abdb9944dd6e3f6162e0ed9b4b17bb9a5cacbd6
[ "MIT" ]
null
null
null
defmodule Lists do use Koans @intro "Lists" koan "We can see what is ahead" do assert List.first([1, 2, 3]) == 1 end koan "Checking what's trailing is also simple" do assert List.last([1, 2, 3]) == 3 end koan "Lists can store anything you throw at them" do assert [1, 2] ++ [:a, "b"] == [1,...
25.783784
73
0.599581
ac5c9062f827f531f62b816e4525ec24999368ec
490
ex
Elixir
services/fc_identity/lib/fc_identity/commands/change_default_account.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
services/fc_identity/lib/fc_identity/commands/change_default_account.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
services/fc_identity/lib/fc_identity/commands/change_default_account.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCIdentity.ChangeDefaultAccount do use TypedStruct use Vex.Struct typedstruct do field :request_id, String.t() field :requester_id, String.t() field :requester_type, String.t() field :requester_role, String.t() field :client_id, String.t() field :client_type, String.t() fie...
24.5
51
0.702041
ac5cb3f7213be1a4ef566cd79d1f50d7196bb9b3
615
exs
Elixir
test/generate_cpf_test.exs
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
2
2016-05-30T14:39:46.000Z
2016-08-09T17:25:09.000Z
test/generate_cpf_test.exs
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
null
null
null
test/generate_cpf_test.exs
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
null
null
null
defmodule Docsbr.GenerateCpfTest do use ExUnit.Case alias Docsbr.GenerateCpf test "Generate a valid cpf" do cpf = GenerateCpf.generate assert String.length(cpf) == 11 assert cpf |> String.slice(0..-3) |> GenerateCpf.verification_digit |> GenerateCpf.verification_digit |> Enum.join == cpf en...
25.625
116
0.721951
ac5cf531b8d739e94b077a4f8197ea27ea9de450
70
ex
Elixir
test/support/repo.ex
gor181/esx
8cc247ff92e2dac7f4ee4601298521622597f10c
[ "MIT" ]
27
2017-03-21T15:42:07.000Z
2021-10-18T21:15:53.000Z
test/support/repo.ex
ikeikeikeike/es
f38d6576e9bce466b91e4d75ed2c690756db6fb0
[ "MIT" ]
2
2017-06-03T19:25:13.000Z
2019-06-05T00:06:48.000Z
test/support/repo.ex
ikeikeikeike/es
f38d6576e9bce466b91e4d75ed2c690756db6fb0
[ "MIT" ]
4
2017-10-08T20:17:14.000Z
2021-05-24T11:22:13.000Z
defmodule ESx.Test.Support.Repo do use Ecto.Repo, otp_app: :esx end
17.5
34
0.757143
ac5d06896d5c095d966a0fed03ba3bc29fed222a
354
exs
Elixir
examples/hello_kubernetes/manifests/config.exs
Shikanime/Galaxy2
4d862e6272c4ef200fa14dceaf3cc2d05c72d5cd
[ "MIT" ]
1
2022-03-14T21:45:49.000Z
2022-03-14T21:45:49.000Z
examples/hello_kubernetes/manifests/config.exs
Shikanime/Galaxy
4d862e6272c4ef200fa14dceaf3cc2d05c72d5cd
[ "MIT" ]
null
null
null
examples/hello_kubernetes/manifests/config.exs
Shikanime/Galaxy
4d862e6272c4ef200fa14dceaf3cc2d05c72d5cd
[ "MIT" ]
null
null
null
import Config config :kernel, inet_dist_listen_min: 49200, inet_dist_listen_max: 49200 headless_service = System.get_env("SERVICE_NAME") || raise """ environment variable SERVICE_NAME is missing. You can retrieve a headless service using a StatefulSets """ config :galaxy, hosts: [headless_ser...
20.823529
60
0.742938
ac5d0ceb52a2250abc2df5cc418903031e941ae4
3,242
exs
Elixir
test/onsor_web/controllers/material_controller_test.exs
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
null
null
null
test/onsor_web/controllers/material_controller_test.exs
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
4
2021-03-09T00:47:04.000Z
2022-02-10T15:15:28.000Z
test/onsor_web/controllers/material_controller_test.exs
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
null
null
null
defmodule OnsorWeb.MaterialControllerTest do use OnsorWeb.ConnCase alias Onsor.Materials @create_attrs %{ compositions: %{}, description: "some description", name: "some name", unit: "some unit" } @update_attrs %{ compositions: %{}, description: "some updated description", name: ...
31.173077
96
0.67736
ac5d14b436801b5c05949618b482d70da00e28af
14,919
ex
Elixir
clients/storage/lib/google_api/storage/v1/api/bucket_access_controls.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/bucket_access_controls.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/bucket_access_controls.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.534328
218
0.678866
ac5d2a58eb366374287bd6a60303d0402cf944ea
18,477
ex
Elixir
lib/elixir/lib/module/types/pattern.ex
adrianomitre/elixir
556bd254db79ae0c3287a0d6773dce3e96882691
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/pattern.ex
adrianomitre/elixir
556bd254db79ae0c3287a0d6773dce3e96882691
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/pattern.ex
adrianomitre/elixir
556bd254db79ae0c3287a0d6773dce3e96882691
[ "Apache-2.0" ]
null
null
null
defmodule Module.Types.Pattern do @moduledoc false alias Module.Types.Of import Module.Types.{Helpers, Infer} @doc """ Handles patterns and guards at once. """ def of_head(patterns, guards, stack, context) do with {:ok, types, context} <- map_reduce_ok(patterns, context, &of_pattern(&1, s...
33.172352
98
0.579369
ac5d4da80eae021b3c0953fd86a38078ac909e22
508
ex
Elixir
lib/algoliax/response.ex
StephaneRob/algoliax
692edbe71b2197fd42ee76885b121802e9a6466e
[ "BSD-2-Clause" ]
11
2020-01-16T14:56:12.000Z
2020-09-03T10:38:41.000Z
lib/algoliax/response.ex
StephaneRob/algoliax
692edbe71b2197fd42ee76885b121802e9a6466e
[ "BSD-2-Clause" ]
12
2019-11-22T09:40:51.000Z
2020-08-19T06:09:15.000Z
lib/algoliax/response.ex
StephaneRob/algoliax
692edbe71b2197fd42ee76885b121802e9a6466e
[ "BSD-2-Clause" ]
3
2020-01-16T15:53:19.000Z
2020-04-30T12:31:48.000Z
defmodule Algoliax.Response do @moduledoc """ Algolia API response """ @type t :: %__MODULE__{ response: map(), task_id: integer(), updated_at: binary(), params: keyword() } defstruct [:response, :task_id, :updated_at, :params] def new(response, params) do ...
19.538462
55
0.580709
ac5d7abff1b109815c9359ae07740916c5365590
1,428
ex
Elixir
lib/todos_player_service/handler.ex
grrizzly/todos-player-service
1000421eb77af6422bfd4a8a6996cea284aea253
[ "MIT" ]
null
null
null
lib/todos_player_service/handler.ex
grrizzly/todos-player-service
1000421eb77af6422bfd4a8a6996cea284aea253
[ "MIT" ]
null
null
null
lib/todos_player_service/handler.ex
grrizzly/todos-player-service
1000421eb77af6422bfd4a8a6996cea284aea253
[ "MIT" ]
null
null
null
defmodule TodosPlayerService.Handler do use GenServer alias TodosPlayerService.{Models, Database} @private_model_fields [:_id, :_rev] @xp_per_task_completed 10 def start_link(opts \\ []) do GenServer.start_link(__MODULE__, :ok, Keyword.merge(opts, name: __MODULE__)) end def init(:ok) do {:ok, n...
25.963636
80
0.67437
ac5e00b05f6878de546624e152647360028d6232
4,239
exs
Elixir
test/glimesh/channel_lookups_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
test/glimesh/channel_lookups_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
test/glimesh/channel_lookups_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule Glimesh.ChannelLookupsTest do use Glimesh.DataCase use Bamboo.Test import Glimesh.AccountsFixtures alias Glimesh.ChannelLookups alias Glimesh.ChannelCategories defp create_channel(_) do gaming_id = ChannelCategories.get_category("gaming").id {:ok, subcategory} = ChannelCategories....
27
96
0.628686
ac5e85ffe5ac8be2bf85883e1201e9f0afe1061e
2,102
exs
Elixir
config/dev.exs
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
4
2019-04-06T15:36:48.000Z
2019-10-20T05:55:10.000Z
config/dev.exs
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
null
null
null
config/dev.exs
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
1
2021-05-04T10:59:57.000Z
2021-05-04T10:59:57.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :ble_live_sample, BleLiveSampleWeb.Endpoint, htt...
28.405405
68
0.686965
ac5e9186f05b9dc13b2240be8011d59bf1eb35f3
1,507
ex
Elixir
lib/ex_polygon/rest/crypto/snapshot_single_book.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/rest/crypto/snapshot_single_book.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/rest/crypto/snapshot_single_book.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.Rest.Crypto.SnapshotSingleBook do @moduledoc """ Returns a call to Crypto "Snapshot - Single Ticker Full Book" Polygon.io """ @type book :: ExPolygon.CryptoBook.t() @type api_key :: ExPolygon.Rest.HTTPClient.api_key() @type shared_error_reasons :: ExPolygon.Rest.HTTPClient.shared_error_...
28.980769
91
0.625747
ac5ea2f19fabb7419dd64e827dcb1eb14bf588e0
10,638
exs
Elixir
test/skogsra_test.exs
gmtprime/skogsra
f4577664b52ee91ed3d05a9ebc14991424e66fa6
[ "MIT" ]
97
2017-06-24T10:10:52.000Z
2022-02-28T14:11:49.000Z
test/skogsra_test.exs
gmtprime/skogsra
f4577664b52ee91ed3d05a9ebc14991424e66fa6
[ "MIT" ]
6
2019-12-09T10:05:52.000Z
2020-07-13T10:56:34.000Z
test/skogsra_test.exs
gmtprime/skogsra
f4577664b52ee91ed3d05a9ebc14991424e66fa6
[ "MIT" ]
2
2019-12-09T09:10:35.000Z
2020-03-11T14:33:37.000Z
defmodule SkogsraTest do use ExUnit.Case, async: true describe "app_env/4" do defmodule AppEnv.NoOptionsConfig do use Skogsra app_env :no_options, :my_app, :no_options end defmodule AppEnv.FromSystemConfig do use Skogsra app_env :from_system, :my_app, :from_system, bi...
30.050847
94
0.678323
ac5eb0de72bc94efb8f9122a851c433c6bfaf5ea
3,460
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/user_address.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/user_address.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/user_address.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...
41.686747
346
0.66474
ac5ec145ca3add136d5e6e91d5178273c2cba828
5,665
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/publisher_profile.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/publisher_profile.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/publisher_profile.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...
49.26087
146
0.697617
ac5ec55f146637abb9a19475a26d391e5463fa32
2,408
ex
Elixir
lib/utils.ex
serverboards/exosql
cb15305a1aecc97d9946bd32501f03c7894cfcd0
[ "Apache-2.0" ]
60
2018-01-12T12:53:13.000Z
2022-02-23T23:32:59.000Z
lib/utils.ex
serverboards/exosql
cb15305a1aecc97d9946bd32501f03c7894cfcd0
[ "Apache-2.0" ]
1
2018-02-22T13:09:08.000Z
2018-02-22T18:33:53.000Z
lib/utils.ex
serverboards/exosql
cb15305a1aecc97d9946bd32501f03c7894cfcd0
[ "Apache-2.0" ]
null
null
null
require Logger defmodule ExoSQL.Utils do @moduledoc """ Various assorted utility functions. """ def to_number(nil), do: {:error, nil} def to_number(n) when is_number(n), do: {:ok, n} # Weak typing def to_number(n) when is_binary(n) do {n, rem} = if String.contains?(n, ".") do Float.par...
20.758621
76
0.496262
ac5eeba2181592d9ed6467abe010039d0fbe5f78
2,921
ex
Elixir
lib/Base/Auth/player_Self.ex
ServusGameServer/Servus_Protobuf
cb870b7dccb6676e71045e231fd31547d63efa74
[ "Apache-2.0" ]
2
2018-10-19T06:14:08.000Z
2018-11-23T00:56:09.000Z
lib/Base/Auth/player_Self.ex
ServusGameServer/Servus_Protobuf
cb870b7dccb6676e71045e231fd31547d63efa74
[ "Apache-2.0" ]
null
null
null
lib/Base/Auth/player_Self.ex
ServusGameServer/Servus_Protobuf
cb870b7dccb6676e71045e231fd31547d63efa74
[ "Apache-2.0" ]
null
null
null
defmodule Servus.Player_Self do @moduledoc """ """ alias Servus.Serverutils alias Servus.{Repo, PlayerLogin} use Servus.Module require Logger import Ecto.Query, only: [from: 2] register(:AUTH_SELF) @doc """ Create SQL DB Connection Create Table Players @ Startup if needed Adds Fiels to Tab...
31.408602
138
0.643958
ac5f1aafbd37bf32bdabbe03e6d8ee8576308820
945
ex
Elixir
lib/absinthe/phase/document/validation/selected_current_operation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-10-10T02:57:52.000Z
2019-10-10T02:57:52.000Z
lib/absinthe/phase/document/validation/selected_current_operation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2020-07-21T05:23:37.000Z
2020-08-26T04:56:12.000Z
lib/absinthe/phase/document/validation/selected_current_operation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.Phase.Document.Validation.SelectedCurrentOperation do @moduledoc false # Validates an operation name was provided when needed. alias Absinthe.{Blueprint, Phase} use Absinthe.Phase use Absinthe.Phase.Validation @doc """ Run the validation. """ @spec run(Blueprint.t(), Keyword.t()...
21.976744
82
0.643386
ac5f2ba70fbb9f535d97684d61e54a115c829bcd
216
exs
Elixir
priv/templates/curator_database_authenticatable.install/migration.exs
curator-ex/curator_database_authenticatable
14c79ca257417bb79c1a9001d09577c1d7eb79df
[ "MIT" ]
null
null
null
priv/templates/curator_database_authenticatable.install/migration.exs
curator-ex/curator_database_authenticatable
14c79ca257417bb79c1a9001d09577c1d7eb79df
[ "MIT" ]
1
2020-05-23T16:15:33.000Z
2020-05-23T16:15:33.000Z
priv/templates/curator_database_authenticatable.install/migration.exs
curator-ex/curator_database_authenticatable
14c79ca257417bb79c1a9001d09577c1d7eb79df
[ "MIT" ]
null
null
null
defmodule <%= base %>.Repo.Migrations.Create<%= scoped %>CuratorDatabaseAuthenticatable do use Ecto.Migration def change do alter table(:<%= plural %>) do add :password_hash, :string end end end
21.6
90
0.680556
ac5f5162d0059c4176a394631234c29a8333fb10
593
exs
Elixir
mix.exs
ityonemo/readme_consistency
c56229eb1fac480ad8b65b3de92f01fd64e42dfa
[ "WTFPL" ]
4
2021-01-03T20:49:38.000Z
2021-05-29T22:10:00.000Z
mix.exs
ityonemo/readme_consistency
c56229eb1fac480ad8b65b3de92f01fd64e42dfa
[ "WTFPL" ]
null
null
null
mix.exs
ityonemo/readme_consistency
c56229eb1fac480ad8b65b3de92f01fd64e42dfa
[ "WTFPL" ]
null
null
null
defmodule ReadmeConsistency.MixProject do use Mix.Project def project do [ app: :readme_consistency, 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...
20.448276
87
0.591906
ac5f584e8cf7c3ac6ba1a40f6033cbcefe575aa2
2,100
ex
Elixir
lib/social/users/volatile_users_repository.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
lib/social/users/volatile_users_repository.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
lib/social/users/volatile_users_repository.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
defmodule SocialNetworkingKata.Social.Users.VolatileUsersRepository do @moduledoc """ The volatile repository of all the users of the Social Network """ alias SocialNetworkingKata.Social.Users.User defmodule State do @moduledoc false use Domo typedstruct do field :users, %{optional(String....
28.767123
97
0.64381
ac5f79f85144c706b6d3ccf57732f95a7b997fd9
307
ex
Elixir
lib/riverside/codec.ex
LukasDoesDev/riverside
c2866be6c152e38cc142becf3e9c8c042c80ed57
[ "MIT" ]
63
2018-05-02T16:47:44.000Z
2022-03-07T09:48:58.000Z
lib/riverside/codec.ex
LukasDoesDev/riverside
c2866be6c152e38cc142becf3e9c8c042c80ed57
[ "MIT" ]
20
2017-09-24T00:42:12.000Z
2021-12-11T12:00:13.000Z
lib/riverside/codec.ex
LukasDoesDev/riverside
c2866be6c152e38cc142becf3e9c8c042c80ed57
[ "MIT" ]
9
2019-02-18T10:09:30.000Z
2021-12-09T21:11:02.000Z
defmodule Riverside.Codec do @type frame_type :: :text | :binary @callback frame_type :: frame_type @callback decode(binary) :: {:ok, any} | {:error, :invalid_message} @callback encode(any) :: {:ok, binary} | {:error, :invalid_message} end
21.928571
42
0.553746
ac5fa34ac541ae648cafa852e7701e37fe731ed9
8,506
ex
Elixir
lib/mix/tasks/hex.config.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
lib/mix/tasks/hex.config.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
lib/mix/tasks/hex.config.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Mix.Tasks.Hex.Config do use Mix.Task @shortdoc "Reads, updates or deletes local Hex config" @moduledoc """ Reads, updates or deletes local Hex config. ## List config keys and values $ mix hex.config ## Get or delete config value for KEY $ mix hex.config KEY [--delete] ## Set c...
31.857678
148
0.634846
ac5fae87e652c53afd583943e896cbd61005bfdd
2,590
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/safe_search_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/safe_search_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/safe_search_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.088235
127
0.704247
ac5faf15f4bcc669efc14715d8589c7207ca2bca
3,120
ex
Elixir
clients/script/lib/google_api/script/v1/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/connection.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...
33.548387
124
0.716026
ac5fbf3da70b66b4e0ea1fd9dade15c6636ec920
492
ex
Elixir
lib/ash_policy_authorizer/check/relates_to_actor_via.ex
jonathanstiansen/ash_policy_authorizer
d383c63d890c43211c2ac65c8ebb1aeed7fddfa5
[ "MIT" ]
null
null
null
lib/ash_policy_authorizer/check/relates_to_actor_via.ex
jonathanstiansen/ash_policy_authorizer
d383c63d890c43211c2ac65c8ebb1aeed7fddfa5
[ "MIT" ]
null
null
null
lib/ash_policy_authorizer/check/relates_to_actor_via.ex
jonathanstiansen/ash_policy_authorizer
d383c63d890c43211c2ac65c8ebb1aeed7fddfa5
[ "MIT" ]
null
null
null
defmodule AshPolicyAuthorizer.Check.RelatesToActorVia do @moduledoc false use AshPolicyAuthorizer.FilterCheck @impl true def describe(opts) do path = Enum.join(opts[:relationship_path], ".") "record.#{path} == actor" end @impl true def filter(opts) do put_in_path(opts[:relationship_path], {:...
20.5
67
0.689024
ac5fc1680ccfbded2533bfe44ddb1f33498d59f9
758
exs
Elixir
test/docdog_web/controllers/popular_controller_test.exs
wunsh/docdog-engine
a3044d21a6ac00098a295249358a367059453b8d
[ "MIT" ]
40
2017-04-19T15:35:42.000Z
2020-02-14T11:07:44.000Z
test/docdog_web/controllers/popular_controller_test.exs
wunsh/docdog-engine
a3044d21a6ac00098a295249358a367059453b8d
[ "MIT" ]
43
2017-01-17T23:03:47.000Z
2018-08-16T01:25:24.000Z
test/docdog_web/controllers/popular_controller_test.exs
wunsh/docdog-engine
a3044d21a6ac00098a295249358a367059453b8d
[ "MIT" ]
6
2018-02-15T09:43:15.000Z
2018-04-10T21:08:36.000Z
defmodule DocdogWeb.PopularControllerTest do use DocdogWeb.ConnCase import Docdog.Factory setup do user = insert(:user) conn = build_conn() |> assign(:current_user, user) private_project = insert(:project, name: "Private Project") public_project = insert(:project, name: "Public Pro...
26.137931
87
0.683377
ac5fcfc78734183abbddd399573ab24622dbc945
2,686
ex
Elixir
lib/pkg_deb/format/data.ex
sblaisot/pkg_deb
a9ec11fa119d6005d935c1b629960c9697864d27
[ "MIT" ]
null
null
null
lib/pkg_deb/format/data.ex
sblaisot/pkg_deb
a9ec11fa119d6005d935c1b629960c9697864d27
[ "MIT" ]
12
2020-07-18T10:38:53.000Z
2022-03-24T04:04:12.000Z
lib/pkg_deb/format/data.ex
sblaisot/pkg_deb
a9ec11fa119d6005d935c1b629960c9697864d27
[ "MIT" ]
1
2020-11-28T21:08:54.000Z
2020-11-28T21:08:54.000Z
defmodule PkgDeb.Format.Data do @moduledoc """ This module houses the logic required to build the data payload portion of the debian package. """ alias PkgDeb.Format.Generators.{Upstart, Systemd, Sysvinit} def build({release, dir}, config) do data_dir = make_data_dir(dir, config) copy_release(data_...
27.408163
97
0.659345
ac5fd8b64f40913f070a396d6acbb710fb37c222
26,017
exs
Elixir
lib/elixir/test/elixir/kernel_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule KernelTest do use ExUnit.Case, async: true doctest Kernel defp empty_list(), do: [] test "=~/2" do assert ("abcd" =~ ~r/c(d)/) == true assert ("abcd" =~ ~r/e/) == false assert ("abcd" =~ ~R/c(d)/) == true assert ("abcd" =~ ~R/e/) == fals...
28.340959
126
0.546835
ac5fdacc6073518e99224c9db5801fa2f1fcf0d9
565
ex
Elixir
lib/heat_tags_web/controllers/messages_controller.ex
DPechetti/nlw-heat-elixir
c3fe71244a4c1d49bb28668f9334c5b4c803aa54
[ "MIT" ]
2
2021-10-30T11:53:58.000Z
2022-02-06T02:17:06.000Z
lib/heat_tags_web/controllers/messages_controller.ex
DPechetti/nlw-heat-elixir
c3fe71244a4c1d49bb28668f9334c5b4c803aa54
[ "MIT" ]
1
2021-10-30T14:24:28.000Z
2021-10-30T14:24:28.000Z
lib/heat_tags_web/controllers/messages_controller.ex
DPechetti/nlw-heat-elixir
c3fe71244a4c1d49bb28668f9334c5b4c803aa54
[ "MIT" ]
null
null
null
defmodule HeatTagsWeb.MessagesController do use HeatTagsWeb, :controller alias HeatTags.Message alias HeatTags.Messages.Create def create(conn, params) do params |> Create.call() |> handleCreate(conn) end defp handleCreate({:ok, %Message{} = message}, conn) do conn |> put_status(:created) |> rend...
25.681818
75
0.692035
ac5fe74e19cab7e4c2de61f2216e5a901925820b
1,164
exs
Elixir
test/cgrates_web_jsonapi_web/controllers/tp_rate_import_job_controller_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
test/cgrates_web_jsonapi_web/controllers/tp_rate_import_job_controller_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
test/cgrates_web_jsonapi_web/controllers/tp_rate_import_job_controller_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapi.TariffPlans.TpRateImportJobControllerTest do use CgratesWebJsonapi.ConnCase import CgratesWebJsonapi.Factory import CgratesWebJsonapi.Guardian setup do user = insert(:user) {:ok, token, _} = encode_and_sign(user, %{}, token_type: :access) conn = build_conn() ...
29.1
72
0.610825
ac603011f0a2b3a9bf4578ed40945245dbd44fc2
1,127
ex
Elixir
lib/minecraft_controller_web/channels/user_socket.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
null
null
null
lib/minecraft_controller_web/channels/user_socket.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
29
2021-02-13T06:54:56.000Z
2021-06-06T09:55:36.000Z
lib/minecraft_controller_web/channels/user_socket.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
null
null
null
defmodule MinecraftControllerWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", MinecraftControllerWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that wi...
31.305556
94
0.704525
ac60327b355d95326de04fffd53b07ae0ec36c8c
1,191
ex
Elixir
tfl_demo/lib/tfl_demo/handtrack.ex
shoz-f/tfl_projects
274db6b952e2f6042f7e3ab2ab2505f55a60de90
[ "Apache-2.0" ]
null
null
null
tfl_demo/lib/tfl_demo/handtrack.ex
shoz-f/tfl_projects
274db6b952e2f6042f7e3ab2ab2505f55a60de90
[ "Apache-2.0" ]
null
null
null
tfl_demo/lib/tfl_demo/handtrack.ex
shoz-f/tfl_projects
274db6b952e2f6042f7e3ab2ab2505f55a60de90
[ "Apache-2.0" ]
null
null
null
defmodule TflDemo.Handtrack do alias TflDemo.Handtrack.Prediction def apply(img_file) do img = CImg.load(img_file) Prediction.apply(img) |> Nx.to_batched_list(1) |> Enum.reduce(CImg.builder(img), &draw_object(&2, &1)) end def draw_object(builder, box) do [y1, x1, y2, x2] = Nx.to_flat_li...
22.903846
73
0.619647
ac604686c0e6030e85af50d8d2c7e3b804411fa2
675
exs
Elixir
test/fixtures/host_tool/mix.exs
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
test/fixtures/host_tool/mix.exs
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
test/fixtures/host_tool/mix.exs
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
defmodule HostTool.Mixfile do use Mix.Project def project do [ app: :host_tool, version: "0.1.0", elixir: "~> 1.5", compilers: Mix.compilers() ++ [:nerves_package], nerves_package: nerves_package(), deps: deps(), aliases: Nerves.Bootstrap.add_aliases([]) ] end ...
17.307692
67
0.551111
ac60478ce84c60a5c7dee1bf2e69d401a06ed2f1
1,160
exs
Elixir
config/config.exs
jpcweb/datex
6bd8788bc1c43e1bbccd1fd06f0dc183bfcbe5f3
[ "MIT" ]
null
null
null
config/config.exs
jpcweb/datex
6bd8788bc1c43e1bbccd1fd06f0dc183bfcbe5f3
[ "MIT" ]
null
null
null
config/config.exs
jpcweb/datex
6bd8788bc1c43e1bbccd1fd06f0dc183bfcbe5f3
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # 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.25
73
0.749138
ac605f6062a5d7469ee2842964f1326c237b6382
981
exs
Elixir
priv/repo/migrations/20220117074142_add_teams.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
priv/repo/migrations/20220117074142_add_teams.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
priv/repo/migrations/20220117074142_add_teams.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Repo.Migrations.AddTeams do use Ecto.Migration def change do create table(:teams, primary_key: false) do add :id, :uuid, primary_key: true add :name, :string, default: false, null: false add :slug, :string, default: false, null: false add :avatar_url, :string add...
28.028571
68
0.606524
ac60724c1335c0de1e47daa359603763bb94b2e8
374
ex
Elixir
test/helpers/storage_case.ex
amatalai/commanded
1e62888bdd733741fd08d42d9350282071764b35
[ "MIT" ]
null
null
null
test/helpers/storage_case.ex
amatalai/commanded
1e62888bdd733741fd08d42d9350282071764b35
[ "MIT" ]
null
null
null
test/helpers/storage_case.ex
amatalai/commanded
1e62888bdd733741fd08d42d9350282071764b35
[ "MIT" ]
null
null
null
defmodule Commanded.StorageCase do @moduledoc false use ExUnit.CaseTemplate require Logger alias Commanded.EventStore.Adapters.InMemory alias Commanded.Serialization.JsonSerializer setup do on_exit(fn -> :ok = Application.stop(:commanded) InMemory.reset!() {:ok, _apps} = Applicat...
17.809524
63
0.719251
ac6072f91a2ef2493e96a5da3fe5f668af742462
456
ex
Elixir
lib/nug/request_client.ex
mfeckie/nug
164772bcf8a9a808cdb742a967f61807c132cbdf
[ "MIT" ]
1
2020-05-13T23:25:31.000Z
2020-05-13T23:25:31.000Z
lib/nug/request_client.ex
mfeckie/nug
164772bcf8a9a808cdb742a967f61807c132cbdf
[ "MIT" ]
null
null
null
lib/nug/request_client.ex
mfeckie/nug
164772bcf8a9a808cdb742a967f61807c132cbdf
[ "MIT" ]
null
null
null
defmodule Nug.RequestClient do def new(headers \\ [], intercept_options) when is_list(intercept_options) do headers = Enum.reject(headers, fn {name, _value} -> name == "host" end) middleware = [ Tesla.Middleware.Logger, {Tesla.Middleware.Headers, headers}, {Nug.RequestInterceptor, int...
28.5
75
0.686404
ac6074618469b51e74815d8bfc9be32c78b86818
7,138
ex
Elixir
lib/logger.ex
lycus/flect
a52a4d4e74cd64c2d39b0a5ecda561fd30370233
[ "MIT" ]
17
2015-02-10T11:41:20.000Z
2021-12-17T08:37:26.000Z
lib/logger.ex
lycus/flect
a52a4d4e74cd64c2d39b0a5ecda561fd30370233
[ "MIT" ]
null
null
null
lib/logger.ex
lycus/flect
a52a4d4e74cd64c2d39b0a5ecda561fd30370233
[ "MIT" ]
3
2016-01-28T13:30:26.000Z
2019-09-05T00:47:55.000Z
defmodule Flect.Logger do @moduledoc """ Provides logging facilities for the various Flect tools. If the `:flect_event_pid` application configuration key is set for the `:flect` application, log messages will be sent as `{:flect_stdout, msg}` (where `msg` is a binary) to that PID instead of being p...
37.968085
139
0.536145
ac608e2e682c5e7937783f867ae7fefd6e0b3a79
5,325
exs
Elixir
test/lib/code_corps/github/event/installation/installation_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps/github/event/installation/installation_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps/github/event/installation/installation_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.GitHub.Event.InstallationTest do @moduledoc false use CodeCorps.DbAccessCase import CodeCorps.GitHub.TestHelpers alias CodeCorps.{ GithubAppInstallation, GithubRepo, GitHub.Event.Installation, Repo } defmodule BadRepoRequest do def request(:get, "https://api.githu...
35.97973
135
0.688638
ac6099eb680984c31b62e2899003935d8d796492
2,374
exs
Elixir
test/base32_crockford_test.exs
faried/base32_crockford
3f815273818212c94c43a1a233ead2a1a80c3a83
[ "MIT" ]
null
null
null
test/base32_crockford_test.exs
faried/base32_crockford
3f815273818212c94c43a1a233ead2a1a80c3a83
[ "MIT" ]
null
null
null
test/base32_crockford_test.exs
faried/base32_crockford
3f815273818212c94c43a1a233ead2a1a80c3a83
[ "MIT" ]
null
null
null
defmodule Base32CrockfordTest do use ExUnit.Case doctest Base32Crockford import Base32Crockford describe "#encode" do test "encodes integer to base 32 string" do assert "0" == encode(0) assert "Z" == encode(31) assert "16J" == encode(1234) assert "1CZ" == encode(1439) end t...
27.604651
63
0.601095
ac609c0f9618547b92991f67ed407a972dbbf8fc
1,643
ex
Elixir
lib/remit_web/live_view_helpers.ex
barsoom/ex-rem
7d3a1cc401350d62a2939098848357e0fd5e2a80
[ "MIT" ]
17
2020-06-28T19:01:49.000Z
2021-11-24T23:55:09.000Z
lib/remit_web/live_view_helpers.ex
barsoom/ex-rem
7d3a1cc401350d62a2939098848357e0fd5e2a80
[ "MIT" ]
29
2020-06-27T17:44:38.000Z
2022-01-17T10:00:12.000Z
lib/remit_web/live_view_helpers.ex
barsoom/ex-rem
7d3a1cc401350d62a2939098848357e0fd5e2a80
[ "MIT" ]
2
2021-03-01T09:51:56.000Z
2021-03-04T21:27:56.000Z
defmodule RemitWeb.LiveViewHelpers do alias Remit.Commit import Phoenix.HTML.Tag @small_commit_px 25 def github_avatar_sized_spacer(:small_commit) do content_tag(:div, "", style: "width: #{@small_commit_px}px") end def github_avatar(_, _, opts \\ []) def github_avatar(nil, _, _), do: nil def git...
33.530612
109
0.670116
ac60b840f9f4ec68e350053d60e1d543b4c72e41
3,155
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/allocate_quota_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/allocate_quota_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/allocate_quota_response.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...
45.724638
178
0.736926
ac612c8252eb616bf92b54eb97925e77b5c8efd3
1,751
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/container_service_agent_pool_profile.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.Containers/lib/microsoft/azure/management/containers/model/container_service_agent_pool_profile.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/container_service_agent_pool_profile.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.Containers.Model.ContainerServiceAgentPoolProfile do @moduledoc """ Profile for the container service agent pool. ...
35.02
131
0.715591
ac612fc30020bd162f93717fc9f7c0d1fbc1e82d
340
ex
Elixir
lib/glimesh.ex
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
lib/glimesh.ex
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
lib/glimesh.ex
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
defmodule Glimesh do @moduledoc """ Glimesh 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. """ def get_version do Keyword.get(Application.spec(:glimesh), :vsn, "...
24.285714
66
0.735294
ac61340084f6434594f778ace228cad0f35ad02e
1,802
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_replace_dictionary_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_replace_dictionary_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_replace_dictionary_config.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.340426
266
0.765261
ac615b50bead4692cafb54b8d407681fd856dcf0
675
ex
Elixir
lib/db/database.ex
cgmcintyr/beiin
db447610b938e734baae50a5263a7a1828e871b7
[ "MIT" ]
null
null
null
lib/db/database.ex
cgmcintyr/beiin
db447610b938e734baae50a5263a7a1828e871b7
[ "MIT" ]
null
null
null
lib/db/database.ex
cgmcintyr/beiin
db447610b938e734baae50a5263a7a1828e871b7
[ "MIT" ]
null
null
null
defmodule Beiin.DB.Database do @callback init( host :: String.t(), port :: integer ) :: {:ok} | {:error, String.t()} @callback insert( host :: String.t(), port :: integer, metric :: String.t(), timestamp :: integer, ...
28.125
54
0.404444
ac618475f155e752a0f7a06dac74d4ec9b5ffc3c
1,185
ex
Elixir
lib/x_util/time.ex
s3cur3/elixir-xutil
7b7163bcbffb288db4fe51c98d0faf0d913faec5
[ "MIT" ]
2
2021-01-14T22:20:18.000Z
2021-04-21T14:52:13.000Z
lib/x_util/time.ex
s3cur3/elixir-xutil
7b7163bcbffb288db4fe51c98d0faf0d913faec5
[ "MIT" ]
null
null
null
lib/x_util/time.ex
s3cur3/elixir-xutil
7b7163bcbffb288db4fe51c98d0faf0d913faec5
[ "MIT" ]
2
2021-07-25T12:17:33.000Z
2021-12-21T11:33:03.000Z
defmodule XUtil.Time do @moduledoc """ Simple utilities for working with times. This is mostly to stop me from searching the web for "how do I get x in Elixir?". """ @doc """ The current Unix timestamp, expressed in integer milliseconds. Not necessarily monotonically increasing. """ def unix_timesta...
33.857143
123
0.740084
ac619a7c37a853375f380503296b3ac92b2f0c50
509
ex
Elixir
lib/edgedb/protocol/datatypes/int8.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/datatypes/int8.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/datatypes/int8.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Datatypes.Int8 do @moduledoc false use EdgeDB.Protocol.Datatype @int8_max 0x7F @int8_min -0x80 defguard is_int8(number) when is_integer(number) and @int8_min <= number and number <= @int8_max defdatatype(type: integer()) @impl EdgeDB.Protocol.Datatype def encode...
21.208333
82
0.711198
ac61a4a7925e5a6de9414a5adcae24e893388c39
2,421
ex
Elixir
apps/eventbus/lib/eventbus/application.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
4
2020-12-30T02:53:21.000Z
2021-06-25T03:04:47.000Z
apps/eventbus/lib/eventbus/application.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
apps/eventbus/lib/eventbus/application.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
defmodule Eventbus.Application do @moduledoc """ The Eventbus Application Service. """ use Application alias Eventbus.{TopicSupervisor, PartitionManager, StatsManager, ClusterManager, Tracker, Redix} defmacro test?() do Mix.env() == :test end def start(_type, _args) do import Supervis...
27.827586
99
0.641884
ac61c1e568edd98e2f9d6bd3f466b2c5c5e59563
711
ex
Elixir
lib/appsignal/transaction.ex
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
234
2016-08-18T20:43:15.000Z
2022-02-27T11:31:48.000Z
lib/appsignal/transaction.ex
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
563
2016-07-25T17:45:14.000Z
2022-03-21T11:39:29.000Z
lib/appsignal/transaction.ex
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
86
2016-09-13T22:53:46.000Z
2022-02-16T11:03:51.000Z
defmodule Appsignal.Transaction do @doc false @deprecated "Use Appsignal.Tracer instead." def start(_id, _namespace), do: nil @deprecated "" def generate_id, do: nil @deprecated "Use Appsignal.Span instead." def set_action(_action), do: nil @deprecated "Use Appsignal.Span instead." def set_sample_...
25.392857
67
0.727145
ac61e4a3a70d6530839ecd9e2d3ad98a9e39b99c
31,478
ex
Elixir
lib/elixir/lib/module/types/infer.ex
cadebward/elixir
64c5466f872bc5c4671b47fa1ff3368d6c4473c1
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/lib/module/types/infer.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/infer.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
defmodule Module.Types.Infer do @moduledoc false import Module.Types.Helpers defmacrop is_var(expr) do quote do is_tuple(unquote(expr)) and tuple_size(unquote(expr)) == 3 and is_atom(elem(unquote(expr), 0)) and is_atom(elem(unquote(expr), 2)) end end ## PATTERNS @do...
31.290258
94
0.59737
ac620850905448ebc6cac0b3fd919ac41043eb6b
1,140
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.545455
74
0.745614
ac620a2a7dd8906b791f8564fa3facbc69f81c9e
1,661
exs
Elixir
server/scheduler/config/dev.exs
llucasreis/jobs-searcher
1b1d764931c27e09bf7940a5db2dd37d31e42221
[ "MIT" ]
null
null
null
server/scheduler/config/dev.exs
llucasreis/jobs-searcher
1b1d764931c27e09bf7940a5db2dd37d31e42221
[ "MIT" ]
null
null
null
server/scheduler/config/dev.exs
llucasreis/jobs-searcher
1b1d764931c27e09bf7940a5db2dd37d31e42221
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :scheduler, Scheduler.Repo, username: "postgres", password: "p0stgr3s", database: "scheduler_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code rel...
28.637931
68
0.727875
ac620f54217680eccc4afd80b43b3a0e13aa11f6
723
exs
Elixir
018.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
018.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
018.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
tree = " 75 95 64 17 47 82 18 35 87 10 20 04 82 47 65 19 01 23 75 03 34 88 02 77 73 07 63 67 99 65 04 28 06 16 70 92 41 41 26 56 83 40 80 70 33 41 48 72 33 47 32 37 16 94 29 53 71 44 65 25 43 91 52 97 51 14 70 11 33 28 77 73 17 78 39 68 17 57 91 71 52 38 17 14 91 43 58 50 27 29 48 63 66 04 68 89 53 67 30 73 16 69 87 40...
23.322581
60
0.618257
ac621e35da80b971bade0ea471d77ac19e7778a1
123,342
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/api/projects.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...
46.649773
607
0.623308
ac62203a616effc74b8b983c0cb152ae39206dc8
2,505
ex
Elixir
apps/go_stop_web/lib/go_stop_web/schema.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
8
2017-06-04T04:05:47.000Z
2019-11-04T18:00:45.000Z
apps/go_stop_web/lib/go_stop_web/schema.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
19
2018-04-19T07:24:57.000Z
2019-08-07T16:37:05.000Z
apps/go_stop_web/lib/go_stop_web/schema.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
1
2018-07-18T07:51:47.000Z
2018-07-18T07:51:47.000Z
defmodule GoStopWeb.Schema do use Absinthe.Schema import_types GoStopWeb.Schema.User import_types GoStopWeb.Schema.Game import_types GoStopWeb.Schema.Player import_types GoStopWeb.Schema.PlayerStats import_types GoStopWeb.Schema.Stone alias GoStopWeb.Resolvers query do @desc "Get all Users" fi...
25.05
77
0.661876
ac6274cc3e254a27365606875dc8538ac5436c1f
386
exs
Elixir
clients/blogger/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/blogger/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/blogger/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.Blogger.V3.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.Blogger.V3.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scope(scope) do {:ok...
20.315789
83
0.696891
ac62867662e2d93ad78e40ce728b49a664040afc
525
ex
Elixir
lib/web/plugs/fetch_user.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/plugs/fetch_user.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/plugs/fetch_user.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.Plugs.FetchUser do @moduledoc """ Fetch a user from the session """ @behaviour Plug import Plug.Conn alias ChallengeGov.Accounts @impl Plug def init(default), do: default @impl Plug def call(conn, _opts) do case conn |> get_session(:user_token) do nil -> conn ...
16.935484
53
0.64381
ac62946cb54089e2f376543a7a042464cb03367f
1,117
ex
Elixir
sous_chef/test/support/channel_case.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/test/support/channel_case.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/test/support/channel_case.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
defmodule SousChefWeb.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
ac629afdb94847dcf85c53ffe55ba94879a2dcb0
1,819
ex
Elixir
test/support/cluster.ex
EskiMag/phoenix_pubsub
3f324a54848a37d4dae98954a4c70713c8df1d48
[ "MIT" ]
3
2020-06-08T03:47:03.000Z
2021-09-17T21:48:37.000Z
test/support/cluster.ex
EskiMag/phoenix_pubsub
3f324a54848a37d4dae98954a4c70713c8df1d48
[ "MIT" ]
null
null
null
test/support/cluster.ex
EskiMag/phoenix_pubsub
3f324a54848a37d4dae98954a4c70713c8df1d48
[ "MIT" ]
null
null
null
defmodule Phoenix.PubSub.Cluster do def spawn do # Turn node into a distributed node with the given long name :net_kernel.start([:"primary@127.0.0.1"]) # Allow spawned nodes to fetch all code from this node :erl_boot_server.start([]) allow_boot to_char_list("127.0.0.1") nodes = Application....
27.149254
99
0.670148
ac62a88d079056ee68bef726850bb7c989fd83f7
1,691
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_player.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/video_player.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_player.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.90566
121
0.704908
ac62b69d0b2752276d1e63155bd7eabcdfaaf5fd
69,144
ex
Elixir
clients/storage/lib/google_api/storage/v1/api/objects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/storage/lib/google_api/storage/v1/api/objects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/objects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
59.453138
529
0.659551
ac62e5f59af277968894998270337d2bb0d480da
21,662
ex
Elixir
lib/money/currency.ex
A-Legg/money
0ff533198f4fc3257732fae8773972ad39a8363b
[ "MIT" ]
null
null
null
lib/money/currency.ex
A-Legg/money
0ff533198f4fc3257732fae8773972ad39a8363b
[ "MIT" ]
null
null
null
lib/money/currency.ex
A-Legg/money
0ff533198f4fc3257732fae8773972ad39a8363b
[ "MIT" ]
null
null
null
defmodule Money.Currency do @moduledoc """ Provides currency support to `Money` Some useful helper methods include: - `get/1` - `get!/1` - `exists?/1` - `to_atom/1` - `name/1` - `name!/1` - `symbol/1` - `symbol!/1` - `all/0` A helper function exists for each currency using the lowercase thre...
43.939148
114
0.606084
ac6314f04a7bd26a4acb310360468c8508caac17
833
ex
Elixir
lib/retrospectivex_web/views/retrospectives/board/component/show_view.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
lib/retrospectivex_web/views/retrospectives/board/component/show_view.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
lib/retrospectivex_web/views/retrospectives/board/component/show_view.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule RetrospectivexWeb.Retrospectives.Board.Component.ShowView do use RetrospectivexWeb, :view import RetrospectivexWeb.Retrospectives.BoardView, only: [format_date: 1] defp board_order_by_options do [ {gettext("Votes"), "votes"}, {gettext("Creation date"), "inserted_at"} ] end def...
26.870968
75
0.702281
ac631a1261740b4de1dc549140215dcfd2665e60
32,171
ex
Elixir
lib/aws/organizations.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
223
2015-05-29T17:45:35.000Z
2021-06-29T08:37:14.000Z
lib/aws/organizations.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
33
2015-11-20T20:56:43.000Z
2021-07-09T20:13:34.000Z
lib/aws/organizations.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
62
2015-06-14T20:53:24.000Z
2021-12-13T07:20:15.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.Organizations do @moduledoc """ AWS Organizations API Reference AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts into an *organization* and cent...
42.610596
137
0.750303
ac631a249d2924d4a4d27b791d37c64b9ae59b67
1,369
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_job_notification_emails.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_job_notification_emails.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_job_notification_emails.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.595238
94
0.775749
ac638757143bb8bc33e325e766f3dabd84d8bdf8
1,430
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/google_bytestream_media.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/display_video/lib/google_api/display_video/v1/model/google_bytestream_media.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/display_video/lib/google_api/display_video/v1/model/google_bytestream_media.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...
30.425532
89
0.741958
ac63a7cdc029b45d79ca8c5fae746163af8e5b19
635
ex
Elixir
apps/rna/lib/rna/application.ex
yeongsheng-tan/rna_umbrella
ff97599e726f6adae3fcaee31e3c13faee06838a
[ "BSD-3-Clause" ]
3
2017-03-08T03:00:14.000Z
2017-06-27T22:02:03.000Z
apps/rna/lib/rna/application.ex
yeongsheng-tan/rna_umbrella
ff97599e726f6adae3fcaee31e3c13faee06838a
[ "BSD-3-Clause" ]
null
null
null
apps/rna/lib/rna/application.ex
yeongsheng-tan/rna_umbrella
ff97599e726f6adae3fcaee31e3c13faee06838a
[ "BSD-3-Clause" ]
null
null
null
defmodule Rna.Application do @moduledoc """ The Rna Application Service. The rna system business domain lives in this application. Exposes API to clients such as the `Rna.Web` application for use in channels, controllers, and elsewhere. """ use Application def start(_type, _args) do import Superv...
26.458333
93
0.711811
ac63b4e391e43602b7111fafa207212ab403fdab
111
exs
Elixir
test/crawlie/stats/counter_test.exs
kianmeng/crawlie
19883f17a208107927ba14d15312f5a908d5e8ea
[ "MIT" ]
91
2016-12-29T12:31:14.000Z
2021-09-25T23:09:34.000Z
test/crawlie/stats/counter_test.exs
kianmeng/crawlie
19883f17a208107927ba14d15312f5a908d5e8ea
[ "MIT" ]
40
2016-12-14T00:55:52.000Z
2022-01-29T08:46:03.000Z
test/crawlie/stats/counter_test.exs
kianmeng/crawlie
19883f17a208107927ba14d15312f5a908d5e8ea
[ "MIT" ]
10
2017-04-06T11:18:10.000Z
2021-10-30T00:04:09.000Z
defmodule Crawlie.Stats.CounterTest do use ExUnit.Case alias Crawlie.Stats.Counter doctest Counter end
13.875
38
0.792793
ac63d08f81f8ac38d4805755e1380385c79446d5
1,163
exs
Elixir
config/config.exs
xeejp/xee_probability_weighting_function
dc58d41e5921719c9f3410978923eb7b1c405ea6
[ "MIT" ]
null
null
null
config/config.exs
xeejp/xee_probability_weighting_function
dc58d41e5921719c9f3410978923eb7b1c405ea6
[ "MIT" ]
null
null
null
config/config.exs
xeejp/xee_probability_weighting_function
dc58d41e5921719c9f3410978923eb7b1c405ea6
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # 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...
37.516129
73
0.760963
ac63df6dfd80ce048cde4146823db7f1e4690a6d
2,874
exs
Elixir
homesynck/config/prod.secret.exs
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
homesynck/config/prod.secret.exs
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
homesynck/config/prod.secret.exs
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
use Mix.Config # database_url = # System.get_env("DATABASE_URL") || # raise """ # environment variable DATABASE_URL is missing. # For example: ecto://USER:PASS@HOST/DATABASE # """ config :homesynck, instance_name: System.get_env("INSTANCE_NAME"), instance_description: System.get_env("INSTANCE_DE...
42.264706
87
0.728601
ac6417762ed339950e415b25df7717febb9582f6
743
ex
Elixir
apps/core/lib/core/services_catalog/service.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/services_catalog/service.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/services_catalog/service.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Services.Service do @moduledoc false use Ecto.Schema alias Core.Services.{ProgramService, ServiceInclusion} alias Ecto.UUID @primary_key {:id, :binary_id, autogenerate: true} schema "services" do field(:code, :string) field(:name, :string) field(:category, :string) field(:i...
26.535714
75
0.720054
ac641fedc18c7796745c5e5eb2611cd949389bd5
550
ex
Elixir
dummy/lib/dummy/posts/post.ex
zgohr/turbo_ecto
2467be3f0923193349c08d18061efbc952523b21
[ "MIT" ]
4
2019-01-23T14:10:31.000Z
2019-05-14T15:41:11.000Z
dummy/lib/dummy/posts/post.ex
zgohr/turbo_ecto
2467be3f0923193349c08d18061efbc952523b21
[ "MIT" ]
35
2019-02-19T02:11:33.000Z
2021-09-01T07:09:42.000Z
dummy/lib/dummy/posts/post.ex
zgohr/turbo_ecto
2467be3f0923193349c08d18061efbc952523b21
[ "MIT" ]
4
2019-11-03T16:11:39.000Z
2022-03-05T14:34:23.000Z
defmodule Dummy.Posts.Post do use Ecto.Schema import Ecto.Changeset schema "posts" do field :body, :string field :like_count, :integer field :published_at, :naive_datetime field :title, :string field :user_id, :integer field :visit_count, :integer timestamps() end @doc false d...
23.913043
93
0.68
ac643dc5bb0f5980fd2051771753a4bdb81576fa
1,151
ex
Elixir
lib/api/auth/sessions.ex
ARKultur/naboo
ab26c2e82cdc485e23d428fbb1d4798f1fb1388b
[ "MIT" ]
16
2021-12-14T12:25:59.000Z
2021-12-16T21:56:27.000Z
lib/api/auth/sessions.ex
ARKultur/naboo
ab26c2e82cdc485e23d428fbb1d4798f1fb1388b
[ "MIT" ]
19
2021-12-06T08:35:30.000Z
2022-03-23T18:20:46.000Z
lib/api/auth/sessions.ex
ARKultur/naboo
ab26c2e82cdc485e23d428fbb1d4798f1fb1388b
[ "MIT" ]
null
null
null
defmodule NabooAPI.Auth.Sessions do use Guardian, otp_app: :naboo alias Naboo.Accounts alias Naboo.Accounts.Account alias NabooAPI.Auth.Guardian require Logger def subject_for_token(resource, _claims) do {:ok, to_string(resource.id)} end def resource_from_claims(%{"sub" => id}) do case Accou...
25.577778
93
0.695048
ac6459804b79871a67623f15f0be3953c4e903f1
321
ex
Elixir
lib/blue_heron/att/requests/write_request.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/att/requests/write_request.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/att/requests/write_request.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.ATT.WriteRequest do defstruct [:opcode, :handle, :value] def serialize(%{handle: handle, value: value}) do <<0x12, handle::little-16, value::binary>> end def deserialize(<<0x12, handle::little-16, value::binary>>) do %__MODULE__{opcode: 0x12, handle: handle, value: value} end end...
26.75
64
0.691589
ac646dd93005a90bc8c9a814e478fda564ccbd71
1,024
exs
Elixir
mix.exs
kwchang0831/hello_world_elixir
bd6c9c3940134caf6676662197a9b43389098042
[ "MIT" ]
1
2022-02-12T20:23:54.000Z
2022-02-12T20:23:54.000Z
mix.exs
kwchang0831/hello_world_elixir
bd6c9c3940134caf6676662197a9b43389098042
[ "MIT" ]
null
null
null
mix.exs
kwchang0831/hello_world_elixir
bd6c9c3940134caf6676662197a9b43389098042
[ "MIT" ]
null
null
null
defmodule HelloWorld.MixProject do use Mix.Project def project do [ app: :hello_world, version: "0.1.0", elixir: "~> 1.13.2", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: dialyzer(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ ...
22.26087
65
0.558594
ac6487aba67dc651e9e4b3a5e92c8bcdfe5c730a
2,475
ex
Elixir
lib/grizzly/zwave/commands/priority_route_report.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/priority_route_report.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/priority_route_report.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.PriorityRouteReport do @moduledoc """ This command is used to advertise the current network route in use for an actual destination NodeID. Params: * `:node_id` - the NodeID destination for which the current network route is requested (required) * `:type` - the route typ...
31.329114
102
0.685253
ac64b9c9582b0e71d63e5677e2d11db4077fa90a
701
ex
Elixir
lib/samly/auth_router.ex
valiot/samly
7ff599286560069d0d62b04ccf473f94a689c646
[ "MIT" ]
108
2017-09-15T18:31:52.000Z
2022-02-09T23:04:49.000Z
lib/samly/auth_router.ex
valiot/samly
7ff599286560069d0d62b04ccf473f94a689c646
[ "MIT" ]
51
2017-09-30T01:49:15.000Z
2021-11-11T23:14:47.000Z
lib/samly/auth_router.ex
valiot/samly
7ff599286560069d0d62b04ccf473f94a689c646
[ "MIT" ]
54
2017-10-24T23:33:23.000Z
2022-03-17T18:24:11.000Z
defmodule Samly.AuthRouter do @moduledoc false use Plug.Router import Plug.Conn import Samly.RouterUtil, only: [check_idp_id: 2, check_target_url: 2] plug :fetch_session plug Plug.CSRFProtection plug :match plug :check_idp_id plug :check_target_url plug :dispatch get "/signin/*idp_id_seg" do ...
20.028571
71
0.713267
ac64dd50d3b990a1fb8ce9060ee65f888d36774e
992
exs
Elixir
test/level/mentions_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
test/level/mentions_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
test/level/mentions_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
defmodule Level.MentionsTest do use Level.DataCase, async: true alias Level.Mentions alias Level.Mentions.UserMention alias Level.Posts.Post alias Level.Repo describe "dismiss_all/2" do setup do create_user_and_space() end test "dismisses all mentions for a given post", %{space_user: sp...
29.176471
95
0.617944
ac65262408d4c8fb408bc259bc47e9e97defa557
2,736
exs
Elixir
test/unit/sentinel_test.exs
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
test/unit/sentinel_test.exs
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
test/unit/sentinel_test.exs
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
defmodule SentinelTest do use Sentinel.UnitCase import CompileTimeAssertions alias Mix.Config test "should raise when router helper (router) isn't configured" do Config.persist([sentinel: [router: nil]]) Config.persist([sentinel: [endpoint: Sentinel.Endpoint]]) assert_compile_time_raise RuntimeErr...
36.48
140
0.737939
ac652a13e84d7167592b3b3ff867e9bafaf6114a
68
exs
Elixir
test/views/page_view_test.exs
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
defmodule Argo.PageViewTest do use Argo.ConnCase, async: true end
17
32
0.794118
ac658d137973b2efe41ce9494cb97ea4f86d02f8
25,822
exs
Elixir
test/registry_test.exs
markmeeus/horde
a7107b78fa7c56364ed74cebe8f35a16721b9e7b
[ "MIT" ]
null
null
null
test/registry_test.exs
markmeeus/horde
a7107b78fa7c56364ed74cebe8f35a16721b9e7b
[ "MIT" ]
null
null
null
test/registry_test.exs
markmeeus/horde
a7107b78fa7c56364ed74cebe8f35a16721b9e7b
[ "MIT" ]
null
null
null
defmodule RegistryTest do use ExUnit.Case doctest Horde.Registry describe "`use Horde.Registry, inline_options`" do test "accepts inline options" do assert {:ok, _} = Supervisor.start_link([TestRegistry4], strategy: :one_for_one) end test "inline options override defaults of Horde.Registry.chi...
28.819196
95
0.554217
ac65b4381035510454d882e74fb564a1cb5b9821
8,201
ex
Elixir
lib/phoenix/template.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/template.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/template.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Template do @moduledoc """ Templates are used by Phoenix on rendering. Since many views require rendering large contents, for example a whole HTML file, it is common to put those files in the file system into a particular directory, typically "web/templates". This module provides conveni...
28.377163
90
0.662968
ac65d623ac5e608707018e395cbc05a9e75d70da
69
exs
Elixir
test_projects/phx_1.6/test/test_helper.exs
qhwa/dockerize
d930f06da89a686961da7a5b5bdadb4c9b01ec32
[ "MIT" ]
47
2020-03-04T00:24:26.000Z
2022-01-14T23:34:52.000Z
test_projects/phx_1.6/test/test_helper.exs
qhwa/dockerize
d930f06da89a686961da7a5b5bdadb4c9b01ec32
[ "MIT" ]
2
2020-06-09T22:25:06.000Z
2020-06-30T21:18:37.000Z
test_projects/phx_1.6/test/test_helper.exs
qhwa/dockerize
d930f06da89a686961da7a5b5bdadb4c9b01ec32
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(PhxProj.Repo, :manual)
23
53
0.782609
ac65e362d6c8999387f9cee07e77cd57f730ac89
588
ex
Elixir
lib/reaper/decoder/json.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
lib/reaper/decoder/json.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
lib/reaper/decoder/json.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.Decoder.Json do @moduledoc """ Decoder implementation that will decode the file as JSON """ @behaviour Reaper.Decoder @impl Reaper.Decoder def decode({:file, filename}, _config) do data = File.read!(filename) case Jason.decode(data) do {:ok, response} -> {:ok, List.w...
21.777778
61
0.658163
ac65ef9fec08311ed5e0654ccccfb023039bd607
495
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/link.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/link.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/link.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.Model.Link do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"_class", :"href" ] @type t :: %__MODULE...
17.678571
91
0.656566
ac65f4d101c553bcc203a458f9d983f8a19f344f
3,817
ex
Elixir
lib/grizzly/zwave/commands/learn_mode_set_status.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/learn_mode_set_status.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/learn_mode_set_status.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.LearnModeSetStatus do @moduledoc """ This command is used to indicate the progress of the Learn Mode Set command. Params: * `:seq_number` - the command sequence number * `:status` - the outcome of the learn mode, one of :done, :failed or :security_failed * `:new_no...
32.347458
139
0.662562
ac660a6566ce52535775255c4c0373f6c388bdf9
905
exs
Elixir
test/pipelines/csv_encoder_test.exs
harlantwood/crawly
d57a1b97e4a909d20f03f063a27157c8209367c4
[ "Apache-2.0" ]
null
null
null
test/pipelines/csv_encoder_test.exs
harlantwood/crawly
d57a1b97e4a909d20f03f063a27157c8209367c4
[ "Apache-2.0" ]
null
null
null
test/pipelines/csv_encoder_test.exs
harlantwood/crawly
d57a1b97e4a909d20f03f063a27157c8209367c4
[ "Apache-2.0" ]
null
null
null
defmodule Pipelines.CSVEncoderTest do use ExUnit.Case, async: false @valid %{first: "some", second: "data"} setup do on_exit(fn -> Application.put_env(:crawly, :item, [:title, :author, :time, :url]) end) end test "Converts a single-level map to a csv string with global config" do Applicati...
25.857143
74
0.646409
ac665422d0780a7a02363839886b906ee5953bc2
184
ex
Elixir
apps/db/lib/db.ex
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
1
2019-10-30T19:38:12.000Z
2019-10-30T19:38:12.000Z
apps/db/lib/db.ex
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
3
2018-05-23T11:53:24.000Z
2022-02-10T15:53:08.000Z
apps/db/lib/db.ex
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
null
null
null
defmodule Db do @moduledoc """ Documentation for Db. """ @doc """ Hello world. ## Examples iex> Db.hello() :world """ def hello do :world end end
9.684211
23
0.527174
ac667c9c2e3e5e8b813ff2ceb50e409d4f67a0ad
1,398
ex
Elixir
phoenix/lib/ironman_web/telemetry.ex
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
phoenix/lib/ironman_web/telemetry.ex
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
phoenix/lib/ironman_web/telemetry.ex
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
defmodule IronmanWeb.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 ...
28.530612
86
0.670243
ac667d371f87802053e9b8e7d84ab0270c64e5bf
21,306
exs
Elixir
lib/elixir/test/elixir/kernel_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule KernelTest do use ExUnit.Case, async: true doctest Kernel test "=~/2" do assert ("abcd" =~ ~r/c(d)/) == true assert ("abcd" =~ ~r/e/) == false assert ("abcd" =~ ~R/c(d)/) == true assert ("abcd" =~ ~R/e/) == false string = "^ab+cd*$" ...
27.072427
97
0.553928
ac66cb6713ee4d0b6842ff0761b4799318400fc3
4,741
exs
Elixir
test/nerves_time_test.exs
LostKobrakai/nerves_time
c7e49f436c40a571d9213e5c19f41ee1b71062cf
[ "Apache-2.0" ]
17
2018-08-12T03:50:39.000Z
2020-01-05T06:47:04.000Z
test/nerves_time_test.exs
LostKobrakai/nerves_time
c7e49f436c40a571d9213e5c19f41ee1b71062cf
[ "Apache-2.0" ]
38
2018-08-12T12:07:46.000Z
2020-02-11T10:11:48.000Z
test/nerves_time_test.exs
LostKobrakai/nerves_time
c7e49f436c40a571d9213e5c19f41ee1b71062cf
[ "Apache-2.0" ]
6
2018-08-12T03:52:35.000Z
2019-10-28T21:19:39.000Z
defmodule NervesTimeTest do use ExUnit.Case import ExUnit.CaptureLog doctest NervesTime @fixtures Path.expand("fixtures", __DIR__) defp fixture_path(fixture) do Path.join(@fixtures, fixture) end setup do capture_log(fn -> Application.stop(:nerves_time) socket_path = Path.join(System....
28.560241
89
0.711453
ac66d371ae9ed2f9928cf25725d3c9e3f87bc225
671
exs
Elixir
test/web/color_code_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/web/color_code_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/web/color_code_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.ColorCodeTest do use Data.ModelCase alias Web.Color alias Web.ColorCode test "creating a code" do params = %{key: "orange", ansi_escape: "\\e[38;2;255;69;0;m", hex_code: "#FF4500"} {:ok, color_code} = ColorCode.create(params) assert Color.latest_version() == Timex.to_unix(color_cod...
27.958333
86
0.678092
ac66d57f7259ef4159b58f218eb19ae7f24a9f05
2,532
ex
Elixir
clients/run/lib/google_api/run/v1/model/resource_requirements.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/resource_requirements.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/resource_requirements.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.171429
119
0.722749
ac66e3cc8b018a4edd5128c5dde2ceef1f2e4b3e
630
ex
Elixir
projects/api/lib/margaret_web/context.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/lib/margaret_web/context.ex
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/lib/margaret_web/context.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
defmodule MargaretWeb.Context do @moduledoc """ Plug that builds the GraphQL context before every request. The context is a map we can access from the GraphQL resolvers, and it's useful to store in it data about the request, for example the user that made it. """ @behaviour Plug alias Margaret.Accoun...
21
68
0.652381
ac66edc07727d7c4aa73fb39ba7271325d45033d
7,256
ex
Elixir
lib/credo/check/design/duplicated_code.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/design/duplicated_code.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/design/duplicated_code.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.Check.Design.DuplicatedCode do @moduledoc """ Code should not be copy-pasted in a codebase when there is room to abstract the copied functionality in a meaningful way. That said, you should by no means "ABSTRACT ALL THE THINGS!". Sometimes it can serve a purpose to have code be explicit in t...
31.008547
157
0.678335
ac671028e2a268bf6a699ba768a01a6a765ccfa3
7,016
ex
Elixir
lib/wallaby/query/error_message.ex
JonRowe/wallaby
00a7b4efdfecb374e4827fa106503e689a4dd967
[ "MIT" ]
1
2019-01-30T12:08:17.000Z
2019-01-30T12:08:17.000Z
lib/wallaby/query/error_message.ex
JonRowe/wallaby
00a7b4efdfecb374e4827fa106503e689a4dd967
[ "MIT" ]
2
2019-04-10T08:23:27.000Z
2021-01-25T16:37:23.000Z
lib/wallaby/query/error_message.ex
JonRowe/wallaby
00a7b4efdfecb374e4827fa106503e689a4dd967
[ "MIT" ]
1
2019-01-29T16:03:55.000Z
2019-01-29T16:03:55.000Z
defmodule Wallaby.Query.ErrorMessage do @moduledoc false alias Wallaby.Query @doc """ Compose an error message based on the error method and query information """ @spec message(Query.t, any()) :: String.t def message(%Query{} = query, :not_found) do "Expected to find #{found_error_message(query)}" ...
31.182222
263
0.65935