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
b2b8fceff2f1e3020cb783f5272cffd5a7795d4b
16,346
exs
Elixir
aoc2019/elixir/test/day06_test.exs
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2019/elixir/test/day06_test.exs
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2019/elixir/test/day06_test.exs
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
defmodule Day06Test do use ExUnit.Case @input [{"J1C", "J1M"},{"N2W", "2DM"},{"DST", "VZL"},{"555", "45Q"},{"S4C", "DGK"},{"H51", "JLX"},{"K4L", "3F5"},{"L58", "T9K"},{"GBC", "NZT"},{"L7B", "CQB"},{"L7L", "R63"},{"4LQ", "KHZ"},{"XWW", "L61"},{"R6W", "DVN"},{"91C", "GPM"},{"YWZ", "51W"},{"XK8", "22K"},{"NV2", "DTP"...
347.787234
15,042
0.408112
b2b900b67b2c7b8c5db4e3b8b9f576fea078cd7d
2,034
ex
Elixir
lib/ubi_nadeo_api/services/nadeo_api.ex
QBonaventure/tm-api
124e80fd6af75fb00963fc5e43f760a7fa6b59e0
[ "MIT" ]
null
null
null
lib/ubi_nadeo_api/services/nadeo_api.ex
QBonaventure/tm-api
124e80fd6af75fb00963fc5e43f760a7fa6b59e0
[ "MIT" ]
null
null
null
lib/ubi_nadeo_api/services/nadeo_api.ex
QBonaventure/tm-api
124e80fd6af75fb00963fc5e43f760a7fa6b59e0
[ "MIT" ]
null
null
null
defmodule UbiNadeoApi.Service.NadeoApi do alias UbiNadeoApi.Type.Token alias UbiNadeoApi.Service.OutboundRequest @tm_prod_origin "https://prod.trackmania.core.nadeo.online" @tm_live_origin "https://live-services.trackmania.nadeo.live" @auth_endpoint @tm_prod_origin<>"/v2/authentication/token/ubiservices" ...
33.9
101
0.674533
b2b92ba63675571077048018e156598e64afcf80
4,595
exs
Elixir
apps/artemis/test/artemis/contexts/recognition/delete_recognition_test.exs
artemis-platform/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2020-04-23T02:29:18.000Z
2020-07-07T13:13:17.000Z
apps/artemis/test/artemis/contexts/recognition/delete_recognition_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
4
2020-04-26T20:35:36.000Z
2020-11-10T22:13:19.000Z
apps/artemis/test/artemis/contexts/recognition/delete_recognition_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
null
null
null
defmodule Artemis.DeleteRecognitionTest do use Artemis.DataCase import Artemis.Factories alias Artemis.Comment alias Artemis.DeleteRecognition alias Artemis.Reaction alias Artemis.Recognition describe "access permissions" do setup do user = insert(:user) recognition = :recognit...
27.35119
116
0.65506
b2b965d18fafd1675ddc9554c06e5fabe4c1274c
4,951
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/key_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/key_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/key_range.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.910959
126
0.688548
b2b96904df079d6d9f09ae7e83e03670dc5d7c51
569
exs
Elixir
test/decode_test.exs
jamesmintram/transit_elixir
5e2c80b9055dd3509e318a96d41b9d1ef0b53fb9
[ "Apache-2.0" ]
null
null
null
test/decode_test.exs
jamesmintram/transit_elixir
5e2c80b9055dd3509e318a96d41b9d1ef0b53fb9
[ "Apache-2.0" ]
null
null
null
test/decode_test.exs
jamesmintram/transit_elixir
5e2c80b9055dd3509e318a96d41b9d1ef0b53fb9
[ "Apache-2.0" ]
null
null
null
defmodule DecodeTest do use ExUnit.Case alias TransitElixir.Reader @posts_paths "priv/examples/0.8/simple/*.json" |> Path.wildcard() |> Enum.map(&String.trim_trailing(&1, ".json")) |> Enum.map(&String.trim_trailing(&1, ".verbose")) |> MapSet.new test "decode" do for path <- @posts_paths d...
21.884615
54
0.634446
b2b96bf2590f5b8cf1a1f5a5bea798d263c79d6c
2,781
ex
Elixir
test/support/router.ex
s0kil/phoenix_live_view
2460431d1e24db06d8560c6202921c3042a0fbc4
[ "MIT" ]
1
2020-09-15T22:13:16.000Z
2020-09-15T22:13:16.000Z
test/support/router.ex
s0kil/phoenix_live_view
2460431d1e24db06d8560c6202921c3042a0fbc4
[ "MIT" ]
null
null
null
test/support/router.ex
s0kil/phoenix_live_view
2460431d1e24db06d8560c6202921c3042a0fbc4
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.Router do use Phoenix.Router import Phoenix.LiveView.Router pipeline :browser do plug :accepts, ["html"] plug Plug.Session, store: :cookie, key: "_live_view_key", signing_salt: "/VEDsdfsffMnp5" plug :fetch_session plug :fetch_live_flash end ...
31.247191
94
0.685725
b2b99876165f1d69fb78599a36531396c16f41df
830
ex
Elixir
prototypes/old_server/apps/auth_server/lib/auth_server/application.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
prototypes/old_server/apps/auth_server/lib/auth_server/application.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
prototypes/old_server/apps/auth_server/lib/auth_server/application.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule AuthServer.Application do use Application @impl true def start(_type, _args) do certificate_path = Path.join(:code.priv_dir(:auth_server), "certificates") children = [ {Server, %{ name: :PingServer, protocol: {Server.Protocol.TcpTls, %{ ...
22.432432
78
0.53012
b2b9ccb396c42c6f1ef2844e021669e3b4648435
3,553
exs
Elixir
test/views/user_view_test.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
test/views/user_view_test.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
test/views/user_view_test.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
defmodule CodeCorps.UserViewTest do use CodeCorps.ConnCase, async: true alias CodeCorps.Repo # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders all attributes and relationships properly" do db_user = insert(:user) organization_membership = insert(:org...
32.59633
106
0.57754
b2b9de538a46380e650abad907f677e1ddbfa32c
2,206
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_rating_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_rating_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/video_rating_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.389831
180
0.704896
b2b9df9f1908e62a130bd381725643a09effd923
1,696
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/create_container_version_request_version_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/create_container_version_request_version_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/create_container_version_request_version_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.836364
104
0.728774
b2ba3962f0f06809f0fc8855fd3db5f502568671
1,933
ex
Elixir
lib/new_relic/telemetry/ecto/metadata.ex
carsdotcom/elixir_agent
176567630003fa588dd24fb4de8bd6dc8d598d38
[ "Apache-2.0" ]
null
null
null
lib/new_relic/telemetry/ecto/metadata.ex
carsdotcom/elixir_agent
176567630003fa588dd24fb4de8bd6dc8d598d38
[ "Apache-2.0" ]
null
null
null
lib/new_relic/telemetry/ecto/metadata.ex
carsdotcom/elixir_agent
176567630003fa588dd24fb4de8bd6dc8d598d38
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Telemetry.Ecto.Metadata do @postgrex_insert ~r/INSERT INTO "(?<table>\w+)"/ @postgrex_create_table ~r/CREATE TABLE( IF NOT EXISTS)? "(?<table>\w+)"/ @postgrex_update ~r/UPDATE "(?<table>\w+)"/ def parse(%{ source: table, query: query, result: {:ok, %{__struct__: Postgr...
31.688525
93
0.575272
b2ba80bb06f36679d3e5c52e3fc0eb67050752ad
5,209
ex
Elixir
test/support/fixtures/scalar.ex
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
test/support/fixtures/scalar.ex
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
test/support/fixtures/scalar.ex
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Fixtures.Scalar do defmodule Utils do def parse(value), do: value def serialize(value), do: value end defmodule TestSchemaDescriptionKeyword do use Absinthe.Schema @module_attribute "goodbye" defmodule NestedModule do def nested_function(arg1) do arg1 e...
25.660099
96
0.694183
b2ba817645aa0c7bac8c17572a246ef2d04fb748
1,353
ex
Elixir
lib/adaptable_costs_evaluator/formulas/formula.ex
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
lib/adaptable_costs_evaluator/formulas/formula.ex
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
4
2021-12-07T12:26:50.000Z
2021-12-30T14:17:25.000Z
lib/adaptable_costs_evaluator/formulas/formula.ex
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
defmodule AdaptableCostsEvaluator.Formulas.Formula do @moduledoc """ A `AdaptableCostsEvaluator.Formulas.Formula` represents an expression that that can be used inside the particular `AdaptableCostsEvaluator.Computations.Computation`. The syntax, behavior, and capability of the `AdaptableCostsEvaluator.Formulas...
33.825
92
0.759793
b2ba9407284a279c1a6a80b73a7d6c3a4a489e61
2,751
ex
Elixir
lib/kafka_ex/protocol/offset_commit.ex
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
536
2015-08-10T03:14:39.000Z
2022-03-24T15:07:33.000Z
lib/kafka_ex/protocol/offset_commit.ex
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
349
2015-09-16T21:27:42.000Z
2022-03-28T08:51:56.000Z
lib/kafka_ex/protocol/offset_commit.ex
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
180
2015-09-01T22:58:26.000Z
2022-03-25T16:47:49.000Z
defmodule KafkaEx.Protocol.OffsetCommit do alias KafkaEx.Protocol @moduledoc """ Implementation of the Kafka OffsetCommit request and response APIs """ defmodule Request do @moduledoc false defstruct consumer_group: nil, topic: nil, partition: nil, offset: n...
31.261364
97
0.63795
b2bad032c5c73cc892f3ed3d13f51a11cde521a8
1,398
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disks_resize_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/disks_resize_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/disks_resize_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...
29.744681
118
0.73319
b2bad1481c782d98abd58bf57388c7235e98f835
1,302
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/undelete_service_account_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/iam/lib/google_api/iam/v1/model/undelete_service_account_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/undelete_service_account_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 ...
31
84
0.767281
b2bae8eb24fc81a5d14c01299d0b92ed988cc4ba
1,100
ex
Elixir
lib/erlef/integrations/app.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
lib/erlef/integrations/app.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
lib/erlef/integrations/app.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule Erlef.Integrations.App do @moduledoc false use Erlef.Schema alias Erlef.Integrations.AppKey schema "apps" do field(:name, :string) field(:slug, :string) field(:client_id, Ecto.UUID, autogenerate: true) field(:created_by, Ecto.UUID) field(:updated_by, Ecto.UUID) field(:enable...
20.754717
52
0.626364
b2bafd439697140aa87269620326f065b6645c57
18,744
ex
Elixir
lib/livebook_web/live/session_live.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive do use LivebookWeb, :live_view alias Livebook.{SessionSupervisor, Session, Delta, Notebook} @impl true def mount(%{"id" => session_id}, _session, socket) do if SessionSupervisor.session_exists?(session_id) do data = if connected?(socket) do data = ...
33.651706
202
0.633056
b2bb0f8476113106aac8842e92ded2ff125f62fc
4,250
exs
Elixir
test/versionary/plug/verify_header_test.exs
kianmeng/versionary
227b035e23c65394e7dec39dba252bf5bb7843e7
[ "MIT" ]
35
2017-04-05T19:47:08.000Z
2022-02-12T22:05:17.000Z
test/versionary/plug/verify_header_test.exs
kianmeng/versionary
227b035e23c65394e7dec39dba252bf5bb7843e7
[ "MIT" ]
16
2017-03-23T14:36:53.000Z
2021-09-23T17:31:46.000Z
test/versionary/plug/verify_header_test.exs
kianmeng/versionary
227b035e23c65394e7dec39dba252bf5bb7843e7
[ "MIT" ]
6
2017-03-19T03:04:34.000Z
2021-08-10T14:05:27.000Z
defmodule Versionary.Plug.VerifyHeaderTest do use ExUnit.Case use Plug.Test alias Versionary.Plug.VerifyHeader @v1 "application/vnd.app.v1+json" @v2 "application/vnd.app.v2+json" @v3 "application/vnd.app.v3+json" @mixed "application/vnd.app.v1+json,application/json;q=0.9" @opts1 VerifyHeader...
26.234568
99
0.639765
b2bb1e538760f1747334066e5e4721c439b17431
3,700
ex
Elixir
lib/eqrcode/encode.ex
Bounceapp/eqrcode
cf88dd40b575e6986dfa756aca46c2482ec860ac
[ "MIT" ]
160
2018-06-04T03:50:32.000Z
2022-03-18T10:52:50.000Z
lib/eqrcode/encode.ex
Bounceapp/eqrcode
cf88dd40b575e6986dfa756aca46c2482ec860ac
[ "MIT" ]
18
2018-09-03T01:52:33.000Z
2021-11-04T04:44:04.000Z
lib/eqrcode/encode.ex
Bounceapp/eqrcode
cf88dd40b575e6986dfa756aca46c2482ec860ac
[ "MIT" ]
26
2018-06-21T03:51:14.000Z
2021-12-27T10:16:06.000Z
defmodule EQRCode.Encode do @moduledoc """ Data encoding in Byte Mode. """ alias EQRCode.SpecTable import Bitwise @error_correction_level SpecTable.error_correction_level() @pad <<236, 17>> @mask0 <<0x99999999999999666666666666669966666666659999999996699533333333332CCD332CCCCCCCCCCCCCCD33333333333333...
33.035714
289
0.624865
b2bb5ebe8aaae1a1e3edad2d4a0242cb0df199d3
65
ex
Elixir
lib/contento_web/views/layout_view.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
95
2017-10-03T19:21:57.000Z
2021-02-15T12:37:37.000Z
lib/contento_web/views/layout_view.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
20
2017-10-10T12:26:54.000Z
2020-11-12T11:30:36.000Z
lib/contento_web/views/layout_view.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
17
2017-10-04T07:59:40.000Z
2022-02-09T20:10:09.000Z
defmodule ContentoWeb.LayoutView do use ContentoWeb, :view end
16.25
35
0.815385
b2bb6b517fdcc2478644738867d3c66db587d81f
65,709
ex
Elixir
deps/ecto/lib/ecto/repo.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/ecto/lib/ecto/repo.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/ecto/lib/ecto/repo.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` and `:adapter` as option. Th...
37.872622
137
0.673713
b2bb8f40ad3b1522ca56db38bf8bced527ed31bf
883
exs
Elixir
apps/omg_utils/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_utils/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_utils/mix.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
defmodule Utils.MixProject do use Mix.Project def project() do [ app: :omg_utils, version: version(), build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", elixirc_paths: elixirc...
23.864865
56
0.567384
b2bbafc6a4cf1b48b9283931dda8ee33efd0e594
3,097
exs
Elixir
mix.exs
helijia-web/appsignal-elixir
d905c831f32dd8e9d88fdffbb4ce2c7efab5f9cb
[ "MIT" ]
null
null
null
mix.exs
helijia-web/appsignal-elixir
d905c831f32dd8e9d88fdffbb4ce2c7efab5f9cb
[ "MIT" ]
null
null
null
mix.exs
helijia-web/appsignal-elixir
d905c831f32dd8e9d88fdffbb4ce2c7efab5f9cb
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.Appsignal do use Mix.Task def run(_args) do {_, _} = Code.eval_file("mix_helpers.exs") Mix.Appsignal.Helper.install() end end defmodule Appsignal.Mixfile do use Mix.Project def project do [ app: :appsignal, version: "1.11.1", name: "AppSignal", ...
27.40708
97
0.566677
b2bbbc7e6f1b08a74c982c955b6f54cd1c2efad7
2,176
exs
Elixir
config/prod.exs
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
null
null
null
config/prod.exs
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
null
null
null
config/prod.exs
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # MyBlogWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # Don...
33.476923
67
0.721507
b2bbbd24fb9be8f28c6d293451d8e74f42c6a5aa
6,898
ex
Elixir
implementations/elixir/ockam/ockam_hub/lib/hub/service/provider.ex
CyberFlameGO/ockam
86a07655c54f71fe884168fd4988b08240353647
[ "Apache-2.0" ]
1
2021-08-25T03:33:52.000Z
2021-08-25T03:33:52.000Z
implementations/elixir/ockam/ockam_hub/lib/hub/service/provider.ex
Stupremee/ockam
ffadf0633adcae4d0a061fa322fb17dd15afe6e6
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_hub/lib/hub/service/provider.ex
Stupremee/ockam
ffadf0633adcae4d0a061fa322fb17dd15afe6e6
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Hub.Service.Provider do @moduledoc """ Behaviour module and entrypoint to start Ockam.Hub services Provider behaviour implementations should provide a list of service names and be able to start service workers given names and arguments Provider can start all services configured in :ockam_hub...
29.228814
95
0.669614
b2bbef7d87dbb94aea5fa2a839978c98bdaaf21a
1,342
exs
Elixir
config/config.exs
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
3
2018-05-28T15:10:11.000Z
2020-08-02T21:14:25.000Z
config/config.exs
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
config/config.exs
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :rps, ecto_repos: [Rps.Repo] # Configur...
29.822222
86
0.751863
b2bc1e069ff0b48b327ee8448502152fad5ec455
69
ex
Elixir
lib/eliximote/player.ex
suranyami/eliximote
62d01bd6419de8289c77a32b3341605e27c1364a
[ "MIT" ]
2
2017-02-20T19:20:16.000Z
2017-03-31T09:06:34.000Z
lib/eliximote/player.ex
suranyami/eliximote
62d01bd6419de8289c77a32b3341605e27c1364a
[ "MIT" ]
null
null
null
lib/eliximote/player.ex
suranyami/eliximote
62d01bd6419de8289c77a32b3341605e27c1364a
[ "MIT" ]
null
null
null
defmodule Eliximote.Player do defstruct x: 0, y: 0, color: nil end
17.25
34
0.724638
b2bc4a23f414677f30d6ddc5c294b6232c7228a9
3,049
ex
Elixir
lib/dutu/general/todo_form.ex
charl3sj/dutu
dbc56c863f5874137175ba4ede34f3ff69a004a6
[ "MIT" ]
null
null
null
lib/dutu/general/todo_form.ex
charl3sj/dutu
dbc56c863f5874137175ba4ede34f3ff69a004a6
[ "MIT" ]
null
null
null
lib/dutu/general/todo_form.ex
charl3sj/dutu
dbc56c863f5874137175ba4ede34f3ff69a004a6
[ "MIT" ]
null
null
null
defmodule Dutu.General.TodoForm do use Ecto.Schema import Ecto.Changeset use Dutu.DateHelpers alias Dutu.General.Todo alias Dutu.General.TodoForm embedded_schema do field :title, :string field :date_type, :string field :due_date, :date field :start_date, :date field :end_date, :date e...
26.059829
98
0.665136
b2bc5126dc4387a4f19340702fcff9c5702fc636
784
ex
Elixir
lib/fancy_chat/user.ex
LKlemens/fancy_chat
15ecd005a9b4cc8e3bb5548a942069896811d234
[ "MIT" ]
1
2020-07-27T14:33:02.000Z
2020-07-27T14:33:02.000Z
lib/fancy_chat/user.ex
LKlemens/fancy_chat
15ecd005a9b4cc8e3bb5548a942069896811d234
[ "MIT" ]
null
null
null
lib/fancy_chat/user.ex
LKlemens/fancy_chat
15ecd005a9b4cc8e3bb5548a942069896811d234
[ "MIT" ]
null
null
null
defmodule FancyChat.User do use GenServer def start_link(name) do IO.inspect("jestem w genserver users #{name}") GenServer.start_link(__MODULE__, nil, name: {:via, Registry, {Registry.Users, name, nil}}) end @impl GenServer def init(_) do IO.inspect({self(), "jestem w genserver users init "}) ...
21.777778
94
0.649235
b2bc60aeef3987c5bb81a22cf9ced0b792acdf16
9,874
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/firewall.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/compute/lib/google_api/compute/v1/model/firewall.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/firewall.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
97.762376
822
0.733745
b2bc7848057e61135115f4967d7f5fbcf78a02b6
5,860
ex
Elixir
lib/pow/plug/base.ex
isakemanuel/pow
e2ffe7e444c767e39f6b665207451bbe56785daf
[ "MIT" ]
1
2021-05-27T21:33:29.000Z
2021-05-27T21:33:29.000Z
lib/pow/plug/base.ex
BinaryMuse/pow
cebb726245a901d1dbcad0b1eff6a9a7a40bf864
[ "MIT" ]
null
null
null
lib/pow/plug/base.ex
BinaryMuse/pow
cebb726245a901d1dbcad0b1eff6a9a7a40bf864
[ "MIT" ]
null
null
null
defmodule Pow.Plug.Base do @moduledoc """ This plug macro will set `:pow_config` as private, and attempt to fetch and assign a user in the connection if it has not already been assigned. The user will be assigned automatically in any of the operations. Any writes to backend store or client should occur in `:...
31.505376
109
0.636689
b2bcc2315094739da79e765e2555b566f7d5a14f
1,104
exs
Elixir
test/ex_aws/ex_aws_test.exs
kepit/ex_aws
61127b7a4a2f22dcde15e4cde8bb858f18a38b25
[ "Unlicense", "MIT" ]
null
null
null
test/ex_aws/ex_aws_test.exs
kepit/ex_aws
61127b7a4a2f22dcde15e4cde8bb858f18a38b25
[ "Unlicense", "MIT" ]
null
null
null
test/ex_aws/ex_aws_test.exs
kepit/ex_aws
61127b7a4a2f22dcde15e4cde8bb858f18a38b25
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExAwsTest do use ExUnit.Case, async: true test "basic S3 operation works" do op = %ExAws.Operation.S3{body: "", bucket: "", headers: %{}, http_method: :get, params: [], parser: &(&1), path: "/", resource: "", service: :s3, stream_builder: nil} assert {:ok, %{body: _}} = ExAws.request...
31.542857
83
0.605978
b2bce1d5a455241a21ab84cdbb57b2a194a68fe7
2,762
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/service_resolver.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/service_resolver.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/service_resolver.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
49.321429
438
0.741492
b2bce8327f2ce05dfbcb4677a55b8ab9ab42503e
636
exs
Elixir
exercism/elixir/hello-world/hello_world.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
exercism/elixir/hello-world/hello_world.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
exercism/elixir/hello-world/hello_world.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
defmodule HelloWorld do @moduledoc """ Elixir counts the number of arguments as part of the function name. For instance; def hello() do end would be a completely different function from def hello(name) do end Can you find a way to make all the tests pass with just one function? ...
21.931034
71
0.665094
b2bced1d90f00c8ff8214b5b7b4608d6c35e1512
1,630
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume_sale_info_list_price.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_sale_info_list_price.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/books/lib/google_api/books/v1/model/volume_sale_info_list_price.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.6
124
0.723926
b2bd41373bd94f97f2ff3f04a927af6026c8170d
582
exs
Elixir
mix.exs
NetonD/alguma-elixir
f618b8febf2792381151a19632f8ca7221fd2bb4
[ "Apache-2.0" ]
null
null
null
mix.exs
NetonD/alguma-elixir
f618b8febf2792381151a19632f8ca7221fd2bb4
[ "Apache-2.0" ]
null
null
null
mix.exs
NetonD/alguma-elixir
f618b8febf2792381151a19632f8ca7221fd2bb4
[ "Apache-2.0" ]
null
null
null
defmodule AlgumaElixir.MixProject do use Mix.Project def project do [ app: :alguma_elixir, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.068966
87
0.584192
b2bd6490edd449a289b6d2ba50ea4c6042bddeff
631
exs
Elixir
test/this_weekend_web/controllers/card_controller_test.exs
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
test/this_weekend_web/controllers/card_controller_test.exs
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
2
2021-03-10T17:57:38.000Z
2022-03-26T16:51:58.000Z
test/this_weekend_web/controllers/card_controller_test.exs
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
defmodule ThisWeekendWeb.CardControllerTest do use ThisWeekendWeb.ConnCase @username "test_user" describe "authenticated user" do setup %{conn: conn} do auth_conn = Plug.Test.init_test_session(conn, username: @username) {:ok, %{conn: auth_conn}} end test "GET /cards", %{conn: conn} do ...
25.24
72
0.648177
b2bd7ff6aa5a134ce70b923114ea77162873d304
1,621
ex
Elixir
plugins/one_chat/lib/one_chat/services/invitation_service.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/lib/one_chat/services/invitation_service.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/lib/one_chat/services/invitation_service.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneChat.InvitationService do use OneChat.Shared, :service alias InfinityOne.Coherence.Invitation alias InfinityOne.Accounts.User import Ecto.Changeset import Coherence.Controller def create_and_send(email, name \\ nil) do name = if name, do: name, else: String.split(email, "@") |> hd invi...
33.770833
97
0.614436
b2bdd39306a04a84fe02d58e0d8ec210f2aca96b
1,736
exs
Elixir
apps/andi/config/integration.exs
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/andi/config/integration.exs
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/andi/config/integration.exs
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
use Mix.Config import_config "../test/integration/divo_ldap.ex" host = case System.get_env("HOST_IP") do nil -> "localhost" defined -> defined end redix_args = [host: host] endpoint = [{host, 9092}] config :andi, divo: [ {DivoKafka, [create_topics: "event-stream:1:1", outside_host: host]}, {Div...
22.25641
73
0.612903
b2be0634aa59f0be2e8c8296a7793c67227aa27d
2,518
ex
Elixir
kousa/lib/broth/message/call.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/broth/message/call.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/broth/message/call.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Broth.Message.Call do @moduledoc """ API contract statement for call message modules ## Usage: ```elixir using Broth.Message.Call, reply: <module> ``` if you omit the reply module, it assumes the value `__MODULE__.Reply` performs compile-time checks to validate that the reply module is...
26.229167
89
0.664019
b2be283487a6166058dcc85f0f2104a665f7f317
2,138
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_list_warning.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/interconnect_list_warning.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/interconnect_list_warning.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...
40.339623
243
0.721703
b2be32e7b35004b87178672c4b8c1a54333f1c95
1,277
ex
Elixir
lib/google_api/translate/v3beta1/connection.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
lib/google_api/translate/v3beta1/connection.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
lib/google_api/translate/v3beta1/connection.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "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.605263
74
0.730619
b2be6af01e47daf21a13f66d55454ae20d632d18
415
ex
Elixir
web/models/problem.ex
austinschwartz/docker_frontend_demo
5f6d0bb3db91db93d032b59cec95998bbb1935d8
[ "MIT" ]
null
null
null
web/models/problem.ex
austinschwartz/docker_frontend_demo
5f6d0bb3db91db93d032b59cec95998bbb1935d8
[ "MIT" ]
null
null
null
web/models/problem.ex
austinschwartz/docker_frontend_demo
5f6d0bb3db91db93d032b59cec95998bbb1935d8
[ "MIT" ]
null
null
null
defmodule Demo.Problem do use Demo.Web, :model schema "problems" do field :title, :string field :desc, :string field :keywords, {:array, :string} timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do struct |...
19.761905
56
0.616867
b2be753e5f7952c1852c5337fc0a8ec709a45c2e
74
ex
Elixir
lib/blog_example/repo.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
lib/blog_example/repo.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
lib/blog_example/repo.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
defmodule BlogExample.Repo do use Ecto.Repo, otp_app: :blog_example end
18.5
39
0.797297
b2be7824370410444ae10b2dbcbc34a31f3cf61a
1,536
ex
Elixir
apps/faqcheck/lib/faqcheck/referrals/facility_filters.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck/lib/faqcheck/referrals/facility_filters.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck/lib/faqcheck/referrals/facility_filters.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule Faqcheck.Referrals.FacilityFilters do import Ecto.Query use Filterable.DSL use Filterable.Ecto.Helpers alias Faqcheck.Referrals.OperatingHours.Weekday filter name(query, value) do query |> join(:left, [f], k in assoc(f, :keywords), as: :name_keywords) |> join(:left, [f], a in assoc(f, ...
29.538462
101
0.595052
b2bea036d7ae4eb7cd85835ab7ce6d535030d7f6
581
exs
Elixir
bench/mix.exs
xinz/sax_map
05b96bf4a2bbc4b87f068e69a66d630b9fd665fc
[ "MIT" ]
7
2019-12-24T08:23:09.000Z
2021-04-05T12:42:50.000Z
bench/mix.exs
xinz/sax_map
05b96bf4a2bbc4b87f068e69a66d630b9fd665fc
[ "MIT" ]
2
2020-07-05T15:56:48.000Z
2020-07-23T02:14:53.000Z
bench/mix.exs
xinz/sax_map
05b96bf4a2bbc4b87f068e69a66d630b9fd665fc
[ "MIT" ]
1
2020-12-17T20:15:49.000Z
2020-12-17T20:15:49.000Z
defmodule Bench.MixProject do use Mix.Project def project do [ app: :bench, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases() ] end def application do [ extra_applications: [:logger] ] end de...
16.6
54
0.521515
b2beb6305fa043b3574ed07aabaa13e3e1240d08
2,286
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_routes_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_routes_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_routes_response.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...
38.1
113
0.723972
b2bf0f4e3ade95d8bc5afd1ed966ad17ce13d434
436
ex
Elixir
lib/grizzly/zwave/decode_error.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/decode_error.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/decode_error.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.DecodeError do @moduledoc """ Exception for when decoding a Z-Wave Command goes wrong """ @type t :: %__MODULE__{value: byte(), param: atom(), command: atom()} defexception [:value, :param, :command] def message(%{value: byte, param: param, command: command}) do "unexpected val...
29.066667
94
0.674312
b2bf1983ac59b6bfa103271c1e344d89d5adc93f
276
exs
Elixir
config/guardian.exs
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
config/guardian.exs
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
config/guardian.exs
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :naboo, Naboo.Auth.Guardian, allowed_algos: ["HS512"], verify_module: Guardian.JWT, issuer: "Naboo", ttl: {7, :days}, allowed_drift: 2000, verify_issuer: true, secret_key: "QkOEq+IOjvDrHnOJNbH3bAT5QQ2xMb7gCvrAFusw7X95Q6TOljy7WGnYP7RLSGPI"
25.090909
80
0.753623
b2bf23c50f69d8f36188e4a4fd50031d265a02d8
416
exs
Elixir
partII-concurrent-programming/spawn/spawn4.exs
nestorivanmo/Elixir-Learning
3fa13d46fd2a7fdb292cdf44f394ce46860034ee
[ "MIT" ]
null
null
null
partII-concurrent-programming/spawn/spawn4.exs
nestorivanmo/Elixir-Learning
3fa13d46fd2a7fdb292cdf44f394ce46860034ee
[ "MIT" ]
null
null
null
partII-concurrent-programming/spawn/spawn4.exs
nestorivanmo/Elixir-Learning
3fa13d46fd2a7fdb292cdf44f394ce46860034ee
[ "MIT" ]
null
null
null
defmodule Spawn4 do def greet do receive do {sender, message} -> send sender, {:ok, "Hello, #{message}"} greet() end end end pid = spawn(Spawn4, :greet, []) send pid, {self(), "World!"} receive do {:ok, msg} -> IO.puts msg end send pid, {self(), "Kermit!"} re...
20.8
72
0.543269
b2bf23f0419f6cd31e92055b0a4e66d6a145e7e7
2,504
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/subnetwork.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/subnetwork.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/subnetwork.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.733333
206
0.721246
b2bf7b58a5beae7ea9ef3f5ce46faa245125193c
835
exs
Elixir
mix.exs
krystofbe/bamboo_mailjet
ef09b5694cf8cae6370503459423799a32f29021
[ "MIT" ]
null
null
null
mix.exs
krystofbe/bamboo_mailjet
ef09b5694cf8cae6370503459423799a32f29021
[ "MIT" ]
1
2019-07-02T16:07:38.000Z
2019-07-02T16:07:38.000Z
mix.exs
tell-charlie/bamboo_mailjet
82132a7d169186ae296a12c3b342507fcd0bb489
[ "MIT" ]
2
2019-07-02T09:39:22.000Z
2019-07-02T09:52:47.000Z
defmodule BambooMailjet.Mixfile do use Mix.Project def project do [ app: :bamboo_mailjet, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: "A Mailjet adapter for Bamboo", package: package(), ...
20.365854
70
0.513772
b2bfdf04debfbff1513209b2b2c6ec054586c7d9
150
ex
Elixir
test/support/mocks.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:23.000Z
2018-12-28T20:48:23.000Z
test/support/mocks.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
test/support/mocks.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:24.000Z
2018-12-28T20:48:24.000Z
Mox.defmock(Commanded.EventStore.Adapters.Mock, for: Commanded.EventStore) Mox.defmock(Commanded.Commands.MockRouter, for: Commanded.Commands.Router)
50
74
0.84
b2c03fc3a7e351c46ae885fd0ecabacf48c4c5ba
630
ex
Elixir
lib/mgp/fin/op_balance.ex
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
null
null
null
lib/mgp/fin/op_balance.ex
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
2
2020-12-22T12:30:58.000Z
2021-05-19T10:07:26.000Z
lib/mgp/fin/op_balance.ex
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
null
null
null
defmodule Mgp.Fin.OpBalance do @moduledoc "Customer opening balance for a financial year" use Ecto.Schema import Ecto.Changeset alias Mgp.Fin.OpBalance @primary_key false schema "op_balances" do field :year, :integer field :gl_code, :string field :sl_code, :string field :op_bal, :decimal ...
24.230769
68
0.668254
b2c0598acb31da4d477ddc3c279fa904aa348ab6
79
ex
Elixir
example/lib/example/swarm.ex
arjan/sworm
a76a5fed2108db2a58615cd2d1721139d608ef23
[ "MIT" ]
21
2019-05-15T09:43:20.000Z
2021-01-12T10:04:47.000Z
example/lib/example/swarm.ex
arjan/sworm
a76a5fed2108db2a58615cd2d1721139d608ef23
[ "MIT" ]
1
2019-05-30T09:18:28.000Z
2019-08-16T13:41:38.000Z
example/lib/example/swarm.ex
arjan/sworm
a76a5fed2108db2a58615cd2d1721139d608ef23
[ "MIT" ]
null
null
null
defmodule Example.Swarm do use Sworm, handoff: true, restart: :temporary end
19.75
47
0.772152
b2c0e6a5888901ddf1b9592446e8ff0cffa4dddf
4,438
exs
Elixir
test/live_sup/core/widgets/merge_stat_test/commits_by_author/worker_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
test/live_sup/core/widgets/merge_stat_test/commits_by_author/worker_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
test/live_sup/core/widgets/merge_stat_test/commits_by_author/worker_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Test.Core.Widgets.MergeStat.CommitsByAuthor.WorkerTest do use LiveSup.DataCase import Mock alias LiveSup.Core.Widgets.MergeStat.CommitsByAuthor.{ Worker, Handler } alias LiveSup.Core.Widgets.{WidgetData, WidgetManager, WorkerTaskSupervisor} alias LiveSup.Schemas.WidgetInstance ...
28.267516
92
0.514646
b2c0fc73c427231022bd3c17636b23e7cd6c0151
459
exs
Elixir
test_templates/two/mix.exs
drumusician/mix_templates
ff84eab7c1067427685a6621caea8506e1514202
[ "Apache-2.0" ]
98
2017-04-18T18:33:07.000Z
2022-01-24T09:59:48.000Z
test_templates/two/mix.exs
drumusician/mix_templates
ff84eab7c1067427685a6621caea8506e1514202
[ "Apache-2.0" ]
15
2017-04-28T14:49:27.000Z
2018-12-28T00:03:08.000Z
test_templates/two/mix.exs
drumusician/mix_templates
ff84eab7c1067427685a6621caea8506e1514202
[ "Apache-2.0" ]
20
2017-04-27T14:36:17.000Z
2021-12-06T13:36:03.000Z
defmodule Project.Mixfile do use Mix.Project @name :two @version "0.1.0" @deps [ templates: "mix_templates", "> 0.0.0", ] ############################################################ def project do in_production = Mix.env == :prod [ app: @name, version: @version, ...
17.653846
62
0.472767
b2c125692de8d134c50f5b882dae301e6e87946b
1,319
ex
Elixir
lib/oled_virtual/format.ex
PhillippOhlandt/oled_virtual
e5ddc2e3ef1aae785ce2f4b27b323ae5d6b06a8e
[ "MIT" ]
1
2022-01-18T09:47:13.000Z
2022-01-18T09:47:13.000Z
lib/oled_virtual/format.ex
PhillippOhlandt/oled_virtual
e5ddc2e3ef1aae785ce2f4b27b323ae5d6b06a8e
[ "MIT" ]
null
null
null
lib/oled_virtual/format.ex
PhillippOhlandt/oled_virtual
e5ddc2e3ef1aae785ce2f4b27b323ae5d6b06a8e
[ "MIT" ]
null
null
null
defmodule OLEDVirtual.Format do @moduledoc """ A set of helper functions to format the frame data. """ @doc """ Formats the frame data into a nested array with rows and columns. A value of `1` means the pixel is on and a value of `0` means the pixel is off. {:ok, width, _height} = MyApp.MyDisplay.ge...
29.311111
84
0.656558
b2c12672d8f91b70aa4e2e6d4b424b3e787d4d71
1,360
ex
Elixir
lib/typo_paint_web/endpoint.ex
elixir-sea/typo_paint
61183f0a450e62ce1f561635ed39965fc9fe770d
[ "CC-BY-4.0" ]
4
2019-07-31T03:34:19.000Z
2019-08-03T04:53:48.000Z
lib/typo_paint_web/endpoint.ex
elixir-sea/typo_kart
61183f0a450e62ce1f561635ed39965fc9fe770d
[ "CC-BY-4.0" ]
3
2019-07-31T04:18:58.000Z
2019-08-05T00:00:07.000Z
lib/typo_paint_web/endpoint.ex
elixir-sea/typo_paint
61183f0a450e62ce1f561635ed39965fc9fe770d
[ "CC-BY-4.0" ]
3
2019-07-31T05:55:25.000Z
2019-09-15T22:31:32.000Z
defmodule TypoPaintWeb.Endpoint do use Phoenix.Endpoint, otp_app: :typo_paint socket "/socket", TypoPaintWeb.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 ar...
27.755102
69
0.713971
b2c1295181e24b9fb563fc72bf94cbff2a9019cc
4,728
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/api/entries.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/api/entries.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/api/entries.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...
52.533333
486
0.683376
b2c14c3e62082f7dabbc0adeb9d70c8a3f888b5c
2,745
exs
Elixir
test/ex_chat_web/controllers/user_controller_test.exs
embik/ex_chat
08d83fe2076a96f9dad647fe509daec301b4965a
[ "Apache-2.0" ]
1
2017-12-28T12:49:19.000Z
2017-12-28T12:49:19.000Z
test/ex_chat_web/controllers/user_controller_test.exs
embik/ex_chat
08d83fe2076a96f9dad647fe509daec301b4965a
[ "Apache-2.0" ]
null
null
null
test/ex_chat_web/controllers/user_controller_test.exs
embik/ex_chat
08d83fe2076a96f9dad647fe509daec301b4965a
[ "Apache-2.0" ]
null
null
null
defmodule ExChatWeb.UserControllerTest do use ExChatWeb.ConnCase alias ExChat.Accounts @create_attrs %{display_name: "some display_name", name: "some name", password_hash: "some password_hash"} @update_attrs %{display_name: "some updated display_name", name: "some updated name", password_hash: "some updated p...
30.842697
132
0.656102
b2c152799a18f67c4f1fbd2b6fd2eb98d84a833b
1,862
ex
Elixir
lib/chess/moves/pieces/pawn.ex
danbee/chess
c766ecb63ed15cd4a5c7ce4b503641d0222fb69d
[ "MIT" ]
30
2018-06-16T00:41:59.000Z
2021-03-05T08:39:02.000Z
lib/chess/moves/pieces/pawn.ex
danbee/chess
c766ecb63ed15cd4a5c7ce4b503641d0222fb69d
[ "MIT" ]
221
2018-01-15T20:33:13.000Z
2022-02-16T00:53:35.000Z
lib/chess/moves/pieces/pawn.ex
danbee/chess
c766ecb63ed15cd4a5c7ce4b503641d0222fb69d
[ "MIT" ]
5
2018-02-20T17:25:19.000Z
2018-12-29T00:09:30.000Z
defmodule Chess.Moves.Pieces.Pawn do @moduledoc false alias Chess.Board def moves(board, {file, rank}) do normal_moves(board, {file, rank}) ++ capture_moves(board, {file, rank}) end defp normal_moves(board, {file, rank}) do board |> Board.piece({file, rank}) |> Map.get("colour") |...
22.987654
72
0.558002
b2c17fbb5dde01304a0423ef0bc335166aceb251
14,214
ex
Elixir
lib/webbkoll/header_analysis.ex
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
1
2020-03-06T15:39:43.000Z
2020-03-06T15:39:43.000Z
lib/webbkoll/header_analysis.ex
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
null
null
null
lib/webbkoll/header_analysis.ex
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
null
null
null
# This is basically an Elixir version of April King's Python code for Mozilla HTTP Observatory # (https://github.com/mozilla/http-observatory), specifically httpobs/scanner/analyzer/headers.py. # # License: Mozilla Public License Version 2.0. # # Sorry about the mess. defmodule Webbkoll.HeaderAnalysis do @dangerousl...
29.924211
108
0.592514
b2c183ff73c4a592bce1e32b1768b5d382621976
300
ex
Elixir
lib/exgen/util.ex
chulkilee/exgen
66c20a1cd52079affab95ac621179f995073ab7a
[ "MIT" ]
36
2016-09-21T17:56:02.000Z
2021-07-16T21:49:36.000Z
lib/exgen/util.ex
chulkilee/exgen
66c20a1cd52079affab95ac621179f995073ab7a
[ "MIT" ]
4
2017-03-06T17:59:20.000Z
2020-01-21T06:41:53.000Z
lib/exgen/util.ex
chulkilee/exgen
66c20a1cd52079affab95ac621179f995073ab7a
[ "MIT" ]
6
2017-03-06T14:59:08.000Z
2021-09-30T15:02:17.000Z
defmodule Exgen.Util do def target_base(target_path) do target_path |> Path.basename |> String.replace("-", "_") end def module_name(target_path) do target_path |> target_base |> String.split("_") |> Enum.map(&String.capitalize(&1)) |> Enum.join("") end end
17.647059
39
0.62
b2c1bcf606f37722f368fce219cbaa1e123aa361
5,447
exs
Elixir
test/text_based_fps/player_commands/look_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
1
2022-03-02T12:18:07.000Z
2022-03-02T12:18:07.000Z
test/text_based_fps/player_commands/look_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
12
2021-05-31T21:41:09.000Z
2021-07-30T03:18:09.000Z
test/text_based_fps/player_commands/look_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
null
null
null
defmodule TextBasedFPS.PlayerCommands.LookTest do use ExUnit.Case, async: true alias TextBasedFPS.{CommandExecutor, Room, ServerState, Text} setup do state = ServerState.new() |> ServerState.add_player("foo") %{state: state} end test "requires player to be in a room", %{state: state} do assert ...
33.623457
98
0.414724
b2c1dc5ba84068191b93fab64783cb61ad1ec9bc
857
ex
Elixir
apps/auction/lib/auction/fake_repo.ex
mammenj/elixir-auction
94941bb820a221e3917014919d97571784ac9388
[ "Apache-2.0" ]
null
null
null
apps/auction/lib/auction/fake_repo.ex
mammenj/elixir-auction
94941bb820a221e3917014919d97571784ac9388
[ "Apache-2.0" ]
null
null
null
apps/auction/lib/auction/fake_repo.ex
mammenj/elixir-auction
94941bb820a221e3917014919d97571784ac9388
[ "Apache-2.0" ]
null
null
null
defmodule Auction.FakeRepo do alias Auction.Item @items [ %Item{ id: 1, title: "My first item", description: "A tasty item sure to please", ends_at: ~N[2020-01-01 00:00:00] }, %Item{ id: 2, title: "WarGames Bluray", description: "The best computer movie of all ...
22.552632
73
0.558926
b2c22b4da4b7450eb12649e8739af80a47a2c1c7
709
ex
Elixir
lib/speak_up_web/gettext.ex
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
lib/speak_up_web/gettext.ex
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
lib/speak_up_web/gettext.ex
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
defmodule SpeakUpWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import SpeakUpWeb.Gettext # Simple translation gettext "Here is t...
28.36
72
0.681241
b2c2451aaced1dda6f2cdeaf7957a4434035fbe5
432
ex
Elixir
lib/hayase/types/result.ex
tap349/hayase
a9b93f93c8aaa934f08a95b59fb96ac567f8f5ad
[ "MIT" ]
3
2019-04-12T06:39:48.000Z
2019-10-04T14:41:11.000Z
lib/hayase/types/result.ex
tap349/hayase
a9b93f93c8aaa934f08a95b59fb96ac567f8f5ad
[ "MIT" ]
null
null
null
lib/hayase/types/result.ex
tap349/hayase
a9b93f93c8aaa934f08a95b59fb96ac567f8f5ad
[ "MIT" ]
null
null
null
# https://hexdocs.pm/algae/Algae.Either.html defmodule Hayase.Types.Result do def wrap({:ok, _} = result), do: result def wrap({:error, _} = result), do: result def wrap(nil), do: error() def wrap(:error), do: error() def wrap(v), do: ok(v) def unwrap({:ok, v}), do: v def unwrap({:error, v}), do: v def...
25.411765
44
0.594907
b2c24de3b378622e5b9beadf16fa71c605ff7636
1,715
ex
Elixir
lib/blue_heron/att/responses/read_by_group_type_response.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/att/responses/read_by_group_type_response.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/att/responses/read_by_group_type_response.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.ATT.ReadByGroupTypeResponse do defstruct [:opcode, :attribute_data] defmodule AttributeData do defstruct [:handle, :end_group_handle, :uuid] def deserialize(<<handle::little-16, end_group_handle::little-16, uuid::little-16>>) do %__MODULE__{handle: handle, end_group_handle: end_g...
37.282609
97
0.7207
b2c253baf1eea672f13eb8880509898652e88e0c
142
exs
Elixir
exercises/nth-prime/nth_prime.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/nth-prime/nth_prime.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/nth-prime/nth_prime.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
defmodule Prime do @doc """ Generates the nth prime. """ @spec nth(non_neg_integer) :: non_neg_integer def nth(count) do end end
14.2
47
0.669014
b2c26d8d102f0582338a9c3146e58f3ae1eeb0ea
1,098
exs
Elixir
mix.exs
ajanes/booster-ui
63a1cd32f873d11ff2448666692c2f637dfc466b
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
mix.exs
ajanes/booster-ui
63a1cd32f873d11ff2448666692c2f637dfc466b
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
mix.exs
ajanes/booster-ui
63a1cd32f873d11ff2448666692c2f637dfc466b
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
defmodule Visualizer.Mixfile do use Mix.Project def project do [ app: :visualizer, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, deps: deps() ] end ...
23.869565
56
0.570128
b2c29c297a11b487c8b3a14f0754a60b213cc6b1
190
exs
Elixir
microservice/test/controllers/page_controller_test.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/test/controllers/page_controller_test.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/test/controllers/page_controller_test.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
defmodule Microservice.PageControllerTest do use Microservice.ConnCase test "GET /" do conn = get conn(), "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.111111
60
0.694737
b2c2bf6fad4612f33874667d1938bbe48674b574
496
ex
Elixir
test/test_case.ex
Gauthamiv/crawler
394b09d4e8f4c15abefc6295c1b3e72fb82d5416
[ "MIT" ]
1
2018-08-15T13:26:19.000Z
2018-08-15T13:26:19.000Z
test/test_case.ex
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
null
null
null
test/test_case.ex
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
null
null
null
defmodule Crawler.TestCase do use ExUnit.CaseTemplate using do quote do import Helpers end end setup_all do bypass = Bypass.open url = "http://localhost:#{bypass.port}" path = "localhost-#{bypass.port}" bypass2 = Bypass.open url2 = "http://localhost:#{bypass2.port...
19.076923
48
0.58871
b2c2e3f095abccfafc8889bfbb8df8a557600feb
10,453
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/channels.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/channels.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube/lib/google_api/you_tube/v3/api/channels.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...
62.96988
729
0.67904
b2c3608493ab3821bfc4de6ef96c9dbe770170da
1,313
exs
Elixir
test/plug/adapters/test/conn_test.exs
falood/plug
6022465ed2e44cf092d16ae3d564648615eab87b
[ "Apache-2.0" ]
null
null
null
test/plug/adapters/test/conn_test.exs
falood/plug
6022465ed2e44cf092d16ae3d564648615eab87b
[ "Apache-2.0" ]
null
null
null
test/plug/adapters/test/conn_test.exs
falood/plug
6022465ed2e44cf092d16ae3d564648615eab87b
[ "Apache-2.0" ]
1
2020-12-07T08:04:20.000Z
2020-12-07T08:04:20.000Z
defmodule Plug.Adapters.Test.ConnTest do use ExUnit.Case, async: true import Plug.Test test "stream_req_body/2" do conn = conn(:get, "/", "abcdefgh", headers: [{"content-type", "text/plain"}]) {adapter, state} = conn.adapter assert {:ok, "abcde", state} = adapter.stream_req_body(state, 5) assert...
32.825
88
0.620716
b2c3a218119e085ae5af612c9627dc2bf406acae
2,340
ex
Elixir
exercise-tracker/lib/exercise_tracker_web/telemetry.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
exercise-tracker/lib/exercise_tracker_web/telemetry.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
exercise-tracker/lib/exercise_tracker_web/telemetry.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
defmodule ExerciseTrackerWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms...
32.5
88
0.662393
b2c3a58716f61e6b0d721e65cd642284090aaa06
490
exs
Elixir
config/test.exs
elitau/spotthestation
6826034d0a2a7f1333e683ac3b9c58d9f5616ae7
[ "MIT" ]
null
null
null
config/test.exs
elitau/spotthestation
6826034d0a2a7f1333e683ac3b9c58d9f5616ae7
[ "MIT" ]
2
2021-11-12T03:26:53.000Z
2022-01-08T22:26:11.000Z
config/test.exs
elitau/spotthestation
6826034d0a2a7f1333e683ac3b9c58d9f5616ae7
[ "MIT" ]
1
2021-11-13T19:03:18.000Z
2021-11-13T19:03:18.000Z
import Config # We don't run a server during test. If one is required, # you can enable the server option below. config :spotthestation2, Spotthestation2Web.Endpoint, http: [ip: {127, 0, 0, 1}, port: 4002], secret_key_base: "wp9wR27peogP7d7gQxVhoof9ToLcFlvZLOgPIX73moNcT18TI3gY9MhtLk/FpRy/", server: false # Prin...
32.666667
86
0.773469
b2c3bcd9bef74bff9557223e69a88c827352080b
2,584
exs
Elixir
psquare/lib/exercise.exs
bhaveshpoddar94/PerfectSquares
1a026f66404776e806f0401435358cd602d85f69
[ "MIT" ]
null
null
null
psquare/lib/exercise.exs
bhaveshpoddar94/PerfectSquares
1a026f66404776e806f0401435358cd602d85f69
[ "MIT" ]
null
null
null
psquare/lib/exercise.exs
bhaveshpoddar94/PerfectSquares
1a026f66404776e806f0401435358cd602d85f69
[ "MIT" ]
null
null
null
defmodule PSquare.CLI do def main(args) do case args |> parse_args do {:empty, err} -> IO.puts err {:lt2, err} -> IO.puts err {:gt2, err} -> IO.puts err {:valid, [range, k]} -> spawn_tasks(range, k) end end defp parse_args(args) do case length(args) do l when l == 0 ...
25.333333
95
0.56695
b2c3ce34758900394c7c44927b56d8128df26972
419
exs
Elixir
elixir/create_domain.exs
dnsimple/dnsimple-api-examples
3bdc8e3258bbf5f43e8beaa1b1ee00ba08cd8972
[ "MIT" ]
27
2016-11-03T14:42:56.000Z
2022-02-20T02:03:25.000Z
elixir/create_domain.exs
dnsimple/dnsimple-api-examples
3bdc8e3258bbf5f43e8beaa1b1ee00ba08cd8972
[ "MIT" ]
7
2016-09-09T09:45:58.000Z
2020-12-14T18:34:06.000Z
elixir/create_domain.exs
dnsimple/dnsimple-api-examples
3bdc8e3258bbf5f43e8beaa1b1ee00ba08cd8972
[ "MIT" ]
12
2016-11-20T14:33:09.000Z
2022-02-18T21:40:48.000Z
# Usage: mix run create_domain.exs example.com client = %Dnsimple.Client{ access_token: Application.get_env(:dnsimple, :access_token), base_url: "https://api.sandbox.dnsimple.com/" } {:ok, response} = Dnsimple.Identity.whoami(client) account_id = response.data.account.id name = List.last(System.argv) IO.puts "Cr...
27.933333
76
0.75179
b2c3d83d17ec8e8453e32ce1bf57c3f66421d06b
3,644
exs
Elixir
test/placid/response/helpers_test.exs
slogsdon/placid
c20758d0ad624aba9648244d77fb9037d94473ea
[ "MIT" ]
158
2015-01-04T11:26:57.000Z
2022-02-11T20:25:32.000Z
test/placid/response/helpers_test.exs
slogsdon/placid
c20758d0ad624aba9648244d77fb9037d94473ea
[ "MIT" ]
6
2015-03-11T00:51:26.000Z
2017-02-09T00:06:35.000Z
test/placid/response/helpers_test.exs
slogsdon/placid
c20758d0ad624aba9648244d77fb9037d94473ea
[ "MIT" ]
14
2015-01-03T09:00:26.000Z
2022-01-15T15:06:40.000Z
defmodule Placid.Response.HelpersTest do use ExUnit.Case, async: false use Plug.Test import Placid.Response.Helpers import Plug.Conn test "status/2" do conn = conn(:get, "/") |> Map.put(:state, :set) |> status(201) assert conn.status === 201 assert conn.state === :set end test ...
24.13245
103
0.576564
b2c404c006fdc6a94de190193a6405aeafa14549
1,127
exs
Elixir
config/config.exs
phaul/tictactoe
3e943e88ac4f43bbf0d7dba4117fcef67fb2b425
[ "MIT" ]
1
2018-07-16T10:05:57.000Z
2018-07-16T10:05:57.000Z
config/config.exs
phaul/tictactoe
3e943e88ac4f43bbf0d7dba4117fcef67fb2b425
[ "MIT" ]
null
null
null
config/config.exs
phaul/tictactoe
3e943e88ac4f43bbf0d7dba4117fcef67fb2b425
[ "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.354839
73
0.75244
b2c427c7e297eb1583a76775d4a67c0aa4b6b966
1,898
exs
Elixir
clients/android_publisher/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_publisher/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_publisher/mix.exs
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...
28.328358
124
0.665964
b2c45db1b6f86b3a2e0072cf3f87876f5eb424a6
1,571
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.404762
345
0.764481
b2c46ad3100688a355e21673a0c8e3fbb5337e68
29,262
ex
Elixir
lib/oli_web/controllers/page_delivery_controller.ex
wyeworks/oli-torus
146ee79a7e315e57bdf3c7b6fd4f7dbe73610647
[ "MIT" ]
null
null
null
lib/oli_web/controllers/page_delivery_controller.ex
wyeworks/oli-torus
146ee79a7e315e57bdf3c7b6fd4f7dbe73610647
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/controllers/page_delivery_controller.ex
wyeworks/oli-torus
146ee79a7e315e57bdf3c7b6fd4f7dbe73610647
[ "MIT" ]
null
null
null
defmodule OliWeb.PageDeliveryController do use OliWeb, :controller require Logger import OliWeb.Common.FormatDateTime alias Oli.Delivery.Page.PageContext alias Oli.Delivery.Sections alias Oli.Delivery.Sections.Section alias Oli.Delivery.Paywall alias Oli.Delivery.Paywall.Discount alias Oli.Rendering....
35.170673
160
0.655697
b2c475779cfd810538d1e9ba53558ac3192d3a5f
507
ex
Elixir
api/lib/designhubapi_web/views/user_view.ex
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
api/lib/designhubapi_web/views/user_view.ex
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
api/lib/designhubapi_web/views/user_view.ex
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
defmodule DesignhubapiWeb.UserView do use DesignhubapiWeb, :view alias DesignhubapiWeb.UserView def render("index.json", %{users: users}) do %{data: render_many(users, UserView, "user.json")} end def render("show.json", %{user: user}) do %{data: render_one(user, UserView, "user.json")} end def ...
24.142857
54
0.658777
b2c498c9006c9874546bc3e3a3f5472bc5c4ed56
2,898
ex
Elixir
lib/type_check/builtin/fixed_tuple.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
lib/type_check/builtin/fixed_tuple.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
lib/type_check/builtin/fixed_tuple.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
defmodule TypeCheck.Builtin.FixedTuple do defstruct [:element_types] use TypeCheck @type! t :: %__MODULE__{element_types: list()} @type! problem_tuple :: {t(), :not_a_tuple, %{}, any()} | {t(), :different_size, %{expected_size: integer()}, tuple()} | {t(), :element_error, ...
27.6
98
0.561767
b2c4a9f22957169d1406343a6a09559bb2ac4a4f
209
ex
Elixir
lib/todo_or_die/overdue_error.ex
dsdshcym/todo_or_die_elixir
875a20d00917b648635df4f97368652a0b25666d
[ "MIT" ]
5
2019-02-05T13:02:35.000Z
2021-04-26T02:49:57.000Z
lib/todo_or_die/overdue_error.ex
dsdshcym/todo_or_die_elixir
875a20d00917b648635df4f97368652a0b25666d
[ "MIT" ]
14
2019-04-03T21:14:44.000Z
2021-08-02T21:14:23.000Z
lib/todo_or_die/overdue_error.ex
dsdshcym/todo_or_die_elixir
875a20d00917b648635df4f97368652a0b25666d
[ "MIT" ]
null
null
null
defmodule TodoOrDie.OverdueError do defexception [:message] @impl true def exception(todo: todo, due_at: due_at) do %__MODULE__{message: "TODO: \"#{todo}\" came due on #{due_at}. Do it!"} end end
23.222222
75
0.684211
b2c4d26223e78ea9dd0889de397d284c449738bf
1,547
ex
Elixir
apps/my_app_web/lib/my_app_web/endpoint.ex
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
apps/my_app_web/lib/my_app_web/endpoint.ex
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
apps/my_app_web/lib/my_app_web/endpoint.ex
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
defmodule MyAppWeb.Endpoint do use Phoenix.Endpoint, otp_app: :my_app_web socket "/socket", MyAppWeb.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. plug Plug.Stat...
28.127273
95
0.70265
b2c4e58f6aaee93041b370ca0f0ee53999113587
589
exs
Elixir
apps/reaper/config/dev.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
apps/reaper/config/dev.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
apps/reaper/config/dev.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
use Mix.Config host = case System.get_env("HOST_IP") do nil -> "127.0.0.1" defined -> defined end config :libcluster, topologies: [ sculler_cluster: [ strategy: Elixir.Cluster.Strategy.Epmd, config: [ hosts: [:"a@127.0.0.1", :"b@127.0.0.1"] ] ] ] config :redix, :arg...
17.848485
54
0.609508
b2c4ed535c23db8593d8fe3cc41d64011665559c
1,578
ex
Elixir
lib/engine/config/headways.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
lib/engine/config/headways.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
lib/engine/config/headways.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule Engine.Config.Headways do require Logger alias Engine.Config.Headway @spec create_table(:ets.tab()) :: :ets.tab() def create_table(table_name) do :ets.new(table_name, [:set, :protected, :named_table, read_concurrency: true]) end @spec update_table(:ets.tab(), [Headway.t()]) :: :ok def upda...
29.773585
105
0.607098
b2c5033f8b2849f8b9ec456a5d3dfa55e4071c68
77
ex
Elixir
lib/dex.ex
unblevable/dex
58735fb256d1218ad8e027114bb239d95d66bdc0
[ "MIT" ]
1
2015-06-23T22:05:09.000Z
2015-06-23T22:05:09.000Z
lib/dex.ex
unblevable/dex
58735fb256d1218ad8e027114bb239d95d66bdc0
[ "MIT" ]
null
null
null
lib/dex.ex
unblevable/dex
58735fb256d1218ad8e027114bb239d95d66bdc0
[ "MIT" ]
null
null
null
defmodule Dex do use Application def start(_type, _args) do end end
8.555556
28
0.701299
b2c526c2549cd62bad33e385863a94999bb56970
51,801
ex
Elixir
lib/elixir/lib/registry.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/registry.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/lib/registry.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
defmodule Registry do @moduledoc ~S""" A local, decentralized and scalable key-value process storage. It allows developers to lookup one or more processes with a given key. If the registry has `:unique` keys, a key points to 0 or 1 processes. If the registry allows `:duplicate` keys, a single key may point t...
35.504455
108
0.661339
b2c545960a26cb3ddb79db7b8d31a378656e2ce6
4,309
ex
Elixir
lib/exvcr/mock.ex
thbar/exvcr
ae8e8f72be8c11a1639c53ffbb22421820a5c6d5
[ "MIT" ]
608
2015-01-05T18:44:49.000Z
2022-03-21T19:54:01.000Z
lib/exvcr/mock.ex
thbar/exvcr
ae8e8f72be8c11a1639c53ffbb22421820a5c6d5
[ "MIT" ]
165
2015-01-04T13:01:01.000Z
2022-03-16T08:31:48.000Z
lib/exvcr/mock.ex
thbar/exvcr
ae8e8f72be8c11a1639c53ffbb22421820a5c6d5
[ "MIT" ]
130
2015-01-28T19:33:21.000Z
2022-02-08T22:21:43.000Z
defmodule ExVCR.Mock do @moduledoc """ Provides macro to record HTTP request/response. """ alias ExVCR.Recorder defmacro __using__(opts) do adapter = opts[:adapter] || ExVCR.Adapter.IBrowse options = opts[:options] quote do import ExVCR.Mock :application.start(unquote(adapter).modul...
27.980519
102
0.652123
b2c547d3075b9a0a8c046b34e789ebaaa28ea2a3
1,897
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_content_type_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_content_type_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_content_type_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.152542
88
0.692673
b2c55ed8bec8b0f91d6d2c5959e1ffd3efe3828c
904
ex
Elixir
clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.481481
74
0.764381
b2c56d9edc802236abecdf6db6ce5dcea5f58d00
19,291
ex
Elixir
deps/httpoison/lib/httpoison/base.ex
alex-philippov/jwt-google-tokens
18aa3eccc9a2c1a6016b2fe53b0bc6b1612a04b7
[ "Apache-2.0" ]
null
null
null
deps/httpoison/lib/httpoison/base.ex
alex-philippov/jwt-google-tokens
18aa3eccc9a2c1a6016b2fe53b0bc6b1612a04b7
[ "Apache-2.0" ]
null
null
null
deps/httpoison/lib/httpoison/base.ex
alex-philippov/jwt-google-tokens
18aa3eccc9a2c1a6016b2fe53b0bc6b1612a04b7
[ "Apache-2.0" ]
1
2019-11-23T12:09:14.000Z
2019-11-23T12:09:14.000Z
defmodule HTTPoison.Base do @moduledoc """ Provides a default implementation for HTTPoison functions. This module is meant to be `use`'d in custom modules in order to wrap the functionalities provided by HTTPoison. For example, this is very useful to build API clients around HTTPoison: defmodule GitHu...
39.939959
149
0.637344
b2c588869b49342d42956ad279d6d5f63fd824e3
451
ex
Elixir
lib/authorizir/permission.ex
jwilger/authorizir
c1b2977e1becadb7f2fa3f2fb3f58da3377280ff
[ "Apache-2.0" ]
null
null
null
lib/authorizir/permission.ex
jwilger/authorizir
c1b2977e1becadb7f2fa3f2fb3f58da3377280ff
[ "Apache-2.0" ]
null
null
null
lib/authorizir/permission.ex
jwilger/authorizir
c1b2977e1becadb7f2fa3f2fb3f58da3377280ff
[ "Apache-2.0" ]
null
null
null
defmodule Authorizir.Permission do use Dagex use TypedEctoSchema import Ecto.Changeset typed_schema "authorizir_permissions" do field(:ext_id, :binary) field(:description, :string) timestamps() end def new(ext_id, description) do %__MODULE__{} |> cast(%{ext_id: ext_id, description: de...
22.55
81
0.702882
b2c59d9eae80e66fb156d2154603f499b4d76939
53
exs
Elixir
config/config.exs
jackmarchant/swoosh
e387e9c0c8a224d1d0761f24ffba90cafc8ef664
[ "MIT" ]
null
null
null
config/config.exs
jackmarchant/swoosh
e387e9c0c8a224d1d0761f24ffba90cafc8ef664
[ "MIT" ]
null
null
null
config/config.exs
jackmarchant/swoosh
e387e9c0c8a224d1d0761f24ffba90cafc8ef664
[ "MIT" ]
1
2018-08-17T07:48:51.000Z
2018-08-17T07:48:51.000Z
use Mix.Config config :swoosh, :json_library, Jason
13.25
36
0.773585
b2c5aee05f6e12474225e219511d43f7672e5c0e
1,752
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares/upload/file.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares/upload/file.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares/upload/file.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWebCore.Firmwares.Upload.File do @moduledoc """ Local file adapter for CRUDing firmware files. """ @behaviour NervesHubWebCore.Firmwares.Upload @type upload_metadata :: %{local_path: String.t(), public_path: String.t()} @impl NervesHubWebCore.Firmwares.Upload def upload_file(source, ...
33.056604
81
0.681507