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
799cc34a96ffa80fdf172d3fe52d4c2f9cf075fa
12,387
ex
Elixir
lib/stripe/core_resources/payment_intent.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
lib/stripe/core_resources/payment_intent.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
lib/stripe/core_resources/payment_intent.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.PaymentIntent do @moduledoc """ Work with [Stripe `payment_intent` objects](https://stripe.com/docs/api/payment_intents). You can: - [Create a payment_intent](https://stripe.com/docs/api/payment_intents/create) - [Retrieve a payment_intent](https://stripe.com/docs/api/payment_intents/retriev...
39.32381
157
0.595867
799d00a13a859381b191ca9b90e108757749b1ef
742
exs
Elixir
old/test/blue_jet_web/controllers/helpers_test.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
old/test/blue_jet_web/controllers/helpers_test.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
old/test/blue_jet_web/controllers/helpers_test.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJetWeb.HelpersTest do use BlueJet.DataCase alias BlueJetWeb.Controller.Helpers describe "pointer_for/1" do test "with :fields as field" do assert Helpers.pointer_for(:fields) == "/data" end test "with :attributes as field" do assert Helpers.pointer_for(:attributes) == "/da...
26.5
85
0.698113
799d05bfb286c028117910ea586deddd9a9b2fd0
9,526
exs
Elixir
apps/schedules/test/repo_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/schedules/test/repo_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/schedules/test/repo_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Schedules.RepoTest do use ExUnit.Case use Timex import Schedules.Repo import Mock alias Schedules.Schedule describe "by_route_ids/2" do test "can take a route/direction/sequence/date" do response = by_route_ids( ["CR-Lowell"], date: Util.service_date(), ...
28.779456
98
0.576632
799d0e3d41acfdaa1fdfc9a7b754bc2665a697db
2,301
ex
Elixir
lib/cforum_web/plug/security_headers.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/plug/security_headers.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/plug/security_headers.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Plug.SecurityHeaders do def init(opts), do: opts def call(%{request_path: "/admin/dashboard" <> _} = conn, _), do: conn def call(conn, _) do if Application.get_env(:cforum, :environment) == :prod do js_nonce = 32 |> :crypto.strong_rand_bytes() |> Base.url_en...
32.408451
135
0.62538
799d5bde95fc8e3c790645fb74cf91116adab916
201
ex
Elixir
lib/yaphone.ex
balena/yaphone
3f92a6acc8504289f8d9d13d5e75c45cb7008db6
[ "BSD-3-Clause" ]
null
null
null
lib/yaphone.ex
balena/yaphone
3f92a6acc8504289f8d9d13d5e75c45cb7008db6
[ "BSD-3-Clause" ]
null
null
null
lib/yaphone.ex
balena/yaphone
3f92a6acc8504289f8d9d13d5e75c45cb7008db6
[ "BSD-3-Clause" ]
null
null
null
defmodule Yaphone do @moduledoc """ Documentation for `Yaphone`. """ @doc """ Hello world. ## Examples iex> Yaphone.hello() :world """ def hello do :world end end
10.578947
30
0.557214
799dbb90bff6c7c802b7b508be1d860c2a23f4d3
44
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_three_operation_parsing_test_case/CharListHeredoc.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/matched_three_operation_parsing_test_case/CharListHeredoc.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/matched_three_operation_parsing_test_case/CharListHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
''' One ''' ^^^ ''' Two '''
7.333333
11
0.136364
799dbcbb4a4e7ab4437b66fbf986eb5e29041e12
1,226
ex
Elixir
clients/vision/lib/google_api/vision/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/connection.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...
34.055556
74
0.731648
799dc6715b14e0b8210e3fa1829d274a04327d5e
139
exs
Elixir
priv/repo/migrations/20211205210703_add_username_index.exs
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
priv/repo/migrations/20211205210703_add_username_index.exs
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
priv/repo/migrations/20211205210703_add_username_index.exs
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
defmodule Twivia.Repo.Migrations.AddUsernameIndex do use Ecto.Migration def change do create index(:users, [:username]) end end
17.375
52
0.748201
799df8631597e6a9d7186285e5d98249b3316a1b
1,554
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_test_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_test_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_test_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.06383
115
0.752896
799e0f351181908b36548042d9e18e257622aea4
1,178
ex
Elixir
web/channels/user_socket.ex
fs/sentinel_api
6f6f8ab3e3bf10c44a1d8e025aceded121a420e0
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
fs/sentinel_api
6f6f8ab3e3bf10c44a1d8e025aceded121a420e0
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
fs/sentinel_api
6f6f8ab3e3bf10c44a1d8e025aceded121a420e0
[ "MIT" ]
null
null
null
defmodule SentinelApi.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", SentinelApi.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and...
31
84
0.704584
799e362fe356c27e7d5699eea0f2705f5f7ac6f8
602
exs
Elixir
test/liveman/user/users_test.exs
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
test/liveman/user/users_test.exs
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
19
2021-07-02T08:14:52.000Z
2021-07-30T09:33:12.000Z
test/liveman/user/users_test.exs
nimblehq/liveman
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
defmodule Liveman.User.UsersTest do use Liveman.DataCase, async: true alias Liveman.User.Users describe "register_user/1" do test "creates a user successfully when the given params are valid" do user = Users.register_user(%{email: "john@doe.com", password: "secret"}) assert {:ok, _} = user ...
26.173913
78
0.621262
799e4dbb0c05489e1c6a5d2442d5affd43d82825
6,524
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/migrating_vm.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/model/migrating_vm.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/model/migrating_vm.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
63.339806
396
0.706468
799e9781197bdcdc62cd0de534e83c44a54de315
658
exs
Elixir
day16/test/day16_test.exs
bjorng/advent-of-code-2020
9d2f4b6cb7f6a2c9a39596a90ce2709c7f1df22a
[ "Apache-2.0" ]
2
2020-12-19T00:40:21.000Z
2021-02-16T04:17:05.000Z
day16/test/day16_test.exs
bjorng/advent-of-code-2020
9d2f4b6cb7f6a2c9a39596a90ce2709c7f1df22a
[ "Apache-2.0" ]
null
null
null
day16/test/day16_test.exs
bjorng/advent-of-code-2020
9d2f4b6cb7f6a2c9a39596a90ce2709c7f1df22a
[ "Apache-2.0" ]
1
2020-12-14T22:37:13.000Z
2020-12-14T22:37:13.000Z
defmodule Day16Test do use ExUnit.Case doctest Day16 test "part 1 with example" do assert Day16.part1(example()) == 71 end test "part 1 with my input data" do assert Day16.part1(input()) == 26009 end test "part 2 with my input data" do assert Day16.part2(input()) == 589685618167 end de...
16.45
47
0.583587
799e9c7f8a8a7d6879b45303030b9336e47fe14c
912
ex
Elixir
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/operation_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/operation_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/operation_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Database.CosmosDb.Model.OperationListResult do @moduledoc """ Result of the request to list Resource Provider opera...
30.4
141
0.736842
799ebb35884362aac6e431a54a7d58d395e77eeb
1,141
exs
Elixir
test/astarte_core/realm_test.exs
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
16
2018-02-02T14:07:10.000Z
2021-02-03T13:57:30.000Z
test/astarte_core/realm_test.exs
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
62
2019-03-14T15:52:12.000Z
2022-03-22T10:34:56.000Z
test/astarte_core/realm_test.exs
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
9
2018-02-02T09:55:06.000Z
2021-03-04T15:15:08.000Z
defmodule Astarte.Core.RealmTest do use ExUnit.Case alias Astarte.Core.Realm test "empty realm name is rejected" do assert Realm.valid_name?("") == false end test "realm name with symbols are rejected" do assert Realm.valid_name?("my_realm") == false assert Realm.valid_name?("my-realm") == fals...
31.694444
90
0.712533
799ec30883be1223794dc897f16bcbe415d9cf54
155
ex
Elixir
lib/protected_hello_web/controllers/page_controller.ex
KeenMate/phoenix-guardian-example
163d83780f8a8f3b7be20b1e4be63945e8434fb9
[ "MIT" ]
null
null
null
lib/protected_hello_web/controllers/page_controller.ex
KeenMate/phoenix-guardian-example
163d83780f8a8f3b7be20b1e4be63945e8434fb9
[ "MIT" ]
null
null
null
lib/protected_hello_web/controllers/page_controller.ex
KeenMate/phoenix-guardian-example
163d83780f8a8f3b7be20b1e4be63945e8434fb9
[ "MIT" ]
null
null
null
defmodule ProtectedHelloWeb.PageController do use ProtectedHelloWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
19.375
45
0.76129
799eeab6e768cdd3fa032bada33daad730a8f231
309
ex
Elixir
macros/chapter_1/exercises/my_unless.ex
CrabOnTheBeach/metaprogramming_elixir
a828f38228a6a5f1bf9ae4742329ecb932791d56
[ "MIT" ]
null
null
null
macros/chapter_1/exercises/my_unless.ex
CrabOnTheBeach/metaprogramming_elixir
a828f38228a6a5f1bf9ae4742329ecb932791d56
[ "MIT" ]
null
null
null
macros/chapter_1/exercises/my_unless.ex
CrabOnTheBeach/metaprogramming_elixir
a828f38228a6a5f1bf9ae4742329ecb932791d56
[ "MIT" ]
null
null
null
defmodule MyUnless do @doc """ Exercise is: write your own unless macro without using `if` """ defmacro unless(expression, do: block) do quote do case unquote(expression) do x when x in [false, nil] -> unquote(block) _ -> nil end end end end
18.176471
61
0.569579
799eef1222ca895dd3755e30f0c97e91581f13a3
613
exs
Elixir
apps/tools_2/test/sentences_api/web/views/error_view_test.exs
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/tools_2/test/sentences_api/web/views/error_view_test.exs
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/tools_2/test/sentences_api/web/views/error_view_test.exs
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule SentencesAPI.Web.ErrorViewTest do use SentencesAPI.Web.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(SentencesAPI.Web.ErrorView, "404.html", []) == "Page not found" end ...
27.863636
74
0.69168
799ef228f07549df0f40630ce28e246c5d63941f
1,824
exs
Elixir
test/heroicons_test.exs
miguel-s/ex_heroicons
0c70a5b9450cab986d1d10e0d38b38f82ab4642a
[ "MIT" ]
13
2021-05-19T15:32:10.000Z
2022-02-28T15:00:41.000Z
test/heroicons_test.exs
miguel-s/ex_heroicons
0c70a5b9450cab986d1d10e0d38b38f82ab4642a
[ "MIT" ]
6
2021-05-22T12:36:01.000Z
2021-09-25T21:20:15.000Z
test/heroicons_test.exs
miguel-s/ex_heroicons
0c70a5b9450cab986d1d10e0d38b38f82ab4642a
[ "MIT" ]
1
2021-05-22T12:54:50.000Z
2021-05-22T12:54:50.000Z
defmodule HeroiconsTest do use ExUnit.Case, async: true doctest Heroicons test "renders icon" do assert Heroicons.icon("academic-cap", type: "outline") |> Phoenix.HTML.safe_to_string() =~ "<svg" end test "renders icon with attribute" do assert Heroicons.icon("academic-cap", type: "outline...
28.061538
92
0.657346
799f20817dd5debce391045b49a3ea41d0b21974
796
exs
Elixir
test/docs/doc_example_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
test/docs/doc_example_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
test/docs/doc_example_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.Docs.DocExampleTest do use ExUnit.Case, async: true import ExUnit.TestHelpers defmodule Mod1 do @doc """ iex> 1 + 1 2 iex> 2 + 2 5 """ def f, do: :f end |> write_beam test "Mod1" do examples = ESpec.DocExample.extract(Mod1) assert length(example...
17.688889
80
0.530151
799f3b12a6257474334058758ea5f7758784073a
372
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/49.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/49.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/49.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cm pn verb pnoun quantifier; cm pn noun adjective quantifier; cm particle pnoun noun quantifier; noun cm particle quantifier quantifier; quantifier particle adverb noun quantifier; cardinal cm noun cm quantifier; noun cm noun cm quantifier; cm particle noun SYM quantifier; pn intensifier noun...
28.615385
44
0.793011
799f491c004ecbb44e27cecde621ca66f365828a
909
exs
Elixir
apps/server/mix.exs
davemarkov/wichat
df34a66094beafb121d0c9be54a886ef040d8ca6
[ "MIT" ]
null
null
null
apps/server/mix.exs
davemarkov/wichat
df34a66094beafb121d0c9be54a886ef040d8ca6
[ "MIT" ]
null
null
null
apps/server/mix.exs
davemarkov/wichat
df34a66094beafb121d0c9be54a886ef040d8ca6
[ "MIT" ]
null
null
null
defmodule Server.MixProject do use Mix.Project def project do [ app: :server, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.6", build_embedded: Mix.env() ==...
23.921053
88
0.546755
799f7f63727a0ff5006c201a155e4fd572923197
65
ex
Elixir
web/views/page_view.ex
slitherrr/alchemizer
390826a7b33085f04ac955c434cdca3238164e74
[ "Apache-2.0" ]
null
null
null
web/views/page_view.ex
slitherrr/alchemizer
390826a7b33085f04ac955c434cdca3238164e74
[ "Apache-2.0" ]
null
null
null
web/views/page_view.ex
slitherrr/alchemizer
390826a7b33085f04ac955c434cdca3238164e74
[ "Apache-2.0" ]
null
null
null
defmodule Alchemizer.PageView do use Alchemizer.Web, :view end
16.25
32
0.8
799f83071c11d0ef780fe2c18efabd2a95143f52
2,895
ex
Elixir
lib/rclex/subscriber.ex
tlk-emb/rclex
0706a3a3f54d494b8ab81b1c6c1279616e3afc39
[ "Apache-2.0" ]
34
2019-12-04T04:08:26.000Z
2021-04-14T02:14:57.000Z
lib/rclex/subscriber.ex
tlk-emb/rclex
0706a3a3f54d494b8ab81b1c6c1279616e3afc39
[ "Apache-2.0" ]
13
2020-02-24T09:47:15.000Z
2021-04-12T10:24:23.000Z
lib/rclex/subscriber.ex
tlk-emb/rclex
0706a3a3f54d494b8ab81b1c6c1279616e3afc39
[ "Apache-2.0" ]
3
2020-03-13T01:01:46.000Z
2020-07-04T10:42:00.000Z
defmodule Rclex.Subscriber do alias Rclex.Nifs require Rclex.Macros require Logger use GenServer @moduledoc """ T.B.A """ @doc """ subscriberプロセスの生成 """ def start_link({sub, process_name}) do Logger.debug("#{process_name} subscriber process start") GenServer.start_link(__MODULE__, sub,...
27.836538
94
0.676684
799f900855b48c64033dc3fd2bc9425ba6ce3ab7
3,032
ex
Elixir
lib/scenic/primitive/style/theme.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/theme.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/theme.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on August 18 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Style.Theme do @moduledoc """ The theme style is a way to bundle up default colors that are intended to be used by dynamic components invoked by a scene. There is a set of pre...
32.602151
125
0.585422
799f90bd3eae83c7e70140d2d755ac064e41107e
3,451
exs
Elixir
test/service/s3_service_test.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
null
null
null
test/service/s3_service_test.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
null
null
null
test/service/s3_service_test.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
2
2019-05-30T18:29:37.000Z
2020-06-27T18:40:03.000Z
defmodule ActivestorageExTest.S3ServiceTest do use ExUnit.Case doctest ActivestorageEx.S3Service alias ActivestorageEx.S3Service @test_key "testing_key" describe "S3Service.download/1" do test "Returns a file from a given key as binary" do upload_test_image() downloaded_file = S3Service.dow...
22.555556
73
0.649087
799fba9e63c345f7fdd61fc8611df62ced2cb904
3,265
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_consumption_serializer.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_consumption_serializer.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_consumption_serializer.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.TransactionConsumptionSerializer do @moduledoc """ Serializes transaction request consumption data into V1 JSON response format. """ alias Ecto.Association.NotLoaded alias EWallet.Web.{Date, Paginator} alias EWallet.Web.V1.{ AccountSerializer, PaginatorSerializer, Token...
41.858974
96
0.767228
799fc49e8e14306533cea7cf663ee292c4107fc7
776
ex
Elixir
test/support/channel_case.ex
robotarmy/serve_elm
931787a55acbe076eac0c0b199c5cfc63425197e
[ "MIT" ]
null
null
null
test/support/channel_case.ex
robotarmy/serve_elm
931787a55acbe076eac0c0b199c5cfc63425197e
[ "MIT" ]
null
null
null
test/support/channel_case.ex
robotarmy/serve_elm
931787a55acbe076eac0c0b199c5cfc63425197e
[ "MIT" ]
null
null
null
defmodule ServeElmWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts w...
22.823529
58
0.726804
799fcff269b1e9466904919c9b72b77f50f6b933
4,367
ex
Elixir
lib/ecto/query/builder/order_by.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/order_by.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/order_by.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.OrderBy do @moduledoc false alias Ecto.Query.Builder @doc """ Escapes an order by query. The query is escaped to a list of `{direction, expression}` pairs at runtime. Escaping also validates direction is one of `:asc` or `:desc`. ## Exa...
32.110294
114
0.609343
79a002d0b496683996d79266d3ea3208b8bf0a5d
3,594
ex
Elixir
lib/packer/defs.ex
aseigo/packer
f02dfe21a35d874303551cb49798297f89b54883
[ "Apache-2.0" ]
3
2018-06-23T17:47:16.000Z
2018-09-12T21:05:46.000Z
lib/packer/defs.ex
aseigo/packer
f02dfe21a35d874303551cb49798297f89b54883
[ "Apache-2.0" ]
12
2018-06-22T07:02:23.000Z
2018-06-25T17:56:49.000Z
lib/packer/defs.ex
aseigo/packer
f02dfe21a35d874303551cb49798297f89b54883
[ "Apache-2.0" ]
null
null
null
defmodule Packer.Defs do @moduledoc false defmacro __using__(_) do quote do import Packer.Defs @c_small_int 0x01 # 1 byte @c_small_uint 0x02 # 1 byte @c_short_int 0x03 # 2 bytes @c_short_uint 0x04 # 2 bytes @c_int 0x05 # 4 bytes @c_uint 0x06 # 4 b...
32.972477
134
0.622426
79a0274fd418355aa2ae4219a69630d26ad028f1
704
exs
Elixir
test/inmana_web/views/restaurants_view_test.exs
MateusMaceedo/NLW-Elixir-5.0
1137fe8ff137bf316efe537504980f6a857b52a9
[ "RSA-MD" ]
14
2021-04-26T14:19:28.000Z
2021-09-12T03:29:42.000Z
test/inmana_web/views/restaurants_view_test.exs
israel206/InmanaIsrael
bc93ddb3ca23f3188f89ef012e463fcacc4e9777
[ "MIT" ]
null
null
null
test/inmana_web/views/restaurants_view_test.exs
israel206/InmanaIsrael
bc93ddb3ca23f3188f89ef012e463fcacc4e9777
[ "MIT" ]
6
2021-04-27T12:41:16.000Z
2021-07-02T04:11:53.000Z
defmodule InmanaWeb.RestaurantsViewTest do use InmanaWeb.ConnCase, async: true import Phoenix.View alias Inmana.Restaurant alias InmanaWeb.RestaurantsView describe "render/2" do test "renders create.json" do params = %{name: "Siri cascudo", email: "siri@cascudo.com"} {:ok, restaurant} = Inm...
26.074074
79
0.598011
79a033c42c474e02d40d287a1b2f482a4d0840b5
1,275
ex
Elixir
lib/ex_sdp/attribute/ssrc.ex
membraneframework/membrane-protocol-sdp
4cb3028d62a722e364196b58b73732567306a931
[ "Apache-2.0" ]
null
null
null
lib/ex_sdp/attribute/ssrc.ex
membraneframework/membrane-protocol-sdp
4cb3028d62a722e364196b58b73732567306a931
[ "Apache-2.0" ]
1
2020-07-31T10:37:43.000Z
2020-08-10T09:22:13.000Z
lib/ex_sdp/attribute/ssrc.ex
membraneframework/membrane-protocol-sdp
4cb3028d62a722e364196b58b73732567306a931
[ "Apache-2.0" ]
null
null
null
defmodule ExSDP.Attribute.SSRC do @moduledoc """ This module represents ssrc (RFC 5576). """ alias ExSDP.Utils @enforce_keys [:id, :attribute] defstruct @enforce_keys ++ [:value] @type t :: %__MODULE__{id: non_neg_integer(), attribute: binary(), value: binary() | nil} @typedoc """ Key that can be u...
31.097561
95
0.64
79a068b477d4d4d74bd6cd5d9d8a9e3b89e40d1e
19,314
ex
Elixir
lib/aws/generated/doc_db.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/doc_db.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/doc_db.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "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.DocDB do @moduledoc """ Amazon DocumentDB API documentation """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviation: "Amazon DocDB", ...
39.336049
170
0.737393
79a069f8e3c855826034bdbd3221a8c32cb1fe8c
766
ex
Elixir
lib/salty/aead_chacha20poly1305.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
23
2017-07-04T19:29:43.000Z
2021-02-16T19:44:38.000Z
lib/salty/aead_chacha20poly1305.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
16
2017-08-13T15:31:25.000Z
2019-06-19T14:44:13.000Z
lib/salty/aead_chacha20poly1305.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
19
2017-08-10T19:01:49.000Z
2021-06-20T01:34:59.000Z
defmodule Salty.Aead.Chacha20poly1305 do use Salty.Aead def keybytes do C.aead_chacha20poly1305_KEYBYTES() end def nsecbytes do C.aead_chacha20poly1305_NSECBYTES() end def npubbytes do C.aead_chacha20poly1305_NPUBBYTES() end def abytes do C.aead_chacha20poly1305_ABYTES() end def...
23.212121
78
0.729765
79a06b96d63089c3db98ac0a81bd7c3b04db11fb
2,018
exs
Elixir
products/config/prod.exs
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
2
2021-09-21T13:36:49.000Z
2021-09-25T13:17:40.000Z
products/config/prod.exs
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
products/config/prod.exs
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
use Mix.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, # ...
36.035714
66
0.71556
79a070bba74c8ac0143b6424acf00f0cc782d818
2,049
exs
Elixir
config/dev.exs
aronkst/elixir_phoenix_liveview_n_queen
e23d0c4dad0d16fecdd41b709a4d9830edf8bdee
[ "MIT" ]
1
2020-05-09T02:03:24.000Z
2020-05-09T02:03:24.000Z
config/dev.exs
aronkst/elixir_phoenix_liveview_n_queen
e23d0c4dad0d16fecdd41b709a4d9830edf8bdee
[ "MIT" ]
null
null
null
config/dev.exs
aronkst/elixir_phoenix_liveview_n_queen
e23d0c4dad0d16fecdd41b709a4d9830edf8bdee
[ "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 webpack to recompile .js and .css sources. config :elixir_phoenix_liveview_n_queen, ElixirPhoenixLiv...
30.132353
81
0.704734
79a08a60aafb38904a1e79f285b45c3eafcbbf4f
257
ex
Elixir
lib/conversions.ex
electricshaman/mesquitte
a144b59f25823bef033b71d065b1abcbf770ce78
[ "MIT" ]
null
null
null
lib/conversions.ex
electricshaman/mesquitte
a144b59f25823bef033b71d065b1abcbf770ce78
[ "MIT" ]
null
null
null
lib/conversions.ex
electricshaman/mesquitte
a144b59f25823bef033b71d065b1abcbf770ce78
[ "MIT" ]
null
null
null
defmodule Mesquitte.Conversions do def to_int(true), do: 1 def to_int(false), do: 0 def to_int(value) when is_integer(value), do: value def to_bool(1), do: true def to_bool(0), do: false def to_bool(value) when is_boolean(value), do: value end
25.7
54
0.712062
79a1265bedaddbd04f8daba9268b5d81d5876e77
1,998
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.96
301
0.731732
79a138bf25a56d80408abd8e89a89d154cdfd07b
72
ex
Elixir
lib/planga_web/controllers/app_controller.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
37
2018-07-13T14:08:16.000Z
2021-04-09T15:00:22.000Z
lib/planga_web/controllers/app_controller.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
9
2018-07-16T15:24:39.000Z
2021-09-01T14:21:20.000Z
lib/planga_web/controllers/app_controller.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
3
2018-10-05T20:19:25.000Z
2019-12-05T00:30:01.000Z
defmodule PlangaWeb.AppController do # use PlangaWeb, :controller end
18
36
0.805556
79a13dfe65c5676dbc7d2ddb854a2a98d0473654
3,322
exs
Elixir
test/single_product_web/controllers/user_confirmation_controller_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/single_product_web/controllers/user_confirmation_controller_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/single_product_web/controllers/user_confirmation_controller_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProductWeb.UserConfirmationControllerTest do use SingleProductWeb.ConnCase, async: true alias SingleProduct.Accounts alias SingleProduct.Repo import SingleProduct.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/confirm" do test "renders the confirmatio...
34.968421
94
0.649308
79a15a78b0e816516220485364693048835dae7e
554
ex
Elixir
test/support/pid_helpers.ex
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
63
2021-02-10T16:18:11.000Z
2022-03-18T11:06:44.000Z
test/support/pid_helpers.ex
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
21
2021-01-30T21:00:06.000Z
2021-12-27T04:27:15.000Z
test/support/pid_helpers.ex
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
6
2021-02-26T23:56:49.000Z
2022-03-26T09:28:13.000Z
defmodule Slipstream.PidHelpers do @moduledoc """ Helpers for dealing with pids Most of the tests for slipstream involve processes sending eachother messages. Some of these pids are sent over-the-wire as strings, so we need helper functions to serialize and deserialize them. """ def pid_string do [p...
27.7
80
0.705776
79a15da6ff887a63c061ed356430945f06bae228
68,453
ex
Elixir
lib/elixir/lib/enum.ex
alfert/elixir
4dfd08c79dc8b67e8a6d53add9e3ee47ba9be647
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
alfert/elixir
4dfd08c79dc8b67e8a6d53add9e3ee47ba9be647
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
alfert/elixir
4dfd08c79dc8b67e8a6d53add9e3ee47ba9be647
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression Enum.map([1, 2, 3], &(&1 * 2)) invokes underne...
25.87037
138
0.601084
79a173be76e2b6202ea9743a088a3ce3bbd518d9
594
ex
Elixir
test/support/test_migration.ex
agleb/ecto_paginator
ec10b2cd717174a195adaf852f29467d1c959757
[ "MIT" ]
4
2020-02-15T01:35:44.000Z
2020-06-24T19:26:52.000Z
test/support/test_migration.ex
agleb/ecto_paginator
ec10b2cd717174a195adaf852f29467d1c959757
[ "MIT" ]
null
null
null
test/support/test_migration.ex
agleb/ecto_paginator
ec10b2cd717174a195adaf852f29467d1c959757
[ "MIT" ]
null
null
null
defmodule EctoPaginator.TestMigration do use Ecto.Migration def change do create table(:customers) do add(:name, :string) add(:active, :boolean) timestamps() end create table(:payments) do add(:description, :text) add(:charged_at, :utc_datetime) add(:amount, :integ...
19.8
51
0.63468
79a1985b173481fdcf75a2d1740cb371ebb9dbb5
1,877
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_knowledge_answers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_knowledge_answers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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_cloud_dialogflow_v2beta1_knowledge_answers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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...
32.362069
180
0.748535
79a19cf2e30029617f4342b71499be721c59f280
1,286
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/expr.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/expr.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/expr.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.15
226
0.725505
79a1ec5cab570ccc8b544713182027fdf129e17f
7,781
ex
Elixir
lib/celery/compiler.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/celery/compiler.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/celery/compiler.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Celery.Compiler do @moduledoc """ Responsible for compiling canonical CeleryScript AST into Elixir AST. """ require Logger alias FarmbotOS.Celery.{AST, Compiler} @doc "Returns current debug mode value" def debug_mode?() do # Set this to `true` when debuging. false end ...
29.812261
85
0.676777
79a1f2577a54dc5ea3c885a3375dcec4e09d0afc
928
ex
Elixir
apps/ewallet_api/lib/ewallet_api/v1/serializers/json/transaction_request_serializer.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_api/lib/ewallet_api/v1/serializers/json/transaction_request_serializer.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/v1/serializers/json/transaction_request_serializer.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletAPI.V1.JSON.TransactionRequestSerializer do @moduledoc """ Serializes transaction request data into V1 JSON response format. """ use EWalletAPI.V1 alias EWalletAPI.V1.JSON.MintedTokenSerializer alias EWallet.Web.Date def serialize(transaction_request) do %{ object: "transaction...
35.692308
86
0.767241
79a207ce9281ce215dcbdc391b195f5a76f0101c
67
exs
Elixir
test/find_type_test.exs
JoeBanks13/find_type
131ce226ca9afb9d724f06d40e390613ba1c8157
[ "MIT" ]
null
null
null
test/find_type_test.exs
JoeBanks13/find_type
131ce226ca9afb9d724f06d40e390613ba1c8157
[ "MIT" ]
null
null
null
test/find_type_test.exs
JoeBanks13/find_type
131ce226ca9afb9d724f06d40e390613ba1c8157
[ "MIT" ]
null
null
null
defmodule FindTypeTest do use ExUnit.Case doctest FindType end
13.4
25
0.80597
79a2244ee5332a3ae9f5ba0783fd5639d3e5fbc0
5,508
ex
Elixir
lib/brando/authorization/authorization.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/authorization/authorization.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/authorization/authorization.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Authorization do @moduledoc """ ## Example use Brando.Authorization types [ {"User", Brando.Users.User}, {"Page", Brando.Pages.Page}, {"Fragment", Brando.Pages.Fragment} ] rules :superuser do can :manage, :all end rules :admin...
25.981132
97
0.588962
79a23c934a4c194b5f0448a593247ce773db80bd
62
ex
Elixir
.env.ex
emamulandalib/redis-sentinal-docker
e0a18bf8a562ea653df492eb35b000c438e22ca8
[ "MIT" ]
null
null
null
.env.ex
emamulandalib/redis-sentinal-docker
e0a18bf8a562ea653df492eb35b000c438e22ca8
[ "MIT" ]
null
null
null
.env.ex
emamulandalib/redis-sentinal-docker
e0a18bf8a562ea653df492eb35b000c438e22ca8
[ "MIT" ]
null
null
null
HOST_IP= MASTER_PORT=6379 PASSWORD=secret SENTINEL_NAME=master
15.5
20
0.887097
79a256a8c9a8ce9094b8da9fce1e4f247b0bd734
661
ex
Elixir
lib/codes/codes_r70.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r70.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r70.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R70 do alias IcdCode.ICDCode def _R700 do %ICDCode{full_code: "R700", category_code: "R70", short_code: "0", full_name: "Elevated erythrocyte sedimentation rate", short_name: "Elevated erythrocyte sedimentation rate", category_name...
26.44
66
0.630862
79a2aed40f747d0ba9fa8c5270f8486dc7164e24
3,122
ex
Elixir
lib/sdk/batch_sends.ex
edragonconnect/wechat_sdk
d1f08ec34937df8de2c31d472458c1682bf4db32
[ "MIT" ]
4
2020-06-05T09:30:59.000Z
2021-05-08T11:35:22.000Z
lib/sdk/batch_sends.ex
edragonconnect/wechat_sdk
d1f08ec34937df8de2c31d472458c1682bf4db32
[ "MIT" ]
null
null
null
lib/sdk/batch_sends.ex
edragonconnect/wechat_sdk
d1f08ec34937df8de2c31d472458c1682bf4db32
[ "MIT" ]
1
2020-06-05T16:05:27.000Z
2020-06-05T16:05:27.000Z
defmodule WeChat.SDK.BatchSends do @moduledoc """ 消息管理 - 群发接口和原创效验 [API Docs Link](https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html){:target="_blank"} """ import Jason.Helpers alias WeChat.SDK @doc_link "#{SDK.doc_link_prefix()}/offiaccount/Mess...
26.016667
144
0.662396
79a2bcd86975dc22cad99e9a525d5e2f25373281
792
exs
Elixir
spec/response/connect_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/response/connect_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/response/connect_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule PixieResponseConnectSpec do use ESpec let :message do Pixie.Message.Connect.init %{ channel: "/meta/connect", client_id: "abcd1234", id: "efgh5678" } end let :response do Pixie.Response.Connect.init message end it "returns a Pixie.Response.Connect struct" ...
22.628571
70
0.669192
79a2bed50edad29f218a9d0e96a11e8de60c5e44
1,065
exs
Elixir
example/config/config.exs
menuan/kiosk_system_rpi3
6b28909454ee0219c8ba77b35f2ac60f41e86c54
[ "Apache-2.0" ]
60
2017-08-29T13:57:50.000Z
2020-06-12T13:53:27.000Z
example/config/config.exs
menuan/kiosk_system_rpi3
6b28909454ee0219c8ba77b35f2ac60f41e86c54
[ "Apache-2.0" ]
36
2017-07-18T12:09:31.000Z
2020-06-19T21:55:26.000Z
example/config/config.exs
menuan/kiosk_system_rpi3
6b28909454ee0219c8ba77b35f2ac60f41e86c54
[ "Apache-2.0" ]
17
2017-07-19T13:22:46.000Z
2020-06-09T00:41:44.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config config :example, target: Mix.target() # Customize non-Elixir parts of the firmware. ...
29.583333
82
0.773709
79a2d8c0dd44348d0a1498378331e823834f0254
571
ex
Elixir
lib/edgedb/protocol/types/dimension.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/types/dimension.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/types/dimension.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Types.Dimension do use EdgeDB.Protocol.Type alias EdgeDB.Protocol.Datatypes @lower 1 deftype( name: :dimension, fields: [ upper: Datatypes.Int32.t(), lower: Datatypes.Int32.t() ] ) @impl EdgeDB.Protocol.Type def encode_type(dimension(upper: upper)) do ...
19.689655
67
0.660245
79a2ff68f17d30ce41c242474c381b0b84191ff0
132
exs
Elixir
ether/test/ether_test.exs
entro-pi/cauldron
13688f0bff08604cf5097d3f89ab9253b0230b5b
[ "MIT" ]
5
2019-10-27T07:02:30.000Z
2019-11-26T18:48:22.000Z
ether/test/ether_test.exs
entro-pi/idleHands
13688f0bff08604cf5097d3f89ab9253b0230b5b
[ "MIT" ]
null
null
null
ether/test/ether_test.exs
entro-pi/idleHands
13688f0bff08604cf5097d3f89ab9253b0230b5b
[ "MIT" ]
null
null
null
defmodule EtherTest do use ExUnit.Case doctest Ether test "greets the world" do assert Ether.hello() == :world end end
14.666667
34
0.69697
79a3019f52a5d2b44e9de5bd151ef28c3277678d
1,375
exs
Elixir
test/speakeasy/load_resource_by_id_test.exs
rbino/speakeasy
5bf7b52c21ce97471c5029ef4a6ea563633279c6
[ "MIT" ]
66
2018-08-18T02:53:06.000Z
2021-12-12T18:43:03.000Z
test/speakeasy/load_resource_by_id_test.exs
rbino/speakeasy
5bf7b52c21ce97471c5029ef4a6ea563633279c6
[ "MIT" ]
9
2018-09-10T22:39:45.000Z
2021-08-06T00:30:41.000Z
test/speakeasy/load_resource_by_id_test.exs
rbino/speakeasy
5bf7b52c21ce97471c5029ef4a6ea563633279c6
[ "MIT" ]
9
2018-09-11T03:07:11.000Z
2021-08-06T00:09:03.000Z
defmodule Speakeasy.LoadResourceByIDTest do use ExUnit.Case, async: true alias Speakeasy.LoadResourceByID def mock_resolution() do %Absinthe.Resolution{ state: :unresolved, arguments: %{id: "3", name: "foo"}, context: %{ current_user: "chauncy", speakeasy: %Speakeasy.Context...
31.976744
115
0.659636
79a3040d7e19221536c0daf3850580d64ceb0a84
1,854
exs
Elixir
test/xema/validation_error_test.exs
xadhoom/xema
267fbdbdd30c3e9a99542141d3959dd6cd7f5708
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/xema/validation_error_test.exs
xadhoom/xema
267fbdbdd30c3e9a99542141d3959dd6cd7f5708
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/xema/validation_error_test.exs
xadhoom/xema
267fbdbdd30c3e9a99542141d3959dd6cd7f5708
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule Xema.ValidationErrorTest do use ExUnit.Case, async: true doctest Xema.ValidationError alias Xema.ValidationError alias Xema.Validator describe "Xema.validate!/2" do setup do %{schema: Xema.new(:integer)} end test "returns a ValidationError for invalid data", %{schema: schema} d...
29.428571
85
0.614887
79a304a431f816bcd0cd35350abb79d7386e03b5
3,274
exs
Elixir
test/liblink/socket/recvmsg/impl_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
test/liblink/socket/recvmsg/impl_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
test/liblink/socket/recvmsg/impl_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 (c) Xerpa # # 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, so...
32.74
87
0.638974
79a31a53e903494c29ba57cc864ce4b1c17f57b8
1,348
ex
Elixir
harbor/lib/pier/message/_types/chat_token.ex
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/lib/pier/message/_types/chat_token.ex
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/lib/pier/message/_types/chat_token.ex
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
defmodule Pier.Message.Types.ChatToken do use Ecto.Schema @message_character_limit 100 @primary_key false embedded_schema do field(:type, Pier.Message.Types.ChatTokenType) field(:value, :string, default: "") end defimpl Jason.Encoder do def encode(%{type: type, value: value}, opts) do J...
21.0625
69
0.606825
79a32240bef2d4280111e71ed884cc9f7e134346
1,752
ex
Elixir
lib/job_board_web/controllers/plugs/check_user_permission.ex
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
lib/job_board_web/controllers/plugs/check_user_permission.ex
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
lib/job_board_web/controllers/plugs/check_user_permission.ex
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
defmodule JobBoardWeb.Plugs.CheckUserPermission do import JobBoardWeb.Plugs.PermissionHelper alias JobBoard.Repo def init(_params) do end def call(conn, _params) do user = conn.assigns.current_user |> Repo.preload(:role) role = user.role if role do case conn.private.phoenix_action do...
26.149254
125
0.591895
79a32c0b696e873b9474f228e42b4c30d6068cd2
1,263
exs
Elixir
mix.exs
aleDsz/ecto-xsd
da9eec98cd8e3350184f278272ff5d9a828ce92c
[ "MIT" ]
6
2021-03-11T17:23:14.000Z
2021-11-15T11:13:53.000Z
mix.exs
aleDsz/ecto-xsd
da9eec98cd8e3350184f278272ff5d9a828ce92c
[ "MIT" ]
9
2021-04-13T08:36:29.000Z
2021-07-23T08:42:25.000Z
mix.exs
aleDsz/ecto-xsd
da9eec98cd8e3350184f278272ff5d9a828ce92c
[ "MIT" ]
null
null
null
defmodule EctoXSD.MixProject do use Mix.Project @version "0.1.0" @repo "https://github.com/aledsz/ecto-xsd" def project do [ app: :ecto_xsd, name: "EctoXSD", description: "Ecto-based schemas to handle XSD validations", version: @version, elixir: "~> 1.11", start_permane...
21.40678
75
0.543151
79a373d634f199258595cd8d7adfbab7070344c1
12,549
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/api/achievements.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games_management/lib/google_api/games_management/v1management/api/achievements.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/achievements.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 ...
42.683673
187
0.64794
79a3aacf2e454b3f4c11c4a460fc912eacbb7714
6,348
ex
Elixir
lib/beam_to_ex_ast.ex
olafura/beam_to_ex_ast
5451d189105c3a4b52aedbf4fbc4f0beca3b9b80
[ "Apache-2.0" ]
16
2016-02-12T15:15:58.000Z
2021-08-24T21:48:34.000Z
lib/beam_to_ex_ast.ex
olafura/beam_to_ex_ast
5451d189105c3a4b52aedbf4fbc4f0beca3b9b80
[ "Apache-2.0" ]
1
2016-02-17T04:58:38.000Z
2016-02-17T04:58:38.000Z
lib/beam_to_ex_ast.ex
olafura/beam_to_ex_ast
5451d189105c3a4b52aedbf4fbc4f0beca3b9b80
[ "Apache-2.0" ]
2
2016-02-17T03:21:23.000Z
2016-03-08T09:23:27.000Z
defmodule BeamToExAst do alias BeamToExAst.Translate def convert(list, opts \\ []) do opts = Enum.into(opts, %{}) {mod_name, rest, _opts} = Enum.reduce(list, {"", [], opts}, &do_convert/2) case length(rest) do 1 -> {:defmodule, [line: 1], [{:__aliases__, [line: 1], [mod_name]}, [do: List...
22.352113
99
0.505514
79a3f24720e3e8af543891a578ff2b0867b5948f
666
exs
Elixir
mix.exs
qgadrian/locux
77404174c5c66bd27fed0d07404f916c11060393
[ "MIT" ]
null
null
null
mix.exs
qgadrian/locux
77404174c5c66bd27fed0d07404f916c11060393
[ "MIT" ]
null
null
null
mix.exs
qgadrian/locux
77404174c5c66bd27fed0d07404f916c11060393
[ "MIT" ]
null
null
null
defmodule Locux.Mixfile do use Mix.Project def project do [ app: :locux, version: "0.0.1", elixir: "~> 1.4.5", escript: [main_module: Locux], build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), aliases: aliases(), ] end de...
18.5
63
0.518018
79a409171bc0b6ac4b796373fcc94134bcd8d248
134
exs
Elixir
test/test_helper.exs
tlux/rubberband
bece85cf8049ba487bba1d5df0906f6fbfa146eb
[ "MIT" ]
null
null
null
test/test_helper.exs
tlux/rubberband
bece85cf8049ba487bba1d5df0906f6fbfa146eb
[ "MIT" ]
null
null
null
test/test_helper.exs
tlux/rubberband
bece85cf8049ba487bba1d5df0906f6fbfa146eb
[ "MIT" ]
null
null
null
ExUnit.start() Mox.defmock(MockJSONCodec, for: JSONCodec) Mox.defmock(RubberBand.Client.Drivers.Mock, for: RubberBand.Client.Driver)
26.8
74
0.80597
79a47ae5597fbb17ecbb3e3ac521dda79fec854f
3,381
ex
Elixir
apps/omg_jsonrpc/lib/expose_spec/rpc_translate.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_jsonrpc/lib/expose_spec/rpc_translate.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_jsonrpc/lib/expose_spec/rpc_translate.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "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...
35.21875
111
0.654244
79a47ef385fab786fbe9de304ddf1d60eb9de754
549
exs
Elixir
priv/test_repo/migrations/20210427205854_migrate_resources10.exs
frankdugan3/ash_postgres
ae173f0229ffe1dea821e8a73c2c6b8c858b39f6
[ "MIT" ]
13
2020-09-04T22:31:23.000Z
2022-02-06T13:24:23.000Z
priv/test_repo/migrations/20210427205854_migrate_resources10.exs
frankdugan3/ash_postgres
ae173f0229ffe1dea821e8a73c2c6b8c858b39f6
[ "MIT" ]
57
2019-12-04T15:23:41.000Z
2022-02-14T22:55:16.000Z
priv/test_repo/migrations/20210427205854_migrate_resources10.exs
frankdugan3/ash_postgres
ae173f0229ffe1dea821e8a73c2c6b8c858b39f6
[ "MIT" ]
15
2020-10-22T13:26:25.000Z
2021-07-26T23:49:42.000Z
defmodule AshPostgres.TestRepo.Migrations.MigrateResources10 do @moduledoc """ Updates resources based on their most recent snapshots. This file was autogenerated with `mix ash_postgres.generate_migrations` """ use Ecto.Migration def up do execute( "ALTER INDEX multitenant_orgs_unique_by_name_u...
26.142857
112
0.781421
79a482ac4220bdc7629e576793eac3af0c086470
202
exs
Elixir
test/gotochgo_web/controllers/page_controller_test.exs
geolessel/GOTOchgo2021
4061a04647456712ba08e8f3c3fce6fb6e30751a
[ "Apache-2.0" ]
null
null
null
test/gotochgo_web/controllers/page_controller_test.exs
geolessel/GOTOchgo2021
4061a04647456712ba08e8f3c3fce6fb6e30751a
[ "Apache-2.0" ]
null
null
null
test/gotochgo_web/controllers/page_controller_test.exs
geolessel/GOTOchgo2021
4061a04647456712ba08e8f3c3fce6fb6e30751a
[ "Apache-2.0" ]
2
2021-11-11T17:19:17.000Z
2021-12-27T16:06:23.000Z
defmodule GotochgoWeb.PageControllerTest do use GotochgoWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.444444
60
0.683168
79a4b4db983f8be2b11f3ca9ced3de0dc85bd473
1,327
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/retry_build_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/retry_build_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/retry_build_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
30.860465
79
0.761869
79a4d80fb2d621acbc8b1ac0e4a3ee7f309cce8e
1,467
ex
Elixir
lib/mastering_bitcoin/secp256k1.ex
paulfioravanti/mastering_bitcoin
1cf2eb230d4c04cfca6829ea60c045fe4b0d1756
[ "MIT" ]
6
2018-01-15T06:54:18.000Z
2018-07-12T17:50:29.000Z
lib/mastering_bitcoin/secp256k1.ex
paulfioravanti/mastering_bitcoin
1cf2eb230d4c04cfca6829ea60c045fe4b0d1756
[ "MIT" ]
null
null
null
lib/mastering_bitcoin/secp256k1.ex
paulfioravanti/mastering_bitcoin
1cf2eb230d4c04cfca6829ea60c045fe4b0d1756
[ "MIT" ]
null
null
null
defmodule MasteringBitcoin.Secp256k1 do @moduledoc """ Utility module to deal with functionality around secp265k1 Elliptic Point Cryptography. Specifically, - Generating a secp256k1 public key from a private key - Extracting an Elliptic Curve point (EC Point) with coordinates {x, y} from a secp256k1 publ...
27.679245
80
0.720518
79a50de7a836947f1aa0781eb95f4dba7bfadf78
1,071
exs
Elixir
test/ex_rss/feed_updater_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
4
2020-02-16T07:18:35.000Z
2021-12-09T14:43:10.000Z
test/ex_rss/feed_updater_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
27
2019-10-16T18:35:19.000Z
2022-03-13T16:39:57.000Z
test/ex_rss/feed_updater_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
null
null
null
defmodule ExRss.FeedUpdaterTest do use ExRss.DataCase alias Ecto.Multi alias ExRss.Feed alias ExRss.FeedUpdater test "updates entries" do feed = %Feed{id: 1, title: "This is a title", url: "http://example.com", user_id: 1} raw_feed = %{ title: "This is a title", entries: [ %{ ...
26.775
88
0.573296
79a5160e755823003c0ef1545212b7a41ca50e5d
1,089
exs
Elixir
12-new-project/facade/test/schedule_server_handler_test.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
12-new-project/facade/test/schedule_server_handler_test.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
12-new-project/facade/test/schedule_server_handler_test.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule ScheduleServerHandlerTest do use ExUnit.Case doctest ScheduleServerHandler test "Throws error because stops before starts" do {:ok, server} = ScheduleServer.start_link() handler = %ScheduleServerHandler{server: server} {:error, _} = ServerHandler.stop(handler) end test "starts with err...
34.03125
76
0.716253
79a518735d0f535436a9ee15fa135658fb9bb468
1,635
ex
Elixir
lib/crit/setup/animal_impl/write.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit/setup/animal_impl/write.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit/setup/animal_impl/write.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule Crit.Setup.AnimalImpl.Write do alias Ecto.ChangesetX alias Ecto.Changeset alias Crit.Setup.Schemas.{Animal, ServiceGap} alias Crit.Setup.AnimalApi alias Crit.Sql def update(animal, attrs, institution) do case try_update(animal, attrs, institution) do {:error, %{errors: [{:optimistic_loc...
30.277778
77
0.681346
79a52c2319114f6ccf1dde42d8f6eae2da74400b
1,388
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/object_references.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/object_references.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/object_references.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.531915
80
0.729107
79a5426fc511dca6756dc6196d3941bef7f002a0
2,554
exs
Elixir
test/json_schema_test_suite/draft4/minimum_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft4/minimum_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft4/minimum_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule JsonSchemaTestSuite.Draft4.MinimumTest do use ExUnit.Case import Xema, only: [valid?: 2] describe "minimum validation" do setup do %{ schema: Xema.from_json_schema( %{"minimum" => 1.1}, draft: "draft4" ) } end test "above the...
22.403509
68
0.566171
79a57453c8a223648fbcb8ef6e48ca1858170741
6,836
exs
Elixir
test/fun_with_flags/gate_test.exs
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
test/fun_with_flags/gate_test.exs
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
test/fun_with_flags/gate_test.exs
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
defmodule FunWithFlags.GateTest do use ExUnit.Case, async: true alias FunWithFlags.Gate alias FunWithFlags.TestUser describe "new() for boolean gates" do test "new(:boolean, true|false) returns a new Boolean Gate" do assert %Gate{type: :boolean, for: nil, enabled: true} = Gate.new(:boolean, true) ...
36.169312
110
0.629754
79a59e1778644921c372a1a90fc033bfaa0d626d
690
exs
Elixir
test/portmidi/devices_test.exs
thbar/ex-portmidi
ad4abde02af60686f9dee8b066b92b5ffb79019b
[ "MIT" ]
8
2021-05-01T19:01:07.000Z
2021-05-18T12:19:25.000Z
test/portmidi/devices_test.exs
thbar/ex-portmidi
ad4abde02af60686f9dee8b066b92b5ffb79019b
[ "MIT" ]
1
2021-10-13T13:55:47.000Z
2021-10-13T13:55:47.000Z
test/portmidi/devices_test.exs
thbar/ex-portmidi
ad4abde02af60686f9dee8b066b92b5ffb79019b
[ "MIT" ]
null
null
null
defmodule PortMidiDevicesTest do alias PortMidi.Device use ExUnit.Case, async: false import Mock @mock_nif_devices %{ input: [%{name: 'Launchpad Mini', interf: 'CoreMIDI', input: 1, output: 0, opened: 0}], output: [%{name: 'Launchpad Mini', interf: 'CoreMIDI', input: 0, output: 1, opened: 0}] } ...
36.315789
114
0.657971
79a5e004819fcdf9bdc009551265a13f06bc9b33
2,133
ex
Elixir
verify/lib/ua_inspector_verify/cleanup/generic.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
57
2015-04-07T03:10:45.000Z
2019-03-11T01:01:40.000Z
verify/lib/ua_inspector_verify/cleanup/generic.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
16
2015-03-09T19:56:17.000Z
2019-03-16T14:24:02.000Z
verify/lib/ua_inspector_verify/cleanup/generic.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
15
2015-02-02T23:14:00.000Z
2019-03-16T13:15:05.000Z
defmodule UAInspectorVerify.Cleanup.Generic do @moduledoc """ Cleans up testcases. """ alias UAInspectorVerify.Cleanup.Base @empty_to_unknown [ [:client], [:client, :engine], [:client, :engine_version], [:client, :version], [:device, :brand], [:device, :model], [:device, :type], ...
21.989691
89
0.626817
79a5e886d6dcdd4e73d68a4a1b34a7c27dbca85b
129
exs
Elixir
ring/test/ring_test.exs
mrmarbury/TheLittleElixirAndOTPGuideBook
5aa46cdaee896ab5ecd87d3cf86bd7f9140fcda8
[ "Apache-2.0" ]
null
null
null
ring/test/ring_test.exs
mrmarbury/TheLittleElixirAndOTPGuideBook
5aa46cdaee896ab5ecd87d3cf86bd7f9140fcda8
[ "Apache-2.0" ]
null
null
null
ring/test/ring_test.exs
mrmarbury/TheLittleElixirAndOTPGuideBook
5aa46cdaee896ab5ecd87d3cf86bd7f9140fcda8
[ "Apache-2.0" ]
null
null
null
defmodule RingTest do use ExUnit.Case doctest Ring test "greets the world" do assert Ring.hello() == :world end end
14.333333
33
0.689922
79a5edcbfda2e8131810b984e8512c9f429c6bb1
888
ex
Elixir
solomon/web/views/account_role_view.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
solomon/web/views/account_role_view.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
solomon/web/views/account_role_view.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Solomon.AccountRoleView do use Solomon.Web, :view alias Solomon.AccountRoleView alias Solomon.PermissionView #Throughout this controller, we present the id of the granted_role as the AccountRole ID def render("index.json", %{account_roles: account_roles}) do %{granted_roles: render_many(account...
32.888889
90
0.734234
79a601ff769619c9366cd002792a8ef8ad3838d0
1,591
ex
Elixir
clients/run/lib/google_api/run/v1/model/configuration_spec.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/run/lib/google_api/run/v1/model/configuration_spec.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/run/lib/google_api/run/v1/model/configuration_spec.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.851064
166
0.7467
79a6417261577a78b06016b09cf698c2c6245458
274
exs
Elixir
lib/mix/test/fixtures/deps_status/custom/deps_repo/mix.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/deps_status/custom/deps_repo/mix.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/deps_status/custom/deps_repo/mix.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule DepsRepo do use Mix.Project def project do opts = Process.get(:custom_deps_git_repo_opts) || [] [ app: :deps_repo, version: "0.1.0", deps: [{:git_repo, "0.1.0", [git: MixTest.Case.fixture_path("git_repo")] ++ opts}] ] end end
19.571429
88
0.59854
79a688dd7724424de50c980b27dfe89eeb54f5af
3,497
exs
Elixir
test/movement/builders/new_version_test.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
test/movement/builders/new_version_test.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
test/movement/builders/new_version_test.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule AccentTest.Movement.Builders.NewVersion do use Accent.RepoCase alias Accent.{ Document, Language, ProjectCreator, Repo, Translation, User, Version } alias Movement.Builders.NewVersion, as: NewVersionBuilder @user %User{email: "test@test.com"} setup do user = Rep...
29.888889
146
0.585645
79a6f9e9eff0acf02e8cfbe08a5f37e4441524b5
7,539
ex
Elixir
lib/ecto/exceptions.ex
tcrossland/ecto
e028a90920fed27865075787d33c2ad61f45fd24
[ "Apache-2.0" ]
2
2021-02-25T15:51:16.000Z
2021-02-25T18:42:35.000Z
lib/ecto/exceptions.ex
tcrossland/ecto
e028a90920fed27865075787d33c2ad61f45fd24
[ "Apache-2.0" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
lib/ecto/exceptions.ex
tcrossland/ecto
e028a90920fed27865075787d33c2ad61f45fd24
[ "Apache-2.0" ]
1
2021-02-25T15:28:45.000Z
2021-02-25T15:28:45.000Z
defmodule Ecto.Query.CompileError do @moduledoc """ Raised at compilation time when the query cannot be compiled. """ defexception [:message] end defmodule Ecto.Query.CastError do @moduledoc """ Raised at runtime when a value cannot be cast. """ defexception [:type, :value, :message] def exception(o...
24.557003
95
0.661228
79a729cd734d7e86c9c416ff9c09148d3e597e02
1,102
exs
Elixir
elixir/test/homework_web/schema/mutation/update_merchant_test.exs
ztoolson/web-homework
09865a5df66fe8f380dfe0d848bbfae8398be1ef
[ "MIT" ]
null
null
null
elixir/test/homework_web/schema/mutation/update_merchant_test.exs
ztoolson/web-homework
09865a5df66fe8f380dfe0d848bbfae8398be1ef
[ "MIT" ]
null
null
null
elixir/test/homework_web/schema/mutation/update_merchant_test.exs
ztoolson/web-homework
09865a5df66fe8f380dfe0d848bbfae8398be1ef
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schema.Query.UpdateMerchantTest do use HomeworkWeb.ConnCase, async: true alias Homework.Repo alias Homework.Merchants.Merchant @query """ mutation Update($id: ID!, $name: Name!, $description: Description!) { updateMerchant(id: $id, name: $name, description: $description) { id...
23.956522
71
0.534483
79a72ce2441aaa359c6742e88baf4d41a1f50bee
374
exs
Elixir
test/backends_test.exs
am-kantox/envio
ebcd4647b10265054267839fad8e31e25b3ec0e4
[ "MIT" ]
12
2018-07-25T08:38:05.000Z
2020-05-16T07:29:11.000Z
test/backends_test.exs
am-kantox/envio
ebcd4647b10265054267839fad8e31e25b3ec0e4
[ "MIT" ]
6
2018-07-26T17:09:44.000Z
2021-10-19T06:39:44.000Z
test/backends_test.exs
am-kantox/envio
ebcd4647b10265054267839fad8e31e25b3ec0e4
[ "MIT" ]
null
null
null
defmodule Envio.Backends.Test do use ExUnit.Case, async: true doctest Envio.Backends test "#pub_sub with registry" do Spitter.Registry.spit(:backends, %{bar: 42, pid: self()}) assert_receive :on_envio_called, 1_000 end test "#pub_sub with pg2" do Spitter.PG2.spit("main", %{bar: 42, pid: self()})...
24.933333
61
0.697861
79a7312d9c21c576011e084f2a24d02990a0ff1d
672
exs
Elixir
test/fixtures/delegate_bench.exs
hrzndhrn/benchee_dsl
a6061e751fdd625147fdd320dd6ef3dedb903b30
[ "MIT" ]
3
2020-07-18T11:02:23.000Z
2021-06-24T12:32:56.000Z
test/fixtures/delegate_bench.exs
hrzndhrn/benchee_dsl
a6061e751fdd625147fdd320dd6ef3dedb903b30
[ "MIT" ]
6
2020-05-02T15:32:26.000Z
2020-10-22T11:33:08.000Z
test/fixtures/delegate_bench.exs
hrzndhrn/benchee_dsl
a6061e751fdd625147fdd320dd6ef3dedb903b30
[ "MIT" ]
1
2020-10-22T11:06:05.000Z
2020-10-22T11:06:05.000Z
defmodule Foo do def flat_map(a, b) do a |> data(b) |> Enum.flat_map(&map_fun/1) end def map_flatten(a, b) do a |> data(b) |> Enum.map(&map_fun/1) |> List.flatten() end def data(a, b), do: Enum.to_list(a..b) def map_fun(i), do: [i, i * i] end defmodule Foo.Bar.Baz do import Foo def flat_map...
16.390244
58
0.602679
79a7936fbefbcf0bfb37b1aac99b2e63f24275f4
1,558
ex
Elixir
web/web.ex
bionikspoon/classroom-dashboard
c324eeab568335591daf83ae0bdd9a60d25f4595
[ "MIT" ]
null
null
null
web/web.ex
bionikspoon/classroom-dashboard
c324eeab568335591daf83ae0bdd9a60d25f4595
[ "MIT" ]
null
null
null
web/web.ex
bionikspoon/classroom-dashboard
c324eeab568335591daf83ae0bdd9a60d25f4595
[ "MIT" ]
null
null
null
defmodule Dashboard.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Dashboard.Web, :controller use Dashboard.Web, :view The definitions below will be executed for every view, controller, etc, so keep th...
19.721519
88
0.672657
79a799d84bcca0d1de214aedffdcf8a1ab7df03d
2,123
exs
Elixir
test/liblink/socket/sendmsg/send_state_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
test/liblink/socket/sendmsg/send_state_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
test/liblink/socket/sendmsg/send_state_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 (c) Xerpa # # 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, so...
29.082192
91
0.672162
79a79d826c4ff6b03e90141b19b391bb1161a261
1,927
ex
Elixir
lib/jsonrpc2/object.ex
arpnetwork/jsonrpc2_ex
b94a26ab207bede74502452bb53d4a25d82e039f
[ "Apache-2.0" ]
3
2018-08-13T13:12:19.000Z
2018-09-21T16:31:31.000Z
lib/jsonrpc2/object.ex
arpnetwork/jsonrpc2_ex
b94a26ab207bede74502452bb53d4a25d82e039f
[ "Apache-2.0" ]
null
null
null
lib/jsonrpc2/object.ex
arpnetwork/jsonrpc2_ex
b94a26ab207bede74502452bb53d4a25d82e039f
[ "Apache-2.0" ]
null
null
null
defmodule JSONRPC2.Object do @moduledoc """ JSON RPC Object. """ alias JSONRPC2.Misc @doc """ Returns `true` if `term` is an `id`; otherwise returns `false`. ## Examples iex> alias JSONRPC2.Object iex> Object.is_id("123") true iex> Object.is_id(123) true iex> Object...
20.72043
68
0.568241
79a7b331d54d7a3fa4792c164c69e12fd2daa106
1,056
exs
Elixir
clients/sts/test/test_helper.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sts/test/test_helper.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sts/test/test_helper.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.333333
83
0.736742
79a7b972f93e873e7d16439f31e8a974837a6c2f
1,806
exs
Elixir
rel/config/config.exs
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
17
2019-01-31T18:33:09.000Z
2022-01-18T12:38:49.000Z
rel/config/config.exs
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
null
null
null
rel/config/config.exs
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
4
2018-11-10T01:56:17.000Z
2020-06-09T21:10:41.000Z
use Mix.Config defmodule Revista.ConfigHelpers do @moduledoc false def integer_var(varname, default \\ 1) do case System.get_env(varname) do nil -> default val -> String.to_integer(val) end end end alias Revista.ConfigHelpers # Set Configuration admin = %{ port: ConfigHelpers.integer_va...
24.739726
61
0.725914
79a7ca99c512b2a5f5714a72e99ec1afa052ad41
1,370
exs
Elixir
mix.exs
michaelst/surface_bulma
d978480c3eae32dd64ac83172babf17dad19e071
[ "MIT" ]
null
null
null
mix.exs
michaelst/surface_bulma
d978480c3eae32dd64ac83172babf17dad19e071
[ "MIT" ]
null
null
null
mix.exs
michaelst/surface_bulma
d978480c3eae32dd64ac83172babf17dad19e071
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.MixProject do use Mix.Project @source_url "https://github.com/surface-ui/surface_bulma" @version "0.1.0" def project do [ app: :surface_bulma, description: "A set of simple Surface components based on Bulma.", version: @version, elixir: "~> 1.9", elixir...
21.40625
72
0.551095
79a7f207935ce7e2daea9424f0079a3fc9caf3c4
1,895
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/list_note_occurrences_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/list_note_occurrences_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/list_note_occurrences_response.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...
37.9
160
0.75409
79a81481f089d0e85ef505f1f75dfa16102704cc
1,339
ex
Elixir
lib/surface/components/form/multiple_select.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
lib/surface/components/form/multiple_select.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
lib/surface/components/form/multiple_select.ex
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.MultipleSelect do @moduledoc """ Defines a select. Provides a wrapper for Phoenix.HTML.Form's `multiple_select/4` function. All options passed via `opts` will be sent to `multiple_select/4`, `class` can be set directly and will override anything in `opts`. """ use Surf...
25.75
81
0.70351
79a8431f694604b9a1b449effbd6282c7165f12e
4,654
ex
Elixir
debian/manpage.sgml.ex
timmy00274672/demo_dh_make
9a241f67131019911d07d41407c3240ff70c241a
[ "RSA-MD" ]
null
null
null
debian/manpage.sgml.ex
timmy00274672/demo_dh_make
9a241f67131019911d07d41407c3240ff70c241a
[ "RSA-MD" ]
null
null
null
debian/manpage.sgml.ex
timmy00274672/demo_dh_make
9a241f67131019911d07d41407c3240ff70c241a
[ "RSA-MD" ]
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.025806
75
0.658358
79a84e7ad3432abc418629cfc3fc1dd0d4e195f2
5,736
ex
Elixir
lib/pow/plug/base.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
lib/pow/plug/base.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/pow/plug/base.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
defmodule Pow.Plug.Base do @moduledoc """ This plug macro will set `:pow_config` as private, and attempt to fetch and assign a user in the connection if it has not already been assigned. The user will be assigned automatically in any of the operations. Any writes to backend store or client should occur in `:...
31.005405
109
0.639644
79a85252695d343b381815a72505baaaf946d7d6
85,704
ex
Elixir
lib/elixir/lib/string.ex
donaldww/elixir
62fb3a62de182beb99de8c969cbee0d2c22d628a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
donaldww/elixir
62fb3a62de182beb99de8c969cbee0d2c22d628a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
donaldww/elixir
62fb3a62de182beb99de8c969cbee0d2c22d628a
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [length: 1] defmodule String do @moduledoc ~S""" Strings in Elixir are UTF-8 encoded binaries. Strings in Elixir are a sequence of Unicode characters, typically written between double quoted strings, such as `"hello"` and `"héllò"`. In case a string must have a double-quote in itse...
29.48194
102
0.650075
79a86e88939dc24a410c7c1bbd5726646c32631f
5,279
exs
Elixir
test/image_test.exs
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
test/image_test.exs
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
test/image_test.exs
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
defmodule ImageTest do use ExUnit.Case alias Jocker.Engine.{Config, Image, MetaData, Layer, Network} @moduletag :capture_log @tmp_dockerfile "tmp_dockerfile" @tmp_context "./" setup_all do Application.stop(:jocker) TestHelper.clear_zroot() start_supervised(Config) :ok end setup do ...
31.993939
93
0.679295