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
b25caabfcdf89672b2e122972e593a8954713c6c
4,633
ex
Elixir
lib/mssqlex/odbc.ex
cogini/mssqlex
f94654f1b2b167b5edf07c985a577313d31fd84d
[ "Apache-2.0" ]
null
null
null
lib/mssqlex/odbc.ex
cogini/mssqlex
f94654f1b2b167b5edf07c985a577313d31fd84d
[ "Apache-2.0" ]
null
null
null
lib/mssqlex/odbc.ex
cogini/mssqlex
f94654f1b2b167b5edf07c985a577313d31fd84d
[ "Apache-2.0" ]
1
2022-03-26T03:22:44.000Z
2022-03-26T03:22:44.000Z
defmodule Mssqlex.ODBC do @moduledoc """ Adapter to Erlang's `:odbc` module. This module is a GenServer that handles communication between Elixir and Erlang's `:odbc` module. Transformations are kept to a minimum, primarily just translating binaries to charlists and vice versa. It is used by `Mssq...
26.936047
82
0.622923
b25cc322f2d3a4e0446738314171b33268597d80
2,574
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_search_catalog_request_scope.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_search_catalog_request_scope.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_search_catalog_request_scope.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...
39.6
144
0.739316
b25cce5f323dcb88f1b3f795b2bd17fd7ec6b9e8
24,241
exs
Elixir
test/phoenix_live_view/integrations/elements_test.exs
joshuataylor/phoenix_live_view
4b4023c07b5c082505961139c4a5c92045c95e23
[ "MIT" ]
1
2020-07-26T12:20:43.000Z
2020-07-26T12:20:43.000Z
test/phoenix_live_view/integrations/elements_test.exs
mcrumm/phoenix_live_view
ff2313f42444c27e7652ebc5e4ee94ffa619bf85
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/elements_test.exs
mcrumm/phoenix_live_view
ff2313f42444c27e7652ebc5e4ee94ffa619bf85
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ElementsTest do use ExUnit.Case, async: true use Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveViewTest.{Endpoint} @endpoint Endpoint defp last_event(view) do view |> element("#last-event") |> render() |> HtmlEntities.decode() end setup do {:ok, li...
39.544861
168
0.551545
b25cf09c9435de6b08e25bb27969c990c2c23211
442
exs
Elixir
app/test/ubg5_web/views/error_view_test.exs
finalclass/ubg5
237c51f4a54668cc8164382a3895d9dcf07ae6e0
[ "MIT" ]
null
null
null
app/test/ubg5_web/views/error_view_test.exs
finalclass/ubg5
237c51f4a54668cc8164382a3895d9dcf07ae6e0
[ "MIT" ]
2
2021-03-09T13:44:12.000Z
2021-05-10T05:02:52.000Z
app/test/ubg5_web/views/error_view_test.exs
finalclass/ubg5
237c51f4a54668cc8164382a3895d9dcf07ae6e0
[ "MIT" ]
null
null
null
defmodule Ubg5Web.ErrorViewTest do use Ubg5Web.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(Ubg5Web.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.json" do ...
27.625
89
0.674208
b25cf7c7c7b2d6b94219551742a6668635df948e
9,751
exs
Elixir
test/mint/http2/frame_test.exs
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
477
2019-10-28T14:53:23.000Z
2022-03-30T08:13:21.000Z
test/mint/http2/frame_test.exs
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
108
2019-11-05T04:21:04.000Z
2022-02-24T18:36:15.000Z
test/mint/http2/frame_test.exs
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
56
2019-11-10T01:19:56.000Z
2022-03-25T18:08:06.000Z
defmodule Mint.HTTP2.FrameTest do use ExUnit.Case, async: true use ExUnitProperties use Bitwise, skip_operators: true import Mint.HTTP2.Frame, except: [decode_next: 1, encode_raw: 4] alias Mint.HTTP2.Frame test "set_flags/2" do assert set_flags(:ping, [:ack]) == 0x01 assert set_flags(:data, [:en...
31.970492
95
0.543329
b25cff24be7746fc2f3df08716a4639394df11db
227
ex
Elixir
lib/membrane_element_opus.ex
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_opus.ex
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_opus.ex
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.Opus do @moduledoc false use Application def start(_type, _args) do children = [] opts = [strategy: :one_for_one, name: __MODULE__] Supervisor.start_link(children, opts) end end
18.916667
53
0.709251
b25d347efd7981435d9e2919872035e939c5eb7a
1,095
ex
Elixir
lib/the_fuzz/similarity/jaro.ex
jmoggee/the_fuzz
20e1eb0acd8a070f9e0fab87fb5dae02a632f6c4
[ "Apache-2.0" ]
76
2015-02-05T13:54:38.000Z
2021-11-23T12:31:00.000Z
lib/the_fuzz/similarity/jaro.ex
jmoggee/the_fuzz
20e1eb0acd8a070f9e0fab87fb5dae02a632f6c4
[ "Apache-2.0" ]
6
2015-08-26T13:40:26.000Z
2019-01-09T17:00:48.000Z
lib/the_fuzz/similarity/jaro.ex
jmoggee/the_fuzz
20e1eb0acd8a070f9e0fab87fb5dae02a632f6c4
[ "Apache-2.0" ]
8
2015-05-13T14:06:48.000Z
2021-10-31T19:43:27.000Z
defmodule TheFuzz.Similarity.Jaro do @moduledoc """ Calculates the [Jaro Distance](http://en.wikipedia.org/wiki/ Jaro-Winkler_distance) between two strings. """ @behaviour TheFuzz.StringMetric @doc """ Calculates the Jaro distance between two strings. This used to be implemented here, but since Elixir...
32.205882
75
0.694977
b25d61aca16f0a12607881a74af107a129ceab4f
958
ex
Elixir
test/support/channel_case.ex
easink/fomantic_ui
069e3d9f8bf6859223d35d8e14e97d9e0fb03848
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
easink/fomantic_ui
069e3d9f8bf6859223d35d8e14e97d9e0fb03848
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
easink/fomantic_ui
069e3d9f8bf6859223d35d8e14e97d9e0fb03848
[ "Apache-2.0" ]
null
null
null
defmodule FomanticUIWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
27.371429
67
0.742171
b25d8b02cd287c0900d3d8716afcb82e48e333ef
1,009
ex
Elixir
lib/tesla/middleware/method_override.ex
hasclass/tesla
c1ee0e3417ea269124869ca1ff33fd2364391154
[ "MIT" ]
1
2020-12-21T03:45:23.000Z
2020-12-21T03:45:23.000Z
lib/tesla/middleware/method_override.ex
hasclass/tesla
c1ee0e3417ea269124869ca1ff33fd2364391154
[ "MIT" ]
null
null
null
lib/tesla/middleware/method_override.ex
hasclass/tesla
c1ee0e3417ea269124869ca1ff33fd2364391154
[ "MIT" ]
null
null
null
defmodule Tesla.Middleware.MethodOverride do @behaviour Tesla.Middleware @moduledoc """ Middleware that adds X-Http-Method-Override header with original request method and sends the request as post. Useful when there's an issue with sending non-post request. ### Example ``` defmodule MyClient do ...
20.591837
74
0.640238
b25d8e1b10397d3c78330826229e3746e417cb10
3,609
ex
Elixir
lib/brando/navigation/menu.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando/navigation/menu.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando/navigation/menu.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.Navigation.Menu do use Brando.Blueprint, application: "Brando", domain: "Navigation", schema: "Menu", singular: "menu", plural: "menus", gettext_module: Brando.Gettext import Brando.Gettext trait Brando.Trait.Creator trait Brando.Trait.Sequenced trait Brando.Trait.Ti...
28.642857
403
0.56082
b25d906a3cf1e5311a710fe9e7fc0e0beec55071
2,642
ex
Elixir
clients/content/lib/google_api/content/v21/model/pos_custom_batch_response_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/pos_custom_batch_response_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/pos_custom_batch_response_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.612903
159
0.713096
b25dbb24994313549ff435b282af537493b48198
192
exs
Elixir
apps/core/priv/repo/migrations/20200717182733_add_roles_to_users.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/core/priv/repo/migrations/20200717182733_add_roles_to_users.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/core/priv/repo/migrations/20200717182733_add_roles_to_users.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
defmodule Legendary.Core.Repo.Migrations.AddRolesToUsers do use Ecto.Migration def change do alter table(:users) do add :roles, {:array, :string}, default: [] end end end
19.2
59
0.6875
b25dc99138fc687e3958ebd7798badf3fab4eede
8,371
ex
Elixir
lib/nostrum/voice/audio.ex
frm/nostrum
a4ec80ab73d7d421347fd7a26fc107a4ec66d667
[ "MIT" ]
null
null
null
lib/nostrum/voice/audio.ex
frm/nostrum
a4ec80ab73d7d421347fd7a26fc107a4ec66d667
[ "MIT" ]
null
null
null
lib/nostrum/voice/audio.ex
frm/nostrum
a4ec80ab73d7d421347fd7a26fc107a4ec66d667
[ "MIT" ]
null
null
null
defmodule Nostrum.Voice.Audio do @moduledoc false require Logger alias Nostrum.Error.VoiceError alias Nostrum.Struct.VoiceState alias Nostrum.Util alias Nostrum.Voice alias Nostrum.Voice.Ports @encryption_mode "xsalsa20_poly1305" @samples_per_frame 960 @usec_per_frame 20_000 # Default value @...
23.917143
90
0.576514
b25dcead095236e08a23276ae92fb7de740d4793
1,910
ex
Elixir
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/mobile_application_targeting.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/mobile_application_targeting.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/mobile_application_targeting.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...
34.107143
233
0.763874
b25ddaf0f72295e5658e85cb08d530e683b5928a
1,449
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_uiv1beta3_batch_move_documents_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_uiv1beta3_batch_move_documents_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_uiv1beta3_batch_move_documents_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...
30.829787
99
0.777088
b25dee188186c3f1c1d46557fbb43390bf78fc25
305
exs
Elixir
config/environments/dev.exs
aforward-oss/dynamo_demo
816d7fab1cd46a7800b6bf5ed2225f22af62b599
[ "MIT" ]
null
null
null
config/environments/dev.exs
aforward-oss/dynamo_demo
816d7fab1cd46a7800b6bf5ed2225f22af62b599
[ "MIT" ]
null
null
null
config/environments/dev.exs
aforward-oss/dynamo_demo
816d7fab1cd46a7800b6bf5ed2225f22af62b599
[ "MIT" ]
null
null
null
config :dynamo, # Compile modules as they are accessed. # This makes development easy as we don't # need to explicitly compile files. compile_on_demand: true, # Every time a module in app changes, we # will clean up defined modules and pick # up the latest versions. reload_modules: true
27.727273
43
0.731148
b25e25a3254402f7816b92a5bae2d6fc9771c2d5
22,561
ex
Elixir
lib/elixir/lib/application.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/elixir/lib/application.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/application.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
defmodule Application do @moduledoc """ A module for working with applications and defining application callbacks. In Elixir (actually, in Erlang/OTP), an application is a component implementing some specific functionality, that can be started and stopped as a unit, and which can be re-used in other systems....
35.64139
107
0.700412
b25e286a9320f74979cfc26181e7877f11082ebf
1,365
ex
Elixir
lib/npc.ex
chrisduesing/theatre
0e816a7bb8fedf9f2b4a1a0ace581f556fa81d3a
[ "MIT" ]
null
null
null
lib/npc.ex
chrisduesing/theatre
0e816a7bb8fedf9f2b4a1a0ace581f556fa81d3a
[ "MIT" ]
null
null
null
lib/npc.ex
chrisduesing/theatre
0e816a7bb8fedf9f2b4a1a0ace581f556fa81d3a
[ "MIT" ]
null
null
null
defmodule Npc do use Actor # API ###################### attribute :avatar, :pid def new() do state = HashDict.new([avatar: nil]) start(state) end def play(player, avatar, world, area, room), do: sync_call(player, :play, {avatar, world, area, room}) # Private ############### defp handl...
26.25
109
0.581685
b25e4711dd4cacc25b278bc38b7e34ce34d64ad9
8,393
ex
Elixir
test/support/fixtures.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/fixtures.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/fixtures.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Test.Fixtures do alias Epicenter.AuditLog alias Epicenter.Accounts.User alias Epicenter.Cases.CaseInvestigation alias Epicenter.ContactInvestigations.ContactInvestigation alias Epicenter.Cases.LabResult alias Epicenter.Cases.Person alias Epicenter.Cases.Place alias Epicenter.DatePars...
26.146417
142
0.609317
b25e7c41b2d7f512d4001c9edf9284875d945ff9
1,853
exs
Elixir
test/noray/vector_test.exs
jdfrens/noray_elixir
8cfc3113130d13c6589cb46cfb72f71a27ea2c18
[ "MIT" ]
null
null
null
test/noray/vector_test.exs
jdfrens/noray_elixir
8cfc3113130d13c6589cb46cfb72f71a27ea2c18
[ "MIT" ]
4
2020-08-26T21:02:04.000Z
2020-11-02T21:01:51.000Z
test/noray/vector_test.exs
jdfrens/noray_elixir
8cfc3113130d13c6589cb46cfb72f71a27ea2c18
[ "MIT" ]
null
null
null
defmodule Noray.VectorTest do use ExUnit.Case, async: true alias Noray.Vector describe "accessors" do test "returns field values" do vector = Vector.new(1.1, 2.2, 3.3) assert Vector.x(vector) == 1.1 assert Vector.y(vector) == 2.2 assert Vector.z(vector) == 3.3 end end descri...
27.25
86
0.61306
b25e930bc9e4470e7da0f0345083a5fa7cc63b16
587
ex
Elixir
lib/step_flow/controllers/fallback_controller.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
4
2019-12-07T05:18:26.000Z
2020-11-06T23:28:43.000Z
lib/step_flow/controllers/fallback_controller.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
53
2020-01-06T11:23:09.000Z
2021-06-25T15:30:07.000Z
lib/step_flow/controllers/fallback_controller.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
3
2020-01-30T15:37:40.000Z
2020-10-27T14:10:02.000Z
defmodule StepFlow.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use StepFlow, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> put_status(:u...
25.521739
72
0.689949
b25ea1e59972f1fe8618242c8ba30bbcfd4a4a4e
356
exs
Elixir
priv/repo/migrations/20170420110826_create_dictionaries_dictionary.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
1
2017-07-27T16:03:28.000Z
2017-07-27T16:03:28.000Z
priv/repo/migrations/20170420110826_create_dictionaries_dictionary.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170420110826_create_dictionaries_dictionary.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
defmodule PRM.Repo.Migrations.CreatePRM.Dictionaries.Dictionary do use Ecto.Migration def change do create table(:dictionaries, primary_key: false) do add :name, :string, primary_key: true add :values, :map, null: false add :labels, :map, null: false add :is_active, :boolean, default: f...
27.384615
66
0.691011
b25ebe8def894c610a4a3c14acfbcde71f4fba55
1,205
ex
Elixir
lib/oli/authoring/media_library/item_options.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/authoring/media_library/item_options.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/authoring/media_library/item_options.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Authoring.MediaLibrary.ItemOptions do defstruct [:offset, :limit, :mime_filter, :url_filter, :search_text, :order_field, :order] @type t() :: %__MODULE__{ offset: integer, limit: integer, mime_filter: [String.t()], url_filter: String.t(), search_text:...
27.386364
92
0.582573
b25ec49c4ab2d7c12d974cfbe476588ec62161c9
2,679
ex
Elixir
lib/glue_web/controllers/guest_book_comment_controller.ex
seanbreckenridge/glue
60cbe6478be27572de6c6d5276a806b5940ffcbc
[ "Apache-2.0" ]
5
2020-07-04T12:18:58.000Z
2022-01-13T22:35:40.000Z
lib/glue_web/controllers/guest_book_comment_controller.ex
seanbreckenridge/glue
60cbe6478be27572de6c6d5276a806b5940ffcbc
[ "Apache-2.0" ]
37
2020-07-20T23:35:56.000Z
2022-03-19T02:13:16.000Z
lib/glue_web/controllers/guest_book_comment_controller.ex
seanbreckenridge/glue
60cbe6478be27572de6c6d5276a806b5940ffcbc
[ "Apache-2.0" ]
null
null
null
defmodule GlueWeb.GuestBookCommentController do use GlueWeb, :controller alias Glue.GuestBookComments alias Glue.GuestBookComments.GuestBookComment action_fallback GlueWeb.FallbackController @message_limit 250 def index(conn, _params) do # gb_comment = GuestBookComments.list_gb_comment() # List ...
34.792208
105
0.66704
b25edb52d4c0855150133d3b5e71bc21ee51d2e6
33
ex
Elixir
lib/pdf_party/reader.ex
luisgabrielroldan/pdf_party
f26fd69a05a9050a1a8faaa226c0c3ad5ba1c6db
[ "MIT" ]
4
2018-10-26T02:11:14.000Z
2019-04-25T20:59:52.000Z
lib/pdf_party/reader.ex
luisgabrielroldan/pdf_party
f26fd69a05a9050a1a8faaa226c0c3ad5ba1c6db
[ "MIT" ]
1
2018-10-26T21:20:40.000Z
2018-10-26T21:20:40.000Z
lib/pdf_party/reader.ex
luisgabrielroldan/pdf_party
f26fd69a05a9050a1a8faaa226c0c3ad5ba1c6db
[ "MIT" ]
1
2018-10-26T02:11:17.000Z
2018-10-26T02:11:17.000Z
defmodule PDFParty.Reader do end
11
28
0.848485
b25f1d63ae824cce3f3f1a8b58ff68c7cc593cd4
2,180
ex
Elixir
lib/daguex/processor/convert_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
lib/daguex/processor/convert_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
lib/daguex/processor/convert_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
defmodule Daguex.Processor.ConvertImage do @moduledoc """ Processor that convert given image to targeting format This processor in the charge of converting image to specified format and save the results to the `variants` field of `Daguex.Image` Convert `Context.image_file` to the format specified in the opts...
34.0625
124
0.680275
b25f3945d15e98c23bde155c5f3b64ffbe80777a
1,585
ex
Elixir
test/support/data_case.ex
brandaoplaster/personal_training
6b30501d1e96f500eace4ba241af8bbd40e7287a
[ "MIT" ]
null
null
null
test/support/data_case.ex
brandaoplaster/personal_training
6b30501d1e96f500eace4ba241af8bbd40e7287a
[ "MIT" ]
3
2022-03-06T17:39:09.000Z
2022-03-06T19:24:53.000Z
test/support/data_case.ex
brandaoplaster/personal_training
6b30501d1e96f500eace4ba241af8bbd40e7287a
[ "MIT" ]
null
null
null
defmodule PersonalTraining.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes ...
27.327586
77
0.697792
b25f435eb601842bae9e86c3f22dd3fa4e235879
3,245
exs
Elixir
mix.exs
smanolloff/cachex
89074e87c61c70006accd4950f884d3f7add36c7
[ "MIT" ]
null
null
null
mix.exs
smanolloff/cachex
89074e87c61c70006accd4950f884d3f7add36c7
[ "MIT" ]
null
null
null
mix.exs
smanolloff/cachex
89074e87c61c70006accd4950f884d3f7add36c7
[ "MIT" ]
null
null
null
defmodule Cachex.Mixfile do use Mix.Project @version "3.3.0" @url_docs "http://hexdocs.pm/cachex" @url_github "https://github.com/whitfin/cachex" def project do [ app: :cachex, name: "Cachex", description: "Powerful in-memory key/value storage for Elixir", package: %{ fil...
28.973214
77
0.534977
b25f59ba87eaa33768bd0883249f211ef96bf299
6,388
exs
Elixir
apps/astarte_data_updater_plant/test/astarte_data_updater_plant/amqp_options_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_data_updater_plant/test/astarte_data_updater_plant/amqp_options_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_data_updater_plant/test/astarte_data_updater_plant/amqp_options_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata 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 appl...
34.907104
102
0.744364
b25f7005a77101d7a2d9253ede03083f03630a6a
3,855
ex
Elixir
lib/nanorepo.ex
wojtekmach/nanorepo
36302b904abb2b7b4eaa6128ab4feab34e442de1
[ "Apache-2.0" ]
4
2020-03-21T21:33:34.000Z
2022-03-29T01:36:34.000Z
lib/nanorepo.ex
wojtekmach/nanorepo
36302b904abb2b7b4eaa6128ab4feab34e442de1
[ "Apache-2.0" ]
null
null
null
lib/nanorepo.ex
wojtekmach/nanorepo
36302b904abb2b7b4eaa6128ab4feab34e442de1
[ "Apache-2.0" ]
null
null
null
defmodule NanoRepo do import NanoRepo.Utils def init(repo_name) do {private_key, public_key} = NanoRepo.Registry.generate_random_keys() write_file!(private_key_path(repo_name), private_key) write_file!(public_key_path(repo_name), public_key) registry = %NanoRepo.Registry{ name: repo_name, ...
32.394958
88
0.636835
b25f72a2ed5a1fe65fa016dbdcddfea737516dd8
1,057
ex
Elixir
farmbot_os/platform/target/info_workers/disk_usage.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_os/platform/target/info_workers/disk_usage.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_os/platform/target/info_workers/disk_usage.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotOS.Platform.Target.InfoWorker.DiskUsage do @moduledoc """ Worker responsible for reporting disk usage to the bot_state server """ use GenServer @data_path FarmbotOS.FileSystem.data_path() @default_timeout_ms 60_000 @error_timeout_ms 5_000 alias FarmbotCore.BotState @doc false ...
20.72549
74
0.653737
b25f770ce6c26eb6d5bbe6fe3e559b8e153dc0b3
3,214
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/operation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/operation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/operation.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...
54.474576
543
0.724953
b25fb5b8053c142047bad14468801220cf6d339c
1,089
ex
Elixir
questions/aggregates/00070000-nbooking.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
335
2015-02-09T09:21:34.000Z
2022-03-30T12:28:18.000Z
questions/aggregates/00070000-nbooking.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
58
2015-05-12T03:10:54.000Z
2021-11-27T15:53:36.000Z
questions/aggregates/00070000-nbooking.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
63
2015-03-18T18:15:56.000Z
2022-02-23T07:27:46.000Z
|QUESTIONNAME| List each member's first booking after September 1st 2012 |QUESTION| Produce a list of each member name, id, and their first booking after September 1st 2012. Order by member ID. |QUERY| select mems.surname, mems.firstname, mems.memid, min(bks.starttime) as starttime from cd.bookings bks inner join cd...
43.56
316
0.756657
b26030300d584fe126abe00642770832932e4653
568
exs
Elixir
day02/test/day02_test.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day02/test/day02_test.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day02/test/day02_test.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
defmodule Day02Test do use ExUnit.Case doctest Day02 test "part 1 with example" do assert Day02.part1(["2x3x4"]) == 58 assert Day02.part1(["1x1x10"]) == 43 end test "part 1 with my input data" do assert Day02.part1(input()) == 1606483 end test "part 2 with example" do assert Day02.part2...
20.285714
42
0.626761
b26080107d0d0c140b7555a9611cd7c356380b54
2,388
ex
Elixir
lib/elixir_sense/plugins/util.ex
J3RN/elixir_sense
0e978dcfbf0a0602743917e3e71dfa40bf7467cf
[ "MIT", "Unlicense" ]
null
null
null
lib/elixir_sense/plugins/util.ex
J3RN/elixir_sense
0e978dcfbf0a0602743917e3e71dfa40bf7467cf
[ "MIT", "Unlicense" ]
null
null
null
lib/elixir_sense/plugins/util.ex
J3RN/elixir_sense
0e978dcfbf0a0602743917e3e71dfa40bf7467cf
[ "MIT", "Unlicense" ]
null
null
null
defmodule ElixirSense.Plugins.Util do @moduledoc false alias ElixirSense.Core.Introspection alias ElixirSense.Core.Metadata alias ElixirSense.Core.Source alias ElixirSense.Core.State def match_module?(mod_str, hint) do hint = String.downcase(hint) mod_full = String.downcase(mod_str) mod_last =...
29.481481
94
0.653685
b26080f45cee7621dbbfd385e0ae4592c0609771
113
exs
Elixir
lang/elixir/learning-fp-with-elixir/exercises/test/exercises/chapter4/third_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
lang/elixir/learning-fp-with-elixir/exercises/test/exercises/chapter4/third_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
lang/elixir/learning-fp-with-elixir/exercises/test/exercises/chapter4/third_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule Exercises.Chapter4.ThirdTest do use ExUnit.Case, async: true doctest(Exercises.Chapter4.Third) end
22.6
41
0.80531
b260928f5561f61a6e9fe446057deeb06a53123f
161
ex
Elixir
elixir/loop.ex
AJPcodes/fizzbuzz
11062c24342426909e12f8475765e32dd2a1a6f1
[ "MIT" ]
null
null
null
elixir/loop.ex
AJPcodes/fizzbuzz
11062c24342426909e12f8475765e32dd2a1a6f1
[ "MIT" ]
null
null
null
elixir/loop.ex
AJPcodes/fizzbuzz
11062c24342426909e12f8475765e32dd2a1a6f1
[ "MIT" ]
null
null
null
defmodule Loop do def start do loop(1) end defp loop(10) do IO.puts(10) end defp loop(num) do IO.puts(num) loop(num + 1) end end
9.470588
19
0.571429
b260984a4a6fa5241e1179739adade96c845c554
1,115
exs
Elixir
config/config.exs
devstopfix/iot-wander
7cb089fe4775d487d082d938dc72ed5d71d01ee2
[ "MIT" ]
1
2021-01-19T05:44:14.000Z
2021-01-19T05:44:14.000Z
config/config.exs
devstopfix/iot-wander
7cb089fe4775d487d082d938dc72ed5d71d01ee2
[ "MIT" ]
3
2016-05-01T14:30:04.000Z
2016-05-19T20:52:50.000Z
config/config.exs
devstopfix/iot-wander
7cb089fe4775d487d082d938dc72ed5d71d01ee2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
b260c416a77ffc80fe74148fb58a48ddb3773cb9
1,667
exs
Elixir
test/browser/join_game_test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
test/browser/join_game_test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
test/browser/join_game_test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
defmodule SprintPoker.JoinGameTest do use SprintPoker.BrowserCase setup do visit "/" fill_in "game_name", "Test Game" fill_in "user_name", "Test Owner User" select "T-Shirts (S, M, L, XXL)", from: "game_deck" wait 250 click_button "Start Session" game_url = retry fn -> input_valu...
23.152778
56
0.671266
b260de3e25b9a730550de79467b7147ffeb1fd80
1,076
exs
Elixir
mix.exs
ecrmnn/iso_3166
c0634ac24741251a30c69d31e6a956faee92ebe7
[ "MIT" ]
2
2017-04-02T10:57:08.000Z
2020-03-21T20:24:51.000Z
mix.exs
ecrmnn/iso_3166
c0634ac24741251a30c69d31e6a956faee92ebe7
[ "MIT" ]
1
2017-02-26T20:21:13.000Z
2017-03-23T19:10:26.000Z
mix.exs
ecrmnn/iso_3166
c0634ac24741251a30c69d31e6a956faee92ebe7
[ "MIT" ]
null
null
null
defmodule Iso.Mixfile do use Mix.Project def project do [app: :iso_3166, version: "1.0.0", elixir: "~> 1.3", description: "Lookup information with ISO 3166-1 alpha-2, ISO 3166-1 alpha-3 and ISO 3166-1 numeric", deps: deps(), package: package()] end # Configuration for the OTP appl...
24.454545
106
0.592007
b260e834882d9e3e51a26dc365dbca00294357c7
530
ex
Elixir
lib/grizzly/zwave/command_classes/network_management_proxy.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/command_classes/network_management_proxy.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/command_classes/network_management_proxy.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.CommandClasses.NetworkManagementProxy do @moduledoc """ Network Management Proxy Command Class This command class is used to report information about the Z-Wave nodes on the network such has node ids, supported command classes and their security support, multi channel end points (vers...
27.894737
77
0.760377
b260e90a580e582d34eb78bca6f3028a2cf4e340
1,434
exs
Elixir
matrix/matrix_test.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
matrix/matrix_test.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
matrix/matrix_test.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("matrix.exs", __DIR__) end ExUnit.start() ExUnit.configure(trace: true, exclude: :pending) defmodule MatrixTest do use ExUnit.Case @input "1 2 3\n4 5 6\n7 8 9" # @tag :pending test "reading from and writing to string" do matrix = Matrix.fr...
24.305085
79
0.601813
b26105750ad7c44274882b8a07bc8c0613e5b185
2,261
ex
Elixir
lib/cassandra/session.ex
pouyapayandeh/elixir-cassandra
3fbfa5bbcea722090c564cc0064ff6b27226a9c2
[ "Apache-2.0" ]
37
2016-11-02T11:51:12.000Z
2021-07-10T14:05:05.000Z
lib/cassandra/session.ex
pouyapayandeh/elixir-cassandra
3fbfa5bbcea722090c564cc0064ff6b27226a9c2
[ "Apache-2.0" ]
9
2016-10-25T20:26:49.000Z
2018-11-04T09:59:41.000Z
lib/cassandra/session.ex
pouyapayandeh/elixir-cassandra
3fbfa5bbcea722090c564cc0064ff6b27226a9c2
[ "Apache-2.0" ]
17
2016-10-25T06:12:05.000Z
2022-03-02T12:45:08.000Z
defmodule Cassandra.Session do use Supervisor alias Cassandra.Session.{Executor, ConnectionManager} @default_balancer {Cassandra.LoadBalancing.TokenAware, []} @defaults [ connection_manager: ConnectionManager, session: Cassandra.Session, pool: DBConnection.Poolboy, idle_timeout: 30_000, q...
30.146667
103
0.68598
b26109b1e9eee47ba67645feeed7eaab2a86699b
2,174
exs
Elixir
implementations/elixir/ockam/ockam_hub/mix.exs
psinghal20/ockam
55c2787eb2392c919156c6dded9f31a5249541e1
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_hub/mix.exs
psinghal20/ockam
55c2787eb2392c919156c6dded9f31a5249541e1
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_hub/mix.exs
psinghal20/ockam
55c2787eb2392c919156c6dded9f31a5249541e1
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Hub.MixProject do use Mix.Project @version "0.10.1" @elixir_requirement "~> 1.10" @ockam_github_repo "https://github.com/ockam-network/ockam" @ockam_github_repo_path "implementations/elixir/ockam/ockam_hub" def project do [ app: :ockam_hub, version: @version, elixir...
23.89011
93
0.562098
b2612ca3edf984576f94b1c7820db6b1473c613e
1,305
exs
Elixir
fw/rel/config.exs
UpstateElixir/websocket_blinky
42d5d8666ad6d5ef67cb1047b3c66cdb6c649903
[ "MIT" ]
null
null
null
fw/rel/config.exs
UpstateElixir/websocket_blinky
42d5d8666ad6d5ef67cb1047b3c66cdb6c649903
[ "MIT" ]
null
null
null
fw/rel/config.exs
UpstateElixir/websocket_blinky
42d5d8666ad6d5ef67cb1047b3c66cdb6c649903
[ "MIT" ]
null
null
null
use Mix.Releases.Config, # This sets the default release built by `mix release` default_release: :default, # This sets the default environment used by `mix release` default_environment: :dev # For a full list of config options for both releases # and environments, visit https://hexdocs.pm/distillery/co...
31.829268
81
0.748659
b261304ccc94d3fad6364b7b5603ab8be595cfdc
645
exs
Elixir
libmahou/mix.exs
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
libmahou/mix.exs
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
libmahou/mix.exs
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
null
null
null
defmodule Mahou.MixProject do use Mix.Project def project do [ app: :mahou, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
19.545455
59
0.525581
b26137b97c67c3c32dfb9a50c0ae7e2e71779ded
10,093
ex
Elixir
lib/ash/data_layer/ets.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/data_layer/ets.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/data_layer/ets.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.DataLayer.Ets do @moduledoc """ An ETS (Erlang Term Storage) backed Ash Datalayer, for testing. This is used for testing. *Do not use this data layer in production* """ @behaviour Ash.DataLayer @ets %Ash.Dsl.Section{ name: :ets, describe: """ A section for configuring the ets da...
25.747449
99
0.54731
b2614c9f27e84f8e259ecd4855dbe42e33523041
1,613
exs
Elixir
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/plugs/method_param_filter_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/plugs/method_param_filter_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/plugs/method_param_filter_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.319149
74
0.67266
b2615fb3c6bf47ae122e1451f0de4d6e361d3b96
1,290
ex
Elixir
lib/prestige/retry.ex
dorilla/prestige
796db3dd2cf4d6dfb908c3932d1ae84c685b8c03
[ "Apache-2.0" ]
null
null
null
lib/prestige/retry.ex
dorilla/prestige
796db3dd2cf4d6dfb908c3932d1ae84c685b8c03
[ "Apache-2.0" ]
null
null
null
lib/prestige/retry.ex
dorilla/prestige
796db3dd2cf4d6dfb908c3932d1ae84c685b8c03
[ "Apache-2.0" ]
null
null
null
defmodule Prestige.Middleware.Retry do @moduledoc """ Tesla plug that will retry the http request when an error or 503 status code is returned. Will retry for a configurable amount of time Options: * `:max_retries` - Override amount of retry attempts (default: 5) * `:delay` - Delay between request...
24.339623
91
0.644186
b261ca25fdd9c06fd23d5b24fa7e8cc66254f0a2
1,018
ex
Elixir
apps/admin_api/lib/admin_api/v1/views/wallet_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/wallet_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/wallet_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.83871
74
0.742633
b261db015e88141cfb99fcf0452d127611893414
2,772
exs
Elixir
farmbot_core/mix.exs
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_core/mix.exs
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_core/mix.exs
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
defmodule FarmbotCore.MixProject do use Mix.Project @target System.get_env("MIX_TARGET") || "host" @version Path.join([__DIR__, "..", "VERSION"]) |> File.read!() |> String.trim() @branch System.cmd("git", ~w"rev-parse --abbrev-ref HEAD") |> elem(0) |> String.trim() @elixir_version Path.join([__DIR__, "..", "E...
30.461538
95
0.577922
b2624cf046ee2aadbf5ddf3af5567b30286be806
425
ex
Elixir
lib/vote_nerd/private_chat/supervisor.ex
dotboris/vote-nerd
ceb9e7a0990d66119da6834511fb54b4cd8e1f37
[ "MIT" ]
null
null
null
lib/vote_nerd/private_chat/supervisor.ex
dotboris/vote-nerd
ceb9e7a0990d66119da6834511fb54b4cd8e1f37
[ "MIT" ]
null
null
null
lib/vote_nerd/private_chat/supervisor.ex
dotboris/vote-nerd
ceb9e7a0990d66119da6834511fb54b4cd8e1f37
[ "MIT" ]
null
null
null
defmodule VoteNerd.PrivateChat.Supervisor do use Supervisor def start_link(name) do Supervisor.start_link(__MODULE__, :ok, [name: name]) end def init(_) do children = [ worker(VoteNerd.PrivateChat, [], restart: :temporary) ] supervise(children, strategy: :simple_one_for_one) end de...
21.25
59
0.715294
b2625a96a8ed9b493cbca1df90febdf452a8644a
469
ex
Elixir
apps/neoscan/lib/neoscan/transactions/vin.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan/lib/neoscan/transactions/vin.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan/lib/neoscan/transactions/vin.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule Neoscan.Vin do @moduledoc false use Ecto.Schema alias Neoscan.Transaction @primary_key false schema "vins" do belongs_to( :transaction, Transaction, foreign_key: :transaction_id, references: :id, type: :integer ) field(:vout_transaction_hash, :binary) ...
18.76
42
0.656716
b262611aa957d9b59947636b85781100c8475534
2,020
ex
Elixir
lib/koans/09_map_sets.ex
zups/elixir-koans
ac036085be4403421d4aff713f5c4328a5624662
[ "MIT" ]
null
null
null
lib/koans/09_map_sets.ex
zups/elixir-koans
ac036085be4403421d4aff713f5c4328a5624662
[ "MIT" ]
null
null
null
lib/koans/09_map_sets.ex
zups/elixir-koans
ac036085be4403421d4aff713f5c4328a5624662
[ "MIT" ]
null
null
null
defmodule MapSets do use Koans @intro "My name is Set, MapSet." @set MapSet.new([1, 2, 3, 4, 5]) koan "I am very similar to a list" do assert Enum.fetch(@set, 0) == {:ok, 1} end koan "However, I do not allow duplication" do new_set = MapSet.new([1, 1, 2, 3, 3, 3]) assert MapSet.size(new_set...
24.938272
85
0.64604
b2629ae042e4c43d044e186ac172c12fb798a885
507
ex
Elixir
web/router.ex
mrDarcyMurphy/elixir-phoenix-playground
8ae7237609a52c9a7a3a31f354329acadfb092a9
[ "MIT" ]
null
null
null
web/router.ex
mrDarcyMurphy/elixir-phoenix-playground
8ae7237609a52c9a7a3a31f354329acadfb092a9
[ "MIT" ]
null
null
null
web/router.ex
mrDarcyMurphy/elixir-phoenix-playground
8ae7237609a52c9a7a3a31f354329acadfb092a9
[ "MIT" ]
null
null
null
defmodule MyApp.Router do use MyApp.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery end pipeline :api do plug :accepts, ["json"] end scope "/", MyApp do pipe_through :browser # Use the default browser stack...
18.777778
57
0.66075
b2629fe26b11ef5d04d33852f31ce47992950c26
8,034
ex
Elixir
web/router.ex
bjvoth/exq_ui
13f623ecfd3e530606ca121867dcc48417234248
[ "Apache-2.0" ]
null
null
null
web/router.ex
bjvoth/exq_ui
13f623ecfd3e530606ca121867dcc48417234248
[ "Apache-2.0" ]
null
null
null
web/router.ex
bjvoth/exq_ui
13f623ecfd3e530606ca121867dcc48417234248
[ "Apache-2.0" ]
null
null
null
defmodule ExqUi.RouterPlug do require Logger require EEx alias ExqUi.RouterPlug.Router def init(options) do enq_opts = if options[:exq_opts] do options[:exq_opts] else [name: Exq.Api.Server.server_name(ExqUi)] end Keyword.put(options, :exq_opts, enq_opts) end def ...
30.203008
115
0.597834
b262a45462ba812e7fd85083606975dd50b1bd05
1,227
ex
Elixir
lib/phoenixDSK/endpoint.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phoenixDSK/endpoint.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phoenixDSK/endpoint.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
defmodule PhoenixDSK3LO.Endpoint do use Phoenix.Endpoint, otp_app: :phoenixDSK3LO socket "/socket", PhoenixDSK3LO.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 static files in production. p...
28.534884
69
0.722901
b262bb54dacf0de1dc30e0eaf60c8817c57006d7
2,708
ex
Elixir
lib/true_type/utils.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
lib/true_type/utils.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
lib/true_type/utils.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
# # (c) Copyright 2021 John Vinters <john.vinters@gmail.com> # # 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 applicab...
31.488372
96
0.657681
b262d8db85a18b7b8618d87476f64491a074677e
1,454
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/projects_set_default_network_tier_request.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/projects_set_default_network_tier_request.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/projects_set_default_network_tier_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.93617
95
0.748281
b262ed99eae5773e113a68f5799679daa5d0883b
896
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
b262f4f43c3f2c4d29dacb042d0412c59d5892c7
147
exs
Elixir
test/simple_api_test.exs
icicleling/useless_api
ca284ee239c88956484f2b31e72c6b3bb8d9e64b
[ "Apache-2.0" ]
null
null
null
test/simple_api_test.exs
icicleling/useless_api
ca284ee239c88956484f2b31e72c6b3bb8d9e64b
[ "Apache-2.0" ]
null
null
null
test/simple_api_test.exs
icicleling/useless_api
ca284ee239c88956484f2b31e72c6b3bb8d9e64b
[ "Apache-2.0" ]
null
null
null
defmodule UselessApiTest do use ExUnit.Case doctest UselessApi test "greets the world" do assert UselessApi.hello() == :world end end
16.333333
39
0.727891
b26318dac81e47e3292dde8ae5b4e01ed0c73dca
533
ex
Elixir
phx_chartjs/lib/phx_chartjs_web/router.ex
NervesJP/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
13
2018-06-22T10:41:17.000Z
2018-09-01T02:34:33.000Z
phx_chartjs/lib/phx_chartjs_web/router.ex
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
null
null
null
phx_chartjs/lib/phx_chartjs_web/router.ex
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
1
2022-01-20T13:12:18.000Z
2022-01-20T13:12:18.000Z
defmodule PhxChartjsWeb.Router do use PhxChartjsWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", PhxChartjsWeb do ...
19.740741
57
0.686679
b2633f54725a383af9ec7a31f5303e9344500752
2,189
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/job_statistics3.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/job_statistics3.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/job_statistics3.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...
40.537037
321
0.742348
b2636852eb4059e8ef466e24eeac7de290b5fad4
338
exs
Elixir
test/phx_todo_app_web/live/page_live_test.exs
showwin/phx_todo_app
3608f120cb149019219add4ca63e711698a56aab
[ "MIT" ]
null
null
null
test/phx_todo_app_web/live/page_live_test.exs
showwin/phx_todo_app
3608f120cb149019219add4ca63e711698a56aab
[ "MIT" ]
null
null
null
test/phx_todo_app_web/live/page_live_test.exs
showwin/phx_todo_app
3608f120cb149019219add4ca63e711698a56aab
[ "MIT" ]
null
null
null
defmodule PhxTodoAppWeb.PageLiveTest do use PhxTodoAppWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Ph...
28.166667
60
0.730769
b263b240dcd6ad9ae8128d8334b490e5d385cbe6
1,656
ex
Elixir
lib/ada/http/listener.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
7
2019-05-11T12:14:48.000Z
2021-04-02T18:42:51.000Z
lib/ada/http/listener.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
3
2019-05-11T08:01:47.000Z
2019-05-14T12:06:50.000Z
lib/ada/http/listener.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
1
2021-01-06T14:57:32.000Z
2021-01-06T14:57:32.000Z
defmodule Ada.HTTP.Listener do @moduledoc false require Logger def child_spec(ctx) do http_port = Keyword.fetch!(ctx, :http_port) %{ id: __MODULE__, start: {:cowboy, :start_clear, [ __MODULE__, [port: http_port], %{ env: %{ ...
24.352941
93
0.603865
b263cdb7e827209dc233278fd0104fe6e5df4840
1,123
exs
Elixir
config/config.exs
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
29
2016-09-25T21:32:29.000Z
2021-02-12T15:19:01.000Z
config/config.exs
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
3
2017-01-18T09:06:37.000Z
2018-04-15T17:52:21.000Z
config/config.exs
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
3
2017-02-08T09:12:30.000Z
2017-12-14T08:20:25.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.225806
73
0.752449
b264039afedb3bc44474c10656b8d011576c707c
830
exs
Elixir
apps/roll35_bot/test/roll35_bot/commands/magic_item_test.exs
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
1
2021-08-07T09:43:28.000Z
2021-08-07T09:43:28.000Z
apps/roll35_bot/test/roll35_bot/commands/magic_item_test.exs
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
24
2020-11-24T19:18:46.000Z
2022-02-28T08:03:36.000Z
apps/roll35_bot/test/roll35_bot/commands/magic_item_test.exs
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
null
null
null
defmodule Roll35Bot.Commands.MagicItemTest do use Roll35Bot.TestHarness, async: true alias Roll35Bot.Commands.MagicItem test "Short description is a valid string." do assert String.valid?(MagicItem.short_desc()) end test "Extra help text is a valid string." do assert String.valid?(MagicItem.extra_h...
27.666667
67
0.756627
b26405f6ca1b2eae1adcc7d936f83b83d717ed40
2,213
ex
Elixir
apps/ex_wire/lib/ex_wire/packet/transactions.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/ex_wire/lib/ex_wire/packet/transactions.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/ex_wire/lib/ex_wire/packet/transactions.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
defmodule ExWire.Packet.Transactions do @moduledoc """ Eth Wire Packet for communicating new transactions. ``` **Transactions** [`+0x02`: `P`, [`nonce`: `P`, `receivingAddress`: `B_20`, `value`: `P`, ...], ...] Specify (a) transaction(s) that the peer should make sure is included on its transaction queue....
25.147727
101
0.612743
b2643fac072bc0502844376cf536734cb48b5e75
1,762
ex
Elixir
clients/books/lib/google_api/books/v1/model/series_series.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/series_series.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/series_series.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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...
29.366667
77
0.697503
b2644e11c4362b3b0d9e7ce75be6450ff1151f09
371
exs
Elixir
apps/otp_verification_api/config/config.exs
ehealth-ua/otp_verification.api
674960be39daac31f00a072a443e78e9923094d0
[ "Apache-2.0" ]
null
null
null
apps/otp_verification_api/config/config.exs
ehealth-ua/otp_verification.api
674960be39daac31f00a072a443e78e9923094d0
[ "Apache-2.0" ]
null
null
null
apps/otp_verification_api/config/config.exs
ehealth-ua/otp_verification.api
674960be39daac31f00a072a443e78e9923094d0
[ "Apache-2.0" ]
1
2019-06-12T18:04:39.000Z
2019-06-12T18:04:39.000Z
use Mix.Config # Configures the endpoint config :otp_verification_api, OtpVerification.Web.Endpoint, url: [host: "localhost"], secret_key_base: "7X/pAxXDa89ArqDGkBZCS4eTGKGDOdx1DDDWKS/AB42isRqbn0LoZXhIQ2n/XqTK", render_errors: [view: EView.Views.PhoenixError, accepts: ~w(json)], instrumenters: [LoggerJSON.Phoe...
33.727273
86
0.784367
b26453c1821f9f069d0547fb0ef80d0ea11bca16
1,407
ex
Elixir
lib/cookbook_web/live/modal_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
lib/cookbook_web/live/modal_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
11
2021-12-19T09:07:30.000Z
2022-01-01T17:54:43.000Z
lib/cookbook_web/live/modal_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
defmodule CookbookWeb.ModalLive do use CookbookWeb, :live_view alias Phoenix.LiveView.JS def render(assigns) do ~H""" <button phx-click={show_modal()} class="btn btn-primary">Launch Modal</button> <div class="modal fade" id="modal" tabindex="-1"> <div class="modal-dialog"> <div ...
28.14
99
0.561478
b264739b5b675d56cff21937c1591baac9d1ba43
1,909
ex
Elixir
lib/mariaex/lru_cache.ex
nedap/mariaex
102a23088386eb5038337084be34775e59945924
[ "Apache-2.0" ]
264
2015-03-05T06:55:21.000Z
2021-08-02T22:12:35.000Z
lib/mariaex/lru_cache.ex
nedap/mariaex
102a23088386eb5038337084be34775e59945924
[ "Apache-2.0" ]
215
2015-03-04T23:39:52.000Z
2022-01-17T05:14:10.000Z
lib/mariaex/lru_cache.ex
nedap/mariaex
102a23088386eb5038337084be34775e59945924
[ "Apache-2.0" ]
132
2015-03-04T22:50:48.000Z
2021-12-09T23:28:59.000Z
defmodule Mariaex.LruCache do @moduledoc false def new(size) do tab = :ets.new(:cache, [:public]) :ets.insert(tab, {:__counter__, 0}) {size, tab} end def id({_, cache}, statement) do try do :ets.lookup_element(cache, statement, 3) catch :error, :badarg -> nil end ...
25.118421
104
0.509167
b2651982ab3a14f8822648ace174fc845ef6e579
2,324
ex
Elixir
lib/donatebox/management/management.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox/management/management.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
lib/donatebox/management/management.ex
Adnatull/donatebox
47e07e7831c223265a465425520313da5370f149
[ "Apache-2.0" ]
null
null
null
defmodule Donatebox.Management do @moduledoc """ The Management context. """ import Ecto.Query, warn: false alias Donatebox.Repo alias Donatebox.Management.Admin @doc """ Returns the list of admins. ## Examples iex> list_admins() [%Admin{}, ...] """ def list_admins do Repo.al...
16.963504
60
0.583046
b2658141b49839a4e2b6ddc88486fbe8a6063df2
18,800
exs
Elixir
test/controllers/tp_derived_charger_controller_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/controllers/tp_derived_charger_controller_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/controllers/tp_derived_charger_controller_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.TpDerivedChargerControllerTest do use CgratesWebJsonapi.ConnCase alias CgratesWebJsonapi.TpDerivedCharger alias CgratesWebJsonapi.Repo import CgratesWebJsonapi.Factory setup do user = insert :user conn = build_conn() |> put_req_header("accept", "application/vnd.api+...
42.058166
148
0.683085
b265c5be6921f75ed3b04625ab0db2265dfe5516
8,453
ex
Elixir
lib/membrane_audio_interleaver.ex
membraneframework/membrane_audio_mixer_plugin
4edcac7f5a0e7b015161a311eafd13016cd107cc
[ "Apache-2.0" ]
null
null
null
lib/membrane_audio_interleaver.ex
membraneframework/membrane_audio_mixer_plugin
4edcac7f5a0e7b015161a311eafd13016cd107cc
[ "Apache-2.0" ]
1
2021-08-30T14:05:39.000Z
2021-08-30T14:05:39.000Z
lib/membrane_audio_interleaver.ex
membraneframework/membrane_audio_mixer_plugin
4edcac7f5a0e7b015161a311eafd13016cd107cc
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.AudioInterleaver do @moduledoc """ Element responsible for interleaving several mono audio streams into single interleaved stream. All input streams should be in the same raw audio format, defined by `input_caps` option. Channels are interleaved in order given in `order` option - currently r...
29.04811
121
0.624512
b265cb0ccaf323d6c980acd4158dad3ae4e46f6d
1,611
ex
Elixir
web/models/dsk_results.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
8
2017-07-24T20:54:25.000Z
2021-04-06T19:19:32.000Z
web/models/dsk_results.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
2
2021-03-08T16:21:37.000Z
2021-05-06T17:53:24.000Z
web/models/dsk_results.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
2
2019-12-12T17:04:32.000Z
2020-07-22T15:42:32.000Z
# File: web/models/dsk_results.ex # Copyright (C) 2018, Blackboard Inc. # Author: Mark Bykerk Kauffman, 2018.02 # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # Redistributions of source code must...
53.7
80
0.790192
b26612d011aba7b97ed4ab3e71bccc3376ac7ac1
1,577
ex
Elixir
lib/ymn_link_web_web/endpoint.ex
t-yamanashi/ymn_link_web
d883a14a10235230c6dbc935860de995004493b7
[ "Apache-2.0" ]
null
null
null
lib/ymn_link_web_web/endpoint.ex
t-yamanashi/ymn_link_web
d883a14a10235230c6dbc935860de995004493b7
[ "Apache-2.0" ]
null
null
null
lib/ymn_link_web_web/endpoint.ex
t-yamanashi/ymn_link_web
d883a14a10235230c6dbc935860de995004493b7
[ "Apache-2.0" ]
null
null
null
defmodule YmnLinkWebWeb.Endpoint do use Phoenix.Endpoint, otp_app: :ymn_link_web # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_y...
29.203704
97
0.720355
b26613926683b2259a85fb652f455bcfe4469eb8
66
ex
Elixir
elixir/samples/json-api/lib/json_api/repo.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/samples/json-api/lib/json_api/repo.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/samples/json-api/lib/json_api/repo.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule JsonApi.Repo do use Ecto.Repo, otp_app: :json_api end
16.5
35
0.772727
b2668aa4f220fd55f53208b00ba376724085a33f
1,605
exs
Elixir
test/honeybadger/breadcrumbs/collector_test.exs
W-Games/honeybadger-elixir
84fa54643c02fd0e3e4b6aa96373f46109385684
[ "MIT" ]
null
null
null
test/honeybadger/breadcrumbs/collector_test.exs
W-Games/honeybadger-elixir
84fa54643c02fd0e3e4b6aa96373f46109385684
[ "MIT" ]
null
null
null
test/honeybadger/breadcrumbs/collector_test.exs
W-Games/honeybadger-elixir
84fa54643c02fd0e3e4b6aa96373f46109385684
[ "MIT" ]
null
null
null
defmodule Honeybadger.Breadcrumbs.CollectorTest do use Honeybadger.Case, async: true alias Honeybadger.Breadcrumbs.{Collector, Breadcrumb} test "stores and outputs data" do with_config([breadcrumbs_enabled: true], fn -> bc1 = Breadcrumb.new("test1", []) bc2 = Breadcrumb.new("test2", []) Co...
23.602941
66
0.57757
b2669fed626a7e6daa78fd85b94ad4381de40e0e
7,253
exs
Elixir
apps/gitgud_web/test/gitgud_web/controllers/repo_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/test/gitgud_web/controllers/repo_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/test/gitgud_web/controllers/repo_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.RepoControllerTest do use GitGud.Web.ConnCase, async: true use GitGud.Web.DataFactory alias GitGud.User alias GitGud.Repo alias GitGud.RepoStorage alias GitGud.RepoQuery alias GitGud.Email alias GitGud.Web.LayoutView setup :create_user test "renders repository creation form ...
47.097403
150
0.682063
b266bd22a5d1ac22372d4820acfb78b013905375
271
ex
Elixir
lib/console/alerts/alert_resolver.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
lib/console/alerts/alert_resolver.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
14
2022-03-02T17:01:59.000Z
2022-03-30T17:45:47.000Z
lib/console/alerts/alert_resolver.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
defmodule Console.Alerts.AlertResolver do alias Console.Repo import Ecto.Query alias Console.Alerts def find(_, %{context: %{current_organization: current_organization}}) do alerts = Alerts.get_alert(current_organization) { :ok, alerts } end end
20.846154
75
0.730627
b266c18b2b6d30dfa8d8f4b25459961e7e1f673b
2,219
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__face_detection_annotation.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__face_detection_annotation.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__face_detection_annotation.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...
32.632353
168
0.731411
b266c253c1d84eaca3b657f6da28b01c6a74a4bf
22,661
exs
Elixir
test/bollinger_band_test.exs
buurzx/talib
9341dafd2dc0aa14c34b659b82375723ff5a37fc
[ "MIT" ]
null
null
null
test/bollinger_band_test.exs
buurzx/talib
9341dafd2dc0aa14c34b659b82375723ff5a37fc
[ "MIT" ]
null
null
null
test/bollinger_band_test.exs
buurzx/talib
9341dafd2dc0aa14c34b659b82375723ff5a37fc
[ "MIT" ]
1
2021-04-29T22:14:28.000Z
2021-04-29T22:14:28.000Z
defmodule Talib.BollingerBandTest do use ExUnit.Case alias Talib.BollingerBand doctest Talib.BollingerBand defmodule Fixtures do def numbers do [ 89, 77, 53, 64, 78, 67, 30, 6, 24, 53, 46, 30, 100...
33.081752
72
0.56648
b266e2c7c52f945ffdd70f309e67ecf295b8dd85
2,144
exs
Elixir
config/test.exs
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
config/test.exs
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
config/test.exs
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
use Mix.Config config :logger, level: :warn config :sentinel, Sentinel.Endpoint, secret_key_base: "DOInS/rFmVWzmcHaoYAXX8moniIGldPCvtGcYv+GY5XE5xS8aQKRH4Aw6gDUmncd" config :sentinel, Sentinel.TestRepo, username: "postgres", password: "postgres", adapter: Ecto.Adapters.Postgres, pool: Ecto.Adapters.SQL.Sandb...
29.777778
85
0.717817
b266fedb10d93df70a71300a0a7ce986a731a851
9,354
ex
Elixir
lib/aes/aes.ex
exthereum/ex_crypto
d228ce90c22a68bed54e60721e671ad877a64900
[ "MIT" ]
1
2019-01-05T01:43:06.000Z
2019-01-05T01:43:06.000Z
lib/aes/aes.ex
exthereum/ex_crypto
d228ce90c22a68bed54e60721e671ad877a64900
[ "MIT" ]
null
null
null
lib/aes/aes.ex
exthereum/ex_crypto
d228ce90c22a68bed54e60721e671ad877a64900
[ "MIT" ]
1
2020-09-08T08:09:55.000Z
2020-09-08T08:09:55.000Z
defmodule ExthCrypto.AES do @moduledoc """ Defines standard functions for use with AES symmetric cryptography in block mode. """ @block_size 32 @doc """ Returns the blocksize for AES encryption when used as block mode encryption. ## Examples iex> ExthCrypto.AES.block_size 32 """ @spec ...
46.77
203
0.699273
b267038de82246d124a8d79b8aefe548081ef967
1,952
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/list_insertion_orders_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/display_video/lib/google_api/display_video/v1/model/list_insertion_orders_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/display_video/lib/google_api/display_video/v1/model/list_insertion_orders_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.04
241
0.748975
b267140e01ca628ae253136757b8f01988f34f6e
167
ex
Elixir
lib/diffusal_blade.ex
ElaWorkshop/AetherLens
7d8ebd71c3738c1ebe9f1d73d291d8bbb5187481
[ "MIT" ]
null
null
null
lib/diffusal_blade.ex
ElaWorkshop/AetherLens
7d8ebd71c3738c1ebe9f1d73d291d8bbb5187481
[ "MIT" ]
null
null
null
lib/diffusal_blade.ex
ElaWorkshop/AetherLens
7d8ebd71c3738c1ebe9f1d73d291d8bbb5187481
[ "MIT" ]
null
null
null
defmodule AetherLens.DiffusalBlade do @moduledoc """ Resolve subscriptions, avoid pushing the same notification multiple times. """ def purge() do end end
16.7
76
0.736527
b26718d9e812c8e607b01a3580bac29868cd3566
2,070
exs
Elixir
config/dev.exs
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
config/dev.exs
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
config/dev.exs
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
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 :rayyan_site, RayyanSiteWeb.Endpoint, http: [por...
29.571429
86
0.695652
b26782491201de400060d86229809c38322849d6
1,096
ex
Elixir
clients/people/lib/google_api/people/v1/model/profile_metadata.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/profile_metadata.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/profile_metadata.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
28.842105
77
0.744526
b267d3bf8dae2b6ae1f396c17584eb8077e3cf99
5,836
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_type_color.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_type_color.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_type_color.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...
104.214286
3,384
0.716587
b267e60dcdba7f60443aa3e4d2a64f832a646fe4
2,130
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/cloud_sql_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/cloud_sql_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/cloud_sql_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.035714
148
0.723944
b26810f83714cdb647357f19aa172daec99acd1d
760
ex
Elixir
apps/wechat_base/test/support/wechat_base/test_helper.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_base/test/support/wechat_base/test_helper.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_base/test/support/wechat_base/test_helper.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
defmodule WechatBase.TestHelper do import ExUnit.Assertions def assert_error({:error, {error, message, args}}, {expect_error, expect_message, expect_args}) do assert error == expect_error assert message == expect_message Enum.each(expect_args, fn {key, value} -> assert Map.get(args, key)...
27.142857
100
0.682895
b2681fe894988934e5e339e1f5f0e118987df953
116
exs
Elixir
test/tempdir_test.exs
andrewvy/TempDir
3a96fc51c282963c078fee8ae73f1e469782fd52
[ "MIT" ]
6
2016-04-08T00:20:13.000Z
2020-08-05T09:01:30.000Z
test/tempdir_test.exs
andrewvy/TempDir
3a96fc51c282963c078fee8ae73f1e469782fd52
[ "MIT" ]
null
null
null
test/tempdir_test.exs
andrewvy/TempDir
3a96fc51c282963c078fee8ae73f1e469782fd52
[ "MIT" ]
null
null
null
defmodule TempdirTest do use ExUnit.Case doctest Tempdir test "the truth" do assert 1 + 1 == 2 end end
12.888889
24
0.672414
b2682846a781225bec73e9e2cd3c40e11974ba83
1,964
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/connection.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/connection.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/connection.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.695652
94
0.721487
b2682e20322ed534516cf9f305da13815d2adf67
1,081
ex
Elixir
test/support/channel_case.ex
ykurtbas/kitchensink
01603ede591a72d0eeb1b8d7091eb4520bd666f6
[ "BSD-3-Clause" ]
4
2021-03-22T17:31:03.000Z
2021-04-09T07:03:25.000Z
test/support/channel_case.ex
ykurtbas/kitchensink
01603ede591a72d0eeb1b8d7091eb4520bd666f6
[ "BSD-3-Clause" ]
null
null
null
test/support/channel_case.ex
ykurtbas/kitchensink
01603ede591a72d0eeb1b8d7091eb4520bd666f6
[ "BSD-3-Clause" ]
1
2021-04-19T01:52:47.000Z
2021-04-19T01:52:47.000Z
defmodule ExWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts with t...
26.365854
64
0.719704
b2683039b015708eb950a0a840d24cc37d5bb9c4
4,495
ex
Elixir
lib/coophub_web/controllers/repo_controller.ex
funwhilelost/coophub
1390246b5212857cb97e481176b948d9f6a6826e
[ "MIT" ]
null
null
null
lib/coophub_web/controllers/repo_controller.ex
funwhilelost/coophub
1390246b5212857cb97e481176b948d9f6a6826e
[ "MIT" ]
null
null
null
lib/coophub_web/controllers/repo_controller.ex
funwhilelost/coophub
1390246b5212857cb97e481176b948d9f6a6826e
[ "MIT" ]
null
null
null
defmodule CoophubWeb.RepoController do use CoophubWeb, :controller require Logger @uris_cache_name Application.get_env(:coophub, :uris_cache_name) @uris_cache_success [:ok, :commit, :ignore] action_fallback(CoophubWeb.FallbackController) def index(conn, params) do sort = get_sort(params) limit = ...
27.576687
97
0.639155
b26833728d05174dce89668c301503ab91392f2e
169
exs
Elixir
priv/repo/migrations/20170825032708_add_slugs_to_posts.exs
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170825032708_add_slugs_to_posts.exs
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
priv/repo/migrations/20170825032708_add_slugs_to_posts.exs
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.Repo.Migrations.AddSlugsToPosts do use Ecto.Migration def change do alter table(:posts) do add :slug, :string end end end
15.363636
56
0.692308
b268555513c57343aca04fd5bdb262dfd02805cf
3,680
ex
Elixir
lib/honeydew/failure_mode/retry.ex
blockfi/honeydew
fb88bc2364ed69c7e1004197c89dc2015c39c4cd
[ "MIT" ]
2
2021-04-21T05:25:49.000Z
2021-04-21T06:47:20.000Z
lib/honeydew/failure_mode/retry.ex
blockfi/honeydew
fb88bc2364ed69c7e1004197c89dc2015c39c4cd
[ "MIT" ]
1
2020-04-14T18:46:58.000Z
2020-04-14T18:46:58.000Z
lib/honeydew/failure_mode/retry.ex
blockfi/honeydew
fb88bc2364ed69c7e1004197c89dc2015c39c4cd
[ "MIT" ]
2
2020-05-12T02:09:36.000Z
2021-07-06T13:54:17.000Z
defmodule Honeydew.FailureMode.Retry do alias Honeydew.Job alias Honeydew.Queue alias Honeydew.FailureMode.Abandon alias Honeydew.FailureMode.Move @moduledoc """ Instructs Honeydew to retry a job a number of times on failure. ## Examples Retry jobs in this queue 3 times: ```elixir Honeydew.start...
36.078431
249
0.640217
b2687228b0c43c1dc2ff55b3d9ad09fd54b845b2
1,112
ex
Elixir
lib/kanban_liveview_web/channels/user_socket.ex
ivangsm/kanban_live
1dbbdaf3bf8dbaa4261a981e36c90088de02bbe9
[ "MIT" ]
null
null
null
lib/kanban_liveview_web/channels/user_socket.ex
ivangsm/kanban_live
1dbbdaf3bf8dbaa4261a981e36c90088de02bbe9
[ "MIT" ]
null
null
null
lib/kanban_liveview_web/channels/user_socket.ex
ivangsm/kanban_live
1dbbdaf3bf8dbaa4261a981e36c90088de02bbe9
[ "MIT" ]
null
null
null
defmodule KanbanLiveviewWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", KanbanLiveviewWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set ...
30.888889
89
0.70054
b2688dc2303207054ff6ac94a84c776a7c35d292
844
ex
Elixir
lib/endpoints/network.ex
runateam/lxd-elixir
57a9521d596304842f43bd5bc67edd8581272de8
[ "MIT" ]
8
2017-09-16T15:47:38.000Z
2021-09-02T15:09:17.000Z
lib/endpoints/network.ex
runateam/lxd-elixir
57a9521d596304842f43bd5bc67edd8581272de8
[ "MIT" ]
2
2018-08-02T21:25:08.000Z
2018-08-03T18:52:01.000Z
lib/endpoints/network.ex
runateam/lxd-elixir
57a9521d596304842f43bd5bc67edd8581272de8
[ "MIT" ]
4
2018-05-17T15:25:57.000Z
2022-02-04T17:08:14.000Z
defmodule LXD.Network do alias LXD.Client defp url(network_name \\ "") do ["/networks", network_name] |> Path.join end def all(opts \\ []) do url() |> Client.get(opts) end def create(configs, opts \\ []) do url() |> Client.post(configs, opts) end def info(network_name, opts \...
18.755556
51
0.60782