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
f7c6f3efd2e0edc12881f78fa5d1a561d41b8f5e
2,070
ex
Elixir
lib/mars_web/channels/event_timeline_channel.ex
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
2
2020-08-28T19:17:33.000Z
2020-09-13T18:49:20.000Z
lib/mars_web/channels/event_timeline_channel.ex
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
5
2018-10-28T14:39:26.000Z
2019-01-31T17:23:36.000Z
lib/mars_web/channels/event_timeline_channel.ex
jchristopherinc/mars
a109958cb549ede8d983c3af8183d52528a5eaea
[ "MIT" ]
null
null
null
defmodule MarsWeb.EventTimelineChannel do use MarsWeb, :channel @moduledoc """ Realtime layer for updating events in Message - Event lifecycle page """ alias MarsWeb.TimeHelper @doc """ Accept Socket connections that have topic `event_timeline:<event_id/message_id>` """ def join("event_timeline:" <...
24.352941
90
0.669565
f7c71452561b5960bd9a51c95f324601a0c8908c
1,977
exs
Elixir
clients/billing_budgets/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.507463
194
0.668184
f7c71b5d1ab9a4fa4373fa97175c7f23f20d8554
1,124
ex
Elixir
lib/faker/team/en.ex
pharosproduction/faker
91deca51b3dc4bf8de75f81480e9f8880aa93886
[ "MIT" ]
null
null
null
lib/faker/team/en.ex
pharosproduction/faker
91deca51b3dc4bf8de75f81480e9f8880aa93886
[ "MIT" ]
null
null
null
lib/faker/team/en.ex
pharosproduction/faker
91deca51b3dc4bf8de75f81480e9f8880aa93886
[ "MIT" ]
null
null
null
defmodule Faker.Team.En do import Faker, only: [sampler: 2] alias Faker.Address @moduledoc """ Functions for generating team related data in English """ @doc """ Returns a string of the form [state] [creature] """ @spec name() :: String.t def name, do: "#{Address.state} #{creature()}" @doc """ ...
53.52381
729
0.627224
f7c732cf9795e8c9841821ea135232f0ca7ee46b
349
exs
Elixir
apps/core/priv/repo/migrations/20170715104052_credentials_recovery_requests.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/repo/migrations/20170715104052_credentials_recovery_requests.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/repo/migrations/20170715104052_credentials_recovery_requests.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Repo.Migrations.CredentialsRecoveryRequests do use Ecto.Migration def change do create table(:credentials_recovery_requests, primary_key: false) do add(:id, :uuid, primary_key: true) add(:user_id, :uuid) add(:is_active, :boolean, default: true) timestamps(type: :utc_date...
24.928571
71
0.713467
f7c73e5ff0847d0df812880c18bd38adad40a074
4,846
ex
Elixir
lib/shadowsocks/blacklist.ex
lingoer/shadowsocks-ex
745685e0871b90e9aaf455b3b30fca157527389d
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/blacklist.ex
lingoer/shadowsocks-ex
745685e0871b90e9aaf455b3b30fca157527389d
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/blacklist.ex
lingoer/shadowsocks-ex
745685e0871b90e9aaf455b3b30fca157527389d
[ "BSD-3-Clause" ]
null
null
null
defmodule Shadowsocks.BlackList do use GenServer require Shadowsocks.Event @tab :ss_blacklist @cache_tab :ss_failed_ips @check_block_time 600 * 1000 defmodule EventHandler do @behaviour :gen_event def init([pid]), do: {:ok, pid} def handle_event({:bad_request,...
33.888112
96
0.542922
f7c759edbae29c7d5908f9a14d14c871a61064d1
19,172
ex
Elixir
apps/debugger/lib/debugger/server.ex
tmepple/elixir-ls
01d5ee857bb8b9e729da622dbc4f64b680aac3fc
[ "Apache-2.0" ]
null
null
null
apps/debugger/lib/debugger/server.ex
tmepple/elixir-ls
01d5ee857bb8b9e729da622dbc4f64b680aac3fc
[ "Apache-2.0" ]
null
null
null
apps/debugger/lib/debugger/server.ex
tmepple/elixir-ls
01d5ee857bb8b9e729da622dbc4f64b680aac3fc
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.Debugger.Server do @moduledoc """ Implements the VS Code Debug Protocol Refer to the protocol's [documentation](https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/common/debugProtocol.d.ts) for details. The protocol specifies that we must assign unique IDs to "th...
30.335443
145
0.633424
f7c763c231a999b50214e7df0ee084390b4415f3
1,953
exs
Elixir
config/dev.exs
jonathanleang/phoenix_sample
2dbc65d74087fedc9eccb87436870f0927c74522
[ "Apache-2.0" ]
1
2021-03-07T06:56:35.000Z
2021-03-07T06:56:35.000Z
config/dev.exs
jonathanleang/phoenix_sample
2dbc65d74087fedc9eccb87436870f0927c74522
[ "Apache-2.0" ]
null
null
null
config/dev.exs
jonathanleang/phoenix_sample
2dbc65d74087fedc9eccb87436870f0927c74522
[ "Apache-2.0" ]
2
2020-11-29T05:56:44.000Z
2021-07-23T10:22:52.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 :phoenix_sample, PhoenixSampleWeb.Endpoint, http...
28.720588
68
0.69022
f7c77bda89cfa6cf24a8b4be3c96b92576b0f75e
1,815
exs
Elixir
test/ex_pesa/Jenga/send_money/eft_test.exs
r-coh/ex_pesa
df2bb2485a3acba481787a434e4d0ee254e60186
[ "AML", "MIT" ]
20
2020-08-07T18:45:03.000Z
2021-12-02T12:47:07.000Z
test/ex_pesa/Jenga/send_money/eft_test.exs
r-coh/ex_pesa
df2bb2485a3acba481787a434e4d0ee254e60186
[ "AML", "MIT" ]
65
2020-08-17T05:52:33.000Z
2021-05-20T16:06:34.000Z
test/ex_pesa/Jenga/send_money/eft_test.exs
r-coh/ex_pesa
df2bb2485a3acba481787a434e4d0ee254e60186
[ "AML", "MIT" ]
11
2020-08-17T07:53:02.000Z
2021-04-02T20:57:16.000Z
defmodule ExPesa.Jenga.SendMoney.EFTTest do @moduledoc false use ExUnit.Case, async: true import Tesla.Mock doctest ExPesa.Jenga.SendMoney.EFT alias ExPesa.Jenga.SendMoney.EFT setup do mock(fn %{ url: "https://uat.jengahq.io/identity/v2/token", method: :post } -> ...
24.527027
87
0.541047
f7c78406e903601e3b380c0e53abd1ad0e66506f
53,988
ex
Elixir
lib/ecto_adapters_dynamodb.ex
glebmikulko/ecto_adapters_dynamodb
e29a9007ad32b745d761fe41dd0de40303089bca
[ "Apache-2.0" ]
null
null
null
lib/ecto_adapters_dynamodb.ex
glebmikulko/ecto_adapters_dynamodb
e29a9007ad32b745d761fe41dd0de40303089bca
[ "Apache-2.0" ]
null
null
null
lib/ecto_adapters_dynamodb.ex
glebmikulko/ecto_adapters_dynamodb
e29a9007ad32b745d761fe41dd0de40303089bca
[ "Apache-2.0" ]
1
2018-09-12T13:11:05.000Z
2018-09-12T13:11:05.000Z
defmodule Ecto.Adapters.DynamoDB do @moduledoc """ Ecto adapter for Amazon DynamoDB Currently for a fairly limited subset of Ecto, enough for basic operations. """ #NOTE: in ecto, Repo.get[!] ends up calling: #-> querable.get #-> queryable.one #-> queryable.all #-> queryable.execute #-> ...
44.655087
354
0.673075
f7c7968193eff94be73383069022eef7ce2c2a91
3,750
ex
Elixir
lib/exvault/kv1.ex
praekeltfoundation/exvault
338b05855e40dd5547b105a608e6bac39f849e78
[ "BSD-3-Clause" ]
null
null
null
lib/exvault/kv1.ex
praekeltfoundation/exvault
338b05855e40dd5547b105a608e6bac39f849e78
[ "BSD-3-Clause" ]
61
2019-02-12T10:05:29.000Z
2020-07-27T09:50:15.000Z
lib/exvault/kv1.ex
praekeltfoundation/exvault
338b05855e40dd5547b105a608e6bac39f849e78
[ "BSD-3-Clause" ]
1
2019-10-27T10:01:43.000Z
2019-10-27T10:01:43.000Z
defmodule ExVault.KV1 do @moduledoc """ A very thin wrapper over the basic operations for working with KV v1 data. Construct a *backend*--a client paired with the mount path for the `kv` version 1 secrets engine it interacts with--using the `ExVault.KV1.new/2` function. Each of the operations in this modu...
31.25
91
0.642133
f7c798f4636659e59e74942b0f14fac3705c3ad4
118
exs
Elixir
test/blackvue_test.exs
johnhamelink/blackvue
4c36d18adf0d97d63fd212fc6b38cfc3ca856efe
[ "MIT" ]
15
2018-03-06T16:39:23.000Z
2021-05-27T06:11:11.000Z
test/blackvue_test.exs
johnhamelink/blackvue
4c36d18adf0d97d63fd212fc6b38cfc3ca856efe
[ "MIT" ]
1
2018-06-25T14:38:18.000Z
2018-06-25T14:38:18.000Z
test/blackvue_test.exs
johnhamelink/blackvue
4c36d18adf0d97d63fd212fc6b38cfc3ca856efe
[ "MIT" ]
2
2019-10-07T22:07:23.000Z
2020-01-23T03:18:44.000Z
defmodule BlackvueTest do use ExUnit.Case doctest Blackvue test "the truth" do assert 1 + 1 == 2 end end
13.111111
25
0.677966
f7c79d75d7df505a9876f372a5b4f0d470a5902c
2,559
ex
Elixir
clients/people/lib/google_api/people/v1/model/phone_number.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/phone_number.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/phone_number.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
42.65
390
0.704963
f7c7a284f21f24661d458afada10e7717329f832
1,920
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/volume.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/volume.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/volume.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "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.4
229
0.735417
f7c7b60e2e1d99eef1f9f4f8263d5615dca9f2e0
15,807
ex
Elixir
lib/livebook/runtime/evaluator.ex
apoorv-2204/elixir_learn_work_notebook_setup
7ea75c1b53e0e9ce7ae89d386cc16b7277a1d86e
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/evaluator.ex
apoorv-2204/elixir_learn_work_notebook_setup
7ea75c1b53e0e9ce7ae89d386cc16b7277a1d86e
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/evaluator.ex
apoorv-2204/elixir_learn_work_notebook_setup
7ea75c1b53e0e9ce7ae89d386cc16b7277a1d86e
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.Evaluator do @moduledoc false # A process responsible for evaluating notebook code. # # Evaluator receives an evaluation request and synchronously # evaluates the given code within itself (rather than spawning # a separate process). It stores the resulting binding and env # in ...
30.933464
139
0.663567
f7c7c2e1591600a28642d8ddc481c90581cd10a3
4,083
ex
Elixir
lib/docusign/model/envelopes.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/envelopes.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/envelopes.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.Envelopes do @moduledoc """ Envelope creation, management """ @derive [Poison.Encoder] defstruct [ :allowMarkup, ...
31.407692
90
0.614989
f7c7cfde2eec39ef3140656075496ec91b80cf76
667
ex
Elixir
lib/stripe_mock/api/token.ex
whitepaperclip/stripe_mock
a8ba9101a04216f26d0650eb38448173d8e090a1
[ "MIT" ]
4
2019-06-04T20:35:21.000Z
2021-09-02T04:04:21.000Z
lib/stripe_mock/api/token.ex
whitepaperclip/stripe_mock
a8ba9101a04216f26d0650eb38448173d8e090a1
[ "MIT" ]
2
2020-02-04T17:38:12.000Z
2021-04-29T06:59:06.000Z
lib/stripe_mock/api/token.ex
whitepaperclip/stripe_mock
a8ba9101a04216f26d0650eb38448173d8e090a1
[ "MIT" ]
null
null
null
defmodule StripeMock.API.Token do use StripeMock.Schema schema "tokens" do field :client_ip, :string field :type, :string field :used, :boolean, default: false belongs_to :card, API.Card common_fields() timestamps() end @doc false def changeset(token, attrs) do token |> cas...
20.84375
59
0.644678
f7c7d6a06032c3dceb6844f6b106046ac51f4ef9
739
exs
Elixir
rna-transcription/rna_transcription_test.exs
SLIB53/exercism-elixir-answers
352e3b9b6c9e5f8025ccd462845f1682d115e1da
[ "MIT" ]
2
2019-03-26T09:32:41.000Z
2020-03-09T19:16:36.000Z
rna-transcription/rna_transcription_test.exs
SLIB53/exercism-elixir-answers
352e3b9b6c9e5f8025ccd462845f1682d115e1da
[ "MIT" ]
null
null
null
rna-transcription/rna_transcription_test.exs
SLIB53/exercism-elixir-answers
352e3b9b6c9e5f8025ccd462845f1682d115e1da
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("rna_transcription.exs", __DIR__) end ExUnit.start() ExUnit.configure(trace: true) defmodule RNATranscriptionTest do use ExUnit.Case test "transcribes guanine to cytosine" do assert RNATranscription.to_rna('G') == 'C' end test "transcribes...
23.83871
68
0.728011
f7c837410f6f09ca679780e687b08d149e239398
5,464
exs
Elixir
apps/omg_db/test/omg_db/db_test.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_db/test/omg_db/db_test.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_db/test/omg_db/db_test.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.718563
115
0.652269
f7c8744a909920e5de782bae938a5a54af2da3fd
6,972
ex
Elixir
clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
56.682927
373
0.737522
f7c88130694a3fc76b3225f0dba8093af8cfe125
18,814
ex
Elixir
lib/ex_gdax.ex
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
11
2017-08-31T01:18:17.000Z
2021-02-12T04:09:12.000Z
lib/ex_gdax.ex
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
5
2017-10-27T20:03:00.000Z
2019-02-07T05:19:30.000Z
lib/ex_gdax.ex
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
9
2017-08-31T01:14:29.000Z
2020-05-28T12:33:56.000Z
defmodule ExGdax do @moduledoc """ GDAX API client. """ @doc """ List known currencies. ## Examples iex> ExGdax.list_currencies() {:ok, [%{"id" => "BTC", "min_size" => "0.00000001", "name" => "Bitcoin"}, %{"id" => "ETH", "min_size" => "0.00000001", "name" => "Ether"}, ...]} "...
33.777379
134
0.572127
f7c882592c2bfe00cadf286429b9a590b10b9ebe
9,496
exs
Elixir
lib/elixir/test/elixir/path_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/test/elixir/path_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/path_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule PathTest do use ExUnit.Case, async: true import PathHelpers if :file.native_name_encoding == :utf8 do test :wildcard_with_utf8 do File.mkdir_p(tmp_path("héllò")) assert Path.wildcard(tmp_path("héllò")) == [tmp_path("héllò")] after ...
40.067511
106
0.595619
f7c8b8bd52aae85dfe0f2908c00e2aec34af17bd
1,946
ex
Elixir
lib/guards.ex
agix/momento
cd42abe9322f27e65278b65fb35d223baa317423
[ "MIT" ]
37
2016-07-01T22:35:41.000Z
2020-10-02T23:41:45.000Z
lib/guards.ex
agix/momento
cd42abe9322f27e65278b65fb35d223baa317423
[ "MIT" ]
5
2016-07-02T14:15:57.000Z
2016-07-24T09:46:22.000Z
lib/guards.ex
agix/momento
cd42abe9322f27e65278b65fb35d223baa317423
[ "MIT" ]
5
2016-07-02T03:46:52.000Z
2019-04-23T14:15:54.000Z
defmodule Momento.Guards do @moduledoc """ This module holds all the various custom guards `natural?/1`, `positive?/1`, `negative?/1` and `days_in_month/1`. """ @doc """ Is in the set of natural numbers? ## Examples iex> Momento.Guards.natural?(5) true ...> Momento.Guards.natural?(0) ...
23.445783
115
0.600206
f7c8bd82a9256d5f0c4f4b082a479d7e5c417601
27
ex
Elixir
lib/ex_sweeper.ex
myrridin/exsweeper
86ee16c5b356d2063b2bb56aa302039f3b4f4bb4
[ "MIT" ]
null
null
null
lib/ex_sweeper.ex
myrridin/exsweeper
86ee16c5b356d2063b2bb56aa302039f3b4f4bb4
[ "MIT" ]
null
null
null
lib/ex_sweeper.ex
myrridin/exsweeper
86ee16c5b356d2063b2bb56aa302039f3b4f4bb4
[ "MIT" ]
null
null
null
defmodule ExSweeper do end
9
22
0.851852
f7c8c1540bffd60c72d63975a9ada4a11b88bfe2
3,547
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_request_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_request_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_request_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
43.256098
92
0.77192
f7c8c4d5fe695487a7d1975577567aa9bda11630
880
ex
Elixir
clients/compute/lib/google_api/compute/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 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.592593
74
0.757955
f7c8ee355c40716316f5237ac05b260a61e93f64
28,991
ex
Elixir
lib/ash/query/query.ex
maartenvanvliet/ash
c7fd1927169b45d9e1e5ad4ba2ee81703fcf27db
[ "MIT" ]
null
null
null
lib/ash/query/query.ex
maartenvanvliet/ash
c7fd1927169b45d9e1e5ad4ba2ee81703fcf27db
[ "MIT" ]
null
null
null
lib/ash/query/query.ex
maartenvanvliet/ash
c7fd1927169b45d9e1e5ad4ba2ee81703fcf27db
[ "MIT" ]
null
null
null
defmodule Ash.Query do @moduledoc """ Utilties around constructing/manipulating ash queries. Ash queries are used for read actions and side loads, and ultimately map to queries to a resource's data layer. Queries are run by calling `read` on an API that contains the resource in question Examples: ```e...
28.146602
110
0.605395
f7c8f0f448900903ec908787807a3652d9360258
2,362
exs
Elixir
apps/api_web/test/api_web/plugs/rate_limiter_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/api_web/test/api_web/plugs/rate_limiter_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/api_web/test/api_web/plugs/rate_limiter_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule ApiWeb.Plugs.RateLimiterTest do use ApiWeb.ConnCase, async: false @url "/stops/" defp simulate_max_anon_requests do # Wait for clear if we're close to clearing the rate limit. # This avoids spurious test failures due to the limit clearing in the middle of our requests. interval_ms = ApiWeb...
27.465116
97
0.642676
f7c9257efac599b341896dac4ee93e9bf6f0d5a6
274
exs
Elixir
apps/db_store/priv/repo/migrations/20180611225156_create_mail_header_names.exs
shymega/dialoguex
974bd195780aea952497913537b3386fb6875977
[ "Apache-2.0" ]
2
2018-03-20T17:28:58.000Z
2018-05-07T14:13:21.000Z
apps/db_store/priv/repo/migrations/20180611225156_create_mail_header_names.exs
shymega/dialoguex
974bd195780aea952497913537b3386fb6875977
[ "Apache-2.0" ]
1
2018-03-20T17:54:56.000Z
2018-03-31T16:27:15.000Z
apps/db_store/priv/repo/migrations/20180611225156_create_mail_header_names.exs
shymega/dialoguex
974bd195780aea952497913537b3386fb6875977
[ "Apache-2.0" ]
null
null
null
defmodule DBStore.DB.Repo.Migrations.CreateMailHeaderNames do use Ecto.Migration def change do create table(:header_names) do add :header_name, :string, null: false timestamps() end create unique_index(:header_names, [:header_name]) end end
19.571429
61
0.715328
f7c93f7e307cb8c8a88d717e089cdb7fba997b56
154
ex
Elixir
lib/elixir_with_gleam.ex
midas-framework/elixir_with_gleam
eb08c9a176b6d4478315443cf594150ec5b930bf
[ "Apache-2.0" ]
34
2020-05-22T11:14:33.000Z
2021-06-05T07:46:30.000Z
lib/elixir_with_gleam.ex
midas-framework/elixir_with_gleam
eb08c9a176b6d4478315443cf594150ec5b930bf
[ "Apache-2.0" ]
1
2020-06-01T03:23:24.000Z
2020-06-01T03:23:24.000Z
lib/elixir_with_gleam.ex
midas-framework/elixir_with_gleam
eb08c9a176b6d4478315443cf594150ec5b930bf
[ "Apache-2.0" ]
2
2020-06-08T17:13:36.000Z
2020-06-23T16:19:50.000Z
defmodule ElixirWithGleam do @moduledoc """ Documentation for `ElixirWithGleam`. """ def hello do :hello.switch(:hello.greeting()) end end
15.4
38
0.688312
f7c96e5c5f002f39396a558a7cdc027a433b8926
4,503
ex
Elixir
lib/stripe.ex
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
1
2020-05-03T15:41:49.000Z
2020-05-03T15:41:49.000Z
lib/stripe.ex
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
null
null
null
lib/stripe.ex
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
2
2016-08-23T21:06:49.000Z
2020-02-13T16:04:16.000Z
defmodule Stripe do @moduledoc """ A HTTP client for Stripe. This module contains the Application that you can use to perform transactions on stripe API. ### Configuring By default the STRIPE_SECRET_KEY environment variable is used to find your API key for Stripe. You can also manually set you...
30.02
112
0.698867
f7c972661b1e17325c5be331dc0c5090ebb1082b
753
exs
Elixir
test/publisher_test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
84
2018-03-20T08:19:10.000Z
2022-01-30T07:40:56.000Z
test/publisher_test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
23
2018-03-29T15:15:56.000Z
2019-12-04T14:53:57.000Z
test/publisher_test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
8
2018-07-03T18:18:27.000Z
2022-03-08T14:04:09.000Z
defmodule KaufmannEx.PublisherTest do use ExUnit.Case import Mock setup do Application.put_env(:kaufmann_ex, :transcoder, default: KaufmannEx.Transcoder.SevenAvro, json: KaufmannEx.Transcoder.Json ) bypass = Bypass.open() Application.put_env(:kaufmann_ex, :schema_registry_uri, "http...
27.888889
101
0.667995
f7c974fc22778cc91cee62ce1ca0e2750d1b7f73
70,226
ex
Elixir
testData/org/elixir_lang/beam/decompiler/asn1ct.ex
osbre/intellij-elixir
36ced8c5e4f4cc873b6e21b5c011d42783b54817
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/beam/decompiler/asn1ct.ex
osbre/intellij-elixir
36ced8c5e4f4cc873b6e21b5c011d42783b54817
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/beam/decompiler/asn1ct.ex
osbre/intellij-elixir
36ced8c5e4f4cc873b6e21b5c011d42783b54817
[ "Apache-2.0" ]
null
null
null
# Source code recreated from a .beam file by IntelliJ Elixir defmodule :asn1ct do # Functions def add_generated_refed_func(data) do case is_function_generated(data) do true -> :ok _ -> l = get_gen_state_field(:gen_refed_funcs) update_gen_state(:gen_refed_funcs, [data | l]) ...
30.08826
264
0.625025
f7c9d494a30a8104958b77b2e956338a7932b359
3,103
exs
Elixir
apps/grapevine/mix.exs
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/grapevine/mix.exs
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/grapevine/mix.exs
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Grapevine.Mixfile do use Mix.Project def project do [ app: :grapevine, version: "2.3.0", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
30.126214
98
0.550435
f7c9ff20e3214153912f61b8b558b9a60d19a094
6,063
exs
Elixir
test/phoenix_html/tag_test.exs
lukaszsamson/phoenix_html
03c937e808bbda859488a1ac90ce8e297f8644b8
[ "MIT" ]
1
2020-04-28T12:28:52.000Z
2020-04-28T12:28:52.000Z
test/phoenix_html/tag_test.exs
lukaszsamson/phoenix_html
03c937e808bbda859488a1ac90ce8e297f8644b8
[ "MIT" ]
null
null
null
test/phoenix_html/tag_test.exs
lukaszsamson/phoenix_html
03c937e808bbda859488a1ac90ce8e297f8644b8
[ "MIT" ]
null
null
null
defmodule Phoenix.HTML.TagTest do use ExUnit.Case, async: true import Phoenix.HTML import Phoenix.HTML.Tag doctest Phoenix.HTML.Tag test "tag" do assert tag(:br) |> safe_to_string() == ~s(<br>) assert tag(:input, name: ~s("<3")) |> safe_to_string() == ~s(<input name="&quot;&lt;3&quot;">) assert...
38.617834
129
0.562263
f7ca12c07b7d542d58406121cb291c43cfac1a52
1,304
exs
Elixir
config/dev.exs
zachary-kuhn/guardian_demo
f973cb5a665db1608543a31d3d2340caa2d11228
[ "MIT" ]
2
2017-09-10T12:44:31.000Z
2017-11-05T14:15:55.000Z
config/dev.exs
zachary-kuhn/guardian_demo
f973cb5a665db1608543a31d3d2340caa2d11228
[ "MIT" ]
null
null
null
config/dev.exs
zachary-kuhn/guardian_demo
f973cb5a665db1608543a31d3d2340caa2d11228
[ "MIT" ]
null
null
null
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 brunch.io to recompile .js and .css sources. config :guardian_demo, GuardianDemoWeb.Endpoint, http...
34.315789
170
0.738497
f7ca1766008bfbd6d2aba4ecac9b1525158b792d
2,937
exs
Elixir
lib/elixir/test/elixir/string/chars_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string/chars_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string/chars_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule String.Chars.AtomTest do use ExUnit.Case, async: true test :basic do assert to_string(:foo) == "foo" end test :empty do assert to_string(:"") == "" end test :true_false_nil do assert to_string(false) == "false" assert to_string(tr...
23.496
135
0.625809
f7ca29256346bc41f2ad1ad1894022b3e5027d79
32
exs
Elixir
test/test_helper.exs
pkinney/simplify_ex
c4d5d1c65f5bd720c0a54a630bb9bf477afa212e
[ "MIT" ]
16
2016-03-26T14:41:52.000Z
2022-03-31T16:03:47.000Z
test/test_helper.exs
pkinney/simplify_ex
c4d5d1c65f5bd720c0a54a630bb9bf477afa212e
[ "MIT" ]
2
2016-05-03T20:37:14.000Z
2019-05-25T16:12:20.000Z
test/test_helper.exs
pkinney/simplify_ex
c4d5d1c65f5bd720c0a54a630bb9bf477afa212e
[ "MIT" ]
5
2016-05-03T20:28:33.000Z
2019-05-21T07:14:08.000Z
ExUnit.start(exclude: [:bench])
16
31
0.71875
f7ca35a810adba4cb7fb2a23dc08a898c8ac317f
1,396
ex
Elixir
test/support/data_case.ex
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
test/support/data_case.ex
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
test/support/data_case.ex
shawnonthenet/taskasync.com
7ebd8ec1afc9fa5fa8708568b4ce9cf75968ae41
[ "MIT" ]
null
null
null
defmodule Taskasync.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every te...
25.851852
77
0.682665
f7ca47a3dda93315b2b37068657048a06928195e
2,372
ex
Elixir
lib/codes/codes_d02.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d02.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d02.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_D02 do alias IcdCode.ICDCode def _D020 do %ICDCode{full_code: "D020", category_code: "D02", short_code: "0", full_name: "Carcinoma in situ of larynx", short_name: "Carcinoma in situ of larynx", category_name: "Carcinoma in situ of ...
33.885714
81
0.620152
f7ca57d51e22f636b3beae0b9d7359d3d5116dfe
1,087
ex
Elixir
lib/atfirs_web/live/page_live.ex
iboss-ptk/Atfirs
1361c8f1b86971317b33212f9269aaffa0f09110
[ "MIT" ]
2
2021-01-23T09:23:20.000Z
2021-02-12T09:15:45.000Z
lib/atfirs_web/live/page_live.ex
iboss-ptk/Atfirs
1361c8f1b86971317b33212f9269aaffa0f09110
[ "MIT" ]
null
null
null
lib/atfirs_web/live/page_live.ex
iboss-ptk/Atfirs
1361c8f1b86971317b33212f9269aaffa0f09110
[ "MIT" ]
null
null
null
defmodule AtfirsWeb.PageLive do use AtfirsWeb, :live_view @impl true def mount(_params, _session, socket) do {:ok, assign(socket, query: "", results: %{})} end @impl true def handle_event("suggest", %{"q" => query}, socket) do {:noreply, assign(socket, results: search(query), query: query)} end ...
27.175
84
0.600736
f7ca5e46de454f18f322bee08f109e96498aa4c4
1,624
ex
Elixir
lib/google/protobuf/struct.pb.ex
coingaming/grpc
33b8b3ceec007ae530a33b49a7b302a1ee356b05
[ "Apache-2.0" ]
null
null
null
lib/google/protobuf/struct.pb.ex
coingaming/grpc
33b8b3ceec007ae530a33b49a7b302a1ee356b05
[ "Apache-2.0" ]
null
null
null
lib/google/protobuf/struct.pb.ex
coingaming/grpc
33b8b3ceec007ae530a33b49a7b302a1ee356b05
[ "Apache-2.0" ]
1
2022-01-19T22:21:04.000Z
2022-01-19T22:21:04.000Z
defmodule Google.Protobuf.NullValue do @moduledoc false use Protobuf, enum: true, syntax: :proto3 @type t :: integer | :NULL_VALUE field :NULL_VALUE, 0 end defmodule Google.Protobuf.Struct.FieldsEntry do @moduledoc false use Protobuf, map: true, syntax: :proto3 @type t :: %__MODULE__{ key: St...
23.882353
87
0.666872
f7ca9c1dd239e0edcb6aed2f8557349d4e0d6b0c
1,661
ex
Elixir
lib/collector.ex
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
3
2019-04-18T15:36:50.000Z
2021-01-19T04:38:48.000Z
lib/collector.ex
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
null
null
null
lib/collector.ex
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
3
2017-08-15T10:43:40.000Z
2018-11-06T09:12:49.000Z
defmodule Collector do use GenServer require Logger alias ExCdrPusher.HSqlite @moduledoc """ This module implement the heartbeat to retrieve the CDRs from the SQLite and then push them to the Genserver in charge of sending the CDRs to PostgreSQL """ def start_link(state, opts \\ []) do GenServer...
23.394366
95
0.664058
f7ca9ee3ff0f6869531e6620df4ee4cd47aeb224
3,135
ex
Elixir
apps/omg_utils/lib/omg_utils/http_rpc/response.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_utils/lib/omg_utils/http_rpc/response.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_utils/lib/omg_utils/http_rpc/response.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 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 ...
28.761468
95
0.671132
f7cab46f739dc2a7b9b1f0596f76104362025bc1
153
ex
Elixir
src/proto_app/apps/gateway/lib/gateway/portal.ex
fortelabsinc/ethermint_prototype
c54f54ad9090070b79599067133edcd4949c1aff
[ "MIT" ]
null
null
null
src/proto_app/apps/gateway/lib/gateway/portal.ex
fortelabsinc/ethermint_prototype
c54f54ad9090070b79599067133edcd4949c1aff
[ "MIT" ]
null
null
null
src/proto_app/apps/gateway/lib/gateway/portal.ex
fortelabsinc/ethermint_prototype
c54f54ad9090070b79599067133edcd4949c1aff
[ "MIT" ]
1
2020-01-22T19:18:34.000Z
2020-01-22T19:18:34.000Z
defmodule Gateway.Portal do @doc """ Simple function to test code completion setup """ @spec test :: :world def test() do :world end end
15.3
47
0.647059
f7cab84f1586958e7263996fb1bec4718e0195d1
278
exs
Elixir
test/secret_santa_web/views/layout_view_test.exs
mariaclrd/secret_santa
18e3ea38647370b45cca2df150b5a839842608f1
[ "MIT" ]
null
null
null
test/secret_santa_web/views/layout_view_test.exs
mariaclrd/secret_santa
18e3ea38647370b45cca2df150b5a839842608f1
[ "MIT" ]
null
null
null
test/secret_santa_web/views/layout_view_test.exs
mariaclrd/secret_santa
18e3ea38647370b45cca2df150b5a839842608f1
[ "MIT" ]
null
null
null
defmodule SecretSantaWeb.LayoutViewTest do use SecretSantaWeb.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
30.888889
65
0.773381
f7cabc50c4175a76bd8bbbf72ed83de9d231023f
2,421
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__training_output.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__training_output.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__training_output.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
38.428571
169
0.752995
f7caec82d27dd0e660dfcf0bc21b6c4b7086a225
329
ex
Elixir
lib/online_editor_web/models/auth_user.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
lib/online_editor_web/models/auth_user.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
lib/online_editor_web/models/auth_user.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
defmodule OnlineEditorWeb.Models.AuthUser do alias Ueberauth.Auth def basic_info(%Auth{} = auth) do IO.puts("Auth info") IO.inspect(auth) {:ok, %{ avatar: auth.info.image, email: auth.info.email, first_name: auth.info.first_name, last_name: auth.info.last_name }} ...
20.5625
44
0.629179
f7caee19488fad08f2cb7da1c31202fb5519f4a8
1,065
ex
Elixir
lib/screens_web/channels/user_socket.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens_web/channels/user_socket.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens_web/channels/user_socket.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule ScreensWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ScreensWeb.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 will be set for all channe...
31.323529
83
0.696714
f7cafcbab77e0760c1298f43836d4cabba135f0c
622
ex
Elixir
samples/client/petstore/elixir/lib/swagger_petstore/model/mixed_properties_and_additional_properties_class.ex
bruceadams/swagger-codegen-1
2e5289c4d74eafd48e3a324ccdd9e39323b5fb06
[ "Apache-2.0" ]
null
null
null
samples/client/petstore/elixir/lib/swagger_petstore/model/mixed_properties_and_additional_properties_class.ex
bruceadams/swagger-codegen-1
2e5289c4d74eafd48e3a324ccdd9e39323b5fb06
[ "Apache-2.0" ]
null
null
null
samples/client/petstore/elixir/lib/swagger_petstore/model/mixed_properties_and_additional_properties_class.ex
bruceadams/swagger-codegen-1
2e5289c4d74eafd48e3a324ccdd9e39323b5fb06
[ "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 SwaggerPetstore.Model.MixedPropertiesAndAdditionalPropertiesClass do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"uui...
23.923077
97
0.73955
f7cb13146d7aea4d31e8111a9e7d68a1ebff42ec
76
exs
Elixir
examples/.formatter.exs
kianmeng/benchee_markdown
701ac80e0d862888e17ccea29cb784ab1e943de5
[ "MIT" ]
8
2019-03-15T08:52:52.000Z
2021-07-02T16:59:16.000Z
examples/.formatter.exs
kianmeng/benchee_markdown
701ac80e0d862888e17ccea29cb784ab1e943de5
[ "MIT" ]
6
2019-03-16T12:50:04.000Z
2020-10-13T16:32:04.000Z
examples/.formatter.exs
kianmeng/benchee_markdown
701ac80e0d862888e17ccea29cb784ab1e943de5
[ "MIT" ]
7
2019-03-15T08:53:13.000Z
2020-10-22T11:38:22.000Z
[ inputs: ["{mix,.formatter}.exs", "bench/**/*.exs"], line_length: 80 ]
15.2
53
0.552632
f7cb66683777038a01b1d90fe1e485bdfd7eaba0
4,384
exs
Elixir
test/absinthe/phase/document/validation/variables_of_correct_type_test.exs
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
test/absinthe/phase/document/validation/variables_of_correct_type_test.exs
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
test/absinthe/phase/document/validation/variables_of_correct_type_test.exs
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Validation.VariablesOfCorrectTypeTest do @phase Absinthe.Phase.Document.Arguments.VariableTypesMatch use Absinthe.ValidationPhaseCase, async: true, phase: @phase defp error_message(op, variable_name, var_type, arg_type) do var = %Absinthe.Blueprint.Input.Variable{name: vari...
28.283871
83
0.583714
f7cb8d34b84f25403108f3abf1b2f9b04bfd24c8
13,394
ex
Elixir
lib/aws/generated/media_convert.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/media_convert.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/media_convert.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "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.MediaConvert do @moduledoc """ AWS Elemental MediaConvert """ @doc """ Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert. """ ...
30.234763
136
0.635732
f7cbd7e19830531a1d6ffd546b7fa86ec0d13a2a
4,532
exs
Elixir
test/mix_generator_test.exs
mbramson/mix_generator
d0283fc43c3f873c370cdcd1939f18014da37528
[ "Apache-2.0" ]
123
2017-04-10T22:20:47.000Z
2022-02-28T00:02:25.000Z
test/mix_generator_test.exs
grahamhay/mix_generator
cb5c60a94542fe0688f7fa10c8a2100c4d1cbf49
[ "Apache-2.0" ]
9
2017-04-20T06:57:47.000Z
2021-01-21T19:49:08.000Z
test/mix_generator_test.exs
grahamhay/mix_generator
cb5c60a94542fe0688f7fa10c8a2100c4d1cbf49
[ "Apache-2.0" ]
17
2017-04-28T13:16:59.000Z
2020-08-29T13:32:39.000Z
Code.require_file "./test_helper.exs", __DIR__ defmodule MixGeneratorTest do use ExUnit.Case @template Path.join(__DIR__, "../test_templates/project") @child_template Path.join(__DIR__, "../test_templates/child") @project_name "cecil" @project_name_camel_case "Cecil" test "basic project can be...
29.428571
93
0.487864
f7cbe7de001cf863215c963a990b9babf6e7f346
1,280
ex
Elixir
lib/hermit/Sink.ex
Tigger2014/hermit
ccfb4f24fa9f4d771f081c787dbbf6266d9a5ecd
[ "MIT" ]
6
2017-07-24T00:02:01.000Z
2021-11-26T11:49:13.000Z
lib/hermit/Sink.ex
Tigger2014/hermit
ccfb4f24fa9f4d771f081c787dbbf6266d9a5ecd
[ "MIT" ]
1
2018-09-10T16:19:07.000Z
2018-09-10T16:19:07.000Z
lib/hermit/Sink.ex
Tigger2014/hermit
ccfb4f24fa9f4d771f081c787dbbf6266d9a5ecd
[ "MIT" ]
1
2018-09-10T14:01:19.000Z
2018-09-10T14:01:19.000Z
defmodule Hermit.Sink do require Logger def listen(port) do {:ok, addr} = Hermit.Config.sink_bind |> String.to_charlist() |> :inet_parse.address() {:ok, socket} = :gen_tcp.listen(port, [:binary, active: false, reuseaddr: true, ifaddr: addr]) Logger.info "Sink listening on #{:inet.ntoa ad...
25.6
81
0.624219
f7cbf377d8a13f10663ff54c37471db2e24d24c6
1,242
exs
Elixir
config/config.exs
agnaldo4j/prevayler-iex
4ff587f954149a94ff10a22550198ab79e9fcfe0
[ "BSD-3-Clause" ]
1
2017-04-06T23:16:03.000Z
2017-04-06T23:16:03.000Z
config/config.exs
agnaldo4j/prevayler-iex
4ff587f954149a94ff10a22550198ab79e9fcfe0
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
agnaldo4j/prevayler-iex
4ff587f954149a94ff10a22550198ab79e9fcfe0
[ "BSD-3-Clause" ]
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 config :prevayler_iex, Prevalent.Journaling, snapshot_path: "db/snapshot", commands_path: "db/commands" # This configuration is loaded before any dependency and is res...
35.485714
73
0.747987
f7cc041ed34e7884d9888f0fe32d19d6854c15b4
287
ex
Elixir
apps/authenticator/lib/sessions/cache.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/authenticator/lib/sessions/cache.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/authenticator/lib/sessions/cache.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule Authenticator.Sessions.Cache do @moduledoc """ Sessions generic cache. This is important to avoid be going on database in any request and to be faster in authentication requests. """ use Nebulex.Cache, otp_app: :authenticator, adapter: Nebulex.Adapters.Local end
26.090909
77
0.763066
f7cc25aa2d55623d936fa4817d18a99b9b7be26d
226
ex
Elixir
test/support/project_case.ex
StabbyMcDuck/elixir_ravelry
c503fc019842bb82ad58673a1b6867e3214fc7e1
[ "Apache-2.0" ]
21
2017-08-27T13:59:18.000Z
2020-10-07T03:35:22.000Z
test/support/project_case.ex
StabbyMcDuck/elixir_ravelry
c503fc019842bb82ad58673a1b6867e3214fc7e1
[ "Apache-2.0" ]
2
2017-09-02T15:49:47.000Z
2017-09-02T17:43:29.000Z
test/support/project_case.ex
StabbyMcDuck/elixir_ravelry
c503fc019842bb82ad58673a1b6867e3214fc7e1
[ "Apache-2.0" ]
7
2017-09-02T15:11:49.000Z
2019-08-20T19:00:48.000Z
defmodule ElixirRavelry.ProjectCase do alias ElixirRavelry.Repo alias ElixirRavelryWeb.Project def create_project(bolt_sips_conn) do Repo.Project.create(bolt_sips_conn, %Project{name: Faker.Name.name()}) end end
22.6
74
0.792035
f7cc35cd93c905613ddc97656d12c7dcc3ce24b8
1,803
exs
Elixir
apps/webapp/spec/models/user_spec.exs
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
25
2016-08-09T15:04:37.000Z
2021-11-15T12:20:27.000Z
apps/webapp/spec/models/user_spec.exs
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
62
2016-05-23T20:16:40.000Z
2017-04-18T18:36:29.000Z
apps/webapp/spec/models/user_spec.exs
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
10
2016-08-17T15:29:21.000Z
2017-02-28T07:58:30.000Z
defmodule Webapp.UserSpec do use ESpec.Phoenix, model: User alias Webapp.User @valid_params %{ first_name: "J", last_name: "R", email: "j@r.com", role: "admin", password: "12341234" } describe "changeset/2" do let :min, do: Keyword.fetch!(User.valid_name_length, :min) let :max, d...
31.086207
92
0.642263
f7cc6be0ce178de51961a41dbbd6c4ff05d02438
2,587
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeedstatuses_custom_batch_request_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeedstatuses_custom_batch_request_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/datafeedstatuses_custom_batch_request_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.725806
239
0.708543
f7cc87d1ec7968394f5f71b3709636368c53be6d
1,133
exs
Elixir
apps/feedback/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/feedback/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/feedback/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule Feedback.Mixfile do use Mix.Project def project do [ app: :feedback, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", build_embedded: Mix.env() == :prod, start_per...
23.604167
77
0.540159
f7ccd9f49840d7eaa2c47ee5cb46e15ffc1c41b8
2,456
ex
Elixir
lib/analyzer.ex
scdehmlow/dealer-reviews
cc106e90e4c460c0484991078e2b966b1b367889
[ "MIT" ]
null
null
null
lib/analyzer.ex
scdehmlow/dealer-reviews
cc106e90e4c460c0484991078e2b966b1b367889
[ "MIT" ]
null
null
null
lib/analyzer.ex
scdehmlow/dealer-reviews
cc106e90e4c460c0484991078e2b966b1b367889
[ "MIT" ]
null
null
null
defmodule DealerReviews.Analyzer do @moduledoc """ Contains functions to analyze the contents of a review and score different properties for sorting. """ @doc """ Average ratings when four or more are provided. """ def score_ratings(%DealerReviews.Review{ratings: ratings}) do score_ratings(ratings)...
25.061224
98
0.64373
f7cd03219412ae03607b5a49f4968144071283f0
906
ex
Elixir
lib/obelisk/post.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
406
2015-01-01T14:59:37.000Z
2022-02-19T08:08:47.000Z
lib/obelisk/post.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
38
2015-01-19T11:58:30.000Z
2019-01-18T14:06:24.000Z
lib/obelisk/post.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
64
2015-01-19T09:59:55.000Z
2021-02-06T01:14:59.000Z
defmodule Obelisk.Post do def compile(md_file) do spawn_link fn -> Obelisk.Document.compile "./posts/#{md_file}", Obelisk.Layout.post end end def prepare(md_file, store) do layouts = Obelisk.Store.get_layouts(store) Obelisk.Store.add_posts(store, [ Obelisk.Document.prepare("./posts/#{md_fi...
25.885714
108
0.663355
f7cd09c392dcbab1aa7f2bc2327ab163f23c3371
1,206
exs
Elixir
config/test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
2
2021-12-21T16:32:56.000Z
2022-02-22T17:06:39.000Z
config/test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
config/test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
import Config # Configure your database config :exshome, Exshome.Repo, pool_size: 5, show_sensitive_data_on_connection_error: true, database_name: "exshome_test.db" # We don't run a server during test. If one is required, # you can enable the server option below. config :exshome, ExshomeWeb.Endpoint, http: [i...
35.470588
86
0.800166
f7cd14b494ef6ea204a8c8916d8bee471579abe5
313
exs
Elixir
integration_test/test_helper.exs
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
integration_test/test_helper.exs
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
integration_test/test_helper.exs
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
Application.start :erlzk Code.require_file("support/zk_helper.exs", __DIR__) Logger.remove_backend(:console) zk_cfg = Application.get_env(:cafex, :zookeeper) zk_prefix = Keyword.get(zk_cfg, :chroot) {:ok, pid} = ZKHelper.connect(zk_cfg) :ok = ZKHelper.rmr(pid, zk_prefix) # ZKHelper.close(pid) ExUnit.start()
24.076923
51
0.757188
f7cd5f5554c2c51c727cbf2ce23a5894d835ccbd
877
ex
Elixir
debian/watch.ex
MoonLightDE/CppMicroServices
cf471b30539d7e1a138d6308b2b249fe19df2302
[ "Apache-2.0" ]
1
2021-06-27T05:11:08.000Z
2021-06-27T05:11:08.000Z
debian/watch.ex
MoonLightDE/mlde.l.cppmicroservices
cf471b30539d7e1a138d6308b2b249fe19df2302
[ "Apache-2.0" ]
3
2017-08-20T22:10:51.000Z
2017-09-04T12:48:40.000Z
debian/watch.ex
MoonLightDE/mlde.l.cppmicroservices
cf471b30539d7e1a138d6308b2b249fe19df2302
[ "Apache-2.0" ]
1
2017-08-19T06:41:58.000Z
2017-08-19T06:41:58.000Z
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # <Webpage URL> <string match> #http://www.example.co...
36.541667
79
0.737742
f7cda2f2af2deed48d01d1277a0b5578f1fb4137
1,031
ex
Elixir
lib/jaya_currency_converter/accounts.ex
franknfjr/jaya_currency_converter
56dfcf40b2ed2c9307fa39d7a5d1121cf4a1a37e
[ "MIT" ]
null
null
null
lib/jaya_currency_converter/accounts.ex
franknfjr/jaya_currency_converter
56dfcf40b2ed2c9307fa39d7a5d1121cf4a1a37e
[ "MIT" ]
null
null
null
lib/jaya_currency_converter/accounts.ex
franknfjr/jaya_currency_converter
56dfcf40b2ed2c9307fa39d7a5d1121cf4a1a37e
[ "MIT" ]
null
null
null
defmodule JayaCurrencyConverter.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias JayaCurrencyConverter.Repo alias JayaCurrencyConverter.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def ...
15.861538
58
0.57517
f7cdc15417231d0bc55dfc0abb373fa3f399a4b6
1,693
exs
Elixir
exercises/practice/pythagorean-triplet/test/triplet_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
null
null
null
exercises/practice/pythagorean-triplet/test/triplet_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
null
null
null
exercises/practice/pythagorean-triplet/test/triplet_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
null
null
null
defmodule TripletTest do use ExUnit.Case # @tag :pending test "sum" do triplet = [3, 4, 5] assert Triplet.sum(triplet) == 12 end @tag :pending test "product" do triplet = [3, 4, 5] assert Triplet.product(triplet) == 60 end @tag :pending test "pythagorean" do triplet = [3, 4, 5] ...
21.705128
62
0.552865
f7ce0ee021bc34849a1c60ba785ab9befeb39e72
4,664
ex
Elixir
debian/manpage.sgml.ex
tarkhov/deb-release
8421a676ec542cc5421b39c3ac353f2fb823789a
[ "MIT" ]
null
null
null
debian/manpage.sgml.ex
tarkhov/deb-release
8421a676ec542cc5421b39c3ac353f2fb823789a
[ "MIT" ]
3
2019-06-04T19:43:09.000Z
2020-11-20T11:55:32.000Z
debian/manpage.sgml.ex
tarkhov/deb-release
8421a676ec542cc5421b39c3ac353f2fb823789a
[ "MIT" ]
null
null
null
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Ma...
30.090323
75
0.658448
f7ce130ab9b79f5a896ea9b2eafe64811caccc1b
1,613
exs
Elixir
elixir/phone-number/phone_number.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/phone-number/phone_number.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/phone-number/phone_number.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
defmodule Phone do @doc """ Remove formatting from a phone number. Returns "0000000000" if phone number is not valid (10 digits or "1" followed by 10 digits) ## Examples iex> Phone.number("123-456-7890") "1234567890" iex> Phone.number("+1 (303) 555-1212") "3035551212" iex> Phone.number("867.530...
20.417722
73
0.625542
f7ce1da36b178a5d21ca0a9b5ce4d8a00adbde94
3,000
ex
Elixir
lib/livebook/runtime/attached.ex
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/attached.ex
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/attached.ex
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.Attached do @moduledoc false # A runtime backed by an Elixir node managed externally. # # Such node must be already started and available, # Livebook doesn't manage its lifetime in any way # and only loads/unloads the necessary elements. # The node can be an ordinary Elixir run...
30
94
0.708333
f7ce2a55ae419c59217a7aca18503cc850466da1
83
ex
Elixir
lib/matchalert/web/views/player_subscription_view.ex
troelsim/matchalert
9379796b3046e0ce28674432568f9cb5b01aab6f
[ "Apache-2.0" ]
null
null
null
lib/matchalert/web/views/player_subscription_view.ex
troelsim/matchalert
9379796b3046e0ce28674432568f9cb5b01aab6f
[ "Apache-2.0" ]
null
null
null
lib/matchalert/web/views/player_subscription_view.ex
troelsim/matchalert
9379796b3046e0ce28674432568f9cb5b01aab6f
[ "Apache-2.0" ]
null
null
null
defmodule Matchalert.Web.PlayerSubscriptionView do use Matchalert.Web, :view end
20.75
50
0.831325
f7ce933ac5cd0df2c69614f2b5f70de449455311
443
ex
Elixir
lib/key_value_store.ex
tegon/elixir-in-action
1bcb8fb0e1d32593a505dc634977c0ea3d4a56ba
[ "MIT" ]
1
2017-09-07T14:36:47.000Z
2017-09-07T14:36:47.000Z
lib/key_value_store.ex
tegon/elixir-in-action
1bcb8fb0e1d32593a505dc634977c0ea3d4a56ba
[ "MIT" ]
null
null
null
lib/key_value_store.ex
tegon/elixir-in-action
1bcb8fb0e1d32593a505dc634977c0ea3d4a56ba
[ "MIT" ]
null
null
null
defmodule KeyValueStore do def init do %{} end def handle_cast({:put, key, value}, state) do Map.put(state, key, value) end def handle_call({:get, key}, state) do {Map.get(state, key), state} end def start do ServerProcess.start(KeyValueStore) end def put(pid, key, value) do Se...
17.038462
47
0.636569
f7cec22448f5154af86abf2a55736379e61ac1cd
1,575
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_protobuf_empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_protobuf_empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_protobuf_empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-03-04T13:43:47.000Z
2021-03-04T13:43:47.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...
37.5
345
0.765079
f7cecd07ab761f5693b6120eb6b1a832c32f35ef
1,235
exs
Elixir
farmbot_core/test/bot_state_test.exs
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/test/bot_state_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/test/bot_state_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCore.BotStateTest do use ExUnit.Case alias FarmbotCore.BotState describe "bot state pub/sub" do test "subscribes to bot state updates" do {:ok, bot_state_pid} = BotState.start_link([], []) _initial_state = BotState.subscribe(bot_state_pid) :ok = BotState.set_user_env(bot_st...
36.323529
81
0.660729
f7ced50df775dcdc235bd04be33393cf17daba33
3,380
exs
Elixir
test/sled_test.exs
skunkwerks/sled
2a84b30a15719ec20002771afeee978a504966f1
[ "Apache-2.0", "MIT" ]
11
2020-06-08T20:58:33.000Z
2022-01-12T03:41:29.000Z
test/sled_test.exs
skunkwerks/sled
2a84b30a15719ec20002771afeee978a504966f1
[ "Apache-2.0", "MIT" ]
1
2020-06-08T21:37:00.000Z
2020-07-06T20:55:31.000Z
test/sled_test.exs
skunkwerks/sled
2a84b30a15719ec20002771afeee978a504966f1
[ "Apache-2.0", "MIT" ]
3
2020-06-08T21:03:00.000Z
2022-01-21T09:05:55.000Z
defmodule SledTest do use ExUnit.Case doctest Sled setup_all do on_exit(fn -> File.rm_rf!("test_db") File.rm_rf!("test_default_db") end) end setup do path = Sled.TestHelpers.test_db_name() File.rm_rf!(path) on_exit(fn -> File.rm_rf!(path) end) {:ok, path: path...
25.223881
97
0.602663
f7cef30c9eb9de4f976483c78896ac5c383878f6
78
ex
Elixir
lib/lv_template/mailer.ex
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
lib/lv_template/mailer.ex
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
lib/lv_template/mailer.ex
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
defmodule LvTemplate.Mailer do use Swoosh.Mailer, otp_app: :lv_template end
19.5
42
0.807692
f7cf161b7f870976a32c5191680547035bfef6f7
3,431
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/api/adclients.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/api/adclients.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/api/adclients.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.358025
206
0.660449
f7cf3f15da1682481cab2889bec0a2d750e18d28
3,227
ex
Elixir
lib/ueberauth/azure_ad.ex
gabrielpra1/ueberauth_azure_ad
85e38af09a288f68ac2301b3847a05fac8ff314c
[ "MIT" ]
null
null
null
lib/ueberauth/azure_ad.ex
gabrielpra1/ueberauth_azure_ad
85e38af09a288f68ac2301b3847a05fac8ff314c
[ "MIT" ]
null
null
null
lib/ueberauth/azure_ad.ex
gabrielpra1/ueberauth_azure_ad
85e38af09a288f68ac2301b3847a05fac8ff314c
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.AzureAD do @moduledoc """ """ use Ueberauth.Strategy alias Ueberauth.Strategy.AzureAD.Client alias Ueberauth.Strategy.AzureAD.Callback require Logger alias Ueberauth.Auth.Info alias Ueberauth.Auth.Credentials alias Ueberauth.Auth.Extra def handle_request!(conn) do ...
26.669421
91
0.634025
f7cf50cd48dde5e99145211ca7096998b643277c
1,401
ex
Elixir
packages/api/lib/api_web/controllers/auth_controller.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
1
2022-02-10T20:08:10.000Z
2022-02-10T20:08:10.000Z
packages/api/lib/api_web/controllers/auth_controller.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
packages/api/lib/api_web/controllers/auth_controller.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
defmodule ApiWeb.AuthController do use ApiWeb, :controller alias Api.Accounts alias Api.Accounts.Auth action_fallback ApiWeb.FallbackController def register(conn, %{"user" => user_params}) do with {:ok, user} <- Accounts.create_user(user_params) do new_conn = put_tokens(conn, user) new_conn ...
27.470588
92
0.64454
f7cf5cf5c087caa8e2ab8ca9f028ef967c4780ab
2,536
exs
Elixir
test/grizzly/command_handlers/aggregate_report_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
test/grizzly/command_handlers/aggregate_report_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
test/grizzly/command_handlers/aggregate_report_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.CommandHandlers.AggregateReportTest do use ExUnit.Case, async: true alias Grizzly.CommandHandlers.AggregateReport alias Grizzly.ZWave.Commands.{AssociationReport, SwitchBinaryReport} alias Grizzly.ZWave.Command test "when the waiting report has no reports to follow" do {:ok, state} = ...
31.308642
92
0.695189
f7cf66b525536ca661be4a8e9761f94f827f1284
8,089
ex
Elixir
lib/artsy.ex
ImpossibilityLabs/artsy
f0e1fb9988bac1dc06d726b5d698a00036bcc40f
[ "MIT" ]
null
null
null
lib/artsy.ex
ImpossibilityLabs/artsy
f0e1fb9988bac1dc06d726b5d698a00036bcc40f
[ "MIT" ]
null
null
null
lib/artsy.ex
ImpossibilityLabs/artsy
f0e1fb9988bac1dc06d726b5d698a00036bcc40f
[ "MIT" ]
null
null
null
defmodule Artsy do @moduledoc """ REST API wrapper for [Artsy](http://artsy.net). """ import Artsy.ApiHelpers use Application use GenServer use HTTPoison.Base require Logger @token_min_delay 5000 @token_reload 60 * 3 @token_failure_delay 1000 @token_max_retries 5 unless Application.get_env(...
30.29588
106
0.642601
f7cf745e99e822246dafb2566a6d41890c153c6c
86
exs
Elixir
lib/mix/test/fixtures/test_stale/test/b_test_stale.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/fixtures/test_stale/test/b_test_stale.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/fixtures/test_stale/test/b_test_stale.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule BTest do use ExUnit.Case test "f" do assert B.f() == :ok end end
10.75
23
0.604651
f7cf8aed0c289e0915a5ab5bbbaa3a5942b28af5
222
exs
Elixir
priv/repo/migrations/20200904204200_update_users1.exs
petermm/kandesk
6d940efcd1023b4667904b5a7a3a517be013702c
[ "MIT" ]
158
2020-09-01T13:21:59.000Z
2022-03-31T12:41:03.000Z
priv/repo/migrations/20200904204200_update_users1.exs
petermm/kandesk
6d940efcd1023b4667904b5a7a3a517be013702c
[ "MIT" ]
8
2020-09-01T21:09:05.000Z
2022-01-20T21:46:18.000Z
priv/repo/migrations/20200904204200_update_users1.exs
petermm/kandesk
6d940efcd1023b4667904b5a7a3a517be013702c
[ "MIT" ]
18
2020-09-01T13:23:45.000Z
2022-02-15T09:47:39.000Z
defmodule Kandesk.Repo.Migrations.UpdateUsers1 do use Ecto.Migration def change do alter table(:users) do add :timezone, :text end execute ~s(UPDATE users set timezone = 'Europe/Paris';) end end
18.5
59
0.689189
f7cfbdf606b32c5a3b0b22b7d1d4d9e51a48d02f
3,381
ex
Elixir
apps/andi/lib/andi/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/lib/andi/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/lib/andi/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Andi.Application do @moduledoc false use Application use Properties, otp_app: :andi require Logger @instance_name Andi.instance_name() getter(:brook, generic: true) getter(:kafka_endpoints, generic: true) getter(:dead_letter_topic, generic: true) getter(:secrets_endpoint, generic: true) ...
23.643357
101
0.637977
f7cfd33fa1d23f96562df1c37f250bdd7eb2cbe4
3,761
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/dimension_values.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/dimension_values.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/dimension_values.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.788889
187
0.660197
f7cfe19cbd82544a5942a03d4a062b681129bdb4
3,714
ex
Elixir
lib/fixes/refactor/map_join.ex
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
lib/fixes/refactor/map_join.ex
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
lib/fixes/refactor/map_join.ex
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
defmodule CredoFixes.Fixes.Refactor.MapJoin do @behaviour CredoFixes.Fixer @impl true def get_fixes(source) do ast = Sourceror.parse_string!(source) {_, fixes} = Macro.prewalk(ast, [], &get_fix/2) Enum.reverse(fixes) end # TODO find a better way to do this, because there's a lot of # repetit...
25.265306
98
0.526387
f7cffa5010e6c7f151b82120b7203838f36414e9
2,230
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/guardian.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/classroom/lib/google_api/classroom/v1/model/guardian.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/guardian.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.448276
137
0.723767
f7d0645b1853e452d9c141c2b975ba93b942ae63
1,701
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.191489
186
0.771311
f7d089141df64c3183d4bf4d6dbc4cd70692c32f
201
exs
Elixir
demo/sitBRU_Demo/test/controllers/page_controller_test.exs
ceedee666/sitbru_2016
b23b4a81a1daec87801c6435ff04d32be043e0b9
[ "MIT" ]
null
null
null
demo/sitBRU_Demo/test/controllers/page_controller_test.exs
ceedee666/sitbru_2016
b23b4a81a1daec87801c6435ff04d32be043e0b9
[ "MIT" ]
null
null
null
demo/sitBRU_Demo/test/controllers/page_controller_test.exs
ceedee666/sitbru_2016
b23b4a81a1daec87801c6435ff04d32be043e0b9
[ "MIT" ]
null
null
null
defmodule SitBRU_Demo.PageControllerTest do use SitBRU_Demo.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.333333
60
0.686567
f7d08f4d8e5c5750245f1900da0d109e87e6e0e9
1,594
ex
Elixir
lib/dialyxir/warnings/unmatched_return.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
1,455
2015-01-03T02:53:19.000Z
2022-03-12T00:31:25.000Z
lib/dialyxir/warnings/unmatched_return.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
330
2015-05-14T13:53:13.000Z
2022-03-29T17:12:23.000Z
lib/dialyxir/warnings/unmatched_return.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
146
2015-02-03T18:19:43.000Z
2022-03-07T10:05:20.000Z
defmodule Dialyxir.Warnings.UnmatchedReturn do @moduledoc """ The invoked expression returns a union of types and the call does not match on its return types using e.g. a case or wildcard. ## Example defmodule Example do require Integer def ok() do n = :rand.uniform(100) ...
19.439024
67
0.580301
f7d0940f4e60aaea5efef08df319b57389a77084
1,364
exs
Elixir
mix.exs
wisq/ex_co2_mini
b949f6a13abcf27b78ec0cdeee16f746ab4b2360
[ "Apache-2.0" ]
1
2019-02-13T04:07:52.000Z
2019-02-13T04:07:52.000Z
mix.exs
wisq/ex_co2_mini
b949f6a13abcf27b78ec0cdeee16f746ab4b2360
[ "Apache-2.0" ]
null
null
null
mix.exs
wisq/ex_co2_mini
b949f6a13abcf27b78ec0cdeee16f746ab4b2360
[ "Apache-2.0" ]
null
null
null
defmodule ExCO2Mini.MixProject do use Mix.Project def project do [ app: :ex_co2_mini, version: "0.1.3", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), description: description(), package: package(), compilers: [:elixir_ma...
23.118644
87
0.571114
f7d0a04a769b8cc08b24ddf816a92c60654c6a30
4,076
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/autoscaling_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/autoscaling_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/autoscaling_policy.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...
52.935065
379
0.751227
f7d0a1d575896518ee7d4c3e512b5b119ef1d857
4,015
ex
Elixir
lib/changelog/schema/episode/episode_request.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
1
2019-11-02T08:32:25.000Z
2019-11-02T08:32:25.000Z
lib/changelog/schema/episode/episode_request.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
lib/changelog/schema/episode/episode_request.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
defmodule Changelog.EpisodeRequest do use Changelog.Schema alias Changelog.{Episode, Podcast, Person} defenum(Status, declined: -1, fresh: 0, pending: 1, failed: 2) schema "episode_requests" do field :status, Status, default: :fresh field :hosts, :string field :guests, :string field :topics,...
33.739496
96
0.685928
f7d0d8c5faae2b0ab92709ebf72b5186fb6175ad
328
ex
Elixir
lib/rdf/xsd/datatypes/unsigned_long.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/xsd/datatypes/unsigned_long.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/xsd/datatypes/unsigned_long.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.UnsignedLong do use RDF.XSD.Datatype.Restriction, name: "unsignedLong", id: RDF.Utils.Bootstrapping.xsd_iri("unsignedLong"), base: RDF.XSD.NonNegativeInteger def_facet_constraint RDF.XSD.Facets.MinInclusive, 0 def_facet_constraint RDF.XSD.Facets.MaxInclusive, 18_446_744_073_709_551_...
32.8
78
0.795732
f7d0f071b85d5d346e691a3851d3311af4ab7e16
1,444
exs
Elixir
test/test_helper.exs
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
1
2020-05-03T15:41:49.000Z
2020-05-03T15:41:49.000Z
test/test_helper.exs
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
2
2016-08-23T21:06:49.000Z
2020-02-13T16:04:16.000Z
ExUnit.start #Stripe.start ExUnit.configure [exclude: [disabled: true], seed: 0 ] defmodule Helper do def create_test_plans do Stripe.Plans.create [id: "test-std", name: "Test Plan Standard", amount: 100, interval: "month"] Stripe.Plans.create [id: "test-dlx", name: "Test Plan Deluxe", amount: 1000, interval...
22.5625
100
0.609418
f7d118f3da761ad766730e11140fed41d6facfec
71
exs
Elixir
test/test_helper.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
test/test_helper.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
test/test_helper.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(TimeVoice.Repo, :manual)
14.2
55
0.788732
f7d11dec29ea2c3498ee64fbb7e56f754448ca5b
19,906
exs
Elixir
test/phoenix_live_view/html_engine_test.exs
alexpls/phoenix_live_view
a95b3e9e6a12aee6f1c3eb07e01bd2a1cac05008
[ "MIT" ]
null
null
null
test/phoenix_live_view/html_engine_test.exs
alexpls/phoenix_live_view
a95b3e9e6a12aee6f1c3eb07e01bd2a1cac05008
[ "MIT" ]
null
null
null
test/phoenix_live_view/html_engine_test.exs
alexpls/phoenix_live_view
a95b3e9e6a12aee6f1c3eb07e01bd2a1cac05008
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.HTMLEngineTest do use ExUnit.Case, async: true import Phoenix.LiveView.Helpers, only: [sigil_H: 2, render_block: 1, render_block: 2] alias Phoenix.LiveView.HTMLEngine alias Phoenix.LiveView.HTMLTokenizer.ParseError defp eval(string, assigns \\ %{}, opts \\ []) do opts = ...
29.754858
114
0.55104
f7d12f3bd42fb991ee9d664fd43a8fa9d0760a94
2,252
exs
Elixir
test/elrondex/check_online_transaction_test.exs
victorflx/elrondex
a90521ce5e39ad37453dcb53f527b8311ae1ae4f
[ "MIT" ]
8
2021-10-02T16:25:19.000Z
2022-02-03T17:50:34.000Z
test/elrondex/check_online_transaction_test.exs
victorflx/elrondex
a90521ce5e39ad37453dcb53f527b8311ae1ae4f
[ "MIT" ]
1
2022-01-19T12:10:49.000Z
2022-01-19T12:10:49.000Z
test/elrondex/check_online_transaction_test.exs
victorflx/elrondex
a90521ce5e39ad37453dcb53f527b8311ae1ae4f
[ "MIT" ]
2
2022-01-10T07:48:16.000Z
2022-02-06T17:05:57.000Z
defmodule Elrondex.CheckOnlineTransactionTest do alias Elrondex.{Account, Transaction, Network, REST} use ExUnit.Case test "sign and verify transaction" do mainnet = Network.mainnet() {:ok, config} = REST.get_network_config(mainnet) mainnet = mainnet |> Network.config(config) tx_ha...
30.849315
80
0.671403
f7d1348c58aec0e0f5b85784d11d8e3339b8bc2b
153
ex
Elixir
lib/types/get_parameter_value_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
lib/types/get_parameter_value_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
lib/types/get_parameter_value_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Messages.GetParameterValuesStruct do @derive [Poison.Encoder] defstruct name: nil, type: nil end
25.5
60
0.653595
f7d14d6c43bc13c09fb9b6af7433868e37177fde
472
ex
Elixir
lib/events_tools/venues/building.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
lib/events_tools/venues/building.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
lib/events_tools/venues/building.ex
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.Venues.Building do use Ecto.Schema import Ecto.Changeset alias EventsTools.Venues.Building schema "buildings" do field :name, :string belongs_to :venue, EventsTools.Venues.Venue # this was added has_many :halls, EventsTools.Venues.Hall # this was added timestamps() e...
21.454545
65
0.697034