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
3896a2d67007942d038f377bcecd1ae9c8bfd39f
4,922
ex
Elixir
lib/placebo/server.ex
bbalser/Placebo
89a578472c5534145f1b68cdfa2e13f326aeff9f
[ "Apache-2.0" ]
20
2018-06-09T19:02:58.000Z
2021-01-05T09:01:10.000Z
lib/placebo/server.ex
bbalser/Mockit
89a578472c5534145f1b68cdfa2e13f326aeff9f
[ "Apache-2.0" ]
2
2018-10-17T01:55:26.000Z
2020-01-30T20:37:12.000Z
lib/placebo/server.ex
bbalser/Mockit
89a578472c5534145f1b68cdfa2e13f326aeff9f
[ "Apache-2.0" ]
2
2018-10-17T01:28:49.000Z
2021-03-09T23:03:54.000Z
defmodule Placebo.Server do use GenServer alias Placebo.Meck def start_link(_args) do GenServer.start_link(__MODULE__, [], name: __MODULE__) end ## CLIENT def set_async(async?), do: GenServer.cast(__MODULE__, {:async?, async?}) def stub(module, function, args, action, expect?, meck_options \\ []) ...
30.7625
110
0.664161
3896bbc774295b3c925aedcfc646bb0db57d3460
773
ex
Elixir
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/ip_range_filter.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/ip_range_filter.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/ip_range_filter.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Database.CosmosDb.Model.IpRangeFilter do @moduledoc """ Cosmos DB Firewall Support: This value specifies the set of...
29.730769
264
0.751617
3896c15372cfca33981eae513090272360fe919c
1,737
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/cpu_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/cpu_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/cpu_info.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 ...
32.773585
135
0.713299
3896f4d313487b4edcdd1d8b53cc8e439370a51a
3,528
exs
Elixir
test/ethereumex/config_test.exs
kianmeng/ethereumex
1edc90411736a1c1dfb919fda3522f158c1af2b8
[ "MIT" ]
158
2018-11-05T23:45:47.000Z
2022-03-21T18:58:31.000Z
test/ethereumex/config_test.exs
kianmeng/ethereumex
1edc90411736a1c1dfb919fda3522f158c1af2b8
[ "MIT" ]
43
2018-11-02T18:45:50.000Z
2022-02-28T09:09:46.000Z
test/ethereumex/config_test.exs
kianmeng/ethereumex
1edc90411736a1c1dfb919fda3522f158c1af2b8
[ "MIT" ]
28
2018-11-13T16:33:31.000Z
2022-03-31T17:49:11.000Z
defmodule Ethereumex.ConfigTest do use ExUnit.Case use WithEnv describe ".setup_children" do test ":ipc returns a list with 1 worker pool" do with_env put: [ ethereumex: [ ipc_worker_size: 3, ipc_max_worker_overflow: 4, ipc_reque...
29.647059
172
0.572562
389704d83b6fc1d9ec88fbc518c41235b1eb18c7
3,003
exs
Elixir
mix.exs
sambou/elasticsearch-elixir
4d1ba74513c5276457709520a754bcd599306a61
[ "MIT" ]
null
null
null
mix.exs
sambou/elasticsearch-elixir
4d1ba74513c5276457709520a754bcd599306a61
[ "MIT" ]
null
null
null
mix.exs
sambou/elasticsearch-elixir
4d1ba74513c5276457709520a754bcd599306a61
[ "MIT" ]
null
null
null
defmodule Elasticsearch.Mixfile do use Mix.Project def project do [ app: :elasticsearch, description: "Elasticsearch without DSLs", source_url: "https://github.com/infinitered/elasticsearch-elixir", version: "0.5.2", elixir: "~> 1.5", start_permanent: Mix.env() == :prod, ...
25.235294
80
0.532468
3897429da6f98ca6bac8410b1b46fa2eabe3c3e3
78
exs
Elixir
test/views/layout_view_test.exs
openregister/local-authority-demo
92260b530a98d7b1e34fa8b4e1a0e4f4e4e28dc3
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
openregister/local-authority-demo
92260b530a98d7b1e34fa8b4e1a0e4f4e4e28dc3
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
openregister/local-authority-demo
92260b530a98d7b1e34fa8b4e1a0e4f4e4e28dc3
[ "MIT" ]
1
2021-04-11T08:29:46.000Z
2021-04-11T08:29:46.000Z
defmodule DataDemo.LayoutViewTest do use DataDemo.ConnCase, async: true end
19.5
36
0.820513
38974dcc91f3a3c96c47d1d8bd932047d3783e23
794
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/overlays/invite_overlay.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/lib/ewallet/web/v1/overlays/invite_overlay.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/invite_overlay.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.InviteOverlay do @moduledoc """ Overlay for the Invite schema. """ @behaviour EWallet.Web.V1.Overlay alias EWallet.Web.V1.{ UserOverlay } def preload_assocs, do: [:user] def default_preload_assocs, do: [:user] def sort_fields, do: [ :id, :token,...
15.88
48
0.578086
38975847f9d4c33ef742e283079f1fba5c28fec2
613
ex
Elixir
lib/safira_web/views/leaderboard_view.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
lib/safira_web/views/leaderboard_view.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
lib/safira_web/views/leaderboard_view.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule SafiraWeb.LeaderboardView do use SafiraWeb, :view alias SafiraWeb.LeaderboardView alias Safira.Avatar def render("index.json", %{attendees: attendees}) do %{data: render_many(attendees, LeaderboardView, "attendee.json", as: :attendee)} end def render("attendee.json", %{attendee: attendee}) d...
27.863636
84
0.694943
3897684d62874b9a2bf71404d2956c75722c45c1
37,488
ex
Elixir
lib/phoenix_live_view/helpers.ex
03juan/phoenix_live_view
2af0014aeed6029fc03a6bccebe31543c9da1110
[ "MIT" ]
null
null
null
lib/phoenix_live_view/helpers.ex
03juan/phoenix_live_view
2af0014aeed6029fc03a6bccebe31543c9da1110
[ "MIT" ]
null
null
null
lib/phoenix_live_view/helpers.ex
03juan/phoenix_live_view
2af0014aeed6029fc03a6bccebe31543c9da1110
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Helpers do @moduledoc """ A collection of helpers to be imported into your views. """ # TODO: Convert all functions with the `live_` prefix to function components? alias Phoenix.LiveView alias Phoenix.LiveView.{Component, Socket, Static} @doc """ Provides `~L` sigil with HT...
32.261618
104
0.647247
38976d07ecd2c15f895f17e2cbbbe549c903c07a
733
ex
Elixir
test/support/channel_case.ex
alexadaze/alexa
35fbef14f6cd884a51447553cfe2cf9794d153b3
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
alexadaze/alexa
35fbef14f6cd884a51447553cfe2cf9794d153b3
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
alexadaze/alexa
35fbef14f6cd884a51447553cfe2cf9794d153b3
[ "Apache-2.0" ]
null
null
null
defmodule Alexa.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be asy...
21.558824
56
0.716235
38977a2058466501b28535e660f20bbfc4507aac
2,726
ex
Elixir
lib/oban/notifier.ex
maltoe/oban
912656e67f8ebda54f39dee8b070d3f3df8b0fa8
[ "Apache-2.0" ]
null
null
null
lib/oban/notifier.ex
maltoe/oban
912656e67f8ebda54f39dee8b070d3f3df8b0fa8
[ "Apache-2.0" ]
null
null
null
lib/oban/notifier.ex
maltoe/oban
912656e67f8ebda54f39dee8b070d3f3df8b0fa8
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Notifier do @moduledoc false use GenServer alias Oban.{Config, Query} alias Postgrex.Notifications @type option :: {:name, module()} | {:conf, Config.t()} @type channel :: :insert | :signal | :update @type queue :: atom() @mappings %{ insert: "oban_insert", signal: "oban_signa...
27.816327
88
0.663243
389784a879e0bc59d50d0874db96382153436948
748
exs
Elixir
mix.exs
eksperimental/phoenix_view
720e2fa6e9f21346fe8ee3f58fcee7d569ccf214
[ "MIT" ]
null
null
null
mix.exs
eksperimental/phoenix_view
720e2fa6e9f21346fe8ee3f58fcee7d569ccf214
[ "MIT" ]
null
null
null
mix.exs
eksperimental/phoenix_view
720e2fa6e9f21346fe8ee3f58fcee7d569ccf214
[ "MIT" ]
null
null
null
defmodule PhoenixView.MixProject do use Mix.Project def project do [ app: :phoenix_view, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), package: package() ] end def application do [ extra_applications: [:eex], ] ...
19.179487
75
0.536096
3897b6fa5247c397ebfe6a4b8b3d905ea9a924d0
1,187
ex
Elixir
proficionym_api/web/channels/user_socket.ex
appropont/proficionym-api-elixir
37519691e04176490154d7d8205c7bf1f90ff8b3
[ "Apache-2.0" ]
null
null
null
proficionym_api/web/channels/user_socket.ex
appropont/proficionym-api-elixir
37519691e04176490154d7d8205c7bf1f90ff8b3
[ "Apache-2.0" ]
null
null
null
proficionym_api/web/channels/user_socket.ex
appropont/proficionym-api-elixir
37519691e04176490154d7d8205c7bf1f90ff8b3
[ "Apache-2.0" ]
null
null
null
defmodule ProficionymApi.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ProficionymApi.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to veri...
31.236842
87
0.706824
3897cfd25a52f8452b5f4d88be5e2fd2b78f3e88
163
exs
Elixir
priv/repo/migrations/20180317164908_remove_composer_from_tracks.exs
allen-garvey/seren
f61cb7edcd7d3f927d2929db14b2a4a1578a3925
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/seren/priv/repo/migrations/20180317164908_remove_composer_from_tracks.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
priv/repo/migrations/20180317164908_remove_composer_from_tracks.exs
allen-garvey/seren
f61cb7edcd7d3f927d2929db14b2a4a1578a3925
[ "MIT" ]
null
null
null
defmodule Seren.Repo.Migrations.RemoveComposerFromTracks do use Ecto.Migration def change do alter table(:tracks) do remove :composer end end end
16.3
59
0.748466
38980ef6a8d303b12a1a30ffccc8ae1353f6b6e6
118
ex
Elixir
lib/pg_money/type.ex
CodeJordan23/pg_money
fa164e9a9a6e4efc73520291db5fcf0ca4e85a91
[ "Apache-2.0" ]
7
2019-11-25T02:06:25.000Z
2021-01-15T15:54:01.000Z
lib/pg_money/type.ex
CodeJordan23/pg_money
fa164e9a9a6e4efc73520291db5fcf0ca4e85a91
[ "Apache-2.0" ]
null
null
null
lib/pg_money/type.ex
CodeJordan23/pg_money
fa164e9a9a6e4efc73520291db5fcf0ca4e85a91
[ "Apache-2.0" ]
null
null
null
Postgrex.Types.define( PgMoney.Type, [{PgMoney.Extension, [precision: 2, telemetry_prefix: [:pg_money]]}], [] )
19.666667
71
0.677966
38984e0a9f791bbb0da0a2aea27a57447a56118d
1,583
ex
Elixir
app/lib/hobby_dapp_web/endpoint.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
app/lib/hobby_dapp_web/endpoint.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
app/lib/hobby_dapp_web/endpoint.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
defmodule HobbyDappWeb.Endpoint do use Phoenix.Endpoint, otp_app: :hobby_dapp # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_hobb...
29.314815
97
0.720783
38985d4cd955aa0f4af47f4767c55fa97ff17fb3
72
exs
Elixir
test/copadelrey_api_web/views/page_view_test.exs
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
null
null
null
test/copadelrey_api_web/views/page_view_test.exs
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
2
2021-03-09T18:24:01.000Z
2021-05-10T15:20:30.000Z
test/copadelrey_api_web/views/page_view_test.exs
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
null
null
null
defmodule CupWeb.PageViewTest do use CupWeb.ConnCase, async: true end
18
34
0.805556
38988da45169f36338887c2534986d27786b935a
1,266
ex
Elixir
lib/earmark/helpers/html_parser.ex
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
null
null
null
lib/earmark/helpers/html_parser.ex
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
null
null
null
lib/earmark/helpers/html_parser.ex
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Earmark.Helpers.HtmlParser do @moduledoc false import Earmark.Helpers.StringHelpers, only: [behead: 2] # Are leading and trailing "-"s ok? @tag_head ~r{\A\s*<([-\w]+)\s*} def parse_html(string, strict \\ true) do case Regex.run(@tag_head, string) do [all, tag] -> parse_atts(behead(strin...
29.44186
112
0.600316
3898987c323e32930f7ee09cce8cf79c692693d8
3,086
ex
Elixir
lib/ua_inspector/downloader/short_code_map_converter.ex
kianmeng/ua_inspector
5d272fa54b18cc1c1d12c7244d70c8fd961ed9b3
[ "Apache-2.0" ]
44
2019-03-17T10:44:04.000Z
2022-01-30T10:09:28.000Z
lib/ua_inspector/downloader/short_code_map_converter.ex
kianmeng/ua_inspector
5d272fa54b18cc1c1d12c7244d70c8fd961ed9b3
[ "Apache-2.0" ]
12
2019-06-06T15:26:26.000Z
2022-03-09T17:21:21.000Z
lib/ua_inspector/downloader/short_code_map_converter.ex
kianmeng/ua_inspector
5d272fa54b18cc1c1d12c7244d70c8fd961ed9b3
[ "Apache-2.0" ]
8
2020-04-21T07:49:37.000Z
2021-12-07T00:18:33.000Z
defmodule UAInspector.Downloader.ShortCodeMapConverter do @moduledoc false @doc """ Extracts the map defined with variable name `var` from the file `file`. Returns the complete list of all mapping tuples. """ @spec extract(String.t(), :hash | :hash_with_list | :list, String.t()) :: list def extract(var,...
24.688
80
0.552819
38989b48d7505d578de6eead6acc23001e345cc0
2,984
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/batch_get_documents_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/batch_get_documents_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/batch_get_documents_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...
43.246377
159
0.72185
3898a9aa3868c014f70408b5aac681d204d087f7
341
ex
Elixir
lib/tirexs/manage/aliases.ex
falood/tirexs
9c63532cf2f50f77fb437f617d433741771d3619
[ "Apache-2.0" ]
null
null
null
lib/tirexs/manage/aliases.ex
falood/tirexs
9c63532cf2f50f77fb437f617d433741771d3619
[ "Apache-2.0" ]
null
null
null
lib/tirexs/manage/aliases.ex
falood/tirexs
9c63532cf2f50f77fb437f617d433741771d3619
[ "Apache-2.0" ]
null
null
null
defmodule Tirexs.Manage.Aliases do import Tirexs.DSL.Logic defmacro aliases([do: block]) do actions = extract_block(block) if is_tuple(actions) do [actions: [actions]] else [actions: actions] end end def add(options) do [add: options] end def remove(options) do [remove...
16.238095
34
0.648094
3898e058179b515baa529b3949db69eef371df05
87
exs
Elixir
test/views/layout_view_test.exs
erickgnavar/issue_reporter
291e96c0551a34c598f4cd2ef1c0f2ed8cbd183f
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
erickgnavar/issue_reporter
291e96c0551a34c598f4cd2ef1c0f2ed8cbd183f
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
erickgnavar/issue_reporter
291e96c0551a34c598f4cd2ef1c0f2ed8cbd183f
[ "MIT" ]
null
null
null
defmodule IssueReporter.LayoutViewTest do use IssueReporter.ConnCase, async: true end
29
41
0.850575
38991e3e1010fb577fc96ccfb9f49070168def66
2,172
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/run_query_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/run_query_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/run_query_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.105263
242
0.745856
389977ca4492ea2799da7c2a1f55df627b50f057
201
ex
Elixir
apps/trial/lib/trial/routers/user_router.ex
losttime/commanded_poc
9b1101924e8b9918666d565d12119dcd448fd040
[ "MIT" ]
null
null
null
apps/trial/lib/trial/routers/user_router.ex
losttime/commanded_poc
9b1101924e8b9918666d565d12119dcd448fd040
[ "MIT" ]
null
null
null
apps/trial/lib/trial/routers/user_router.ex
losttime/commanded_poc
9b1101924e8b9918666d565d12119dcd448fd040
[ "MIT" ]
null
null
null
defmodule Trial.Routers.UserRouter do use Commanded.Commands.Router alias Trial.Aggregates.User alias Trial.Commands.RegisterUser dispatch RegisterUser, to: User, identity: :email_address end
25.125
59
0.810945
38999a7eb9405148ed3d20cd7486a9e9664a9faf
1,060
ex
Elixir
youtube/elixir_casts/chat/lib/chat_web/router.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/elixir_casts/chat/lib/chat_web/router.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/elixir_casts/chat/lib/chat_web/router.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule ChatWeb.Router do use ChatWeb, :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 "/", ChatWeb do pipe_through :...
24.651163
70
0.69434
3899aaecc56928d2839433307a5012aa9f4e7660
1,873
ex
Elixir
lib/guess_who/contenders/examples/five_letters.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
null
null
null
lib/guess_who/contenders/examples/five_letters.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
null
null
null
lib/guess_who/contenders/examples/five_letters.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
3
2021-10-07T23:28:18.000Z
2021-10-08T00:54:14.000Z
defmodule GuessWho.Contenders.Examples.FiveLetters do @moduledoc """ This is sample contender Five Letters, another ever so slightly more intelligent example contender. It asks whether or not the character has 5 or more letters in their name. If the character has five or more letters (15 out of 24 c...
32.293103
143
0.709023
3899e9bfeb3222a0528c8bbb348685aafb4d2ee8
3,020
ex
Elixir
lib/scroll_hat/buttons.ex
jjcarstens/scroll_hat
5bffc8d35c7c098ead1c3481a644b7933d443e1d
[ "Apache-2.0" ]
4
2021-08-05T14:33:00.000Z
2022-01-21T09:55:08.000Z
lib/scroll_hat/buttons.ex
jjcarstens/scroll_hat
5bffc8d35c7c098ead1c3481a644b7933d443e1d
[ "Apache-2.0" ]
1
2021-09-14T11:36:25.000Z
2021-09-14T11:36:25.000Z
lib/scroll_hat/buttons.ex
jjcarstens/scroll_hat
5bffc8d35c7c098ead1c3481a644b7933d443e1d
[ "Apache-2.0" ]
3
2021-09-13T08:29:37.000Z
2022-01-21T09:56:24.000Z
defmodule ScrollHat.Buttons do @moduledoc """ Buttons interface for Scroll HAT Mini Pass a `:handler` option as a pid or {m, f, a} to receive the button events """ use GenServer alias Circuits.GPIO require Logger @typedoc """ A name of Scroll HAT Mini button These are labelled A, B, X, and Y on...
24.354839
97
0.618874
389a343874ec2993910bc06e9c2b7b20f8d50b3f
3,366
ex
Elixir
aoc-2019/lib/aoc/day11/space_police.ex
sbauer322/advent-of-code
f1174f84485197d51009c35e3797ba26e7e21462
[ "MIT" ]
1
2020-11-08T22:17:37.000Z
2020-11-08T22:17:37.000Z
aoc-2019/lib/aoc/day11/space_police.ex
sbauer322/advent-of-code
f1174f84485197d51009c35e3797ba26e7e21462
[ "MIT" ]
null
null
null
aoc-2019/lib/aoc/day11/space_police.ex
sbauer322/advent-of-code
f1174f84485197d51009c35e3797ba26e7e21462
[ "MIT" ]
null
null
null
defmodule AOC.Day11.SpacePolice do alias AOC.Day11.Intcode @moduledoc false @type grid :: map @type point :: {integer, integer} def part1(path) do Intcode.stream_puzzle_input(path) |> Intcode.puzzle_input_to_map() |> paint(%{{0, 0} => {0, 0}}, {0, 0}, :north) |> count_painted_panels() end...
21.43949
98
0.538622
389a6a2e19d04babd8ced11b9e9af0fb0501e6d0
205
ex
Elixir
lib/phone/li.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/li.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/li.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.LI do @moduledoc false use Helper.Country def regex, do: ~r/^(423)()(.{7})/ def country, do: "Liechtenstein" def a2, do: "LI" def a3, do: "LIE" matcher :regex, ["423"] end
15.769231
35
0.609756
389a9df5697a1345c89b16567e362e2371ef6558
181
exs
Elixir
test/test_helper.exs
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
null
null
null
test/test_helper.exs
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
null
null
null
test/test_helper.exs
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
null
null
null
ExUnit.configure(capture_log: true) Application.ensure_all_started(:cassette) ExUnit.start() # sets up the default instance to use a fake cas we start FakeCas.Support.initialize()
25.857143
57
0.80663
389ac0a3b1d7fe273cbf5d75df36a8050791d00d
2,949
exs
Elixir
web_finngen_r8/import_intermediate_counts.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/import_intermediate_counts.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/import_intermediate_counts.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
alias Risteys.FGEndpoint require Logger Logger.configure(level: :info) [counts_filepath | _] = System.argv() # Map: name -> id endpoints = FGEndpoint.list_endpoints_ids() counts_filepath |> File.stream!() |> CSV.decode!(headers: true) # We are not interested in registry specific counts |> Stream.filter(fn %{"SOURC...
24.575
97
0.645643
389aca60beccb15aff760fd22f9583611491092c
7,346
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/user_auth_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/v1/controllers/user_auth_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/v1/controllers/user_auth_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.93913
98
0.632317
389addb9a88d17ae884c57c17b59ccd2c760521c
21,101
ex
Elixir
lib/phoenix_live_view/html_tokenizer.ex
sthagen/phoenixframework-phoenix_live_view
196ba2f8c9c367ee9e0ff8273f2a9c22a1c7027a
[ "MIT" ]
null
null
null
lib/phoenix_live_view/html_tokenizer.ex
sthagen/phoenixframework-phoenix_live_view
196ba2f8c9c367ee9e0ff8273f2a9c22a1c7027a
[ "MIT" ]
null
null
null
lib/phoenix_live_view/html_tokenizer.ex
sthagen/phoenixframework-phoenix_live_view
196ba2f8c9c367ee9e0ff8273f2a9c22a1c7027a
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.HTMLTokenizer do @moduledoc false @space_chars '\s\t\f' @quote_chars '"\'' @stop_chars '>/=\r\n' ++ @quote_chars ++ @space_chars defmodule ParseError do @moduledoc false defexception [:file, :line, :column, :description] @impl true def message(exception) do l...
34.199352
108
0.649495
389b124ecb5a36d0505e21051c7271e8dfecc090
799
exs
Elixir
test/recipe/writelock_test.exs
Zubale/zookeeper-elixir
5f4ed6c1de20bd30e506c57d7d3b1bf4239bb6b0
[ "MIT" ]
null
null
null
test/recipe/writelock_test.exs
Zubale/zookeeper-elixir
5f4ed6c1de20bd30e506c57d7d3b1bf4239bb6b0
[ "MIT" ]
1
2021-05-31T17:13:27.000Z
2021-05-31T17:13:27.000Z
test/recipe/writelock_test.exs
Zubale/zookeeper-elixir
5f4ed6c1de20bd30e506c57d7d3b1bf4239bb6b0
[ "MIT" ]
null
null
null
defmodule WriteLockTest do use ExUnit.Case alias Zookeeper.Client, as: ZK alias Zookeeper.WriteLock, as: WL setup_all do {:ok, pid} = ZK.start() pid |> cleanup {:ok, pid: pid} end setup %{pid: pid} = context do on_exit(context, fn -> cleanup(pid) end) :ok end test "writelock", %{...
21.594595
86
0.637046
389b24ba51f0517ab084cdb3721ab65d9543efc9
472
ex
Elixir
apps/subs/lib/subs/application.ex
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/subs/lib/subs/application.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/subs/lib/subs/application.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
defmodule Subs.Application do @moduledoc """ The Subs Application Service. The subs system business domain lives in this application. Exposes API to clients such as the `SubsWeb` application for use in channels, controllers, and elsewhere. """ use Application def start(_type, _args) do import Sup...
23.6
60
0.71822
389b49edb36ab2e1a9b3d2b8057da8fba16c6bc7
770
ex
Elixir
lib/intermediate_git_web/live/live_helpers.ex
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
lib/intermediate_git_web/live/live_helpers.ex
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
lib/intermediate_git_web/live/live_helpers.ex
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
defmodule IntermediateGitWeb.LiveHelpers do import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `IntermediateGitWeb.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update the URL when the modal is closed. ## Examples <%= live_modal @sock...
32.083333
80
0.71039
389b53c7265167739dc0e80930810c49c3c5435a
2,218
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/list_notification_channel_descriptors_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/list_notification_channel_descriptors_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/list_notification_channel_descriptors_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.774194
267
0.758341
389b66bf2ea00c0fdb46cfe63146a5f08b15aa31
2,817
ex
Elixir
clients/container/lib/google_api/container/v1/model/cluster_autoscaling.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/cluster_autoscaling.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/cluster_autoscaling.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...
42.044776
203
0.749024
389b893d34488c4667712ce22406386d7516b53c
1,279
ex
Elixir
lib/cforum_web/controllers/threads/open_close_controller.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/controllers/threads/open_close_controller.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/controllers/threads/open_close_controller.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Threads.OpenCloseController do use CforumWeb, :controller alias Cforum.Abilities alias Cforum.Threads alias Cforum.OpenClose alias Cforum.Threads.ThreadHelpers alias CforumWeb.Views.ViewHelpers.ReturnUrl def open(conn, params) do thread = Threads.get_thread_by_slug!( ...
29.068182
72
0.712275
389b8cacf9770a0bc78cfdacc9824b3f1e1d68f4
1,075
ex
Elixir
lib/nats/worker.ex
BEaStia/elixir_nats
d90b3a967e9aa0c654c9ff6f2d69df90b6e24956
[ "MIT" ]
8
2015-09-08T03:52:27.000Z
2015-12-29T22:38:26.000Z
lib/nats/worker.ex
BEaStia/elixir_nats
d90b3a967e9aa0c654c9ff6f2d69df90b6e24956
[ "MIT" ]
1
2015-09-09T00:55:51.000Z
2015-09-09T00:55:51.000Z
lib/nats/worker.ex
BEaStia/elixir_nats
d90b3a967e9aa0c654c9ff6f2d69df90b6e24956
[ "MIT" ]
1
2015-09-09T00:05:37.000Z
2015-09-09T00:05:37.000Z
defmodule Nats.Worker do @moduledoc ~S""" This module contains GenServer functions for managing a NATS server connection. """ use GenServer require Logger @doc """ Start a connection to a NATS server. The provided arugment is not used. """ def start_link(_state) do GenServer.start_link(__MODULE...
26.875
81
0.655814
389ba3c56cec0f8706f35420a98bcebf006f614b
1,115
exs
Elixir
implements/triangle/triangle.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/triangle/triangle.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/triangle/triangle.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
defmodule Triangle do @type kind :: :equilateral | :isosceles | :scalene @doc """ Return the kind of triangle of a triangle with 'a', 'b' and 'c' as lengths. """ @spec kind2(number, number, number) :: {:ok, kind} | {:error, String.t()} def kind2(a, b, c) when a <= 0 or b <= 0 or c <= 0 do {:error, "all...
30.135135
77
0.556054
389be13b9b0394dcf3b9222d59c4030937797647
1,882
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/list_scan_runs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/list_scan_runs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/list_scan_runs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.64
157
0.746015
389bff5b91bef255ae403cc5f42950492bfd9ff0
400
ex
Elixir
apps/dlq/lib/dlq.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/dlq/lib/dlq.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/dlq/lib/dlq.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Dlq.Behaviour do @moduledoc """ Defines behaviour of `Dlq` to make testing `Dlq` usage easier. """ @callback write([DeadLetter.t()]) :: :ok end defmodule Dlq do @moduledoc """ Used to write `DeadLetter` messages to a dead-letter-queue. """ @behaviour Dlq.Behaviour @impl true def write(de...
21.052632
64
0.6875
389c004bd727b7f21a7df9634636bad9b05db6a6
84
exs
Elixir
test/litelist_web/views/layout_view_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
test/litelist_web/views/layout_view_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
test/litelist_web/views/layout_view_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.LayoutViewTest do use LitelistWeb.ConnCase, async: true end
21
39
0.833333
389c2dde3c3ce22d118eb4fa29c743dcec914341
1,169
ex
Elixir
lib/constants.ex
kcurtin/exmqtt
3431b560117e73c769d30d06b3feada170c3973f
[ "Apache-2.0" ]
13
2020-04-12T13:24:32.000Z
2021-08-17T00:25:09.000Z
lib/constants.ex
kcurtin/exmqtt
3431b560117e73c769d30d06b3feada170c3973f
[ "Apache-2.0" ]
null
null
null
lib/constants.ex
kcurtin/exmqtt
3431b560117e73c769d30d06b3feada170c3973f
[ "Apache-2.0" ]
2
2020-05-14T12:43:48.000Z
2021-03-02T17:36:24.000Z
defmodule Constants do @moduledoc """ An alternative to use @constant_name value approach to defined reusable constants in elixir. This module offers an approach to define these in a module that can be shared with other modules. They are implemented with macros so they can be used in guards and matches ##...
26.568182
78
0.677502
389c348fff47b2bb533a027e40d5993bac48ac05
375
exs
Elixir
priv/repo/migrations/20190222201624_create_surgery_surgeon.exs
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
8
2019-05-11T19:41:06.000Z
2020-01-20T07:01:53.000Z
priv/repo/migrations/20190222201624_create_surgery_surgeon.exs
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
12
2019-05-10T22:00:40.000Z
2019-07-05T19:20:56.000Z
priv/repo/migrations/20190222201624_create_surgery_surgeon.exs
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
1
2019-07-18T15:58:41.000Z
2019-07-18T15:58:41.000Z
defmodule Surgex.Repo.Migrations.CreateSurgerySurgeon do use Ecto.Migration def change do create table(:surgeries_surgeons, primary_key: false) do add :surgery_id, references(:surgeries, type: :binary_id) add :surgeon_id, references(:surgeons, type: :binary_id) end create unique_index(:sur...
28.846154
72
0.744
389c4e2f60f5a346c1559d5d1249c2c5555eca97
20,922
ex
Elixir
lib/elixir/lib/io.ex
iaguirre88/elixir
ae4d4827614541e2da187525f57edfefebe60cb4
[ "Apache-2.0" ]
1
2021-05-05T02:11:24.000Z
2021-05-05T02:11:24.000Z
lib/elixir/lib/io.ex
iaguirre88/elixir
ae4d4827614541e2da187525f57edfefebe60cb4
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io.ex
iaguirre88/elixir
ae4d4827614541e2da187525f57edfefebe60cb4
[ "Apache-2.0" ]
null
null
null
defmodule IO do @moduledoc ~S""" Functions handling input/output (IO). Many functions in this module expect an IO device as an argument. An IO device must be a PID or an atom representing a process. For convenience, Elixir provides `:stdio` and `:stderr` as shortcuts to Erlang's `:standard_io` and `:standa...
30.409884
104
0.671781
389c6a3dd1857c2c4402b3812f24d877503f24cd
903
exs
Elixir
config/dev.exs
jdesilvio/pin-bin-api
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
null
null
null
config/dev.exs
jdesilvio/pin-bin-api
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
5
2018-11-22T01:01:29.000Z
2019-03-15T01:02:43.000Z
config/dev.exs
jdesilvio/pin_bin
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :pin_bin, PinBinWeb.Endpoint, http: [port: {:s...
30.1
68
0.751938
389c93602b2c53e566445b629767963e90e0e6ab
1,466
ex
Elixir
lib/aws/generated/mobile_analytics.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/mobile_analytics.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/mobile_analytics.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.MobileAnalytics do @moduledoc """ Amazon Mobile Analytics is a service for collecting, visualizing, and understanding app usage data at scale. """ alias AWS.Client alias AWS.Request ...
24.032787
81
0.641883
389ca33782b532e133a3171f8f01b453eb949bfe
196
ex
Elixir
heat_tags/lib/heat_tags_web/views/messages_view.ex
omarcoaur3lio/DoWhile2021_Community
f4a2360b0098189c9a00794cdc06caffec729b42
[ "MIT" ]
2
2021-10-30T11:53:58.000Z
2022-02-06T02:17:06.000Z
heat_tags/lib/heat_tags_web/views/messages_view.ex
omarcoaur3lio/DoWhile2021_Community
f4a2360b0098189c9a00794cdc06caffec729b42
[ "MIT" ]
1
2021-10-30T14:24:28.000Z
2021-10-30T14:24:28.000Z
lib/heat_tags_web/views/messages_view.ex
DPechetti/nlw-heat-elixir
c3fe71244a4c1d49bb28668f9334c5b4c803aa54
[ "MIT" ]
null
null
null
defmodule HeatTagsWeb.MessagesView do use HeatTagsWeb, :view def render("create.json", %{message: message}) do %{ result: "Message created!", message: message } end end
17.818182
51
0.647959
389cb4e31ed97bbcc5b2bbf1bafd2474a0a39065
260
ex
Elixir
apps/ello_search/test/support/case.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_search/test/support/case.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_search/test/support/case.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Search.Case do use ExUnit.CaseTemplate, async: false using do quote do alias Ello.Core.{Factory, FactoryTime, Factory.Script, Redis} end end setup _tags do Ecto.Adapters.SQL.Sandbox.checkout(Ello.Core.Repo) end end
18.571429
67
0.711538
389cbc644939cb22c1c499d7eb120f98a7db1ed5
1,133
exs
Elixir
config/config.exs
techgaun/gproc_pubsub
8b8da44fa1cf6e468338fa47a69f341aa4db24cd
[ "Apache-2.0" ]
null
null
null
config/config.exs
techgaun/gproc_pubsub
8b8da44fa1cf6e468338fa47a69f341aa4db24cd
[ "Apache-2.0" ]
null
null
null
config/config.exs
techgaun/gproc_pubsub
8b8da44fa1cf6e468338fa47a69f341aa4db24cd
[ "Apache-2.0" ]
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
389cc225d0f45a1559d428311848feedc982d64d
2,251
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_list_custom_dimensions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_list_custom_dimensions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_list_custom_dimensions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.630769
189
0.744114
389cfd03e975da6412f706a7c6b24e61c65a7c55
3,233
ex
Elixir
clients/search_console/lib/google_api/search_console/v1/model/wmx_sitemap.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/search_console/lib/google_api/search_console/v1/model/wmx_sitemap.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/search_console/lib/google_api/search_console/v1/model/wmx_sitemap.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...
45.535211
189
0.691927
389d43126a8608a84d9f2ef246197ac2d264239f
1,744
exs
Elixir
mix.exs
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
mix.exs
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
mix.exs
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
defmodule NostalgicGames.MixProject do use Mix.Project def project do [ app: :nostalgic_games, version: "0.1.0", elixir: "~> 1.7.2", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliase...
26.029851
84
0.564794
389d5e0bd0f1637915b1e2bf92bcb47d67e1b73f
1,313
ex
Elixir
elixir/lib/homework_web/schema.ex
EdwardHoward/web-homework
35fdf903f50d69901c1b16f4094c0cf94df72b76
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schema.ex
EdwardHoward/web-homework
35fdf903f50d69901c1b16f4094c0cf94df72b76
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schema.ex
EdwardHoward/web-homework
35fdf903f50d69901c1b16f4094c0cf94df72b76
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schema do @moduledoc """ Defines the graphql schema for this project. """ use Absinthe.Schema alias HomeworkWeb.Resolvers.MerchantsResolver alias HomeworkWeb.Resolvers.TransactionsResolver alias HomeworkWeb.Resolvers.UsersResolver import_types(HomeworkWeb.Schemas.Types) query d...
23.446429
54
0.693831
389d62da852b83cf91c80feffe45eba437e3f817
1,390
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/machine_type_scratch_disks.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/machine_type_scratch_disks.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/machine_type_scratch_disks.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.574468
97
0.736691
389d6d6fa7008e3e4152e399a1105168a11989ee
2,188
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/transaction_selector.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/transaction_selector.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/transaction_selector.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.283019
230
0.761426
389d83e258be699e3b4de2ff789e98830eabcb13
1,649
ex
Elixir
lib/epi_contacts_web/live/add_contact_component.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
lib/epi_contacts_web/live/add_contact_component.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
lib/epi_contacts_web/live/add_contact_component.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContactsWeb.AddContactComponent do @moduledoc """ live component for adding a contact in the questionnaire """ use EpiContactsWeb, :live_component alias EpiContacts.{Contact, PatientCase} alias EpiContactsWeb.QuestionnaireView @impl true def preload([assigns]) do patient_case = assign...
28.929825
89
0.691935
389d9230e0e1c8485c7401d6f9ea32361808ac10
1,199
ex
Elixir
lib/wabanex_web/controllers/imc_controller.ex
igormotta92/elixir_nlw_wabanex
d63a0d4c664d1909268a6127f108b636a3b46781
[ "MIT" ]
null
null
null
lib/wabanex_web/controllers/imc_controller.ex
igormotta92/elixir_nlw_wabanex
d63a0d4c664d1909268a6127f108b636a3b46781
[ "MIT" ]
null
null
null
lib/wabanex_web/controllers/imc_controller.ex
igormotta92/elixir_nlw_wabanex
d63a0d4c664d1909268a6127f108b636a3b46781
[ "MIT" ]
null
null
null
# COntrollers são usad em API Restfull em sua maioria defmodule WabanexWeb.IMCController do # incluindo funcionalidades no modulo use WabanexWeb, :controller # Quando não se defini uma alias o ultimo nome do Modulo é o que passa a ser a alias alias Wabanex.IMC # conexão e parâmetros def index(conn, param...
20.322034
94
0.629691
389db0af05f4e7d9789297c1130c2f855d27c291
525
ex
Elixir
lib/mix/tasks/download.ex
TenTakano/YotogiDownloader
1d2a48ce31c4ea46a396bc89442100e17b9c87b7
[ "MIT" ]
null
null
null
lib/mix/tasks/download.ex
TenTakano/YotogiDownloader
1d2a48ce31c4ea46a396bc89442100e17b9c87b7
[ "MIT" ]
null
null
null
lib/mix/tasks/download.ex
TenTakano/YotogiDownloader
1d2a48ce31c4ea46a396bc89442100e17b9c87b7
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Download do use Mix.Task require Logger def run(args) do Application.ensure_all_started(:hackney) with( [from_str, to_str] <- args, {from, ""} <- Integer.parse(from_str), {to, ""} <- Integer.parse(to_str), true <- from < to ) do Logger.info("start to...
25
95
0.609524
389db4f203ee3a2374b7784d4616a3506f92170a
9,788
ex
Elixir
lib/only_codes_web/live/ranked_live.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
281
2021-01-15T14:59:38.000Z
2022-01-06T23:13:33.000Z
lib/only_codes_web/live/ranked_live.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
12
2021-01-15T15:24:54.000Z
2021-07-31T17:36:39.000Z
lib/only_codes_web/live/ranked_live.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
11
2021-01-15T17:46:59.000Z
2021-09-22T13:24:19.000Z
defmodule OnlyCodesWeb.RankedLive do use OnlyCodesWeb, :live_view alias OnlyCodes.{Repo, Choice, User} import Ecto.Query alias Ecto.Multi def reset_assigns(socket) do %{ socket | assigns: %{flash: %{}, live_action: :index, timer: socket.assigns[:timer]} } end def fetch_initial_data(s...
28.453488
100
0.558745
389dbdc51915a82d33b52a8612c564fbc18cb472
8,006
ex
Elixir
lib/exprotobuf/define_message.ex
coingaming/exprotobuf2
8bde9e1f8bd37fff6629d2f3217f3e8f560a7c14
[ "Apache-2.0" ]
14
2020-08-28T02:18:23.000Z
2022-02-07T19:03:32.000Z
lib/exprotobuf/define_message.ex
coingaming/exprotobuf2
8bde9e1f8bd37fff6629d2f3217f3e8f560a7c14
[ "Apache-2.0" ]
null
null
null
lib/exprotobuf/define_message.ex
coingaming/exprotobuf2
8bde9e1f8bd37fff6629d2f3217f3e8f560a7c14
[ "Apache-2.0" ]
null
null
null
defmodule ExProtobuf.DefineMessage do @moduledoc false alias ExProtobuf.Decoder alias ExProtobuf.Encoder alias ExProtobuf.Field alias ExProtobuf.OneOfField alias ExProtobuf.Delimited def def_message(name, fields, [inject: inject, doc: doc, syntax: syntax]) when is_list(fields) do struct_fields = rec...
27.512027
99
0.565951
389dc5a832b060b0053fa8801b60fd48aa5e9f6d
2,552
exs
Elixir
test/runtime_config_test.exs
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
2
2021-11-19T22:28:41.000Z
2021-11-19T22:28:50.000Z
test/runtime_config_test.exs
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
null
null
null
test/runtime_config_test.exs
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
null
null
null
defmodule EventStore.RuntimeConfigTest do use ExUnit.Case alias EventStore.{Config, Wait} describe "event store runtime config" do setup do start_supervised!(TestEventStore) start_supervised!({TestEventStore, name: :test_event_store, schema: "example"}) :ok end test "should get ev...
31.9
92
0.667712
389dd651f2bac51452f5560fe08508f537d5be4a
72
ex
Elixir
lib/lucidboard_web/views/dashboard_view.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
86
2019-01-07T20:49:04.000Z
2021-10-02T21:15:42.000Z
lib/lucidboard_web/views/dashboard_view.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
26
2019-03-27T12:06:52.000Z
2020-09-20T05:21:09.000Z
lib/lucidboard_web/views/dashboard_view.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
19
2015-01-06T19:02:49.000Z
2020-05-25T08:54:00.000Z
defmodule LucidboardWeb.DashboardView do use LucidboardWeb, :view end
18
40
0.833333
389e2d8760d0dfb2ab409a54e80334bcc09bf343
6,207
exs
Elixir
test/smwc_web/controllers/user_auth_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-03-09T18:04:42.000Z
2022-03-11T22:24:25.000Z
test/smwc_web/controllers/user_auth_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
null
null
null
test/smwc_web/controllers/user_auth_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-02-27T22:00:17.000Z
2022-02-28T02:20:21.000Z
defmodule SMWCWeb.UserAuthTest do use SMWCWeb.ConnCase, async: true import SMWC.AccountsFixtures alias SMWC.Accounts alias SMWCWeb.UserAuth @remember_me_cookie "_smwc_web_user_remember_me" setup %{conn: conn} do conn = conn |> Map.replace!(:secret_key_base, SMWCWeb.Endpoint.config(:secret...
36.298246
98
0.675044
389e983747b155911935664d4964de9ced319c3e
2,902
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list.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 ...
46.806452
393
0.724328
389eaa18b7d73b8e6a33363ba9c8d8434a840efb
420
exs
Elixir
test/ex_ftx/markets/show_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
test/ex_ftx/markets/show_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
test/ex_ftx/markets/show_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.Markets.ShowTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExFtx.Markets.Show setup_all do HTTPoison.start() :ok end test ".get/1" do use_cassette "markets/show/get_ok" do assert {:ok, market} = ExFtx.Markets.Show.get("BTC/USD...
22.105263
62
0.678571
389eaff17f140e3b40e93f86e8709e7abba2f7b0
1,358
ex
Elixir
apps/ex_cucumber/lib/ex_cucumber/exceptions/messages/configuration_error_messages/feature_attribute_missing.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-05-18T18:20:05.000Z
2022-02-13T00:15:06.000Z
apps/ex_cucumber/lib/ex_cucumber/exceptions/messages/configuration_error_messages/feature_attribute_missing.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-04-22T00:28:17.000Z
2021-05-19T21:04:20.000Z
apps/ex_cucumber/lib/ex_cucumber/exceptions/messages/configuration_error_messages/feature_attribute_missing.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
4
2021-04-14T03:07:45.000Z
2021-12-12T21:23:59.000Z
defmodule ExCucumber.Exceptions.Messages.FeatureAttributeMissing do @moduledoc false alias ExCucumber.Exceptions.ConfigurationError alias ExCucumber.Exceptions.Messages.Common def render(%ConfigurationError{error_code: :feature_attribute_missing}, :brief) do """ Ensure your `module` defines a `@feature...
34.820513
89
0.726068
389ec8f0896a7febd872b32823da4b85dc1de280
1,854
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/model/group_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/model/group_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/model/group_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
30.9
80
0.706041
389ef5c5998c96ab0f976024f27f3d6003d5b594
58
ex
Elixir
lib/dobar_web/views/email_view.ex
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
null
null
null
lib/dobar_web/views/email_view.ex
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
14
2019-09-02T18:00:07.000Z
2021-09-02T00:49:54.000Z
lib/dobar_web/views/email_view.ex
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
1
2016-07-27T14:40:55.000Z
2016-07-27T14:40:55.000Z
defmodule DobarWeb.EmailView do use DobarWeb, :view end
14.5
31
0.793103
389ef7510e27c827a50fd5c40e7ee6ed2755ef4d
3,504
ex
Elixir
apps/avro/lib/avro/translator.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/avro/lib/avro/translator.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/avro/lib/avro/translator.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defprotocol Avro.Translator do @spec type(t) :: :avro.avro_type() def type(t) @spec field(t) :: :avro.record_field() def field(t) @spec value(t, value :: term) :: {:ok, term} | {:error, term} def value(t, value) end defmodule Avro.Translator.Default do defmacro __using__(_opts) do quote do de...
23.36
82
0.678938
389f15be260b1362a9228daaa1b0554b6d3943aa
1,504
ex
Elixir
lib/logger_exporter/config.ex
RishiKumarRay/logger_exporter
9ce40d8781e199b548827a5eaa203d840ae62dce
[ "MIT" ]
9
2022-01-31T02:16:05.000Z
2022-02-13T00:30:05.000Z
lib/logger_exporter/config.ex
RishiKumarRay/logger_exporter
9ce40d8781e199b548827a5eaa203d840ae62dce
[ "MIT" ]
5
2022-02-08T23:40:07.000Z
2022-02-22T05:19:38.000Z
lib/logger_exporter/config.ex
RishiKumarRay/logger_exporter
9ce40d8781e199b548827a5eaa203d840ae62dce
[ "MIT" ]
2
2022-02-11T05:06:21.000Z
2022-02-22T03:32:44.000Z
defmodule LoggerExporter.Config do @moduledoc false def app_name do case Keyword.fetch(get_env(), :app_name) do {:ok, app} -> app :error -> raise ArgumentError, "missing :app_name option for LoggerExporter application. " <> "Set :app_name to label the ...
20.888889
84
0.601729
389f3f34c5e7dfabcd77a209644b9c941c596e14
1,832
exs
Elixir
mix.exs
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
mix.exs
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
4
2021-03-01T20:51:23.000Z
2021-09-20T21:37:12.000Z
mix.exs
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
defmodule Delivery.MixProject do use Mix.Project def project do [ app: :delivery, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
26.941176
79
0.560044
389f44fe7679fda7f3b9508b400cfe0bcd428b43
4,712
ex
Elixir
lib/repo/schema.ex
scripbox/ex_audit
6478d72816e9357c9ba4eb5eeafd0244010133b4
[ "MIT" ]
null
null
null
lib/repo/schema.ex
scripbox/ex_audit
6478d72816e9357c9ba4eb5eeafd0244010133b4
[ "MIT" ]
null
null
null
lib/repo/schema.ex
scripbox/ex_audit
6478d72816e9357c9ba4eb5eeafd0244010133b4
[ "MIT" ]
null
null
null
defmodule ExAudit.Schema do def insert_all(module, adapter, schema_or_source, entries, opts) do # TODO! opts = augment_opts(opts) Ecto.Repo.Schema.insert_all(module, adapter, schema_or_source, entries, opts) end def insert(module, adapter, struct, opts) do opts = augment_opts(opts) augment_tr...
31
107
0.645374
389f668566f5cae9d94d165568f299e174d2cdb2
3,045
ex
Elixir
lib/ex_unit/lib/ex_unit/capture_log.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/capture_log.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/capture_log.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.CaptureLog do @moduledoc ~S""" Functionality to capture logs for testing. ## Examples defmodule AssertionTest do use ExUnit.Case import ExUnit.CaptureLog test "example" do assert capture_log(fn -> Logger.error "log msg" end) =~ "lo...
28.194444
75
0.61445
389f717de8ba8095ace75c466073d83c85b9ce0d
775
ex
Elixir
lib/sobelow/vuln/header_inject.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
1,305
2017-05-12T21:09:40.000Z
2022-03-31T04:31:49.000Z
lib/sobelow/vuln/header_inject.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
95
2017-05-15T09:45:41.000Z
2022-03-23T03:35:48.000Z
lib/sobelow/vuln/header_inject.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
86
2017-05-15T20:18:59.000Z
2022-02-11T22:10:34.000Z
defmodule Sobelow.Vuln.HeaderInject do alias Sobelow.Config alias Sobelow.Vuln @uid 25 @finding_type "Vuln.HeaderInject: Known Vulnerable Dependency - Update Plug" use Sobelow.Finding @vuln_vsn ["<=1.3.4 and >=1.3.0", "<=1.2.4 and >=1.2.0", "<=1.1.8 and >=1.1.0", "<=1.0.5"] def run(root) do plug_c...
22.794118
92
0.594839
389f77d2a0a1f55407801a13067fe22e97453c18
1,954
exs
Elixir
mix.exs
smartrent/nerves_hub
07100a0715d3f08ecc6fffeba3a88bd098b13c90
[ "Apache-2.0" ]
null
null
null
mix.exs
smartrent/nerves_hub
07100a0715d3f08ecc6fffeba3a88bd098b13c90
[ "Apache-2.0" ]
4
2019-05-30T15:13:04.000Z
2020-01-09T16:02:10.000Z
mix.exs
smartrent/nerves_hub_device
07100a0715d3f08ecc6fffeba3a88bd098b13c90
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubDevice.MixProject do use Mix.Project Application.put_env( :nerves_hub_device, :nerves_provisioning, Path.expand("priv/provisioning.conf") ) def project do [ app: :nerves_hub_device, deps: deps(), description: description(), docs: [main: "readme", extr...
25.051282
76
0.547595
389f7f4a2ecbad14baa846f7fcc7c2ebc140f718
104
ex
Elixir
2020/liveview/dazzle/lib/dazzle/repo.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/liveview/dazzle/lib/dazzle/repo.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/liveview/dazzle/lib/dazzle/repo.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule Dazzle.Repo do use Ecto.Repo, otp_app: :dazzle, adapter: Ecto.Adapters.Postgres end
17.333333
35
0.721154
389f9bfdcf2053c3d0f6c1b8b63ac0989577c43d
3,646
ex
Elixir
lib/bson/decoder.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
8
2016-08-05T19:28:16.000Z
2021-07-15T22:00:30.000Z
lib/bson/decoder.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2016-08-29T13:07:15.000Z
2016-11-24T16:58:01.000Z
lib/bson/decoder.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2018-06-19T02:43:46.000Z
2021-07-15T22:00:36.000Z
defmodule BSON.Decoder do @moduledoc false use BSON.Utils def decode(binary) when is_binary(binary) do case document(binary) do {map, ""} -> map {:error, reason} -> {:error, reason} end end defp type(@type_float, <<float::float64, rest::binary>>) do {float, rest} end defp type(@...
23.371795
90
0.620132
389fb07368c719da82624eccae7e7251605b157e
1,200
ex
Elixir
channel-sender/lib/channel_sender_ex/utils/cluster_utils.ex
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
2
2022-01-11T21:03:44.000Z
2022-03-15T15:13:11.000Z
channel-sender/lib/channel_sender_ex/utils/cluster_utils.ex
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
3
2021-12-21T21:04:20.000Z
2022-03-15T16:16:45.000Z
channel-sender/lib/channel_sender_ex/utils/cluster_utils.ex
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
2
2022-02-08T22:33:36.000Z
2022-03-25T19:55:18.000Z
defmodule ChannelSenderEx.Utils.ClusterUtils do @moduledoc """ Utilities for clustering and distributed capacities and verifications (Testing) """ require Logger def discover_and_connect_local() do [node_name, host] = node() |> Atom.to_string() |> String.split("@") case String.spli...
27.906977
91
0.621667
389fb51df5a838d7c5b95a18056f6e79ffaec3d3
2,116
ex
Elixir
apps/tai/lib/tai/test_support/mocks/responses/orders/immediate_or_cancel.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/test_support/mocks/responses/orders/immediate_or_cancel.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/lib/tai/test_support/mocks/responses/orders/immediate_or_cancel.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.TestSupport.Mocks.Responses.Orders.ImmediateOrCancel do alias Tai.TestSupport.Mocks alias Tai.Orders.{Order, Responses, Submissions} @type buy_limit :: Submissions.BuyLimitIoc.t() @type sell_limit :: Submissions.SellLimitIoc.t() @type submission :: buy_limit | sell_limit @type venue_order_id ...
29.802817
72
0.699433
389fb590571c5312f6c401c055c0d627a48612bd
5,501
ex
Elixir
lib/membrane/core/parent/lifecycle_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/core/parent/lifecycle_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/core/parent/lifecycle_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Core.Parent.LifecycleController do @moduledoc false use Bunch use Membrane.Core.PlaybackHandler alias Membrane.{Child, Core, Notification, Pad, Sync} alias Membrane.Core.{CallbackHandler, Component, Message, Parent, PlaybackHandler} alias Membrane.Core.Events alias Membrane.Core.Parent...
31.079096
97
0.704599
389fd24870a5938d01073f151dd6a7e02845ad06
1,741
ex
Elixir
lib/glimesh_web/controllers/user_social_controller.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
lib/glimesh_web/controllers/user_social_controller.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
lib/glimesh_web/controllers/user_social_controller.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.UserSocialController do use GlimeshWeb, :controller import GlimeshWeb.Gettext alias Glimesh.Socials def twitter(conn, params) do with {:ok, access_token} <- ExTwitter.access_token(params["oauth_verifier"], params["oauth_token"]), {:ok, _} <- Glimesh.Soc...
34.137255
98
0.641585
389fdfbba1731adf68695acbf87c74e99438d37f
2,056
exs
Elixir
test/absinthe/integration/execution/introspection/directives_test.exs
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
test/absinthe/integration/execution/introspection/directives_test.exs
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
test/absinthe/integration/execution/introspection/directives_test.exs
arturs678/absinthe
0d842c46e5d21399d66919cdaadfa8927fbca74d
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Elixir.Absinthe.Integration.Execution.Introspection.DirectivesTest do use Absinthe.Case, async: true @query """ query { __schema { directives { name args { name type { kind ofType { name kind } } } locations isRepeatable onField onFragment ...
31.151515
85
0.307393
389fe09293e3d4807440340c4e94fac6c11fbd6c
948
exs
Elixir
test/unit/hologram/compiler/builder_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/builder_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/builder_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.BuilderTest do use Hologram.Test.UnitCase, async: false alias Hologram.Compiler.{ Builder, CallGraph, CallGraphBuilder } @module Hologram.Test.Fixtures.Compiler.Builder.Module1 setup do opts = [ app_path: @fixtures_path <> "/compiler/builder", templat...
26.333333
85
0.739451
38a016bf0ca032d62789268f22e6ffb641d68726
682
ex
Elixir
lib/origin_simulator/body.ex
bbc/origin_simulator
0e06c04043fe84a3e02836581829d5dd11095433
[ "MIT" ]
11
2019-02-03T21:46:28.000Z
2020-02-03T21:05:21.000Z
lib/origin_simulator/body.ex
bbc/origin_simulator
0e06c04043fe84a3e02836581829d5dd11095433
[ "MIT" ]
10
2019-06-07T15:54:43.000Z
2021-04-19T08:00:24.000Z
lib/origin_simulator/body.ex
bbc/origin_simulator
0e06c04043fe84a3e02836581829d5dd11095433
[ "MIT" ]
5
2019-07-25T17:48:04.000Z
2021-02-23T16:43:21.000Z
defmodule OriginSimulator.Body do @regex ~r"<<(.+?)>>" alias OriginSimulator.Size def parse(str, headers \\ %{}) def parse(str, %{"content-encoding" => "gzip"}) do Regex.replace(@regex, str, fn _whole, tag -> randomise(tag) end) |> :zlib.gzip() end def parse(str, _) do Regex.replace(@regex, ...
24.357143
94
0.630499
38a01bd402e226affd73d8b2611916a724b86632
4,796
exs
Elixir
test/quantum/normalizer_test.exs
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
991
2015-04-27T12:26:50.000Z
2019-07-22T06:24:02.000Z
test/quantum/normalizer_test.exs
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
278
2015-05-27T18:15:53.000Z
2018-03-22T14:48:33.000Z
test/quantum/normalizer_test.exs
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
96
2015-05-02T06:41:34.000Z
2020-11-30T19:44:00.000Z
defmodule Quantum.NormalizerTest do use ExUnit.Case, async: true import Quantum.Normalizer import Crontab.CronExpression alias Quantum.Job defmodule Scheduler do use Quantum.Scheduler, otp_app: :quantum_test end setup_all do Application.put_env(:quantum_test, Scheduler, jobs: []) {:ok, _p...
24.345178
96
0.581943
38a02942373ea8d809c4fa23d9fc931ad0f1d8ba
345
exs
Elixir
test/porter_test.exs
rentpath/porter
d35de9a2179c9995f6366a01cae9b769d0e294a9
[ "MIT" ]
1
2020-01-13T22:09:56.000Z
2020-01-13T22:09:56.000Z
test/porter_test.exs
rentpath/porter
d35de9a2179c9995f6366a01cae9b769d0e294a9
[ "MIT" ]
null
null
null
test/porter_test.exs
rentpath/porter
d35de9a2179c9995f6366a01cae9b769d0e294a9
[ "MIT" ]
null
null
null
defmodule PorterTest do use ExUnit.Case doctest Porter #test "it runs a command" do #Porter.run("echo \"hello world\"", #assert Porter.run("echo \"hello world\"") == {:ok, 1, ["hello world\n"]} #end #test "it streams command output" do #assert Porter.run("./test/test.sh") == {:ok, 2, ["hello\n"...
24.642857
77
0.608696
38a05b4a4ae5d27ae31c3427f7df1d724b5bbc1c
1,004
exs
Elixir
test/ecto_extensions/pageable_test.exs
MLSDev/ecto_extensions
a36ade6dd821a67a2569c5d5573e5c989b1d0141
[ "MIT" ]
7
2019-03-28T05:39:05.000Z
2020-05-02T00:19:22.000Z
test/ecto_extensions/pageable_test.exs
MLSDev/ecto_extensions
a36ade6dd821a67a2569c5d5573e5c989b1d0141
[ "MIT" ]
null
null
null
test/ecto_extensions/pageable_test.exs
MLSDev/ecto_extensions
a36ade6dd821a67a2569c5d5573e5c989b1d0141
[ "MIT" ]
null
null
null
defmodule EctoExtensions.PageableTest do use EctoExtensions.TestCase alias EctoExtensions.Repo alias EctoExtensions.Post alias EctoExtensions.{Pageable, Page} describe "paginate(queryable, repo, params)" do test "returns map" do page = Post |> Pageable.paginate(Repo, %{}) as...
21.361702
55
0.59761
38a0b3c8f9888b79750cf825e3891ffcfb857390
1,314
exs
Elixir
test/ex_oauth2_provider/oauth2/token_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/oauth2/token_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/oauth2/token_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.TokenTest do use ExOauth2Provider.TestCase alias ExOauth2Provider.Token alias ExOauth2Provider.Test.Fixtures @client_id "Jf5rM8hQBc" @client_secret "secret" setup do application = Fixtures.application() {:ok, %{application: application}} end test "#grant/2 error wh...
27.375
84
0.653729
38a0b9263fa9841c1baf79d036c6cf94050fee7f
4,268
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/hardware_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/hardware_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/hardware_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
49.057471
161
0.727507
38a0da6344bbc1794be1cc003870c04acadf0b7f
1,228
ex
Elixir
lib/hello_phoenix/endpoint.ex
geowa4/graphql-elixir-phoenix-preso
9d0de23a09506e46a4a0bf71db26e4691f254849
[ "MIT" ]
null
null
null
lib/hello_phoenix/endpoint.ex
geowa4/graphql-elixir-phoenix-preso
9d0de23a09506e46a4a0bf71db26e4691f254849
[ "MIT" ]
null
null
null
lib/hello_phoenix/endpoint.ex
geowa4/graphql-elixir-phoenix-preso
9d0de23a09506e46a4a0bf71db26e4691f254849
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.Endpoint do use Phoenix.Endpoint, otp_app: :hello_phoenix socket "/socket", HelloPhoenix.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. plu...
28.55814
69
0.723127
38a0f404284545033de4482bd4f960e08b4e7644
36
ex
Elixir
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/KeywordValueCaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/KeywordValueCaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/KeywordValueCaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
function positional, keyword_key: &0
36
36
0.833333
38a12402e4867d25819a179f075d581934fea148
715
ex
Elixir
lib/opencov/endpoint.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
null
null
null
lib/opencov/endpoint.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
null
null
null
lib/opencov/endpoint.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
null
null
null
defmodule Opencov.Endpoint do use Phoenix.Endpoint, otp_app: :opencov plug Plug.Static, at: "/", from: :opencov, gzip: false, only: ~w(css fonts images js favicon.ico robots.txt) if code_reloading? do socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket plug Phoenix.LiveReloader ...
21.029412
69
0.682517
38a12b52502080c2b69013c01dcae437e621ed3b
1,821
exs
Elixir
clients/analytics/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/analytics/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/analytics/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.179104
100
0.654036
38a138fa4144c738ebed049018f44b09119b482e
4,161
ex
Elixir
lib/norm/core/collection.ex
slashdotdash/norm
881aabe2f5f08a8858a77cfd67b7f17f87dc282c
[ "MIT" ]
1
2021-03-02T21:05:36.000Z
2021-03-02T21:05:36.000Z
lib/norm/core/collection.ex
slashdotdash/norm
881aabe2f5f08a8858a77cfd67b7f17f87dc282c
[ "MIT" ]
null
null
null
lib/norm/core/collection.ex
slashdotdash/norm
881aabe2f5f08a8858a77cfd67b7f17f87dc282c
[ "MIT" ]
1
2021-03-02T10:49:33.000Z
2021-03-02T10:49:33.000Z
defmodule Norm.Core.Collection do @moduledoc false defstruct spec: nil, opts: [] def new(spec, opts) do %__MODULE__{spec: spec, opts: opts} end defimpl Norm.Conformer.Conformable do alias Norm.Conformer alias Norm.Conformer.Conformable def conform(%{spec: spec, opts: opts}, input, path) do...
25.371951
97
0.539774
38a15047b38cbc8ed6c4a89380f9651e58168553
1,901
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/search_variants_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/genomics/lib/google_api/genomics/v1/model/search_variants_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/search_variants_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.27451
271
0.748027
38a153ebe54a1087ad1bcf421a436fa35a5504a8
450
exs
Elixir
apps/dredd_web/test/models/signup_test.exs
TheAustinSeven/Dredd
2a5429bb3212c97689181017cdd0d3283dbddafd
[ "BSD-3-Clause" ]
null
null
null
apps/dredd_web/test/models/signup_test.exs
TheAustinSeven/Dredd
2a5429bb3212c97689181017cdd0d3283dbddafd
[ "BSD-3-Clause" ]
null
null
null
apps/dredd_web/test/models/signup_test.exs
TheAustinSeven/Dredd
2a5429bb3212c97689181017cdd0d3283dbddafd
[ "BSD-3-Clause" ]
null
null
null
defmodule DreddWeb.SignupTest do use DreddWeb.ModelCase alias DreddWeb.Signup @valid_attrs %{email: "some content", token: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Signup.changeset(%Signup{}, @valid_attrs) assert changeset.valid? end test "change...
23.684211
62
0.726667
38a1650fc641c997c44efc1e45c15cb0c9762578
206
exs
Elixir
installer/templates/phx_umbrella/apps/app_name_web/config/test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
1
2015-05-19T11:04:16.000Z
2015-05-19T11:04:16.000Z
installer/templates/phx_umbrella/apps/app_name_web/config/test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
installer/templates/phx_umbrella/apps/app_name_web/config/test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :<%= web_app_name %>, <%= endpoint_module %>, http: [port: 4001], server: false
25.75
56
0.684466