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
03e7c00589b6d6895bab61b3207bd44781a1b461
33,507
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/packet_mirrorings.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/api/packet_mirrorings.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/api/packet_mirrorings.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...
54.839607
1,450
0.639896
03e7d8f802e0fe3470fbf9fddc4657a5061831ce
3,953
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_unit.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_unit.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_unit.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 "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 ...
49.4125
204
0.707817
03e7ee24fb6005565f548f638eda3624a24fc3e9
1,870
exs
Elixir
clients/analytics_data/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.910448
105
0.660963
03e813f45751187e1c87ca9315d0391bd5fd0bb5
418
ex
Elixir
apps/reaper/lib/reaper/decoder/unknown.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/reaper/lib/reaper/decoder/unknown.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/reaper/lib/reaper/decoder/unknown.ex
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Reaper.Decoder.Unknown do @moduledoc """ Decoder implementation that always returns an error tuple """ @behaviour Reaper.Decoder @impl Reaper.Decoder def decode({:file, _filename}, %SmartCity.Dataset{technical: %{sourceFormat: other}}) do {:error, "", %RuntimeError{message: "#{other} is an in...
24.588235
90
0.708134
03e81473cfc1744f7d6be054705d5736a858433c
2,714
exs
Elixir
test_old/planga_web/controllers/conversation_controller_test.exs
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
37
2018-07-13T14:08:16.000Z
2021-04-09T15:00:22.000Z
test_old/planga_web/controllers/conversation_controller_test.exs
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
9
2018-07-16T15:24:39.000Z
2021-09-01T14:21:20.000Z
test_old/planga_web/controllers/conversation_controller_test.exs
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
3
2018-10-05T20:19:25.000Z
2019-12-05T00:30:01.000Z
defmodule PlangaWeb.ConversationControllerTest do use PlangaWeb.ConnCase alias Planga.Chat alias Planga.Chat.Conversation @create_attrs %{remote_id: "some remote_id"} @update_attrs %{remote_id: "some updated remote_id"} @invalid_attrs %{remote_id: nil} def fixture(:conversation) do {:ok, conversati...
30.840909
95
0.657332
03e816b8a54068a63e6f153ba732b1fe81d3dceb
817
ex
Elixir
lib/cforum/open_close.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum/open_close.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum/open_close.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.OpenClose do alias Cforum.Repo alias Cforum.OpenClose.State def get_open_closed_state(user, thread), do: Repo.get_by(State, user_id: user.user_id, thread_id: thread.thread_id) def open_thread(user, thread) do oc = get_open_closed_state(user, thread) if oc != nil && oc.state != "o...
25.53125
96
0.647491
03e82935b524dad90c26eda65ac5a19db430d248
89
ex
Elixir
Chapter11/code/apps/elixir_drip_web/lib/elixir_drip_web/prometheus/endpoint_instrumenter.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter11/code/apps/elixir_drip_web/lib/elixir_drip_web/prometheus/endpoint_instrumenter.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter11/code/apps/elixir_drip_web/lib/elixir_drip_web/prometheus/endpoint_instrumenter.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule ElixirDripWeb.EndpointInstrumenter do use Prometheus.PhoenixInstrumenter end
22.25
47
0.88764
03e86b13144faf5aec3924cf19a5268d52827d7c
16,521
ex
Elixir
lib/aws/generated/cost_explorer.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/cost_explorer.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/cost_explorer.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.CostExplorer do @moduledoc """ The Cost Explorer API enables you to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total...
38.331787
194
0.738696
03e8c5279fa16d9bae1b6248cda2675ba99ed983
1,586
ex
Elixir
apps/omg_watcher_info/test/support/factories/data_helper.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/test/support/factories/data_helper.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/test/support/factories/data_helper.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
39.65
118
0.737074
03e8f8c19e8b8d202ae7d288d6afcdd2127baef6
2,637
ex
Elixir
lib/timber/http_clients/hackney.ex
axelson/timber-elixir
def9de8ebbb64a6f6d5dd85f8958d8b24f8d6c31
[ "0BSD" ]
null
null
null
lib/timber/http_clients/hackney.ex
axelson/timber-elixir
def9de8ebbb64a6f6d5dd85f8958d8b24f8d6c31
[ "0BSD" ]
null
null
null
lib/timber/http_clients/hackney.ex
axelson/timber-elixir
def9de8ebbb64a6f6d5dd85f8958d8b24f8d6c31
[ "0BSD" ]
null
null
null
defmodule Timber.HTTPClients.Hackney do @moduledoc false # An efficient HTTP client that leverages hackney, keep alive connections, and connection # pools to communicate with the Timber API. # ## Configuration # ```elixir # config :timber, :hackney_client, # request_options: [ # connect_timeout:...
25.601942
101
0.683732
03e93074acc83abe709980e32a0ba296384ffcad
2,376
exs
Elixir
test/shopify_api/rate_limiting/rest_tracker_test.exs
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
18
2019-06-07T13:36:39.000Z
2021-08-03T21:06:36.000Z
test/shopify_api/rate_limiting/rest_tracker_test.exs
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
158
2018-08-30T22:09:00.000Z
2021-09-22T01:18:59.000Z
test/shopify_api/rate_limiting/rest_tracker_test.exs
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
4
2020-09-05T00:48:46.000Z
2020-09-30T15:53:50.000Z
defmodule ShopifyAPI.RateLimiting.RESTTrackerTest do use ExUnit.Case alias HTTPoison.Response alias ShopifyAPI.AuthToken alias ShopifyAPI.RateLimiting.RESTTracker describe "api_hit_limit/2" do test "returns a 2000 ms delay" do call_limit_header = {"X-Shopify-Shop-Api-Call-Limit", "50/50"} re...
33.942857
92
0.664141
03e957c46288e7291ddf759187ef413ae4c364b6
29,163
exs
Elixir
test/hammox_test.exs
camilleryr/hammox
9f11ffb11bc3c2689c13feca123b6aef2dc66d76
[ "Apache-2.0" ]
430
2019-09-26T05:01:13.000Z
2022-03-30T05:21:11.000Z
test/hammox_test.exs
wojtekmach/hammox
c7ea8e598a753a69384a9a08f71a51ff03d4751b
[ "Apache-2.0" ]
48
2019-09-20T16:11:51.000Z
2022-03-23T20:33:16.000Z
test/hammox_test.exs
wojtekmach/hammox
c7ea8e598a753a69384a9a08f71a51ff03d4751b
[ "Apache-2.0" ]
18
2019-10-02T19:59:33.000Z
2021-12-07T07:49:16.000Z
defmodule HammoxTest do use ExUnit.Case, async: true import Hammox defmock(TestMock, for: Hammox.Test.Behaviour) describe "protect/1" do test "decorate all functions inside the module" do assert %{other_foo_0: _, other_foo_1: _, foo_0: _} = Hammox.protect(Hammox.Test.BehaviourImpleme...
22.347126
98
0.632994
03e95df45edf02621b7a69fa7e4fae9dcdd7cd23
5,848
ex
Elixir
apps/admin_app/lib/admin_app_web/router.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/admin_app/lib/admin_app_web/router.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/router.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.Router do use AdminAppWeb, :router use Plug.ErrorHandler use Sentry.Plug pipeline :browser do plug(:accepts, ["html"]) plug(:fetch_session) plug(:fetch_flash) plug(:protect_from_forgery) plug(:put_secure_browser_headers) end # This pipeline is just to avoid CSRF t...
41.183099
95
0.717339
03e96a5a4e552521885e93d070bd1e06e94c0fe3
59
ex
Elixir
lib/op_api_web/views/layout_view.ex
operate-bsv/api.operatebsv.org
c31a5d2a050cd88d99a94ed2a0e3bcc987114220
[ "MIT" ]
3
2019-11-06T23:40:55.000Z
2020-06-20T22:33:25.000Z
lib/op_api_web/views/layout_view.ex
operate-bsv/api.operatebsv.org
c31a5d2a050cd88d99a94ed2a0e3bcc987114220
[ "MIT" ]
null
null
null
lib/op_api_web/views/layout_view.ex
operate-bsv/api.operatebsv.org
c31a5d2a050cd88d99a94ed2a0e3bcc987114220
[ "MIT" ]
null
null
null
defmodule OpApiWeb.LayoutView do use OpApiWeb, :view end
14.75
32
0.79661
03e96d8900fc526cd3f679f22056c11e9e1f72fb
570
ex
Elixir
test/support/test/retry.ex
mathieuprog/absinthe_graphql_ws
d2a6be578459f7bb0dd81e64bb7e33cf6c580a01
[ "MIT" ]
26
2021-06-07T11:00:25.000Z
2022-03-13T00:17:52.000Z
test/support/test/retry.ex
mathieuprog/absinthe_graphql_ws
d2a6be578459f7bb0dd81e64bb7e33cf6c580a01
[ "MIT" ]
9
2021-06-07T14:59:41.000Z
2022-03-27T13:08:50.000Z
test/support/test/retry.ex
mathieuprog/absinthe_graphql_ws
d2a6be578459f7bb0dd81e64bb7e33cf6c580a01
[ "MIT" ]
7
2021-06-07T11:04:47.000Z
2022-03-19T05:29:20.000Z
defmodule Test.Retry do @moduledoc false def retry(fun) when is_function(fun), do: retry_for(5000, fun) def retry_for(timeout, fun) when is_function(fun) and is_number(timeout) do DateTime.utc_now() |> DateTime.add(timeout, :millisecond) |> retry_until(fun) end def retry_until(%DateTime{} =...
22.8
77
0.645614
03e980d1f72abc9823a27de9db99add39a68ed36
14,508
exs
Elixir
test/credo/check/warning/unused_list_operation_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/check/warning/unused_list_operation_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/check/warning/unused_list_operation_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Warning.UnusedListOperationTest do use Credo.Test.Case @described_check Credo.Check.Warning.UnusedListOperation test "it should NOT report expected code" do """ defmodule CredoSampleModule do def some_function(parameter1, parameter2) do List.to_tuple(parameter1) + par...
26.046679
145
0.579404
03e9a108995e888edc9d4cbab1d69b6070582891
24,350
exs
Elixir
test/ecto/query_test.exs
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
test/ecto/query_test.exs
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
test/ecto/query_test.exs
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
Code.require_file "../support/eval_helpers.exs", __DIR__ defmodule Ecto.QueryTest do use ExUnit.Case, async: true import Support.EvalHelpers import Ecto.Query alias Ecto.Query defmacrop macro_equal(column, value) do quote do unquote(column) == unquote(value) end end defmacro macro_map(ke...
33.866481
145
0.583696
03e9b31d2139563a10afd00c10b83e51f610fd38
111
exs
Elixir
test/simple_state_machine_test.exs
RobertDober/lab42_simple_state_machine
947c092212fefea18c512a881c7ff25a898b9177
[ "Apache-2.0" ]
null
null
null
test/simple_state_machine_test.exs
RobertDober/lab42_simple_state_machine
947c092212fefea18c512a881c7ff25a898b9177
[ "Apache-2.0" ]
null
null
null
test/simple_state_machine_test.exs
RobertDober/lab42_simple_state_machine
947c092212fefea18c512a881c7ff25a898b9177
[ "Apache-2.0" ]
null
null
null
defmodule SimpleStateMachineTest do use ExUnit.Case doctest Lab42.SimpleStateMachine, import: true end
15.857143
48
0.801802
03e9b6b4180df084cfc576556bd862eac6e1a42d
1,779
exs
Elixir
test/supermemo_test.exs
FrancoB411/supermemo
8179c8f7a407c32518f01b8a8c706e21af457d78
[ "MIT" ]
18
2015-10-02T11:23:36.000Z
2021-11-17T10:53:40.000Z
test/supermemo_test.exs
FrancoB411/supermemo
8179c8f7a407c32518f01b8a8c706e21af457d78
[ "MIT" ]
3
2020-02-05T02:29:44.000Z
2021-02-13T06:24:25.000Z
test/supermemo_test.exs
FrancoB411/supermemo
8179c8f7a407c32518f01b8a8c706e21af457d78
[ "MIT" ]
4
2019-01-25T04:02:49.000Z
2021-02-13T06:25:39.000Z
defmodule SupermemoTest do use ExUnit.Case use ExCheck test "first iteration" do assert Supermemo.set_interval(1, 0, 1, 2.5) == 1 end test "second iteration" do assert Supermemo.set_interval(1, 1, 1, 2.5) == 6 end property :interval do for_all x in int() do implies x > 2 do p...
27.796875
80
0.572794
03e9c74e95edde9c97e74db205a8de4d43a9868f
1,160
exs
Elixir
test/serialization/module_name_type_provider_test.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
1
2022-02-20T10:42:07.000Z
2022-02-20T10:42:07.000Z
test/serialization/module_name_type_provider_test.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
test/serialization/module_name_type_provider_test.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
defmodule Commanded.Serialization.ModuleNameTypeProviderTest do use ExUnit.Case alias Commanded.ExampleDomain.BankAccount.Events.BankAccountOpened alias Commanded.Serialization.ModuleNameTypeProvider @account_opened_type "Elixir.Commanded.ExampleDomain.BankAccount.Events.BankAccountOpened" test "should con...
33.142857
92
0.787069
03e9e17bd010b761cf12e1830d78dfdf7c70e604
2,559
ex
Elixir
lib/ueberauth/strategy/esi/oauth.ex
joshuataylor/ueberauth_esi
294430beea892cd8acb2f0fb0088d429f8905667
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/esi/oauth.ex
joshuataylor/ueberauth_esi
294430beea892cd8acb2f0fb0088d429f8905667
[ "MIT" ]
2
2019-10-30T11:22:31.000Z
2019-11-04T09:05:57.000Z
lib/ueberauth/strategy/esi/oauth.ex
joshuataylor/ueberauth_esi
294430beea892cd8acb2f0fb0088d429f8905667
[ "MIT" ]
3
2019-10-29T10:42:30.000Z
2020-03-21T19:26:27.000Z
defmodule Ueberauth.Strategy.ESI.OAuth do @moduledoc """ An implementation of OAuth2 for ESI. To add your `client_id` and `client_secret` include these values in your configuration. config :ueberauth, Ueberauth.Strategy.ESI.OAuth, client_id: System.get_env("ESI_CLIENT_ID"), client_secret: ...
29.413793
98
0.679562
03ea0cae2b7cda8cf6ade8005c3ce992801b485f
68
exs
Elixir
chapter6/ModulesAndFunctions-4.exs
matheustp/programming-elixir-1.3-exercises
f32ad2f6c53da11a24e602fc63299f65a3c48dfc
[ "MIT" ]
null
null
null
chapter6/ModulesAndFunctions-4.exs
matheustp/programming-elixir-1.3-exercises
f32ad2f6c53da11a24e602fc63299f65a3c48dfc
[ "MIT" ]
null
null
null
chapter6/ModulesAndFunctions-4.exs
matheustp/programming-elixir-1.3-exercises
f32ad2f6c53da11a24e602fc63299f65a3c48dfc
[ "MIT" ]
null
null
null
defmodule Sum do def of(1), do: 1 def of(n), do: n + of(n-1) end
17
28
0.573529
03ea0ea692045fc1fee6d223393933574063e50e
5,684
ex
Elixir
lib/ueberauth/strategy/facebook.ex
lesykos/ueberauth_facebook
9e8a4cc48260372330969f6ecafad7bcaa4e954d
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/facebook.ex
lesykos/ueberauth_facebook
9e8a4cc48260372330969f6ecafad7bcaa4e954d
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/facebook.ex
lesykos/ueberauth_facebook
9e8a4cc48260372330969f6ecafad7bcaa4e954d
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Facebook do @moduledoc """ Facebook Strategy for Überauth. """ use Ueberauth.Strategy, default_scope: "email,public_profile", profile_fields: "id,email,gender,link,locale,name,timezone,updated_time,verified", uid_field: :id, ...
27.066667
108
0.614356
03ea24e826f41cd8254b985b210344893a8dbae6
190
ex
Elixir
lib/conduit/blog/queries/article_by_slug.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/blog/queries/article_by_slug.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
lib/conduit/blog/queries/article_by_slug.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Blog.Queries.ArticleBySlug do import Ecto.Query alias Conduit.Blog.Projections.Article def new(slug) do from a in Article, where: a.slug == ^slug end end
17.272727
47
0.721053
03ea58d02d73633862e1eca7c901d7da8ab0feb0
242
exs
Elixir
exercises/rna-transcription/rna_transcription.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
null
null
null
exercises/rna-transcription/rna_transcription.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
null
null
null
exercises/rna-transcription/rna_transcription.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
1
2018-07-19T23:43:56.000Z
2018-07-19T23:43:56.000Z
defmodule RNATranscription do @doc """ Transcribes a character list representing DNA nucleotides to RNA ## Examples iex> RNATranscription.to_rna('ACTG') 'UGAC' """ @spec to_rna([char]) :: [char] def to_rna(dna) do end end
17.285714
66
0.681818
03ea6d5757b13c6f3aca6e951eb5133e8db0163a
1,520
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_protobuf_empty.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...
36.190476
282
0.767763
03ea83fa04f0ce449ae5aaf9a7b8e58c9bf05640
482
ex
Elixir
base/fc_support/lib/fc_support/control_flow.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
base/fc_support/lib/fc_support/control_flow.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
base/fc_support/lib/fc_support/control_flow.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCSupport.ControlFlow do @doc """ Unwrap the reuslt out of the tagged tuple if the tag is `:ok`, otherwise return the input. """ @spec unwrap_ok({:error, any}) :: {:error, any} def unwrap_ok({:error, reason}), do: {:error, reason} @spec unwrap_ok({:ok, any}) :: any def unwrap_ok({:ok, result}...
28.352941
74
0.636929
03ea9200fdef830400d8bf135067d882ba3f3d42
701
exs
Elixir
mix.exs
technicalcapt/phoenix_mjml
7e18839fafb02c0ada44c1c6ade12d84ac01c842
[ "MIT" ]
null
null
null
mix.exs
technicalcapt/phoenix_mjml
7e18839fafb02c0ada44c1c6ade12d84ac01c842
[ "MIT" ]
null
null
null
mix.exs
technicalcapt/phoenix_mjml
7e18839fafb02c0ada44c1c6ade12d84ac01c842
[ "MIT" ]
null
null
null
defmodule PhoenixMjml.Mixfile do use Mix.Project def project do [app: :phoenix_mjml, version: "0.2.1", elixir: "~> 1.4", deps: deps(), package: package(), description: description()] end def application do [applications: [:phoenix, :uuid]] end defp deps do [{:phoenix,...
18.945946
62
0.564907
03eaa8956afb4b7ce5b66bb5c15162cb3c4247af
5,723
ex
Elixir
lib/bolt_sips/internals/pack_stream/message/encoder_v1.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/internals/pack_stream/message/encoder_v1.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/internals/pack_stream/message/encoder_v1.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Internals.PackStream.Message.EncoderV1 do @moduledoc false use Bolt.Sips.Internals.PackStream.Message.Signatures alias Bolt.Sips.Internals.PackStream.Message.Encoder @valid_signatures [ @ack_failure_signature, @discard_all_signature, @init_signature, @pull_all_signature, ...
27.647343
96
0.65892
03eacc0cc08ba5f1e23f791bb4085813f1527f48
2,424
exs
Elixir
elixir/sublist/sublist_test.exs
jkrukoff/Exercism
a58535afaef312b6ad45730eaa346f2c9f4c3056
[ "MIT" ]
null
null
null
elixir/sublist/sublist_test.exs
jkrukoff/Exercism
a58535afaef312b6ad45730eaa346f2c9f4c3056
[ "MIT" ]
null
null
null
elixir/sublist/sublist_test.exs
jkrukoff/Exercism
a58535afaef312b6ad45730eaa346f2c9f4c3056
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("sublist.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule SublistTest do use ExUnit.Case test "empty equals empty" do assert Sublist.compare([], []) == :equal end test "empty is a sublist of anyt...
26.347826
95
0.625413
03ead7bcb9efecc92df5d720ea94d5085977e79b
718
ex
Elixir
lib/myelin/cmd/agent/agent_spec.ex
neocortexlab/myelin
0f352c90b41de61133402fe32474a880b544d199
[ "Apache-2.0" ]
null
null
null
lib/myelin/cmd/agent/agent_spec.ex
neocortexlab/myelin
0f352c90b41de61133402fe32474a880b544d199
[ "Apache-2.0" ]
null
null
null
lib/myelin/cmd/agent/agent_spec.ex
neocortexlab/myelin
0f352c90b41de61133402fe32474a880b544d199
[ "Apache-2.0" ]
null
null
null
defmodule Myelin.Cmd.Agent.CmdSpec do @moduledoc """ Command Spec for 'agent' """ def spec do { :agent, [ name: "agent", about: "Operations with agent", flags: [ new: [ short: "-n", long: "--new", help: "Create new agent", ...
19.944444
41
0.384401
03eb1e5612b480806776ebf96eee63ac1dc5b1fd
4,138
ex
Elixir
lib/slackex/channels.ex
soriyath/slackex
ee972bb4ef61d6f0876f7da7cb9b944491681d26
[ "MIT" ]
30
2016-01-12T18:05:37.000Z
2020-06-19T19:54:11.000Z
lib/slackex/channels.ex
soriyath/slackex
ee972bb4ef61d6f0876f7da7cb9b944491681d26
[ "MIT" ]
7
2016-01-12T18:23:35.000Z
2020-11-30T13:26:47.000Z
lib/slackex/channels.ex
soriyath/slackex
ee972bb4ef61d6f0876f7da7cb9b944491681d26
[ "MIT" ]
5
2016-11-01T17:17:38.000Z
2019-10-29T16:08:45.000Z
defmodule Slackex.Channels do @moduledoc """ Get info on your team's Slack channels, create or archive channels, invite users, set the topic and purpose, and mark a channel as read. """ @doc """ This method archives a channel. """ def archive(channel, options \\ %{}) do params = options |> Map....
29.140845
72
0.662397
03eb23fbbcc0b8ce4a149d836159ee439e910994
2,672
ex
Elixir
lib/whistle/html.ex
boudra/whistle
f39f4e41bf2a69d692ffd3259f69088202cb4a23
[ "MIT" ]
59
2018-12-18T15:24:23.000Z
2020-11-19T18:40:25.000Z
lib/whistle/html.ex
boudra/whistle
f39f4e41bf2a69d692ffd3259f69088202cb4a23
[ "MIT" ]
8
2019-02-05T22:36:17.000Z
2019-03-20T21:13:42.000Z
lib/whistle/html.ex
boudra/whistle
f39f4e41bf2a69d692ffd3259f69088202cb4a23
[ "MIT" ]
3
2019-01-30T19:13:53.000Z
2020-11-19T18:40:28.000Z
defmodule Whistle.Html do @tags [ :div, :meta, :img, :a, :i, :form, :table, :tr, :td, :tbody, :thead, :select, :option, :section, :header, :footer, :nav, :ul, :ol, :li, :input, :button, :br, :p, :b, :strong, :c...
18.555556
82
0.57747
03eb2e75f2ddc6c2729a449b827f9145556c2aaf
218
exs
Elixir
apps/ewallet_config/config/dev.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/config/dev.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/config/dev.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :ewallet_config, EWalletConfig.Repo, adapter: Ecto.Adapters.Postgres, url: {:system, "DATABASE_URL", "postgres://localhost/ewallet_dev"}, migration_timestamps: [type: :naive_datetime_usec]
31.142857
69
0.770642
03eb2f2f9823612de51b1ee6659b7c72d4fffcb4
1,686
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/table_column_properties.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/table_column_properties.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/table_column_properties.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...
33.058824
144
0.723013
03eb36d3843ff3747c1d18a2acae4afd064cf9e0
662
exs
Elixir
mix.exs
aforward-oss/phoenix_haml
8bb904e694d58742f1c25162fc44eba1cb809d27
[ "MIT" ]
null
null
null
mix.exs
aforward-oss/phoenix_haml
8bb904e694d58742f1c25162fc44eba1cb809d27
[ "MIT" ]
null
null
null
mix.exs
aforward-oss/phoenix_haml
8bb904e694d58742f1c25162fc44eba1cb809d27
[ "MIT" ]
null
null
null
defmodule PhoenixHaml.Mixfile do use Mix.Project def project do [ app: :phoenix_haml, version: "0.1.0-dev", elixir: "~> 1.0.1 or ~> 1.1", deps: deps, package: [ contributors: ["Chris McCord"], licenses: ["MIT"], links: [github: "https://github.com/chrismcco...
20.060606
70
0.536254
03eb3ac991c83d29def8272bb7e5396f9d098833
204
exs
Elixir
test/test_helper.exs
jwarwick/lum_patterns_web
66ecaa56d1311a21ed9d55c92267e4834be33882
[ "MIT" ]
null
null
null
test/test_helper.exs
jwarwick/lum_patterns_web
66ecaa56d1311a21ed9d55c92267e4834be33882
[ "MIT" ]
null
null
null
test/test_helper.exs
jwarwick/lum_patterns_web
66ecaa56d1311a21ed9d55c92267e4834be33882
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r LumPatternsWeb.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r LumPatternsWeb.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(LumPatternsWeb.Repo)
29.142857
63
0.769608
03eb4d3d4dc31e8fdeb284a60372e1790ff9681a
1,907
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/public_key_certificate.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/public_key_certificate.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/public_key_certificate.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...
35.981132
177
0.725747
03eb5001cb56974f0cddcf8c9c3809f2cd8e28bc
76
exs
Elixir
demo/test/demo_web/views/layout_view_test.exs
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
40
2017-09-07T03:25:23.000Z
2022-02-27T04:47:14.000Z
demo/test/demo_web/views/layout_view_test.exs
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
7
2017-09-06T23:56:36.000Z
2019-09-06T09:49:16.000Z
demo/test/demo_web/views/layout_view_test.exs
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
15
2017-09-29T09:16:11.000Z
2022-01-19T22:48:14.000Z
defmodule DemoWeb.LayoutViewTest do use DemoWeb.ConnCase, async: true end
19
35
0.815789
03eb53e7e231e123da8c35c03682a2e4c834285a
1,667
ex
Elixir
lib/auto_api/capabilities/ignition_capability.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/capabilities/ignition_capability.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/capabilities/ignition_capability.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
37.044444
79
0.740852
03eb5b6796d1cd58741273985bffd4f8ded11e9e
2,311
ex
Elixir
lib/auto_api/states/text_input_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/states/text_input_state.ex
highmobility/auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
lib/auto_api/states/text_input_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
37.274194
165
0.717871
03eb6a61420d65e8bcaeaf51ad9213e4bff49f52
826
ex
Elixir
test/support/conn_case.ex
Science-Adventurers/game-backend
9c99609b5c9c8e350af04fa1e838c3fa31283e42
[ "MIT" ]
5
2017-02-21T17:19:51.000Z
2017-02-24T14:46:00.000Z
test/support/conn_case.ex
Science-Adventurers/game-backend
9c99609b5c9c8e350af04fa1e838c3fa31283e42
[ "MIT" ]
null
null
null
test/support/conn_case.ex
Science-Adventurers/game-backend
9c99609b5c9c8e350af04fa1e838c3fa31283e42
[ "MIT" ]
null
null
null
defmodule Game.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the databa...
23.6
56
0.717918
03eb710be1a8649315165f09f74e54ccf6cfa8a6
4,285
exs
Elixir
test/phoenix/logger_test.exs
achalagarwal/phoenix
6534f05beda6696c50ca007d02c922fa168083d7
[ "MIT" ]
1
2022-02-05T13:37:59.000Z
2022-02-05T13:37:59.000Z
test/phoenix/logger_test.exs
achalagarwal/phoenix
6534f05beda6696c50ca007d02c922fa168083d7
[ "MIT" ]
null
null
null
test/phoenix/logger_test.exs
achalagarwal/phoenix
6534f05beda6696c50ca007d02c922fa168083d7
[ "MIT" ]
null
null
null
defmodule Phoenix.LoggerTest do use ExUnit.Case, async: true use RouterHelper describe "filter_values/2 with discard strategy" do test "in top level map" do values = %{"foo" => "bar", "password" => "should_not_show"} assert Phoenix.Logger.filter_values(values, ["password"]) == %{"foo"...
36.939655
88
0.546091
03ebc6bbb5b93e3425c0ef9725ff0b44e2e6ff6c
22,869
ex
Elixir
lib/elixir/lib/code/fragment.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/fragment.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/fragment.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
defmodule Code.Fragment do @moduledoc """ This module provides conveniences for analyzing fragments of textual code and extract available information whenever possible. Most of the functions in this module provide a best-effort and may not be accurate under all circumstances. Read each documentation for mo...
34.493213
96
0.60195
03ebccb703f3c440db0e4e8b5cee1b1d56ca5b0d
11,183
exs
Elixir
test/cldr_units_test.exs
kianmeng/cldr_units
fae3ed1f658e6b4c5164c2ebbe786cc562014a8b
[ "Apache-2.0" ]
null
null
null
test/cldr_units_test.exs
kianmeng/cldr_units
fae3ed1f658e6b4c5164c2ebbe786cc562014a8b
[ "Apache-2.0" ]
null
null
null
test/cldr_units_test.exs
kianmeng/cldr_units
fae3ed1f658e6b4c5164c2ebbe786cc562014a8b
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.UnitsTest do use ExUnit.Case, async: true test "new unit with multiple 'per' clauses" do assert Cldr.Unit.new!(2, "curr-usd-per-meter-per-second").unit == "curr_usd_per_meter_per_second" assert Cldr.Unit.new!(2, "curr-usd-per-mile-per-gallon").unit == "curr_usd_per_gallon_mile" ...
37.401338
133
0.636502
03ebd68b88ba42a5a697cde23695ed3fe8e93ac0
904
exs
Elixir
test/day_14_disk_defragmentation_test.exs
scmx/advent-of-code-2017-elixir
7435028bf7cd4d0c880144363aab2e3d80ab7ceb
[ "MIT" ]
1
2018-11-26T11:34:41.000Z
2018-11-26T11:34:41.000Z
test/day_14_disk_defragmentation_test.exs
scmx/advent-of-code-2017-elixir
7435028bf7cd4d0c880144363aab2e3d80ab7ceb
[ "MIT" ]
null
null
null
test/day_14_disk_defragmentation_test.exs
scmx/advent-of-code-2017-elixir
7435028bf7cd4d0c880144363aab2e3d80ab7ceb
[ "MIT" ]
1
2018-01-23T08:12:26.000Z
2018-01-23T08:12:26.000Z
defmodule Adventofcode.Day14DiskDefragmentationTest do use Adventofcode.FancyCase import Adventofcode.Day14DiskDefragmentation describe "squares_count/1" do test "flqrgnkx across the entire 128x128 grid 8108 squares are used" do assert 8108 = "flqrgnkx" |> squares_count() end test "with puzzl...
28.25
76
0.691372
03ebe10b3ac9ed336b3d22f73b04206185b24ecb
1,961
exs
Elixir
config/dev.exs
AstridMN/elixir1
f62347179628937cdb63fc14db0b0a32c689e0ae
[ "MIT" ]
3
2017-04-18T06:23:18.000Z
2018-01-05T04:14:57.000Z
config/dev.exs
AstridMN/elixir1
f62347179628937cdb63fc14db0b0a32c689e0ae
[ "MIT" ]
27
2016-11-04T19:56:11.000Z
2017-03-26T22:34:55.000Z
config/dev.exs
AstridMN/elixir1
f62347179628937cdb63fc14db0b0a32c689e0ae
[ "MIT" ]
3
2016-10-05T11:56:42.000Z
2017-03-05T14:37:10.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :microcrawler_webapp, MicrocrawlerWebapp.Endpoin...
35.017857
81
0.711882
03ebecc5cdc7f57fef596c0b0a459c2c1985de4e
2,228
ex
Elixir
lib/html_sanitize_ex/scrubber/basic_html.ex
MikeAndrianov/html_sanitize_ex
91ca3dd14c5ce5d6eb41fca47afea4a47ddce1c7
[ "MIT" ]
null
null
null
lib/html_sanitize_ex/scrubber/basic_html.ex
MikeAndrianov/html_sanitize_ex
91ca3dd14c5ce5d6eb41fca47afea4a47ddce1c7
[ "MIT" ]
null
null
null
lib/html_sanitize_ex/scrubber/basic_html.ex
MikeAndrianov/html_sanitize_ex
91ca3dd14c5ce5d6eb41fca47afea4a47ddce1c7
[ "MIT" ]
null
null
null
defmodule HtmlSanitizeEx.Scrubber.BasicHTML do @moduledoc """ Allows basic HTML tags to support user input for writing relatively plain text but allowing headings, links, bold, and so on. Does not allow any mailto-links, styling, HTML5 tags, video embeds etc. """ require HtmlSanitizeEx.Scrubber.Meta ali...
35.935484
73
0.748205
03ec106afcbf4cf595b04ba74ee70f4b195ac036
1,166
exs
Elixir
test/phoenix_live_view/controller_test.exs
alanvardy/phoenix_live_view
f5c18a5d5682850050072054397da024371aefca
[ "MIT" ]
null
null
null
test/phoenix_live_view/controller_test.exs
alanvardy/phoenix_live_view
f5c18a5d5682850050072054397da024371aefca
[ "MIT" ]
null
null
null
test/phoenix_live_view/controller_test.exs
alanvardy/phoenix_live_view
f5c18a5d5682850050072054397da024371aefca
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ControllerTest do use ExUnit.Case, async: true use Phoenix.ConnTest alias Phoenix.LiveViewTest.Endpoint @endpoint Endpoint setup do {:ok, conn: Phoenix.ConnTest.build_conn()} end test "live renders from controller without session", %{conn: conn} do conn = get(conn, "...
33.314286
80
0.672384
03ec2ff54d79a9ae0ad9bc52eecc0cf2a66604b6
6,017
ex
Elixir
lib/telnet/metrics/client_instrumenter.ex
oestrich/grapevine-telnet
5753d2b7f2744580e56cdb6fc00f7dd271a2a679
[ "MIT" ]
3
2019-02-13T06:07:32.000Z
2021-02-21T13:54:32.000Z
lib/telnet/metrics/client_instrumenter.ex
oestrich/grapevine-telnet
5753d2b7f2744580e56cdb6fc00f7dd271a2a679
[ "MIT" ]
null
null
null
lib/telnet/metrics/client_instrumenter.ex
oestrich/grapevine-telnet
5753d2b7f2744580e56cdb6fc00f7dd271a2a679
[ "MIT" ]
null
null
null
defmodule GrapevineTelnet.Metrics.ClientInstrumenter do @moduledoc """ Instrumentation for the telnet client """ use Prometheus.Metric require Logger alias GrapevineTelnet.Presence @doc false def setup() do events = [ [:start], [:connection, :connected], [:connection, :failed],...
28.516588
97
0.652318
03ec38739697af778efab566f4158ab8d50dc78e
205
exs
Elixir
v01/ch12/hello3.edit3.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v01/ch12/hello3.edit3.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v01/ch12/hello3.edit3.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
defmodule Hello3 do def message do "Hello, world!" end def message(name) do "Hello, #{name}!" end end IO.puts Hello3.message("Alice") IO.puts Hello3.message("Bob") IO.puts Hello3.message
14.642857
31
0.673171
03ec58a76a3e988ce666a06e6c995153eb3aa52b
537
ex
Elixir
apps/password_diceware_api_web/lib/password_diceware_api_web/router.ex
sfat/phoenix-passphrase-diceware-generator
6bf723318c474c6ebd5875e0999717c0da294504
[ "MIT" ]
null
null
null
apps/password_diceware_api_web/lib/password_diceware_api_web/router.ex
sfat/phoenix-passphrase-diceware-generator
6bf723318c474c6ebd5875e0999717c0da294504
[ "MIT" ]
3
2021-03-10T05:05:50.000Z
2022-02-14T10:05:59.000Z
apps/password_diceware_api_web/lib/password_diceware_api_web/router.ex
sfat/phoenix-passphrase-diceware-generator
6bf723318c474c6ebd5875e0999717c0da294504
[ "MIT" ]
null
null
null
defmodule PasswordDicewareApiWeb.Router do use PasswordDicewareApiWeb, :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 "/",...
19.888889
43
0.702048
03ec844c5af9496f80c0de2f65db2365c7c800ab
4,865
exs
Elixir
apps/neoscan/priv/repo/migrations/20180607000003_vouts.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neoscan/priv/repo/migrations/20180607000003_vouts.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neoscan/priv/repo/migrations/20180607000003_vouts.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
defmodule Neoscan.Repo.Migrations.Vouts do use Ecto.Migration def change do create table(:vouts, primary_key: false) do add(:transaction_hash, :binary, null: false, primary_key: true) add(:n, :integer, null: false, primary_key: true) add(:address_hash, :binary, null: false) add(:asset_...
41.581197
186
0.631449
03ecb136b9d9b1e97c2f27c8448c68901d69d06e
3,348
ex
Elixir
lib/liblink/network/consul/agent.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/network/consul/agent.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/network/consul/agent.ex
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...
38.482759
88
0.663381
03ecb1c9e093466fddcd53de64e7b6d72dbe951c
139
exs
Elixir
test/json_response_test.exs
joaopealves/json_response
15e9a97d6ac1267541fa715bb6836aedae25d19a
[ "Apache-2.0" ]
4
2021-07-19T11:47:19.000Z
2021-07-25T21:59:34.000Z
test/json_response_test.exs
joaopealves/json_response
15e9a97d6ac1267541fa715bb6836aedae25d19a
[ "Apache-2.0" ]
null
null
null
test/json_response_test.exs
joaopealves/json_response
15e9a97d6ac1267541fa715bb6836aedae25d19a
[ "Apache-2.0" ]
null
null
null
defmodule JsonResponseTest do use ExUnit.Case doctest JsonResponse test "greets the world" do assert :world == :world end end
15.444444
29
0.726619
03eccf122cb1ceb18701ea44be805fdf5aa0fc54
1,964
exs
Elixir
config/prod.exs
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
config/prod.exs
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
16
2020-05-18T20:06:29.000Z
2020-06-08T14:32:11.000Z
config/prod.exs
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "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, # ...
35.071429
66
0.711813
03ecdc02af43140fc2b123467364ae24a06fbc68
761
exs
Elixir
xarb/config/test.exs
Erik-joh/examensarbete
951847f0ee5195abc0e3aa5f2b6fff78233127ee
[ "MIT" ]
null
null
null
xarb/config/test.exs
Erik-joh/examensarbete
951847f0ee5195abc0e3aa5f2b6fff78233127ee
[ "MIT" ]
null
null
null
xarb/config/test.exs
Erik-joh/examensarbete
951847f0ee5195abc0e3aa5f2b6fff78233127ee
[ "MIT" ]
null
null
null
use Mix.Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. c...
29.269231
74
0.751643
03ed1392c48936f17ae564befc70503ab80e99ae
1,341
ex
Elixir
lib/fatex_web/endpoint.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
3
2019-12-08T19:42:39.000Z
2020-03-17T13:02:56.000Z
lib/fatex_web/endpoint.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2021-03-09T19:49:41.000Z
2021-03-09T19:49:41.000Z
lib/fatex_web/endpoint.ex
shiryel/fatex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2019-12-08T19:42:42.000Z
2019-12-08T19:42:42.000Z
defmodule FatexWeb.Endpoint do use Phoenix.Endpoint, otp_app: :fatex socket "/socket", FatexWeb.UserSocket, websocket: true, longpoll: false socket "/live", Phoenix.LiveView.Socket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx...
27.367347
69
0.709172
03ed151e8a033ff6c04fe7d4f98c0c29f09eaf78
1,129
exs
Elixir
mix.exs
h4cc/elixir-badges
e10ad5ba2083236fb26bbfac9e284621fca547a6
[ "MIT" ]
null
null
null
mix.exs
h4cc/elixir-badges
e10ad5ba2083236fb26bbfac9e284621fca547a6
[ "MIT" ]
3
2015-04-24T12:28:05.000Z
2015-04-28T19:54:36.000Z
mix.exs
h4cc/elixir-badges
e10ad5ba2083236fb26bbfac9e284621fca547a6
[ "MIT" ]
null
null
null
defmodule ElixirBadges.Mixfile do use Mix.Project def project do [app: :elixir_badges, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps:...
26.255814
67
0.596103
03ed2e60e894d5a8cf39584665a6a982f3f79a6a
1,885
exs
Elixir
mix.exs
xshadowlegendx/commanded-extreme-adapter
a6833aa5763831c28971c18775f75cba66144783
[ "MIT" ]
null
null
null
mix.exs
xshadowlegendx/commanded-extreme-adapter
a6833aa5763831c28971c18775f75cba66144783
[ "MIT" ]
null
null
null
mix.exs
xshadowlegendx/commanded-extreme-adapter
a6833aa5763831c28971c18775f75cba66144783
[ "MIT" ]
null
null
null
defmodule Commanded.EventStore.Adapters.Extreme.Mixfile do use Mix.Project @version "1.1.0" def project do [ app: :commanded_extreme_adapter, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), consolidate_protocols: Mix.env() != :test, descripti...
21.420455
93
0.556499
03ed349ee378bc42ebdb98e467c7a3b75e1f6f18
3,251
ex
Elixir
lib/tarearbol/jobs/errand.ex
am-kantox/tarearbol
37bac59178940df4c72bf942dd08d8acca505130
[ "MIT" ]
49
2017-07-22T12:25:46.000Z
2022-02-12T20:29:36.000Z
lib/tarearbol/jobs/errand.ex
am-kantox/tarearbol
37bac59178940df4c72bf942dd08d8acca505130
[ "MIT" ]
15
2017-07-21T13:17:32.000Z
2021-02-25T05:40:11.000Z
lib/tarearbol/jobs/errand.ex
am-kantox/tarearbol
37bac59178940df4c72bf942dd08d8acca505130
[ "MIT" ]
4
2017-10-26T10:28:00.000Z
2019-09-13T08:04:01.000Z
defmodule Tarearbol.Errand do @moduledoc false use Boundary, deps: [Tarearbol.Application, Tarearbol.Job, Tarearbol.Scheduler, Tarearbol.Utils] require Logger @typep job :: (() -> any()) | {module(), atom()} @default_opts [ repeatedly: false ] @msecs_per_day 1_000 * 60 * 60 * 24 @doc """ Runs...
29.825688
119
0.610274
03ed51f49142cc958452a79dcc14755b7118e18b
3,633
ex
Elixir
lib/shopifex/plug/shopify_session.ex
smantzavinos/shopifex
744d732f9237cdea1773056c412f3524e1f5ca4f
[ "Apache-2.0" ]
null
null
null
lib/shopifex/plug/shopify_session.ex
smantzavinos/shopifex
744d732f9237cdea1773056c412f3524e1f5ca4f
[ "Apache-2.0" ]
null
null
null
lib/shopifex/plug/shopify_session.ex
smantzavinos/shopifex
744d732f9237cdea1773056c412f3524e1f5ca4f
[ "Apache-2.0" ]
null
null
null
defmodule Shopifex.Plug.ShopifySession do import Plug.Conn import Phoenix.Controller require Logger def init(options) do # initialize options options end def call(conn, _) do token = get_token_from_conn(conn) || Guardian.Plug.current_token(conn) case Shopifex.Guardian.resource_from_token(...
27.11194
91
0.638591
03eda113c4a2a05da03c642953a5ffd7e7beb89b
11,376
exs
Elixir
test/absinthe/strict_schema_test.exs
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
test/absinthe/strict_schema_test.exs
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
test/absinthe/strict_schema_test.exs
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.StrictSchemaTest do use Absinthe.Case, async: true describe "directive strict adapter" do test "can use camelcase external name" do document = """ query ($input: FooBarInput!) { fooBarQuery @fooBarDirective(bazQux: $input) { naiveDatetime } } ...
30.255319
144
0.587992
03edce0bd4216a5cb029e0aea1a82cce49e73aa9
1,274
exs
Elixir
.check.exs
clayscode/exzeitable
312e7a0aebda51f5cd3ccee800c1d1affd9d4248
[ "MIT" ]
1
2021-10-18T00:55:47.000Z
2021-10-18T00:55:47.000Z
.check.exs
EnzymeCorp/exzeitable
74c02ab82de56aaf150006f05836a65a7d47697f
[ "MIT" ]
null
null
null
.check.exs
EnzymeCorp/exzeitable
74c02ab82de56aaf150006f05836a65a7d47697f
[ "MIT" ]
null
null
null
[ ## all available options with default values (see `mix check` docs for description) # skipped: true, # exit_status: true, # parallel: true, ## list of tools (see `mix check` docs for defaults) tools: [ ## curated tools may be disabled (e.g. the check for compilation warnings) # {:compiler, false}...
38.606061
95
0.612245
03edddf65e72a637222294b959127c61344c45ea
2,347
ex
Elixir
lib/day4/security_through_obscurity.ex
fboyer/advent_of_code_2016
ffe02f093298fa60a5547dc6a9391c1acfb2b325
[ "MIT" ]
null
null
null
lib/day4/security_through_obscurity.ex
fboyer/advent_of_code_2016
ffe02f093298fa60a5547dc6a9391c1acfb2b325
[ "MIT" ]
null
null
null
lib/day4/security_through_obscurity.ex
fboyer/advent_of_code_2016
ffe02f093298fa60a5547dc6a9391c1acfb2b325
[ "MIT" ]
null
null
null
defmodule AdventOfCode2016.SecurityThroughObscurity do @number_of_letters_in_alphabet 26 @convert_between_ascii_and_alphabet 96 def sum_valid_rooms_sector_ids(data) do data |> String.split("\n", trim: true) |> Stream.map(&parse_room/1) |> Stream.filter(&is_valid?/1) |> Stream.map(fn({_encrypt...
30.089744
108
0.640392
03ee11837a6032aede2c7256072ce1f0dbbab4b3
2,394
exs
Elixir
languages/elixir/exercises/concept/language-list/test/language_list_test.exs
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
3
2020-07-25T06:24:00.000Z
2020-09-14T17:39:11.000Z
languages/elixir/exercises/concept/language-list/test/language_list_test.exs
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
45
2020-01-24T17:04:52.000Z
2020-11-24T17:50:18.000Z
languages/elixir/exercises/concept/language-list/test/language_list_test.exs
AlexLeSang/v3
3d35961a961b5a2129b1d42f1d118972d9665357
[ "MIT" ]
1
2020-04-20T11:41:55.000Z
2020-04-20T11:41:55.000Z
defmodule LanguageListTest do use ExUnit.Case alias LanguageList, as: LL @languages ~w/Clojure Haskell Erlang F# Elixir/ @languages_reversed Enum.reverse(@languages) # @tag :pending test "new list" do assert LL.new() == [] end @tag :pending test "count an empty list" do assert LL.new() |> ...
20.817391
84
0.596909
03ee1d7351d255d5c2630a46be9e5a1a930453a2
1,370
ex
Elixir
lib/cloak/otp/shadowsocks/shadowsocks.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
51
2020-07-24T06:09:22.000Z
2021-12-16T16:22:59.000Z
lib/cloak/otp/shadowsocks/shadowsocks.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
null
null
null
lib/cloak/otp/shadowsocks/shadowsocks.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
15
2020-07-31T00:34:29.000Z
2021-09-26T03:44:09.000Z
defmodule Cloak.Shadowsocks do use DynamicSupervisor import Cloak.Registry @moduledoc """ Module to manage ports used """ @type account() :: Cloak.Account.t() def start_link(_) do DynamicSupervisor.start_link(__MODULE__, nil, name: __MODULE__) end def init(_) do DynamicSupervisor.init(strat...
25.849057
99
0.659854
03ee3123cba73d979b0c0be4272f9c775889ead0
425
exs
Elixir
13.OrganizeProjects/op6/noaa/test/noaa_data_test.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
6
2019-10-25T21:51:11.000Z
2022-03-23T02:11:38.000Z
13.OrganizeProjects/op6/noaa/test/noaa_data_test.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
null
null
null
13.OrganizeProjects/op6/noaa/test/noaa_data_test.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
1
2020-06-16T12:37:43.000Z
2020-06-16T12:37:43.000Z
defmodule NoaaDataTest do use ExUnit.Case doctest Noaa.NoaaData import Noaa.NoaaData, only: [ extract_field: 2, parse_body: 2 ] test "XML field data extraction" do assert extract_field("<root><a>aa</a><b>bb</b></root>", "b") == %{ "b" => "bb" } end test "XML body extraction" do assert parse_body(...
26.5625
84
0.576471
03ee7210e3a562c7c839c42c2cf4170a2a57ebdf
4,167
ex
Elixir
lib/mix/phoenix_ts_interface/compiler.ex
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
null
null
null
lib/mix/phoenix_ts_interface/compiler.ex
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
1
2020-04-22T15:10:28.000Z
2020-04-22T15:10:28.000Z
lib/mix/phoenix_ts_interface/compiler.ex
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
null
null
null
defmodule Mix.Compilers.Phoenix.TsInterface do @moduledoc false @manifest_vsn :v1 @doc """ This compiler works a little bit different than the usual in the sense that it does not compile sources, it compiles Router modules into typescript files instead. The big difference is that the ```source files``` a...
29.553191
106
0.646748
03ee94f70f756bf0ebbacb4f9cc91379f9606f0c
1,463
ex
Elixir
lib/lv_template_web/router.ex
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
lib/lv_template_web/router.ex
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
lib/lv_template_web/router.ex
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
defmodule LvTemplateWeb.Router do use LvTemplateWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {LvTemplateWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do...
25.666667
70
0.699932
03eebd21756b1efcedeed5e08f36d2d89e51fdcf
1,762
exs
Elixir
rel/config.exs
mtrudel/beats
6edf532bc02f2625190cbcb7f99a09fc6f58c5fd
[ "MIT" ]
37
2018-05-19T17:45:46.000Z
2022-01-18T11:03:36.000Z
rel/config.exs
mtrudel/beats
6edf532bc02f2625190cbcb7f99a09fc6f58c5fd
[ "MIT" ]
1
2020-10-08T09:53:15.000Z
2020-10-08T09:53:15.000Z
rel/config.exs
mtrudel/beats
6edf532bc02f2625190cbcb7f99a09fc6f58c5fd
[ "MIT" ]
2
2018-11-20T18:16:08.000Z
2021-02-09T15:14:28.000Z
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
32.62963
81
0.733258
03eebd4b081e20866e3876cb286362788dc786da
278
exs
Elixir
test/built_with_elixir_web/controllers/page_controller_test.exs
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
8
2018-04-15T19:01:14.000Z
2018-11-19T16:13:56.000Z
test/built_with_elixir_web/controllers/page_controller_test.exs
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
8
2018-04-14T03:32:12.000Z
2018-05-15T04:28:27.000Z
test/built_with_elixir_web/controllers/page_controller_test.exs
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
2
2021-09-22T13:44:09.000Z
2021-12-21T14:26:03.000Z
defmodule BuiltWithElixirWeb.PageControllerTest do use BuiltWithElixirWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Built With Elixir - A place to discover projects built with Elixir." end end
25.272727
82
0.683453
03eee0b3160008d41df822d44c20631c7d16a439
1,412
ex
Elixir
lib/handler.ex
faineance/tonic
24140da47d9ccdfc3dd18b215d712b491157f3ec
[ "MIT" ]
null
null
null
lib/handler.ex
faineance/tonic
24140da47d9ccdfc3dd18b215d712b491157f3ec
[ "MIT" ]
null
null
null
lib/handler.ex
faineance/tonic
24140da47d9ccdfc3dd18b215d712b491157f3ec
[ "MIT" ]
null
null
null
defmodule Tonic.Handler do def init({:tcp, :http}, req, opts) do {:ok, req, opts} end def handle(req, state) do {method, req} = :cowboy_req.method(req) {param, req} = :cowboy_req.binding(:filename, req) {:ok, req} = render(method, param, req) {:ok, req, state} end def render("GET", :und...
32.090909
90
0.631728
03eee81cbe640c415ba3137005065285e1f2a288
1,474
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/embedded_drawing_properties_suggestion_state.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/embedded_drawing_properties_suggestion_state.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/embedded_drawing_properties_suggestion_state.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...
32.755556
96
0.774763
03eef14cddd5fef596afefdefd22200fea9be269
10,206
ex
Elixir
apps/ex_wire/lib/ex_wire/kademlia/routing_table.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/ex_wire/lib/ex_wire/kademlia/routing_table.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/ex_wire/lib/ex_wire/kademlia/routing_table.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule ExWire.Kademlia.RoutingTable do @moduledoc """ Module for working with current node's buckets """ alias ExWire.Handler.Params alias ExWire.Kademlia.{Bucket, Node} alias ExWire.Kademlia.Config, as: KademliaConfig alias ExWire.Message.{FindNeighbours, Neighbours, Ping, Pong} alias ExWire.{Netwo...
28.428969
107
0.627866
03eefb3e47a33497cf518d4b2323bd0118137b97
299
ex
Elixir
archive/elavon/credit_card/void/request.ex
auroche/elavon
8165a1b9abb4e73e214a75b22bc055b09f2a9119
[ "MIT" ]
null
null
null
archive/elavon/credit_card/void/request.ex
auroche/elavon
8165a1b9abb4e73e214a75b22bc055b09f2a9119
[ "MIT" ]
null
null
null
archive/elavon/credit_card/void/request.ex
auroche/elavon
8165a1b9abb4e73e214a75b22bc055b09f2a9119
[ "MIT" ]
null
null
null
defmodule Elavon.CreditCard.Void.Request do use Ecto.Schema embedded_schema do field :ssl_transaction_type, :string field :ssl_merchant_id, :string field :ssl_user_id, :string field :ssl_pin, :string field :ssl_txn_id, :string end end
24.916667
43
0.64214
03eefe05e66b70843b78879b7e871430a429dc0e
1,166
ex
Elixir
lib/twirp/protoc/cli.ex
jnatherley/twirp
bf558df38dce622708ffcc368008dcfcb30f63c1
[ "Apache-2.0" ]
null
null
null
lib/twirp/protoc/cli.ex
jnatherley/twirp
bf558df38dce622708ffcc368008dcfcb30f63c1
[ "Apache-2.0" ]
null
null
null
lib/twirp/protoc/cli.ex
jnatherley/twirp
bf558df38dce622708ffcc368008dcfcb30f63c1
[ "Apache-2.0" ]
null
null
null
defmodule Twirp.Protoc.CLI do @moduledoc false # Almost all of this generation stuff is lifted from the elixr protobuf library. # I don't love the way its implemented but it was the fastest path forward for # supporting generation of services. I'm going to revisit in the future # because I barely understand h...
38.866667
89
0.720412
03eefe0df1e38f25fb80b51ff79ae068760af1b8
785
ex
Elixir
lib/rocketpay/numbers.ex
nnmuniz/rocketpay
3174bcb6bed1578a1cd96e3be90499cc87382b21
[ "MIT" ]
2
2021-03-09T22:58:09.000Z
2021-03-28T12:22:11.000Z
lib/rocketpay/numbers.ex
nnmuniz/rocketpay
3174bcb6bed1578a1cd96e3be90499cc87382b21
[ "MIT" ]
9
2021-02-28T20:29:58.000Z
2021-03-26T01:28:01.000Z
lib/rocketpay/numbers.ex
nnmuniz/rocketpay
3174bcb6bed1578a1cd96e3be90499cc87382b21
[ "MIT" ]
1
2021-03-28T11:56:37.000Z
2021-03-28T11:56:37.000Z
defmodule Rocketpay.Numbers do def sum_from_file(filename) do "#{filename}.csv" |> File.read() |> handle_file() end # defp handle_file({:ok, result}) do # result = # result = String.split(result, ",") # result = Enum.map(result, fn number -> String.to_integer(number) end) # result = E...
25.322581
80
0.634395
03ef317664ca3bf03fea4b36e7a2a9a3a0efd703
1,133
exs
Elixir
config/config.exs
szajbus/transformers
567885bc8611af3fade6be6ca21791f6f6311519
[ "MIT" ]
null
null
null
config/config.exs
szajbus/transformers
567885bc8611af3fade6be6ca21791f6f6311519
[ "MIT" ]
null
null
null
config/config.exs
szajbus/transformers
567885bc8611af3fade6be6ca21791f6f6311519
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.548387
73
0.753751
03ef3fce44ef6cd72e6e56e12fab2848e3cf6c09
1,382
ex
Elixir
lib/api/graphql/mutations/session.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
lib/api/graphql/mutations/session.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
lib/api/graphql/mutations/session.ex
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.GraphQL.Mutations.Session do use Absinthe.Schema.Notation use Absinthe.Relay.Schema.Notation, :modern alias Api.GraphQL.Middleware.{RequireAuthn} alias Api.GraphQL.Resolvers alias Api.Accounts object :session_mutations do @desc "Authenticates a user and returns a JWT" field :authent...
25.592593
78
0.657742
03ef44602a5880408c7f22ff8bce9076740cc4a4
2,598
ex
Elixir
clients/container/lib/google_api/container/v1/model/set_maintenance_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/container/lib/google_api/container/v1/model/set_maintenance_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/set_maintenance_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.969231
171
0.712471
03ef57c1a82bc073b86be10b3a652ca3200049a5
12,995
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
56.255411
1,494
0.648865
03ef5a7481cc15f7c7fd612aba550c0959f10919
1,595
exs
Elixir
apps/plant_monitor/test/oauth/refresh_token_service_test.exs
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
2
2019-01-25T21:21:56.000Z
2021-02-24T08:18:51.000Z
apps/plant_monitor/test/oauth/refresh_token_service_test.exs
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
apps/plant_monitor/test/oauth/refresh_token_service_test.exs
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
defmodule PlantMonitor.OAuth.RefreshTokenServiceTest do use PlantMonitor.DataCase alias PlantMonitor.OAuth.RefreshToken alias PlantMonitor.OAuth.RefreshTokenService # GENERATE NEW TOKEN test "[GENERATE_NEW_TOKEN] Prepare new refresh token" do %{id: user_id} = insert(:user) result = RefreshTokenServi...
24.921875
73
0.696552
03ef7a02253d46bc77d9daac435ab2e5b4e8f7b5
484
ex
Elixir
lib/zig/nif/dirty_io.ex
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
1
2021-02-26T00:00:34.000Z
2021-02-26T00:00:34.000Z
lib/zig/nif/dirty_io.ex
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
lib/zig/nif/dirty_io.ex
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
defmodule Zig.Nif.DirtyIO do @moduledoc false alias Zig.Nif.{Adapter, Synchronous} @behaviour Adapter @impl true defdelegate zig_adapter(nif), to: Synchronous @impl true def nif_table_entries(nif) do """ e.ErlNifFunc{ .name = "#{nif.name}", .arity = #{nif.arity}, .fp...
17.925926
48
0.623967
03ef7a047d41560b0c689a4c2ce9c3285148fe69
1,131
exs
Elixir
config/config.exs
Kr00lIX/assertions
84b0ef5844f06589773a898fd8bd4fdf04d5a338
[ "MIT" ]
121
2018-11-30T16:08:43.000Z
2022-03-10T04:10:04.000Z
config/config.exs
Kr00lIX/assertions
84b0ef5844f06589773a898fd8bd4fdf04d5a338
[ "MIT" ]
21
2019-02-14T08:31:06.000Z
2022-02-22T16:36:43.000Z
config/config.exs
Kr00lIX/assertions
84b0ef5844f06589773a898fd8bd4fdf04d5a338
[ "MIT" ]
17
2018-12-14T13:04:13.000Z
2021-12-10T22:44:59.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.483871
73
0.751547
03ef817a5b75bc2e4cbc66676ce41333a9a40c24
1,131
ex
Elixir
lib/delta_crdt/causal_context.ex
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
1
2019-11-11T16:58:03.000Z
2019-11-11T16:58:03.000Z
lib/delta_crdt/causal_context.ex
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
null
null
null
lib/delta_crdt/causal_context.ex
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
null
null
null
defmodule DeltaCrdt.CausalContext do @moduledoc false defstruct dots: MapSet.new(), maxima: %{} def new(dots \\ []) def new(%__MODULE__{} = cc), do: cc def new([]), do: %__MODULE__{} def new(dots) do maxima = dots |> Enum.reduce(%{}, fn {i, x}, maxima -> Map.update(maxi...
23.5625
63
0.581786
03ef985cf671c92f399002a09da2c9d85bdc2060
2,953
exs
Elixir
lib/elixir/test/elixir/kernel/alias_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/alias_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/alias_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ alias Kernel.AliasTest.Nested, as: Nested defmodule Nested do def value, do: 1 end defmodule Kernel.AliasTest do use ExUnit.Case, async: true test "alias Erlang" do alias :lists, as: MyList assert MyList.flatten([1, [2], 3]) == [1, 2, 3] assert Elixi...
20.506944
61
0.668811
03eff43bac608f9905774e6f9239ac3eec54eb32
678
ex
Elixir
clients/elixir/generated/lib/adobe_experience_manager(aem)api/model/install_status.ex
hoomaan-kh/swagger-aem
0b19225bb6e071df761d176cbc13565891fe895f
[ "Apache-2.0" ]
null
null
null
clients/elixir/generated/lib/adobe_experience_manager(aem)api/model/install_status.ex
hoomaan-kh/swagger-aem
0b19225bb6e071df761d176cbc13565891fe895f
[ "Apache-2.0" ]
null
null
null
clients/elixir/generated/lib/adobe_experience_manager(aem)api/model/install_status.ex
hoomaan-kh/swagger-aem
0b19225bb6e071df761d176cbc13565891fe895f
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdobeExperienceManager(AEM)API.Model.InstallStatus do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"status" ] @type t...
24.214286
105
0.733038
03effd894dc8ca94fa326334038dbbfe4c090867
1,394
exs
Elixir
mix.exs
akoutmos/amqp
cd42deb99a8dcd220bb8da27ef5fe6b77e13432b
[ "MIT" ]
null
null
null
mix.exs
akoutmos/amqp
cd42deb99a8dcd220bb8da27ef5fe6b77e13432b
[ "MIT" ]
null
null
null
mix.exs
akoutmos/amqp
cd42deb99a8dcd220bb8da27ef5fe6b77e13432b
[ "MIT" ]
null
null
null
defmodule AMQP.Mixfile do use Mix.Project @version "1.4.0" def project do [ app: :amqp, version: @version, elixir: "~> 1.7", description: description(), package: package(), source_url: "https://github.com/pma/amqp", deps: deps(), dialyzer: [ ignore_war...
21.446154
75
0.532999
03f035f4d9294dec3afeed829e15dd4b8b03a084
2,636
ex
Elixir
clients/container/lib/google_api/container/v1/model/update_cluster_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/update_cluster_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/update_cluster_request.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.939394
130
0.705615
03f04035af3e8f8b2d8dd3cd460f16e944892615
671
ex
Elixir
lib/stripe/coupons.ex
blitzstudios/stripity-stripe
09034dcc5e01499c0e14a677e21891a2a4307a05
[ "BSD-3-Clause" ]
1
2020-05-03T15:41:49.000Z
2020-05-03T15:41:49.000Z
lib/stripe/coupons.ex
jakhongirruziev/stripity-stripe
09034dcc5e01499c0e14a677e21891a2a4307a05
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/coupons.ex
jakhongirruziev/stripity-stripe
09034dcc5e01499c0e14a677e21891a2a4307a05
[ "BSD-3-Clause" ]
2
2016-08-23T21:06:49.000Z
2020-02-13T16:04:16.000Z
defmodule Stripe.Coupons do @moduledoc """ Handles coupons to the Stripe API. (API ref: https://stripe.com/docs/api#coupons) Operations: - create (TODO) - retrieve - update (TODO) - delete (TODO) - list (TODO) """ @endpoint "coupons" @doc """ Retrieves the coupon with the given ID. Return...
19.171429
53
0.630402
03f048e1c55588a4e95ef281bca0f701ae588046
1,214
ex
Elixir
lib/spotify/models/context.ex
chippers/spotify_web_api
221a197dbac4971f87e9917d02cb335e6a42b726
[ "MIT" ]
null
null
null
lib/spotify/models/context.ex
chippers/spotify_web_api
221a197dbac4971f87e9917d02cb335e6a42b726
[ "MIT" ]
null
null
null
lib/spotify/models/context.ex
chippers/spotify_web_api
221a197dbac4971f87e9917d02cb335e6a42b726
[ "MIT" ]
null
null
null
defmodule Spotify.Context do @moduledoc """ A Context object. [Spotify Docs](https://beta.developer.spotify.com/documentation/web-api/reference/object-model/#context-object) """ @behaviour Spotify.ObjectModel alias Spotify.ExternalUrls @typedoc """ The object type, e.g. `artist`, `playlist`, `...
22.072727
115
0.61944
03f0541b58001ac6085104002367824b199ad2f3
1,806
ex
Elixir
lib/learn_kit/regression/score.ex
davidrichey/elixir_learn_kit
4f79d052ffca7bf45f5fa887607710fa50689307
[ "MIT" ]
28
2018-11-12T13:46:08.000Z
2022-02-09T14:05:15.000Z
lib/learn_kit/regression/score.ex
Kinyugo/elixir_learn_kit
4f79d052ffca7bf45f5fa887607710fa50689307
[ "MIT" ]
2
2019-01-08T05:54:58.000Z
2020-03-12T10:06:26.000Z
lib/learn_kit/regression/score.ex
Kinyugo/elixir_learn_kit
4f79d052ffca7bf45f5fa887607710fa50689307
[ "MIT" ]
4
2018-12-23T14:35:26.000Z
2019-11-28T08:45:30.000Z
defmodule LearnKit.Regression.Score do @moduledoc """ Module for scoring regression models """ alias LearnKit.Math defmacro __using__(_opts) do quote do @doc """ Returns the coefficient of determination R^2 of the prediction ## Parameters - predictor: %LearnKit.Regression.Lin...
28.21875
127
0.616833
03f08f35e478ef1bc41043d975faceb064bc9834
466
exs
Elixir
test/daily_meals_web/views/error_view_test.exs
vinolivae/daily_meals
8f375cbb7eaf54abfa6b683705bb8075067f9078
[ "MIT" ]
null
null
null
test/daily_meals_web/views/error_view_test.exs
vinolivae/daily_meals
8f375cbb7eaf54abfa6b683705bb8075067f9078
[ "MIT" ]
null
null
null
test/daily_meals_web/views/error_view_test.exs
vinolivae/daily_meals
8f375cbb7eaf54abfa6b683705bb8075067f9078
[ "MIT" ]
null
null
null
defmodule DailyMealsWeb.ErrorViewTest do use DailyMealsWeb.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(DailyMealsWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "render...
29.125
95
0.690987
03f0d8b6a71bd2d0ae62a52767fcbabc398d390f
12,382
ex
Elixir
kousa/lib/kousa/room.ex
jamesql/dogehouse
93b6d07a303e7ae758e25c414e6adc401962c399
[ "MIT" ]
1
2021-03-22T22:10:34.000Z
2021-03-22T22:10:34.000Z
kousa/lib/kousa/room.ex
jamesql/dogehouse
93b6d07a303e7ae758e25c414e6adc401962c399
[ "MIT" ]
null
null
null
kousa/lib/kousa/room.ex
jamesql/dogehouse
93b6d07a303e7ae758e25c414e6adc401962c399
[ "MIT" ]
null
null
null
defmodule Kousa.Room do alias Kousa.Utils.RegUtils alias Kousa.Utils.VoiceServerUtils alias Beef.Users alias Beef.Follows alias Beef.Rooms # note the following 2 module aliases are on the chopping block! alias Beef.RoomPermissions alias Beef.RoomBlocks def set_auto_speaker(user_id, value) do room...
29.065728
98
0.587223
03f0e5b988f7d1a330776853bd9eecbff15d6c2b
1,682
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/metaline.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/metaline.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/metaline.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...
34.326531
180
0.74673
03f10cf4fc3d4a90b3dd8b24ab3fd7b1e121a50e
1,721
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/goal_visit_time_on_site_details.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/goal_visit_time_on_site_details.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/goal_visit_time_on_site_details.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.745098
118
0.750726
03f157f165eb65c37d03aee59c64a7b108902876
2,012
ex
Elixir
lib/ex_aws/credentials_ini.ex
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
lib/ex_aws/credentials_ini.ex
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
lib/ex_aws/credentials_ini.ex
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
if Code.ensure_loaded?(ConfigParser) do defmodule ExAws.CredentialsIni do def security_credentials(profile_name) do shared_credentials = profile_from_shared_credentials(profile_name) config_credentials = profile_from_config(profile_name) Map.merge(config_credentials, shared_credentials) end ...
27.561644
87
0.631213
03f1999d1e7b61edb83066f6563ebcba4e60b7f2
206
ex
Elixir
web/queries/order_billing_address.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
web/queries/order_billing_address.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
web/queries/order_billing_address.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Query.OrderBillingAddress do use Nectar.Query, model: Nectar.OrderBillingAddress def for_order(order), do: from o in Nectar.OrderBillingAddress, where: o.order_id == ^order.id end
29.428571
76
0.776699
03f1a7b1ffe2e4285775c5a0e69bf38d3360d51f
3,877
ex
Elixir
apps/rig_outbound_gateway/lib/rig_outbound_gateway/kinesis/java_client.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_outbound_gateway/lib/rig_outbound_gateway/kinesis/java_client.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_outbound_gateway/lib/rig_outbound_gateway/kinesis/java_client.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
defmodule RigOutboundGateway.Kinesis.JavaClient do @moduledoc """ Manages the external Java-based Kinesis client application. In Java land this would've been named AmazonKinesisJavaClientManager. """ use Rig.Config, :custom_validation use GenServer require Logger alias Rig.EventFilter alias RigOutbo...
30.769841
160
0.677844