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
f7a501c7c871ed3d9a24a041b847c535ff810eef
12,032
exs
Elixir
test/ecto_adapters_dynamodb_test.exs
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
null
null
null
test/ecto_adapters_dynamodb_test.exs
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
null
null
null
test/ecto_adapters_dynamodb_test.exs
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
1
2018-09-12T13:11:05.000Z
2018-09-12T13:11:05.000Z
defmodule Ecto.Adapters.DynamoDB.Test do use ExUnit.Case import Ecto.Query alias Ecto.Adapters.DynamoDB.TestRepo alias Ecto.Adapters.DynamoDB.TestSchema.Person alias Ecto.Adapters.DynamoDB.TestSchema.Address alias Ecto.Adapters.DynamoDB.TestSchema.BookPage @test_table "test_person" setup_all do ...
33.237569
134
0.480967
f7a5064aaf1a4b642e3714abd95094f1c09ca7d5
8,631
exs
Elixir
test/game/command/shops_test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/command/shops_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/command/shops_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Command.ShopsTest do use ExVenture.CommandCase alias Game.Command.Shops alias Game.Environment.State.Overworld doctest Game.Command.Shops setup do start_and_clear_items() insert_item(%{id: 1, name: "Sword", keywords: [], description: ""}) tree_stand = %{id: 10, name: "Tree Stand...
33.196154
105
0.625652
f7a51315b6f848a30c12113805ccae18f66b2bc3
930
ex
Elixir
lib/ticketo/application.ex
alejandronanez/phoenix-absinthe-auth-template
e4e72f52247cb4c880ddc058beaa7b5eecb68980
[ "MIT" ]
8
2020-06-25T03:15:06.000Z
2021-12-10T10:52:26.000Z
lib/ticketo/application.ex
alejandronanez/phoenix-absinthe-auth-template
e4e72f52247cb4c880ddc058beaa7b5eecb68980
[ "MIT" ]
null
null
null
lib/ticketo/application.ex
alejandronanez/phoenix-absinthe-auth-template
e4e72f52247cb4c880ddc058beaa7b5eecb68980
[ "MIT" ]
null
null
null
defmodule Ticketo.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository Ticketo.Repo, ...
29.0625
66
0.713978
f7a58c912b36ef75a6829c433974a30bd7492e13
4,635
ex
Elixir
lib/combinators/date.ex
tmr08c/date_time_parser
42a93ff734bc532f86ca3a0bf90b662ce3bfade8
[ "MIT" ]
null
null
null
lib/combinators/date.ex
tmr08c/date_time_parser
42a93ff734bc532f86ca3a0bf90b662ce3bfade8
[ "MIT" ]
null
null
null
lib/combinators/date.ex
tmr08c/date_time_parser
42a93ff734bc532f86ca3a0bf90b662ce3bfade8
[ "MIT" ]
null
null
null
defmodule DateTimeParser.Combinators.Date do @moduledoc false import NimbleParsec @days_map %{ "sun" => "Sunday", "mon" => "Monday", "tues" => "Tuesday", "tue" => "Tuesday", "wed" => "Wednesday", "thurs" => "Thursday", "thur" => "Thursday", "thu" => "Thursday", "fri" => "Frid...
19.3125
75
0.545415
f7a5b30585bc8e79c824d152d0b881a8bb349a91
37,403
ex
Elixir
clients/composer/lib/google_api/composer/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/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...
50.750339
4,251
0.634227
f7a5f77bd5d373373a80a940dbd46633324bd0bd
288
exs
Elixir
priv/repo/migrations/20201230174327_add_fundraiser_to_fundraiser_admins.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20201230174327_add_fundraiser_to_fundraiser_admins.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20201230174327_add_fundraiser_to_fundraiser_admins.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
defmodule Freegiving.Repo.Migrations.AddFundraiserToFundraiserAdmins do use Ecto.Migration def change do alter table("fundraiser_admins") do add :fundraiser_id, references("fundraisers"), null: false end create index("fundraiser_admins", :fundraiser_id) end end
24
71
0.756944
f7a64f46d01ae3d23a59f827bed5891cd4ae03f7
233
ex
Elixir
test/environment/ecto/comment.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
null
null
null
test/environment/ecto/comment.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
null
null
null
test/environment/ecto/comment.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
null
null
null
defmodule DiluteTest.Environment.Ecto.Comment do use Ecto.Schema schema "comments" do field(:content, :string) field(:votes, :integer) belongs_to(:post, DiluteTest.Environment.Ecto.Post) timestamps() end end
17.923077
55
0.712446
f7a664ad2d7faa3e1fa4f5a5973ed39c2f34c1dc
1,044
ex
Elixir
test/support/fake_queue.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
2
2021-03-22T19:37:33.000Z
2022-01-04T08:48:20.000Z
test/support/fake_queue.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
10
2019-11-29T20:24:24.000Z
2021-02-26T22:06:13.000Z
test/support/fake_queue.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
1
2020-01-09T17:13:29.000Z
2020-01-09T17:13:29.000Z
defmodule Test.Support.FakeQueue do @moduledoc """ Message bus implemented as an in-memory queue for tests. """ @behaviour RailwayIpc.MessageBus @me __MODULE__ alias RailwayIpc.MessageBus.Publisher def init do Agent.start_link(fn -> [] end, name: @me) end @impl RailwayIpc.MessageBus def pub...
20.88
67
0.662835
f7a681132e96742c484460ede4a7f3fc2a6dc157
10,818
ex
Elixir
lib/elixir/lib/process.ex
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/elixir/lib/process.ex
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/process.ex
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule Process do @moduledoc """ This module provides convenience functions around processes and the process dictionary. In Erlang, most of these functions are auto-imported, but in Elixir they are grouped in a module for convenience. Notice that these functions, different from Erlang's, always return ni...
29.557377
87
0.674986
f7a68b3949cc4221ca09bcf4856a08f524323d09
2,251
exs
Elixir
backend/test/edgehog/astarte/device/storage_usage_test.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/test/edgehog/astarte/device/storage_usage_test.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/test/edgehog/astarte/device/storage_usage_test.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # 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 app...
28.858974
95
0.61928
f7a69164ea52c8b51ee2d742c7411958649ed9e4
1,071
exs
Elixir
test/mix/tasks/maintenance.disable_test.exs
wnuqui/on_maintenance
90bd211d0da77e0708d8f27adba0dd32399a8ca2
[ "MIT" ]
13
2017-04-13T05:36:56.000Z
2020-07-19T02:40:09.000Z
test/mix/tasks/maintenance.disable_test.exs
wnuqui/on_maintenance
90bd211d0da77e0708d8f27adba0dd32399a8ca2
[ "MIT" ]
null
null
null
test/mix/tasks/maintenance.disable_test.exs
wnuqui/on_maintenance
90bd211d0da77e0708d8f27adba0dd32399a8ca2
[ "MIT" ]
1
2021-09-03T19:31:05.000Z
2021-09-03T19:31:05.000Z
Mix.shell(Mix.Shell.Process) defmodule Mix.Tasks.Maintenance.DisableTest do use ExUnit.Case import Plug.OnMaintenance.Util setup do File.rm on_maintenance_db() Mix.Tasks.Maintenance.InitConfigStore.run([]) on_exit fn -> File.rm on_maintenance_db() end end describe "run/1" do setu...
24.906977
66
0.639589
f7a6bd00f505d8f639dbd35c9b140c5a7117fe0f
1,680
ex
Elixir
lib/inch_ex/ui/shell.ex
asaaki/inch_ex
38874a6050663f97c9cbfea29e9b413b4eea1a7b
[ "MIT" ]
200
2015-01-05T19:08:30.000Z
2022-02-23T01:57:09.000Z
lib/inch_ex/ui/shell.ex
asaaki/inch_ex
38874a6050663f97c9cbfea29e9b413b4eea1a7b
[ "MIT" ]
57
2015-01-03T12:07:28.000Z
2021-10-31T10:26:31.000Z
lib/inch_ex/ui/shell.ex
asaaki/inch_ex
38874a6050663f97c9cbfea29e9b413b4eea1a7b
[ "MIT" ]
101
2015-01-18T17:20:20.000Z
2022-03-07T23:28:53.000Z
defmodule InchEx.UI.Shell do @moduledoc """ This module is used by `Credo.CLI.Output.UI` to write to the shell. """ use GenServer def start_link(opts \\ []) do {:ok, _pid} = GenServer.start_link(__MODULE__, opts, name: __MODULE__) end def puts do puts("") end def puts(value) do GenServ...
20
81
0.645238
f7a6d49c6371e36990585d997aff155bb0bdbe80
31
ex
Elixir
testData/org/elixir_lang/parser_definition/literal_char_list_sigil_heredoc_parsing_test_case/WhitespaceEndPrefix.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/literal_char_list_sigil_heredoc_parsing_test_case/WhitespaceEndPrefix.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/literal_char_list_sigil_heredoc_parsing_test_case/WhitespaceEndPrefix.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~C''' hi there''' '''
7.75
11
0.258065
f7a6eaa3aa9113a7345f33998ce9b47a97fd4b8c
13,721
exs
Elixir
lib/elixir/test/elixir/kernel/overridable_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/kernel/overridable_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/kernel/overridable_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.Overridable do def sample do 1 end def with_super do 1 end def without_super do 1 end def super_with_multiple_args(x, y) do x + y end def capture_super(x) do x end defmacro capture_super_macro(x) do x ...
25.503717
126
0.663946
f7a6f0147a30f39bacae27c3af57b907a60d32be
1,604
ex
Elixir
lib/policr_mini/businesses/custom_kit_bussiness.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
lib/policr_mini/businesses/custom_kit_bussiness.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
2
2022-02-25T06:15:30.000Z
2022-02-25T06:15:33.000Z
lib/policr_mini/businesses/custom_kit_bussiness.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
defmodule PolicrMini.CustomKitBusiness do @moduledoc """ 自定义验证套件的业务功能实现。 """ use PolicrMini, business: PolicrMini.Schema.CustomKit import Ecto.Query, only: [from: 2, dynamic: 2] @type writed_result :: {:ok, CustomKit.t()} | {:error, Ecto.Changeset.t()} @max_count 55 @spec create(map()) :: writed_re...
28.642857
96
0.65399
f7a6f417625cdd4cb510c23a9e550eead034f102
889
ex
Elixir
lib/hedwig_simple_responders/responders/slogan.ex
HeroicEric/hedwig_simple_responders
f939b1a88a93651ee7406ae8dd85f58c759bce45
[ "MIT", "Unlicense" ]
null
null
null
lib/hedwig_simple_responders/responders/slogan.ex
HeroicEric/hedwig_simple_responders
f939b1a88a93651ee7406ae8dd85f58c759bce45
[ "MIT", "Unlicense" ]
null
null
null
lib/hedwig_simple_responders/responders/slogan.ex
HeroicEric/hedwig_simple_responders
f939b1a88a93651ee7406ae8dd85f58c759bce45
[ "MIT", "Unlicense" ]
null
null
null
defmodule HedwigSimpleResponders.Slogan do @moduledoc """ `slogan <brand>` - Generate a killer slogan """ use Hedwig.Responder @slogan_endpoint "https://4krgs6alv6.execute-api.us-west-2.amazonaws.com/prod/slogan" @usage """ slogan <brand> - Generates a slogan for your awesome brand """ hear ~r/^slog...
26.939394
91
0.5973
f7a747d9f8ca43cf43543d784012be37655bf9e3
19,395
ex
Elixir
lib/ecto.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
lib/ecto.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
lib/ecto.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
defmodule Ecto do @moduledoc ~S""" Ecto is split into 4 main components: * `Ecto.Repo` - repositories are wrappers around the data store. Via the repository, we can create, update, destroy and query existing entries. A repository needs an adapter and credentials to communicate to the database ...
32.487437
100
0.676463
f7a74b9f24b006f4c5145364ccbaae7ce174efaa
376
ex
Elixir
web/views/error_view.ex
Raiszo/chatzExs
6321f8b8f46b5c86cdbc80ab0d24d5f97ca7ebfd
[ "MIT" ]
null
null
null
web/views/error_view.ex
Raiszo/chatzExs
6321f8b8f46b5c86cdbc80ab0d24d5f97ca7ebfd
[ "MIT" ]
null
null
null
web/views/error_view.ex
Raiszo/chatzExs
6321f8b8f46b5c86cdbc80ab0d24d5f97ca7ebfd
[ "MIT" ]
null
null
null
defmodule ChatzExs.ErrorView do use ChatzExs.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templat...
20.888889
47
0.699468
f7a74f1b48d7c795db38a75a50f24ff5d97414b7
1,896
exs
Elixir
mix.exs
kianmeng/mailman
cf5b6da436fb0d3d1d816c804aa0dbab157a0150
[ "MIT" ]
null
null
null
mix.exs
kianmeng/mailman
cf5b6da436fb0d3d1d816c804aa0dbab157a0150
[ "MIT" ]
null
null
null
mix.exs
kianmeng/mailman
cf5b6da436fb0d3d1d816c804aa0dbab157a0150
[ "MIT" ]
null
null
null
defmodule Mailman.Mixfile do use Mix.Project def project do [ app: :mailman, name: "Mailman", source_url: "https://github.com/kamilc/mailman", homepage_url: "https://github.com/kamilc/mailman", description: "Library providing a clean way of defining mailers in Elixir apps", ...
25.621622
100
0.572257
f7a765c79ef2a0451120b6695850c527ece43931
1,201
ex
Elixir
lib/webbkoll/sites/sites.ex
twigbit/webbkoll
9faac7d0b4101f3801e78ed156665c8132197116
[ "MIT" ]
268
2016-07-08T17:14:58.000Z
2022-02-15T19:41:24.000Z
lib/webbkoll/sites/sites.ex
twigbit/webbkoll
9faac7d0b4101f3801e78ed156665c8132197116
[ "MIT" ]
29
2016-08-23T19:19:01.000Z
2022-02-01T16:28:23.000Z
lib/webbkoll/sites/sites.ex
twigbit/webbkoll
9faac7d0b4101f3801e78ed156665c8132197116
[ "MIT" ]
37
2016-08-24T21:52:45.000Z
2021-09-08T11:27:15.000Z
defmodule Webbkoll.Sites do alias Webbkoll.Sites.Site def add_site(url) do id = UUID.uuid4() site = %Site{ id: id, input_url: url, try_count: 0, status: "queue", inserted_at: System.system_time(:microsecond) } ConCache.put(:site_cache, id, site) {:ok, site} en...
19.688525
94
0.589509
f7a77672bf297aaca9b832bd8a800a1309a3cc58
821
exs
Elixir
test/authentication_test.exs
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
test/authentication_test.exs
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
test/authentication_test.exs
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
defmodule AutenticationTest do use ExUnit.Case, async: false alias Goldie.Component.Authentication doctest Goldie.Component.Authentication setup do assert {:ok, state} = Authentication.setup(%Goldie.Player{}) on_exit fn -> assert {:ok, _state} = Authentication.teardown(state) end {:o...
26.483871
132
0.676005
f7a7a8be5567e65ae956409f5bc1e981263fec55
518
ex
Elixir
example_app/lib/example_app/presenters/email_presenter.ex
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
example_app/lib/example_app/presenters/email_presenter.ex
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
example_app/lib/example_app/presenters/email_presenter.ex
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
defmodule ExampleApp.Presenters.EmailPresenter do def register_template(user) do """ <p><b>Hi #{user.username},</b></p> <p>Thanks for joining!</p> <p>Cheers!</p> <p></p> <p>ExampleApp</p> """ end def password_recovery_template(user) do """ <p><b>Hi #{user.username},</b></p> ...
21.583333
82
0.571429
f7a7a8f55c82160e20a9bb18a3e6515b95fd8ed1
4,892
ex
Elixir
lib/structs/emoji.ex
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
6
2018-05-22T07:13:47.000Z
2019-10-17T03:40:22.000Z
lib/structs/emoji.ex
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
2
2018-11-01T17:11:51.000Z
2019-06-15T13:33:31.000Z
lib/structs/emoji.ex
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
2
2018-10-29T06:53:41.000Z
2019-06-14T19:15:56.000Z
defmodule Crux.Structs.Emoji do @moduledoc """ Represents a Discord [Emoji Object](https://discord.com/developers/docs/resources/emoji#emoji-object). Differences opposed to the Discord API Object: - `:user` is just the user id """ @moduledoc since: "0.1.0" @behaviour Crux.Structs alias Crux.Structs...
28.608187
128
0.647383
f7a7f9ab0595c353f3ff8f04a010ccf45a697213
3,850
ex
Elixir
lib/chat_api_web/views/customer_view.ex
utsav0209/papercups
66d7c33dde057b5e4309db35b5f4cccdec4a76dc
[ "MIT" ]
null
null
null
lib/chat_api_web/views/customer_view.ex
utsav0209/papercups
66d7c33dde057b5e4309db35b5f4cccdec4a76dc
[ "MIT" ]
null
null
null
lib/chat_api_web/views/customer_view.ex
utsav0209/papercups
66d7c33dde057b5e4309db35b5f4cccdec4a76dc
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.CustomerView do use ChatApiWeb, :view alias ChatApiWeb.{ CompanyView, ConversationView, CustomerView, MessageView, NoteView, TagView, CSVHelpers } alias ChatApi.Companies.Company alias ChatApi.Customers.Customer @customer_csv_ordered_fields ~w(id name emai...
30.8
97
0.674545
f7a7fa8a46b69f938c1604df23e91484c6dbe0ae
2,309
ex
Elixir
lib/dispenser/subscription_manager.ex
LaudateCorpus1/dispenser
5cdba1c0efa6b2c8cb2a878dc14ebee0717b8765
[ "MIT" ]
1
2021-12-05T20:55:40.000Z
2021-12-05T20:55:40.000Z
lib/dispenser/subscription_manager.ex
LaudateCorpus1/dispenser
5cdba1c0efa6b2c8cb2a878dc14ebee0717b8765
[ "MIT" ]
null
null
null
lib/dispenser/subscription_manager.ex
LaudateCorpus1/dispenser
5cdba1c0efa6b2c8cb2a878dc14ebee0717b8765
[ "MIT" ]
3
2022-01-25T14:15:52.000Z
2022-03-17T09:38:04.000Z
defmodule Dispenser.SubscriptionManager do @moduledoc """ `SubscriptionManager` handles monitoring and demonitoring subscribers """ @typedoc """ The opaque internal state of the `SubscriptionManager`. """ @opaque t() :: %__MODULE__{ subscribers: %{pid() => reference()} } @enforce...
27.819277
77
0.624513
f7a806f889e3926b89d7783087fbe4a54bf110cf
2,390
exs
Elixir
test/phoenix_live_view/integrations/layout_test.exs
jonatanklosko/phoenix_live_view
95d5c7ccd0ac66e04b15c7b6128d44b60767e682
[ "MIT" ]
2
2021-05-15T05:20:19.000Z
2021-05-20T17:55:04.000Z
test/phoenix_live_view/integrations/layout_test.exs
jonatanklosko/phoenix_live_view
95d5c7ccd0ac66e04b15c7b6128d44b60767e682
[ "MIT" ]
1
2021-05-12T12:14:27.000Z
2021-05-12T12:14:27.000Z
test/phoenix_live_view/integrations/layout_test.exs
jonatanklosko/phoenix_live_view
95d5c7ccd0ac66e04b15c7b6128d44b60767e682
[ "MIT" ]
1
2021-01-14T12:58:22.000Z
2021-01-14T12:58:22.000Z
defmodule Phoenix.LiveView.LayoutTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveViewTest.{Endpoint, LayoutView} @endpoint Endpoint setup config do {:ok, conn: Plug.Test.init_test_session(Phoenix.ConnTest.build_conn(), config[:session] |...
35.147059
95
0.641841
f7a81a6ea6c1cd263e82e12879ee692b918d8a84
52,392
ex
Elixir
lib/axon/layers.ex
arpieb/axon
d42cc99811cf82fd5a244031ec497276cb859da8
[ "Apache-2.0" ]
null
null
null
lib/axon/layers.ex
arpieb/axon
d42cc99811cf82fd5a244031ec497276cb859da8
[ "Apache-2.0" ]
null
null
null
lib/axon/layers.ex
arpieb/axon
d42cc99811cf82fd5a244031ec497276cb859da8
[ "Apache-2.0" ]
null
null
null
defmodule Axon.Layers do @moduledoc ~S""" Functional implementations of common neural network layer operations. Layers are the building blocks of neural networks. These functional implementations can be used to express higher-level constructs using fundamental building blocks. Neural network layers are s...
30.638596
134
0.613567
f7a81fde1186681c9d9ff5b71abf5e7bca4470b7
2,954
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.392405
212
0.732905
f7a82f55290ed51fdca4a26b7685f4d42935354f
948
exs
Elixir
apps/chat/config/config.exs
mikemorris/elixir-eks-terraform
e1c8a4e7ba26bd85322dfcedd229b3558d9d5844
[ "MIT" ]
2
2019-06-27T11:51:11.000Z
2020-06-04T16:00:55.000Z
apps/chat/config/config.exs
mikemorris/elixir-eks-terraform
e1c8a4e7ba26bd85322dfcedd229b3558d9d5844
[ "MIT" ]
null
null
null
apps/chat/config/config.exs
mikemorris/elixir-eks-terraform
e1c8a4e7ba26bd85322dfcedd229b3558d9d5844
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :chat, ChatWeb....
33.857143
86
0.768987
f7a8790768e89092f07f51e73078306e9b5f1751
558
exs
Elixir
test/todo/todo_list_test.exs
sprql/planner
9f42b34dc511bfe1668b7092d0a68924b9dc9501
[ "MIT" ]
null
null
null
test/todo/todo_list_test.exs
sprql/planner
9f42b34dc511bfe1668b7092d0a68924b9dc9501
[ "MIT" ]
null
null
null
test/todo/todo_list_test.exs
sprql/planner
9f42b34dc511bfe1668b7092d0a68924b9dc9501
[ "MIT" ]
null
null
null
defmodule Planner.Todo.ListTest do use Planner.ModelCase alias Planner.Todo.List @valid_attrs %{description: "some description", name: "some name", position: 42, project_id: "7488a646-e31f-11e4-aace-600308960662", state: "some state"} @invalid_attrs %{} test "changeset with valid attributes" do changes...
29.368421
155
0.731183
f7a89a8e861c2101525007b79ffa938542c40536
5,972
ex
Elixir
lib/stripe/subscriptions/credit_note.ex
alanvardy/stripity_stripe
8cb9a447e8e801a799c244564f41c961246d5563
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/subscriptions/credit_note.ex
alanvardy/stripity_stripe
8cb9a447e8e801a799c244564f41c961246d5563
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/subscriptions/credit_note.ex
alanvardy/stripity_stripe
8cb9a447e8e801a799c244564f41c961246d5563
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.CreditNote do @moduledoc """ Work with Stripe Credit Note objects. You can: - Preview a credit note - Create a credit note - Retrieve a credit note - Update a credit note - Void a credit note - List credit notes Stripe API reference: https://stripe.com/docs/api/credit_notes """...
26.660714
98
0.533657
f7a8af51398e7986b2d1cae85e9f774aa4c03dd7
2,098
exs
Elixir
config/dev.exs
riebeekn/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
14
2019-02-27T18:49:28.000Z
2020-12-24T21:39:16.000Z
config/dev.exs
ammy-bajwa/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
null
null
null
config/dev.exs
ammy-bajwa/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
5
2019-07-16T17:50:36.000Z
2020-08-12T22:14:41.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 :warehouse, WarehouseWeb.Endpoint, http: [port: ...
27.605263
68
0.689228
f7a8fbb165089200507577a91cb2ac27685eccc9
248
ex
Elixir
lib/verk_web/mount.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
lib/verk_web/mount.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
lib/verk_web/mount.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
defmodule VerkWeb.Mount do defmacro __using__(path: path) do quote bind_quoted: [path: path] do path = if String.starts_with?(path, "/"), do: path, else: "/" <> path socket("#{path}/socket", VerkWeb.UserSocket) end end end
24.8
75
0.641129
f7a8ff229917d00b4ec73e2e5c56f0d2fb7b1b94
262
exs
Elixir
config/test.exs
angelikatyborska/mazes
cba3b1d6aaaa896f4ca505b477cf03b67523ebf0
[ "MIT" ]
116
2020-12-26T20:56:01.000Z
2022-03-12T15:12:37.000Z
config/test.exs
lohayon/mazes
98a6276ea7440af938edfb14476a5877fdc295e1
[ "MIT" ]
null
null
null
config/test.exs
lohayon/mazes
98a6276ea7440af938edfb14476a5877fdc295e1
[ "MIT" ]
10
2020-12-29T05:11:43.000Z
2022-01-02T00:57:12.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :mazes, MazesWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
23.818182
56
0.732824
f7a9250a38fe2828ee1712e68a0ae2aa1350323c
71
exs
Elixir
test/adify/yaml_test.exs
ericsullivan/adify
25b842498ccfbf612e42d8b46530aad1ffb1af5a
[ "MIT" ]
5
2019-07-14T22:24:32.000Z
2020-11-25T20:36:11.000Z
test/adify/yaml_test.exs
ericsullivan/adify
25b842498ccfbf612e42d8b46530aad1ffb1af5a
[ "MIT" ]
43
2018-01-18T15:16:30.000Z
2021-01-23T22:12:17.000Z
test/adify/yaml_test.exs
ericsullivan/adify
25b842498ccfbf612e42d8b46530aad1ffb1af5a
[ "MIT" ]
2
2019-05-28T17:50:27.000Z
2020-03-23T21:00:02.000Z
defmodule Adify.YAMLTest do use ExUnit.Case doctest Adify.YAML end
14.2
27
0.788732
f7a93009c78572e151ca931552228b3413603869
2,159
exs
Elixir
test/commands/user_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/commands/user_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/commands/user_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Command.UserTest do use Nectar.ModelCase alias Nectar.Command alias Nectar.TestSetup describe "login" do setup do {:ok, user} = TestSetup.User.create_user {:ok, %{user: user}} end test "with valid credentials", %{user: user} do {status, logged_in_user} = ...
30.842857
101
0.657249
f7a999e56ef1df9705af169f60031f6ee098546a
1,923
ex
Elixir
lib/strichliste_elixir_web.ex
DEvil0000/strichliste_elixir
33efe808ced1dd3e3650212a506e8c3322277b2b
[ "MIT" ]
null
null
null
lib/strichliste_elixir_web.ex
DEvil0000/strichliste_elixir
33efe808ced1dd3e3650212a506e8c3322277b2b
[ "MIT" ]
null
null
null
lib/strichliste_elixir_web.ex
DEvil0000/strichliste_elixir
33efe808ced1dd3e3650212a506e8c3322277b2b
[ "MIT" ]
1
2019-05-24T18:18:24.000Z
2019-05-24T18:18:24.000Z
defmodule StrichlisteElixirWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use StrichlisteElixirWeb, :controller use StrichlisteElixirWeb, :view The definitions below will be executed ...
26.342466
83
0.710868
f7a9ad281b0e19da1e9753a75624e08e4df48da8
79
ex
Elixir
web/views/coherence/email_view.ex
Symbolk/social_network
11df1ba9bc19fd140b630ac2abbd4b13b42def92
[ "MIT" ]
17
2017-01-02T10:38:28.000Z
2021-02-28T22:16:54.000Z
web/views/coherence/email_view.ex
Symbolk/social_network
11df1ba9bc19fd140b630ac2abbd4b13b42def92
[ "MIT" ]
null
null
null
web/views/coherence/email_view.ex
Symbolk/social_network
11df1ba9bc19fd140b630ac2abbd4b13b42def92
[ "MIT" ]
2
2017-01-09T13:02:13.000Z
2018-06-16T22:01:53.000Z
defmodule Coherence.EmailView do use SocialNetwork.Coherence.Web, :view end
15.8
40
0.810127
f7a9b0557c9d85856ed129f94ad154ee44541f59
1,294
ex
Elixir
lib/beeline/event_store_d_b/spear.ex
NFIBrokerage/beeline
8280a351a8c36634ced9088f90fe8103b47d685b
[ "Apache-2.0" ]
null
null
null
lib/beeline/event_store_d_b/spear.ex
NFIBrokerage/beeline
8280a351a8c36634ced9088f90fe8103b47d685b
[ "Apache-2.0" ]
null
null
null
lib/beeline/event_store_d_b/spear.ex
NFIBrokerage/beeline
8280a351a8c36634ced9088f90fe8103b47d685b
[ "Apache-2.0" ]
null
null
null
import Beeline.Utils, only: [if_spear: 1] if_spear do defmodule Beeline.EventStoreDB.Spear do @moduledoc false # functions for working with EventStoreDB via Spear @behaviour Beeline.EventStoreDB def latest_event_number(conn, stream) do Spear.stream!(conn, stream, from: :end, d...
22.310345
73
0.613601
f7a9c43647f6ab941a60d8cd21ab3a4c1e9065c1
2,633
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_button.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_button.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_button.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.467742
165
0.701861
f7a9e3e18d7cf2d22b4082b0320dac21d6e5bb6a
1,819
ex
Elixir
lib/mailgun_logger_web/endpoint.ex
jackjoe/mailgun_logger
7d5a1989afdeb215bcd3753671c61bc25ed4e522
[ "MIT" ]
64
2020-02-10T20:42:46.000Z
2021-11-16T10:47:50.000Z
lib/mailgun_logger_web/endpoint.ex
jackjoe/mailgun_logger
7d5a1989afdeb215bcd3753671c61bc25ed4e522
[ "MIT" ]
16
2020-02-10T20:45:57.000Z
2022-03-04T12:53:34.000Z
lib/mailgun_logger_web/endpoint.ex
jackjoe/mailgun_logger
7d5a1989afdeb215bcd3753671c61bc25ed4e522
[ "MIT" ]
4
2020-04-03T17:13:19.000Z
2020-07-17T12:56:31.000Z
defmodule MailgunLoggerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :mailgun_logger @moduledoc false socket("/socket", MailgunLoggerWeb.UserSocket) # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your stat...
27.560606
98
0.699285
f7aa03e133ab5fb3f02c7506b65c30bd610df412
753
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/49.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/49.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/49.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun cm noun verb quantifier; noun cm adjective verb quantifier; verb pn adjective verb quantifier; noun cm adjective verb quantifier; noun cm noun verb quantifier; cm cm adjective verb quantifier; verb_aux pn adjective verb quantifier; cm cm noun verb quantifier; cm noun adjective neg quanti...
31.375
43
0.795485
f7aa2160361d9e21f14f5369d4bca53652707021
563
exs
Elixir
survey/test/pledge_server_test.exs
RamanBut-Husaim/pragstudio-elixir
21c723c933966798ae944ca2fd72697e9d0f2fa2
[ "MIT" ]
null
null
null
survey/test/pledge_server_test.exs
RamanBut-Husaim/pragstudio-elixir
21c723c933966798ae944ca2fd72697e9d0f2fa2
[ "MIT" ]
null
null
null
survey/test/pledge_server_test.exs
RamanBut-Husaim/pragstudio-elixir
21c723c933966798ae944ca2fd72697e9d0f2fa2
[ "MIT" ]
null
null
null
defmodule PledgeServerTest do use ExUnit.Case, async: true alias Survey.PledgeServer test "caches the 3 most recent pledges and totals their amounts" do PledgeServer.start_link(:ok) PledgeServer.create_pledge("frodo", 100) PledgeServer.create_pledge("sam", 200) PledgeServer.create_pledge("mary"...
29.631579
70
0.721137
f7aa41869e9b28602334fc6fda16be3b3c829d08
11,067
ex
Elixir
lib/xgit/repository/test/config_test.ex
scouten/xgit
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
94
2019-05-28T05:29:54.000Z
2022-02-18T20:03:20.000Z
lib/xgit/repository/test/config_test.ex
scouten/xgit
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
156
2019-05-26T03:27:24.000Z
2020-10-08T05:44:26.000Z
lib/xgit/repository/test/config_test.ex
scouten/redo
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
5
2019-05-28T16:35:55.000Z
2021-06-16T14:25:17.000Z
defmodule Xgit.Repository.Test.ConfigTest do @moduledoc false # Not normally part of the public API, but available for implementors of # `Xgit.Repository.Storage` behaviour modules. Tests the callbacks related to # `Xgit.ConfigEntry` to ensure correct implementation of the core contracts. # Other tests may b...
34.69279
97
0.486943
f7aa5650f4e16ee8a105ead7c9fefafb536453b0
2,499
ex
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/telemetry.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/telemetry.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/telemetry.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule HelloWeb.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 mo...
33.32
86
0.67427
f7aa84dfe084bb958cd08e8a1a4457b3beb391bb
2,447
ex
Elixir
lib/codes/codes_c02.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c02.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c02.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_C02 do alias IcdCode.ICDCode def _C020 do %ICDCode{full_code: "C020", category_code: "C02", short_code: "0", full_name: "Malignant neoplasm of dorsal surface of tongue", short_name: "Malignant neoplasm of dorsal surface of tongue", ...
34.957143
96
0.634246
f7aa88b4499ada8a1b15a90f01bcf8c6f3500247
555
ex
Elixir
lib/logster/string_formatter.ex
juantascon/logster
187a5e760818a043bded0475d61b72c27552677d
[ "MIT" ]
null
null
null
lib/logster/string_formatter.ex
juantascon/logster
187a5e760818a043bded0475d61b72c27552677d
[ "MIT" ]
null
null
null
lib/logster/string_formatter.ex
juantascon/logster
187a5e760818a043bded0475d61b72c27552677d
[ "MIT" ]
null
null
null
defmodule Logster.StringFormatter do def format(params) do params |> Enum.map(&format_field/1) |> Enum.intersperse(?\s) end defp format_field({key, value}) do [to_string(key), "=", format_value(value)] end defp format_value(value) when is_binary(value), do: value defp format_value(value) w...
32.647059
96
0.722523
f7aa907894d1bd0afd86a1283429c852ab5227cf
4,267
ex
Elixir
lib/bypass.ex
thiamsantos/bypass
2a3b499ca44ea44d972c22a20b90669e2c7e2403
[ "MIT" ]
null
null
null
lib/bypass.ex
thiamsantos/bypass
2a3b499ca44ea44d972c22a20b90669e2c7e2403
[ "MIT" ]
null
null
null
lib/bypass.ex
thiamsantos/bypass
2a3b499ca44ea44d972c22a20b90669e2c7e2403
[ "MIT" ]
null
null
null
defmodule Bypass do @moduledoc """ Bypass provides a quick way to create a custom Plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests. This module is the main interface to the library. """ defstruct pid: nil, port: nil @typedoc """ Represen...
30.478571
94
0.664636
f7aaa5267f1e1ef27138459190c037b87401b63f
20,555
ex
Elixir
lib/phoenix_live_view/upload_config.ex
jowrjowr/phoenix_live_view
d52da3b41292f9488e4a5c210aa1110c3f6420b0
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
lib/phoenix_live_view/upload_config.ex
jowrjowr/phoenix_live_view
d52da3b41292f9488e4a5c210aa1110c3f6420b0
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
deps/phoenix_live_view/lib/phoenix_live_view/upload_config.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveView.UploadEntry do @moduledoc """ The struct representing an upload entry. """ alias Phoenix.LiveView.UploadEntry defstruct progress: 0, preflighted?: false, upload_config: nil, upload_ref: nil, ref: nil, uuid: nil, ...
29.238976
102
0.603211
f7aad56368db5fe03a5d47a3bd30d5f7e101dcc8
5,940
ex
Elixir
lib/crontab/date_helper.ex
h4cc/crontab
05f901bcf3a8eeec5fafb59b2015ebf8176dcbf7
[ "MIT" ]
71
2017-01-17T12:43:20.000Z
2022-03-11T09:31:32.000Z
lib/crontab/date_helper.ex
h4cc/crontab
05f901bcf3a8eeec5fafb59b2015ebf8176dcbf7
[ "MIT" ]
70
2017-01-18T08:49:19.000Z
2022-03-31T00:34:47.000Z
lib/crontab/date_helper.ex
h4cc/crontab
05f901bcf3a8eeec5fafb59b2015ebf8176dcbf7
[ "MIT" ]
29
2017-01-02T07:24:11.000Z
2022-03-11T15:57:56.000Z
defmodule Crontab.DateHelper do @moduledoc false @type unit :: :year | :month | :day | :hour | :minute | :second | :microsecond @units [ {:year, {nil, nil}}, {:month, {1, 12}}, {:day, {1, :end_onf_month}}, {:hour, {0, 23}}, {:minute, {0, 59}}, {:second, {0, 59}}, {:microsecond, {{0, ...
27.887324
100
0.625421
f7ab1777c41ab2f27efa775c612afaa6b025fd6f
212
ex
Elixir
lib/shutdown_flag.ex
cogini/shutdown_flag
1045223cc764ff5b0efc2b7b89445299ddc4ef90
[ "Apache-2.0" ]
5
2018-05-20T01:49:48.000Z
2020-01-13T23:22:09.000Z
lib/shutdown_flag.ex
cogini/shutdown_flag
1045223cc764ff5b0efc2b7b89445299ddc4ef90
[ "Apache-2.0" ]
null
null
null
lib/shutdown_flag.ex
cogini/shutdown_flag
1045223cc764ff5b0efc2b7b89445299ddc4ef90
[ "Apache-2.0" ]
null
null
null
defmodule ShutdownFlag do @moduledoc """ Documentation for ShutdownFlag. """ @doc """ Hello world. ## Examples iex> ShutdownFlag.hello :world """ def hello do :world end end
11.157895
33
0.599057
f7ab231500b25f0cdac0aa02bb666be77452154c
7,695
exs
Elixir
test/bubble_match/sentence_test.exs
botsquad/bubble-match
c90325fb7ffdcd0b96ae0fd8f8aa0b3ebbe3ea0e
[ "MIT" ]
20
2020-05-20T14:27:56.000Z
2022-01-15T18:43:34.000Z
test/bubble_match/sentence_test.exs
botsquad/bubble-match
c90325fb7ffdcd0b96ae0fd8f8aa0b3ebbe3ea0e
[ "MIT" ]
3
2020-05-22T18:50:34.000Z
2020-06-23T14:58:04.000Z
test/bubble_match/sentence_test.exs
botsquad/bubble-match
c90325fb7ffdcd0b96ae0fd8f8aa0b3ebbe3ea0e
[ "MIT" ]
1
2021-05-19T09:06:54.000Z
2021-05-19T09:06:54.000Z
defmodule BubbleMatch.SentenceTest do use ExUnit.Case alias BubbleMatch.{Entity, Sentence} @spacy_json """ {"ents":[{"end":27,"label":"PERSON","start":21}],"sents":[{"end":9,"start":0},{"end":27,"start":10}],"text":"Hi there. My name is George","tokens":[{"dep":"ROOT","end":2,"head":0,"id":0,"lemm...
50.625
994
0.544639
f7ab32d5f99c1f59edc6019f70efa223dd6b0f14
700
exs
Elixir
config/test.exs
JeffyMesquita/elixirHeat
3ec3c59021e90058f00c2eb288a5e6c286e96342
[ "MIT" ]
null
null
null
config/test.exs
JeffyMesquita/elixirHeat
3ec3c59021e90058f00c2eb288a5e6c286e96342
[ "MIT" ]
null
null
null
config/test.exs
JeffyMesquita/elixirHeat
3ec3c59021e90058f00c2eb288a5e6c286e96342
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :elixirHeat, ElixirHeat.Repo, username: "postgres", password: "Je4217789|4217789|", database: "elixirh...
29.166667
69
0.751429
f7ab3a70a2591a37df09339f5ee10fa16931ba65
1,029
exs
Elixir
mix.exs
akoutmos/ex_todo
f1aaf2ccb4ecdefb3fb48a36ef2cc76a0d9045fa
[ "MIT" ]
14
2019-06-18T04:56:18.000Z
2021-03-22T07:59:43.000Z
mix.exs
akoutmos/ex_todo
f1aaf2ccb4ecdefb3fb48a36ef2cc76a0d9045fa
[ "MIT" ]
null
null
null
mix.exs
akoutmos/ex_todo
f1aaf2ccb4ecdefb3fb48a36ef2cc76a0d9045fa
[ "MIT" ]
null
null
null
defmodule ExTodo.MixProject do use Mix.Project def project do [ app: :ex_todo, version: "0.1.0", elixir: "~> 1.7", name: "ExTodo", source_url: "https://github.com/akoutmos/ex_todo", homepage_url: "https://hex.pm/packages/ex_todo", description: "A simple utility to find...
21.4375
72
0.564626
f7ab44328cfdc35fe90a599211dc214a2074e2d1
2,078
ex
Elixir
lib/mix/demo/ci.ex
bitpal/bitpal_demo
989df08f60dadc5d4e340fef91890cf8bb3106ad
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/mix/demo/ci.ex
bitpal/bitpal_demo
989df08f60dadc5d4e340fef91890cf8bb3106ad
[ "BSD-3-Clause-Clear" ]
1
2021-06-04T13:53:01.000Z
2021-06-04T13:53:01.000Z
lib/mix/demo/ci.ex
bitpal/bitpal_demo
989df08f60dadc5d4e340fef91890cf8bb3106ad
[ "BSD-3-Clause-Clear" ]
null
null
null
defmodule Mix.Tasks.Demo.Ci do @moduledoc """ CI, mostly as generated from `mix ci.init` """ use Mix.Task import IO.ANSI alias Job.Pipeline @impl Mix.Task def run(_args) do {:ok, _} = Application.ensure_all_started(:ci) setup_telemetry() Job.run( Pipeline.sequence([ mix("com...
31.014925
97
0.622714
f7ab62800e37720d022924fbe60708edfa9c082b
438
exs
Elixir
apps/core/priv/repo/migrations/20190123162535_declaration_request_drop_unused_indexes.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/20190123162535_declaration_request_drop_unused_indexes.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/20190123162535_declaration_request_drop_unused_indexes.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.DeclarationRequestDropUnusedIndexes do use Ecto.Migration @disable_ddl_transaction true def change do execute("DROP INDEX IF EXISTS cabinet_declaration_req_index;") execute("DROP INDEX IF EXISTS create_declatation_req_index;") execute("DROP INDEX IF EXISTS data_legal_e...
33.692308
77
0.810502
f7ab6da50fd940b5691dbb2cb35bb5f5a8fe9442
6,250
ex
Elixir
deps/mariaex/lib/mariaex/query.ex
rifkyaziz/csvparser
2049f51a7ca5ace7b357027f09beda64caacef45
[ "MIT" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
deps/mariaex/lib/mariaex/query.ex
rifkyaziz/csvparser
2049f51a7ca5ace7b357027f09beda64caacef45
[ "MIT" ]
null
null
null
deps/mariaex/lib/mariaex/query.ex
rifkyaziz/csvparser
2049f51a7ca5ace7b357027f09beda64caacef45
[ "MIT" ]
null
null
null
defmodule Mariaex.Query do @moduledoc """ Query struct returned from a successfully prepared query. Its fields are: * `name` - The name of the prepared statement; * `statement` - The prepared statement; * `num_params` - The number of parameters; * `ref` - Reference that uniquely identifies when the...
37.42515
163
0.64912
f7ab7a307f9f277559a60e7f47322bbc3c89fb3f
334
exs
Elixir
apps/artemis/priv/repo/migrations/20190201222007_create_roles.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis/priv/repo/migrations/20190201222007_create_roles.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/priv/repo/migrations/20190201222007_create_roles.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule Artemis.Repo.Migrations.CreateRoles do use Ecto.Migration def change do create table(:roles) do add :description, :text add :name, :string add :slug, :string timestamps(type: :utc_datetime) end create unique_index(:roles, [:slug]) create unique_index(:roles, [:nam...
20.875
48
0.661677
f7abd7f8f2d33f5f73a0f0edcae54d97e2f60c76
1,961
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_list_processors_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_list_processors_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_list_processors_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.683333
145
0.740439
f7abdda0f8dcbbd1b380f6125abd9c802b5bdfe0
491
ex
Elixir
lib/ppc/subscription/subscriber_request.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
lib/ppc/subscription/subscriber_request.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
lib/ppc/subscription/subscriber_request.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
defmodule Ppc.Subscription.SubscriberRequest do alias Ppc.Subscription.{PayerName, PhoneWithType, ShippingDetail} defstruct [ :name, :email_address, :payer_id, :phone, :shipping_address, :payment_source ] @type t :: %__MODULE__{ name: PayerName.t(), email_address: S...
22.318182
67
0.615071
f7ac1220914cf74e6cdfc9d0eba8df811f1778bb
71
exs
Elixir
apps/publishing/test/test_helper.exs
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
49
2021-06-06T05:40:30.000Z
2021-08-23T04:50:46.000Z
apps/publishing/test/test_helper.exs
felipelincoln/mvp
6f3ca7dfafe884af40883f84f3eb825bb061c974
[ "MIT" ]
40
2021-01-09T16:50:50.000Z
2021-10-01T16:27:35.000Z
apps/publishing/test/test_helper.exs
felipelincoln/mvp
6f3ca7dfafe884af40883f84f3eb825bb061c974
[ "MIT" ]
5
2021-02-20T12:58:39.000Z
2022-02-01T02:23:23.000Z
ExUnit.start() Mox.defmock(Publishing.Tesla.Mock, for: Tesla.Adapter)
17.75
54
0.774648
f7ac9dc629cc53aeb89e9b115d9bebaa1e549935
325
ex
Elixir
examples/echo.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
139
2019-11-29T02:11:40.000Z
2022-03-24T00:17:52.000Z
examples/echo.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
11
2020-01-23T15:43:58.000Z
2022-02-15T10:16:37.000Z
examples/echo.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
8
2021-10-09T16:36:35.000Z
2022-01-31T20:39:10.000Z
defmodule Echo do @moduledoc """ A sample Handler implementation of the Echo protocol https://en.wikipedia.org/wiki/Echo_Protocol """ use ThousandIsland.Handler @impl ThousandIsland.Handler def handle_data(data, socket, state) do ThousandIsland.Socket.send(socket, data) {:continue, state} end...
20.3125
54
0.732308
f7aca1b131140f6804a365be132bd078da97e4dc
2,172
ex
Elixir
lib/util/test/data_builder.ex
NickMcG/SNEEX
901215dea41fa21314a4f4db46b51648158f1544
[ "MIT" ]
1
2019-11-16T00:33:02.000Z
2019-11-16T00:33:02.000Z
lib/util/test/data_builder.ex
NickMcG/SNEEX
901215dea41fa21314a4f4db46b51648158f1544
[ "MIT" ]
1
2019-08-11T23:02:15.000Z
2019-08-11T23:02:15.000Z
lib/util/test/data_builder.ex
NickMcG/SNEEX
901215dea41fa21314a4f4db46b51648158f1544
[ "MIT" ]
null
null
null
defmodule Util.Test.DataBuilder do @moduledoc """ This is a module that makes it easier to generate data for tests. This is not really intended for main consumption """ def build_block_of_00s(length) do append_data_to_block(<<>>, length, 0x00) end def build_block_of_ffs(length) do append_data_t...
18.724138
97
0.560773
f7acc4f76713548a4c0bf8b413878b8982fce61e
74
ex
Elixir
code examples/example-11-16.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
code examples/example-11-16.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
code examples/example-11-16.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
defmodule DARMetaData.Repo do use Ecto.Repo, otp_app: :dar_metadata end
18.5
39
0.797297
f7ace8603bc0b841bfd8c9f2e7c496012d0a4eb4
1,731
exs
Elixir
test/blue_heron/address_test.exs
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
test/blue_heron/address_test.exs
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
test/blue_heron/address_test.exs
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.AddressTest do use ExUnit.Case doctest BlueHeron.Address alias BlueHeron.Address test "from integer" do address = Address.parse(0xA4C138A0498B) assert address.integer == 0xA4C138A0498B assert address.binary == <<0xA4, 0xC1, 0x38, 0xA0, 0x49, 0x8B>> assert address.string == "...
36.829787
79
0.695552
f7ace9ffbe2e4e07bfc9c6b87669408cecc61ff9
402
ex
Elixir
test/support/fixtures/please_fixtures.ex
christian-fei/honeydew
af06f5778de164fd50979ae20e59b6aeb3092485
[ "MIT" ]
13
2022-02-13T18:43:20.000Z
2022-03-19T11:53:48.000Z
test/support/fixtures/please_fixtures.ex
christian-fei/honeydew
af06f5778de164fd50979ae20e59b6aeb3092485
[ "MIT" ]
1
2022-02-23T13:57:19.000Z
2022-02-23T13:57:19.000Z
test/support/fixtures/please_fixtures.ex
christian-fei/honeydew
af06f5778de164fd50979ae20e59b6aeb3092485
[ "MIT" ]
3
2022-02-13T19:25:19.000Z
2022-02-22T17:56:52.000Z
defmodule Honeydew.PleaseFixtures do @moduledoc """ This module defines test helpers for creating entities via the `Honeydew.Please` context. """ @doc """ Generate a list. """ def list_fixture(attrs \\ %{}) do {:ok, list} = attrs |> Enum.into(%{ name: "some name", notes:...
18.272727
47
0.58209
f7acf7a20fba60c9f92cfd82d21107ad35a4ab2d
1,579
exs
Elixir
06/part2.ets.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
06/part2.ets.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
06/part2.ets.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
# Using ETS instead of Map reduces the time taken from 45 to 24 seconds. defmodule LightArray do def str_to_pos(str), do: str |> String.split(",", trim: true) |> Enum.map(&String.to_integer/1) |> List.to_tuple def exec_cmd(cmd_str, grid) do [_, cmd, start_pos, end_pos] = Regex.run(~r/([\w ]+) (\d+,\d+) throug...
29.240741
114
0.50665
f7ad1aa23cf51b0bcf869f5e2a28db201ae88b61
7,199
ex
Elixir
lib/aws/generated/transcribe_streaming.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/transcribe_streaming.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/transcribe_streaming.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.TranscribeStreaming do @moduledoc """ Operations and objects for transcribing streaming speech to text. """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadat...
39.994444
169
0.657869
f7ad2b42f0eaa70c1e1974ce9fb063ccf8826276
748
exs
Elixir
ch07-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
9
2016-01-22T17:28:27.000Z
2020-06-07T01:38:44.000Z
ch07-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
null
null
null
ch07-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
1
2019-04-18T10:08:38.000Z
2019-04-18T10:08:38.000Z
# An Elixir single-quoted string is actually a list of individual character # codes. Write a caesar(list, n) function that adds n to each list element, # wrapping if the addition results in a character greater than z. defmodule MyList do def caesar(l, shift) do reduce(l, '', fn(c, encoded) -> encoded ++ [?a + r...
27.703704
91
0.657754
f7ad47dce1b3fa949c9ac31f99ce59c56f844380
703
ex
Elixir
lib/membrane/core/element/callback_context.ex
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/callback_context.ex
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/callback_context.ex
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.CallbackContext do @moduledoc false use Membrane.Core.CallbackContext, pads: %{Membrane.Pad.ref_t() => Membrane.Element.PadData.t()}, playback_state: Membrane.PlaybackState.t(), clock: Membrane.Clock.t() | nil, parent_clock: Membrane.Clock.t() | nil, name: Membra...
29.291667
66
0.681366
f7ad532a71b3a8a039d5dccc68e2aa80eceaedda
412
ex
Elixir
lib/auth_zuma/middleware/bearer_middleware.ex
victorolinasc/auth-zuma
a107130440ed79731b8e28e84ed282111f0aa1f1
[ "Apache-2.0" ]
3
2018-07-16T04:24:01.000Z
2018-07-17T14:36:02.000Z
lib/auth_zuma/middleware/bearer_middleware.ex
victorolinasc/auth-zuma
a107130440ed79731b8e28e84ed282111f0aa1f1
[ "Apache-2.0" ]
null
null
null
lib/auth_zuma/middleware/bearer_middleware.ex
victorolinasc/auth-zuma
a107130440ed79731b8e28e84ed282111f0aa1f1
[ "Apache-2.0" ]
null
null
null
defmodule AuthZuma.Middleware.Bearer do @moduledoc """ Uses the `authentication_module` option for fetching the access_token from the response. """ @behaviour Tesla.Middleware @impl true def call(env, next, _options) do {:ok, token} = env.opts[:authentication_module].authenticate() %{env | head...
24.235294
74
0.68932
f7ad61dae382db9b14d7b364ab27971a40381caa
3,569
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
46.960526
257
0.744466
f7ad6904f2eda23c1f4139e21f3ef4c3e5ea539f
117
exs
Elixir
.formatter.exs
tyrchen/nimble_parsers
726c895294a966cbaf1a752a9da21a7e51a3505e
[ "MIT" ]
2
2019-07-14T08:06:24.000Z
2019-07-14T08:08:54.000Z
.formatter.exs
tyrchen/common_parser
726c895294a966cbaf1a752a9da21a7e51a3505e
[ "MIT" ]
16
2019-02-10T06:25:44.000Z
2019-10-27T09:35:00.000Z
.formatter.exs
tyrchen/common_parser
726c895294a966cbaf1a752a9da21a7e51a3505e
[ "MIT" ]
null
null
null
# Used by "mix format" [ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], import_deps: [:nimble_parsec] ]
19.5
57
0.589744
f7ad7cd08d5301d1aafd35c05bfc1af0cea58856
2,154
exs
Elixir
zipper/zipper_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
zipper/zipper_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
zipper/zipper_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("zipper.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule ZipperTest do alias BinTree, as: BT import Zipper # A custom inspect instance purely for the tests, this makes error mess...
26.592593
83
0.584494
f7ad9088abd2a56c5c1d9b1112764885b610c7ef
1,764
ex
Elixir
lib/re_web/router.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
1
2020-01-23T04:24:58.000Z
2020-01-23T04:24:58.000Z
lib/re_web/router.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
null
null
null
lib/re_web/router.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
1
2019-12-31T16:11:21.000Z
2019-12-31T16:11:21.000Z
defmodule ReWeb.Router do use ReWeb, :router pipeline :public_api do plug(:accepts, ["json"]) end pipeline :private_api do plug(:accepts, ["json"]) plug(ReWeb.GuardianPipeline) end scope "/", ReWeb do pipe_through(:public_api) resources("/neighborhoods", NeighborhoodController, only:...
25.565217
80
0.671202
f7adbbe30f3dac08b9f3ab0989885cb2a6524c2b
1,517
exs
Elixir
mix.exs
lukkor/exlog
f2812d25e7712c41db5a9bf5bf3977255916c8e1
[ "MIT" ]
null
null
null
mix.exs
lukkor/exlog
f2812d25e7712c41db5a9bf5bf3977255916c8e1
[ "MIT" ]
null
null
null
mix.exs
lukkor/exlog
f2812d25e7712c41db5a9bf5bf3977255916c8e1
[ "MIT" ]
null
null
null
defmodule Exlog.Mixfile do use Mix.Project def project do [app: :exlog, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), deps: deps()] end #...
28.622642
78
0.607119
f7adbc8314541f5e047eae09d629e77e9367af17
223
ex
Elixir
lib/ohio_elixir_web/views/view_helpers/date.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
7
2021-01-22T00:20:04.000Z
2022-03-30T22:07:32.000Z
lib/ohio_elixir_web/views/view_helpers/date.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
11
2021-10-05T03:59:28.000Z
2022-03-20T21:54:44.000Z
lib/ohio_elixir_web/views/view_helpers/date.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
3
2021-06-10T02:48:54.000Z
2021-10-09T03:43:06.000Z
defmodule OhioElixirWeb.ViewHelpers.Date do @moduledoc false def format_date_time(datetime) do datetime |> DateTime.shift_zone!("America/New_York") |> Calendar.strftime("%Y-%m-%d %I:%M:%S %p EST") end end
24.777778
52
0.695067
f7adbeb7494eca970492f4f77b85f5b41ad99b86
3,999
ex
Elixir
lib/line_bot/message/template.ex
adamu/line_bot
dbc2a91b15e6670af563ff78889ffb258bf00edf
[ "Apache-2.0" ]
6
2019-11-04T23:54:42.000Z
2021-09-14T07:14:00.000Z
lib/line_bot/message/template.ex
adamu/line_bot
dbc2a91b15e6670af563ff78889ffb258bf00edf
[ "Apache-2.0" ]
4
2019-11-08T03:49:33.000Z
2019-11-08T03:55:37.000Z
lib/line_bot/message/template.ex
adamu/line_bot
dbc2a91b15e6670af563ff78889ffb258bf00edf
[ "Apache-2.0" ]
1
2020-05-14T08:22:36.000Z
2020-05-14T08:22:36.000Z
defmodule LineBot.Message.Template do use LineBot.Message @moduledoc """ Represents a [Template message](https://developers.line.biz/en/reference/messaging-api/#template-messages). """ @type t :: %__MODULE__{ altText: String.t(), template: LineBot.Message.Template.Buttons.t() ...
31.992
140
0.650413
f7ae0d8c739c34577442c844704523a59b2743aa
3,466
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__word_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__word_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__word_info.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...
43.325
135
0.725043
f7ae287d930dad9f7168f7e74903098d6d080040
44,430
exs
Elixir
test/geometry_test.exs
hrzndhrn/geometry
bffdac0a9554f7f5fd05caceee0fa8f3c96d1c60
[ "MIT" ]
null
null
null
test/geometry_test.exs
hrzndhrn/geometry
bffdac0a9554f7f5fd05caceee0fa8f3c96d1c60
[ "MIT" ]
2
2020-10-25T10:06:07.000Z
2020-10-26T18:15:20.000Z
test/geometry_test.exs
hrzndhrn/geometry
bffdac0a9554f7f5fd05caceee0fa8f3c96d1c60
[ "MIT" ]
null
null
null
defmodule GeometryTest do use ExUnit.Case, async: true import Prove alias Geometry.{ Feature, FeatureCollection, GeometryCollection, GeometryCollectionM, GeometryCollectionZ, GeometryCollectionZM, Hex, LineString, LineStringM, LineStringZ, LineStringZM, MultiLineS...
27.596273
98
0.460792
f7ae7eebfeb63e638a9ea54ae2faecedba8c25fb
325
ex
Elixir
lib/rill/message_store/ecto/postgres/session.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
null
null
null
lib/rill/message_store/ecto/postgres/session.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
null
null
null
lib/rill/message_store/ecto/postgres/session.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
null
null
null
defmodule Rill.MessageStore.Ecto.Postgres.Session do alias Rill.MessageStore.Ecto.Postgres, as: MessageStore alias Rill.MessageStore.Ecto.Postgres.Database alias Rill.Session def new(repo) when is_atom(repo) do session = Session.new(MessageStore, Database) Session.put_config(session, :repo, repo) end...
29.545455
57
0.775385
f7ae906f2908eb6f41ff48289b48c7c069501079
1,123
exs
Elixir
mix.exs
ananthakumaran/redix_sentinel
7d17d07287a324024816ccaf4222e455e73c569f
[ "MIT" ]
5
2017-09-06T09:40:39.000Z
2019-12-12T15:47:16.000Z
mix.exs
ananthakumaran/redix_sentinel
7d17d07287a324024816ccaf4222e455e73c569f
[ "MIT" ]
4
2017-09-07T15:33:51.000Z
2018-10-28T09:47:09.000Z
mix.exs
ananthakumaran/redix_sentinel
7d17d07287a324024816ccaf4222e455e73c569f
[ "MIT" ]
2
2018-05-14T05:31:36.000Z
2018-10-23T15:37:28.000Z
defmodule RedixSentinel.Mixfile do use Mix.Project @version "0.6.1" def project do [ app: :redix_sentinel, version: @version, elixir: "~> 1.2", description: "Redix with sentinel support", package: package(), docs: docs(), dialyzer: [ plt_add_deps: :transitiv...
21.188679
83
0.560107
f7aeaad475a1127c281b136eb47432109c7e60e9
30,823
ex
Elixir
apps/language_server/lib/language_server/server.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Server do @moduledoc """ Language Server Protocol server This server tracks open files, attempts to rebuild the project when a file changes, and handles requests from the IDE (for things like autocompletion, hover, etc.) Notifications from the IDE are handled synchronously,...
28.22619
100
0.643091
f7aeae0066e7088cfc3ccc93f873c6e195d1eb47
2,137
exs
Elixir
config/prod.exs
Hiyori-API/checker-mal
c52f6e8a248ba160ffebc2c9369a933fc8fc4499
[ "MIT" ]
null
null
null
config/prod.exs
Hiyori-API/checker-mal
c52f6e8a248ba160ffebc2c9369a933fc8fc4499
[ "MIT" ]
null
null
null
config/prod.exs
Hiyori-API/checker-mal
c52f6e8a248ba160ffebc2c9369a933fc8fc4499
[ "MIT" ]
null
null
null
import Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # w...
34.467742
66
0.718297
f7aed34b5c5f3aebddd25ef558f79a1a03b3c200
2,554
exs
Elixir
playground_project/test/crud_tdd_web/controllers/games_controller_test.exs
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
playground_project/test/crud_tdd_web/controllers/games_controller_test.exs
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
playground_project/test/crud_tdd_web/controllers/games_controller_test.exs
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
defmodule CrudTddWeb.GamesControllerTest do use CrudTddWeb.ConnCase alias CrudTdd.Lib alias CrudTdd.Lib.Games @create_attrs %{ grade: 42, title: "some title" } @update_attrs %{ grade: 43, title: "some updated title" } @invalid_attrs %{grade: nil, title: nil} def fixture(:games) do ...
27.462366
92
0.598277
f7aed4cd4bf7ca86981b356df7f31b3e3cbe7458
2,051
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_status_high_availability_requirement_state.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_status_high_availability_requirement_state.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_status_high_availability_requirement_state.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.290909
224
0.756216
f7aeea1cf390954b09f29427ee5d6f8bd2f4edee
930
ex
Elixir
lib/main.ex
okx-code/Panacea
3398c624c0497158ef49653ba001fed18cebc4b0
[ "Unlicense" ]
null
null
null
lib/main.ex
okx-code/Panacea
3398c624c0497158ef49653ba001fed18cebc4b0
[ "Unlicense" ]
null
null
null
lib/main.ex
okx-code/Panacea
3398c624c0497158ef49653ba001fed18cebc4b0
[ "Unlicense" ]
null
null
null
defmodule Main do import Atoms def main(args) do cond do length(args) > 0 -> functions = read_lines(File.read!(hd(args))) lines = read_lines(IO.read(:all)) inputs = if length(lines) == 0, do: [], else: Stream.cycle(lines) stack = eval([], functions, 0, inputs) IO....
25.135135
73
0.511828
f7af0b3f5374233d8a5527c36c31c775ff28bb3c
702
exs
Elixir
test/wechat/helpers/params_parser_test.exs
sjava/ex_wechat
521e119be8cc960453002c099d57f7474bfd7735
[ "MIT" ]
null
null
null
test/wechat/helpers/params_parser_test.exs
sjava/ex_wechat
521e119be8cc960453002c099d57f7474bfd7735
[ "MIT" ]
null
null
null
test/wechat/helpers/params_parser_test.exs
sjava/ex_wechat
521e119be8cc960453002c099d57f7474bfd7735
[ "MIT" ]
null
null
null
defmodule Wechat.Helpers.ParamsParserTest do use ExUnit.Case, async: true import Wechat.Helpers.ParamsParser defmodule Demo do use Wechat.Api end test "should get [] when params is empty" do assert [] = parse_params([]) end test "should get right params when has value" do assert [some: "va...
26
79
0.683761
f7af0fafb70211a23027b9938eeb9768d5295ffb
2,687
exs
Elixir
test/support/email.exs
harmon25/coherence
5c4f26d3c87f6a16638adf623d041e2723ccf2b8
[ "MIT" ]
1
2022-03-06T16:30:21.000Z
2022-03-06T16:30:21.000Z
test/support/email.exs
ysbaddaden/coherence
5c4f26d3c87f6a16638adf623d041e2723ccf2b8
[ "MIT" ]
null
null
null
test/support/email.exs
ysbaddaden/coherence
5c4f26d3c87f6a16638adf623d041e2723ccf2b8
[ "MIT" ]
2
2017-09-22T16:54:36.000Z
2021-11-09T20:55:58.000Z
defmodule TestCoherence.Coherence.Email do defstruct [:from, :to, :subject, :reply_to, :template, :params] end defmodule TestCoherence.Coherence.Mailer do def deliver(email), do: email end defmodule TestCoherence.Coherence.UserEmail do defp site_name, do: Coherence.Config.site_name(inspect Coherence.Config.modu...
29.527473
122
0.652028
f7af679172dddc7d679be564ec35d0bbbb54535c
1,422
ex
Elixir
lib/absinthe/phase/schema/arguments/data.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-10-10T02:57:52.000Z
2019-10-10T02:57:52.000Z
lib/absinthe/phase/schema/arguments/data.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-09-23T21:26:01.000Z
2019-09-23T21:26:01.000Z
lib/absinthe/phase/schema/arguments/data.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Schema.Arguments.Data do @moduledoc false # Populate all arguments in the SDL with their provided data values. # # See Absinthe.Phase.Document.Arguments.Data for a more expansive # explanation; this phase limits itself to arguments and values. alias Absinthe.Blueprint.Input alia...
30.913043
85
0.68917
f7af6bd8b1793f441b2fbfc33f219a1e1fe99b4f
619
ex
Elixir
lib/binance/futures/schemas/position.ex
Fadhil/binance.ex
b4cda870c9fab475e43f2498f8f28dec0353e952
[ "MIT" ]
null
null
null
lib/binance/futures/schemas/position.ex
Fadhil/binance.ex
b4cda870c9fab475e43f2498f8f28dec0353e952
[ "MIT" ]
null
null
null
lib/binance/futures/schemas/position.ex
Fadhil/binance.ex
b4cda870c9fab475e43f2498f8f28dec0353e952
[ "MIT" ]
1
2021-02-22T22:56:22.000Z
2021-02-22T22:56:22.000Z
defmodule Binance.Futures.Schemas.Position do defstruct [ :entry_price, :margin_type, :is_auto_add_margin, :leverage, :liquidation_price, :mark_price, :max_notional_value, :position_amt, :symbol, :un_realized_profit, :position_side ] use ExConstructor def new(map_or...
21.344828
90
0.702746
f7af7132f36335ea3ebfad7d3a8ffebabc4ac13f
99
exs
Elixir
test/nprx_test.exs
silbermm/nprx
8a889a86688fbb0a1bc32e0310b3ba999c8f8394
[ "BSD-3-Clause" ]
null
null
null
test/nprx_test.exs
silbermm/nprx
8a889a86688fbb0a1bc32e0310b3ba999c8f8394
[ "BSD-3-Clause" ]
null
null
null
test/nprx_test.exs
silbermm/nprx
8a889a86688fbb0a1bc32e0310b3ba999c8f8394
[ "BSD-3-Clause" ]
null
null
null
defmodule NPRTest do use ExUnit.Case doctest NPRx import Mock alias NPRx.TestHelpers end
11
24
0.757576
f7af84ff7d54f70e39591ff5b2a162f7cacc0fb7
245
ex
Elixir
lib/bennu/componentable.ex
coingaming/bennu
9e8095b338e77bc6ea230129960bb824e1c552fd
[ "MIT" ]
2
2019-12-23T21:11:24.000Z
2020-01-23T22:15:17.000Z
lib/bennu/componentable.ex
coingaming/bennu
9e8095b338e77bc6ea230129960bb824e1c552fd
[ "MIT" ]
null
null
null
lib/bennu/componentable.ex
coingaming/bennu
9e8095b338e77bc6ea230129960bb824e1c552fd
[ "MIT" ]
1
2021-02-03T17:56:58.000Z
2021-02-03T17:56:58.000Z
defprotocol Bennu.Componentable do require Bennu.Componentable.Schema, as: Schema @type t :: Bennu.Component.t() @spec input_schema(t) :: Schema.t() def input_schema(t) @spec output_schema(t) :: Schema.t() def output_schema(t) end
22.272727
48
0.714286
f7afc872e1d4cb1c2b5afe679214118708ca1c4b
2,855
exs
Elixir
test/parallel_stream/reject_test.exs
beatrichartz/parallel_stream
60bd628f378ff3340a2ea3cb86aa2a3d70500d2a
[ "MIT" ]
90
2015-10-17T22:24:07.000Z
2022-02-20T16:29:34.000Z
test/parallel_stream/reject_test.exs
beatrichartz/parallel_stream
60bd628f378ff3340a2ea3cb86aa2a3d70500d2a
[ "MIT" ]
17
2016-04-14T13:35:27.000Z
2022-02-25T20:13:18.000Z
test/parallel_stream/reject_test.exs
beatrichartz/parallel_stream
60bd628f378ff3340a2ea3cb86aa2a3d70500d2a
[ "MIT" ]
24
2016-01-28T12:31:09.000Z
2021-09-27T16:30:06.000Z
defmodule ParallelStream.RejectTest do use ExUnit.Case, async: true @moduletag timeout: 1000 test ".reject filters a stream of variable length" do result = 1..5 |> ParallelStream.reject(fn i -> i |> rem(2) == 0 end) |> Enum.into([]) assert result == [1, 3, 5] end test ".reject kil...
23.211382
96
0.545709
f7b00b806fb02870e9d9fc9cf6b489d7f60e89c2
2,720
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/creative_rotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/creative_rotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/creative_rotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.5
339
0.760662
f7b01d6b08eadb0da1c20fbd1fab77bf6b7e10b6
3,952
ex
Elixir
lib/sobelow/xss/raw.ex
mrsmkl/sobelow
b17b99617b91369acbd8db56b1341876fe3c8224
[ "Apache-2.0" ]
null
null
null
lib/sobelow/xss/raw.ex
mrsmkl/sobelow
b17b99617b91369acbd8db56b1341876fe3c8224
[ "Apache-2.0" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/sobelow/lib/sobelow/xss/raw.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
null
null
null
defmodule Sobelow.XSS.Raw do @uid 30 @finding_type "XSS.Raw: XSS" use Sobelow.Finding def run(fun, meta_file, _, nil) do confidence = if !meta_file.is_controller?, do: :low Finding.init(@finding_type, meta_file.filename, confidence) |> Finding.multi_from_def(fun, parse_raw_def(fun)) |> Enum.e...
27.636364
88
0.597672
f7b02e8074385c5b08456baea126ad22219fd1db
731
ex
Elixir
lib/ex_rets/rets_client.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
1
2019-12-20T14:23:19.000Z
2019-12-20T14:23:19.000Z
lib/ex_rets/rets_client.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
lib/ex_rets/rets_client.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
defmodule ExRets.RetsClient do @moduledoc false @moduledoc since: "0.1.0" alias ExRets.Credentials alias ExRets.HttpClient alias ExRets.LoginResponse alias ExRets.Middleware @typedoc since: "0.1.0" @opaque t :: %__MODULE__{ credentials: Credentials.t(), http_client: HttpClient....
24.366667
56
0.644323
f7b03b302721cb5d77ae443001eb2006d8a3dd4c
1,794
ex
Elixir
clients/books/lib/google_api/books/v1/model/volumes.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/books/lib/google_api/books/v1/model/volumes.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/books/lib/google_api/books/v1/model/volumes.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...
33.849057
198
0.702899
f7b0b2e9e8f6e36cb419a50e0db87c5e6334d7fb
736
exs
Elixir
restserver_application/mix.exs
arquitecturas-concurrentes/iasc-otp-elixir-2019c2
c8c6c88db978785f439596e0b5f582473b54a35f
[ "BSD-3-Clause" ]
null
null
null
restserver_application/mix.exs
arquitecturas-concurrentes/iasc-otp-elixir-2019c2
c8c6c88db978785f439596e0b5f582473b54a35f
[ "BSD-3-Clause" ]
null
null
null
restserver_application/mix.exs
arquitecturas-concurrentes/iasc-otp-elixir-2019c2
c8c6c88db978785f439596e0b5f582473b54a35f
[ "BSD-3-Clause" ]
null
null
null
defmodule RESTServerApplication.Mixfile do use Mix.Project def project do [app: :restserver_application, version: "0.0.1", elixir: "~> 1.6", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "m...
21.647059
77
0.623641
f7b0ba731d13a8fb10e74d400107c82bedd0e6ae
1,869
exs
Elixir
clients/workflows/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/workflows/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/workflows/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.895522
140
0.659176