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
1a44733b9c94a67cec95101b2b689044a1b5b847
2,567
ex
Elixir
clients/partners/lib/google_api/partners/v2/model/list_offers_history_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/partners/lib/google_api/partners/v2/model/list_offers_history_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/partners/lib/google_api/partners/v2/model/list_offers_history_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 "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...
40.746032
125
0.742111
1a44965d607aaea17b080443eb506ef9b68d2472
1,049
exs
Elixir
test/aws/xml_test.exs
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
test/aws/xml_test.exs
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
test/aws/xml_test.exs
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
defmodule AWS.XMLTest do use ExUnit.Case @text "__text" test "decode!/2 handles lists correctly by merging values in a list" do expected = %{"person" => %{"name" => "foo", "addresses" => %{"address" => ["1", "2", "œ"]}}} input = """ <person> <name>foo</name> <addresses> <address...
21.408163
96
0.530029
1a449de90f07237e4c9cee2fc3a55bcf6ea77d69
5
ex
Elixir
testData/org/elixir_lang/parser_definition/char_list_line_parsing_test_case/EmptyUnicodeEscapeSequence.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/char_list_line_parsing_test_case/EmptyUnicodeEscapeSequence.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/char_list_line_parsing_test_case/EmptyUnicodeEscapeSequence.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
'\u'
2.5
4
0.2
1a44a4fcbc975f6fd84db27c0d914b12915b2dea
272
ex
Elixir
lib/agent_map/collectable.ex
alexogar/agent_map
329920515e24e6d51bb1e3bd5ea38cd602cb6157
[ "MIT" ]
1
2018-06-05T21:32:23.000Z
2018-06-05T21:32:23.000Z
lib/agent_map/collectable.ex
alexogar/agent_map
329920515e24e6d51bb1e3bd5ea38cd602cb6157
[ "MIT" ]
null
null
null
lib/agent_map/collectable.ex
alexogar/agent_map
329920515e24e6d51bb1e3bd5ea38cd602cb6157
[ "MIT" ]
1
2019-03-20T21:10:28.000Z
2019-03-20T21:10:28.000Z
defimpl Collectable, for: AgentMap do def into(am) do collector_fun = fn am, {:cont, {key, value}} -> AgentMap.put(am, key, value, cast: false) am, :done -> am _set, :halt -> :ok end {am, collector_fun} end end
16
49
0.525735
1a44bef73224c085702e259d5664fe6e069b5b27
2,199
exs
Elixir
apps/definition_dictionary/test/dictionary/type/longitude_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/definition_dictionary/test/dictionary/type/longitude_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/definition_dictionary/test/dictionary/type/longitude_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
defmodule Dictionary.Type.LongitudeTest do use ExUnit.Case import Checkov describe "new/1" do data_test "validates #{inspect(field)} against bad input" do assert {:error, [%{input: value, path: [field]} | _]} = put_in(%{}, [field], value) |> Dictionary.Type.Longitude.new()...
30.123288
97
0.5598
1a44fe36e92eda9175ec450dd4e5ce32a4f70a3c
3,325
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/bidder.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/bidder.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/bidder.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...
56.355932
540
0.746466
1a450507313728e4813a7ca533bc26a6d8e7ebca
42,938
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
44.220391
196
0.620243
1a450fec14ae2fb760b078f3fb5abd3d0e99a74a
1,486
ex
Elixir
lib/webkontist_web/views/error_helpers.ex
lorenzosinisi/webkontist
6af002ece0eb56b83c8d26d7f7e7ef6ca6e1562f
[ "MIT" ]
null
null
null
lib/webkontist_web/views/error_helpers.ex
lorenzosinisi/webkontist
6af002ece0eb56b83c8d26d7f7e7ef6ca6e1562f
[ "MIT" ]
1
2021-05-10T13:24:52.000Z
2021-05-10T13:24:52.000Z
lib/webkontist_web/views/error_helpers.ex
lorenzosinisi/webkontist
6af002ece0eb56b83c8d26d7f7e7ef6ca6e1562f
[ "MIT" ]
null
null
null
defmodule WebKontistWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_t...
33.022222
79
0.672275
1a456daa3da18f8e3ff6cfd4924edae88d162952
291
ex
Elixir
lib/nets_easy/model/get_order_response/subscription.ex
hooplab/nets-easy-elixir
5d60a31ef36bb1518d7a3768851d09b258f62411
[ "MIT" ]
null
null
null
lib/nets_easy/model/get_order_response/subscription.ex
hooplab/nets-easy-elixir
5d60a31ef36bb1518d7a3768851d09b258f62411
[ "MIT" ]
null
null
null
lib/nets_easy/model/get_order_response/subscription.ex
hooplab/nets-easy-elixir
5d60a31ef36bb1518d7a3768851d09b258f62411
[ "MIT" ]
null
null
null
defmodule NetsEasy.Model.GetOrderResponse.Subscription do @moduledoc """ """ @typedoc """ .subscription """ @type t :: %__MODULE__{ id: String.t() } @derive Poison.Encoder defstruct [ :id ] @doc false def shell() do %__MODULE__{} end end
13.227273
57
0.57732
1a458e3262ce710b3ad3a755fc713d9dca671a02
1,266
ex
Elixir
fibonacci.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
fibonacci.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
fibonacci.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
defmodule Fib do def fib(0), do: 0 def fib(1), do: 1 def fib(n), do: fib(n-1) + fib(n-2) def fib_(n) do case n do 0 -> 0 1 -> 1 n -> fib_(n-1) + fib(n-2) end end end defmodule PrimeFactors do @moduledoc """ Inspired by Uncle Bob's algorithm: http://butunclebob.com/Artic...
23.444444
108
0.617694
1a45982564cf19a76de8b9b38de5740291dd9ede
1,023
ex
Elixir
lib/parser.ex
ValleyHosting/ex_sitemap_parser
ac44f5d14b8b31652aa86f7f9a03de1672422420
[ "MIT" ]
null
null
null
lib/parser.ex
ValleyHosting/ex_sitemap_parser
ac44f5d14b8b31652aa86f7f9a03de1672422420
[ "MIT" ]
null
null
null
lib/parser.ex
ValleyHosting/ex_sitemap_parser
ac44f5d14b8b31652aa86f7f9a03de1672422420
[ "MIT" ]
null
null
null
defmodule ExSitemapParser.Parser do import SweetXml @callback parse(doc :: String.t()) :: map() def parse!(doc) do case doc |> SweetXml.xpath(~x"//sitemapindex"o) |> is_nil do true -> ExSitemapParser.Parser.Sitemap.parse(doc) false -> ExSitemapParser.Parser.SitemapIndex.parse(doc) end...
26.921053
130
0.663734
1a45ebdb203cd18c9c1d5038bae8923d7c85cedf
2,291
ex
Elixir
clients/fcm/lib/google_api/fcm/v1/model/light_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/fcm/lib/google_api/fcm/v1/model/light_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/fcm/lib/google_api/fcm/v1/model/light_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.5
137
0.725884
1a4616459aa4cfcea0f57489289aabb1ead8cfe9
2,754
ex
Elixir
lib/plugin.ex
mkremins/alembic
2ae459201220b63af083d0d54325af93afa877f1
[ "MIT" ]
2
2016-01-21T23:36:48.000Z
2016-10-08T09:55:45.000Z
lib/plugin.ex
mkremins/alembic
2ae459201220b63af083d0d54325af93afa877f1
[ "MIT" ]
null
null
null
lib/plugin.ex
mkremins/alembic
2ae459201220b63af083d0d54325af93afa877f1
[ "MIT" ]
null
null
null
defmodule Alembic.Plugin.Behaviour do @moduledoc """ Defines the callback functions that the main callback module of each Alembic plugin is expected to implement and provides a `__using__/2` helper macro that plugin authors can use to define fallback implementations of several of these callbacks. """ use...
36.236842
77
0.722948
1a461a5e67945c42ddc16a98a2e498ddbe556947
121
ex
Elixir
lib/ecto_test_dsl.ex
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
lib/ecto_test_dsl.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
lib/ecto_test_dsl.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule EctoTestDSL do def start do EctoTestDSL.TestDataServer.start EctoTestDSL.TraceServer.start end end
17.285714
36
0.785124
1a464513efe6aa45859e8d870c32ea056e80c5ac
609
exs
Elixir
apps/pingring/test/views/error_view_test.exs
kanatohodets/phoenix-ricor-kv
cae24fd7fcbf7575241d2e541cc37c882c692d50
[ "MIT" ]
21
2016-06-25T16:10:16.000Z
2021-04-03T05:06:07.000Z
apps/pingring/test/views/error_view_test.exs
kanatohodets/ping-ring
cae24fd7fcbf7575241d2e541cc37c882c692d50
[ "MIT" ]
1
2016-12-09T20:01:34.000Z
2016-12-09T23:06:03.000Z
apps/pingring/test/views/error_view_test.exs
kanatohodets/ping-ring
cae24fd7fcbf7575241d2e541cc37c882c692d50
[ "MIT" ]
3
2016-10-10T16:52:40.000Z
2018-01-25T16:44:55.000Z
defmodule Pingring.ErrorViewTest do use Pingring.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(Pingring.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}} end test "rende...
27.681818
66
0.648604
1a464ef9ec4754c8c04d2e5c109c8ed1477c5de7
3,909
exs
Elixir
test/changelog_web/controllers/episode_controller_test.exs
kball/changelog.com
e9782271be360dd82cc2cb6bb9379854f9203c2c
[ "MIT" ]
1
2020-10-12T13:28:41.000Z
2020-10-12T13:28:41.000Z
test/changelog_web/controllers/episode_controller_test.exs
kball/changelog.com
e9782271be360dd82cc2cb6bb9379854f9203c2c
[ "MIT" ]
null
null
null
test/changelog_web/controllers/episode_controller_test.exs
kball/changelog.com
e9782271be360dd82cc2cb6bb9379854f9203c2c
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule ChangelogWeb.EpisodeControllerTest do use ChangelogWeb.ConnCase alias Changelog.{Episode, NewsItem} test "getting a published podcast episode page and its embed", %{conn: conn} do p = insert(:podcast) e = insert(:published_episode, podcast: p) insert(:episode_host, episode: e) insert(:...
31.524194
113
0.651062
1a4665e384ca96e6f38a9efea0a9f6391c052f77
4,096
ex
Elixir
lib/elixir/lib/tuple.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/lib/tuple.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/tuple.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Tuple do @moduledoc """ Functions for working with tuples. Tuples are ordered collections of elements; tuples can contain elements of any type, and a tuple can contain elements of different types. Curly braces can be used to create tuples: iex> {} {} iex> {1, :two, "three"} ...
27.125828
80
0.661133
1a466c804345c063f07099b535c5f2d28f578fde
203
ex
Elixir
13-phoenix/hello/lib/hello_web/controllers/page_controller.ex
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
13-phoenix/hello/lib/hello_web/controllers/page_controller.ex
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
13-phoenix/hello/lib/hello_web/controllers/page_controller.ex
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule HelloWeb.PageController do use HelloWeb, :controller def index(conn, _params) do render(conn, "index.html") end def hola(conn, _params) do render(conn, "hola.html") end end
16.916667
36
0.694581
1a46764c9787c50bec211bd0a703a3702226b91e
1,451
ex
Elixir
lib/code_corps/github/api/headers.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/github/api/headers.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/github/api/headers.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.GitHub.API.Headers do alias CodeCorps.GitHub.API.JWT @typep header :: {String.t, String.t} @type t :: list(header) @spec user_request(%{String.t => String.t} | %{}, list) :: t def user_request(%{} = headers, options) do headers |> add_default_headers() |> add_access_token_hea...
30.229167
89
0.645072
1a46bfc676713d5c84983ee1346aa21405e628b2
1,480
exs
Elixir
test/integration.exs
pushex-project/telemetry_async
9fcfad89e02290175b9fae04d1971207805f11ac
[ "MIT" ]
null
null
null
test/integration.exs
pushex-project/telemetry_async
9fcfad89e02290175b9fae04d1971207805f11ac
[ "MIT" ]
1
2019-05-02T19:42:00.000Z
2019-05-04T03:27:09.000Z
test/integration.exs
pushex-project/telemetry_async
9fcfad89e02290175b9fae04d1971207805f11ac
[ "MIT" ]
null
null
null
IO.puts("start") defmodule TestTransform do def transform([:test], _a, _b) do {%{data: true}, %{transformed: true}} end def transform([:other, :test], _a, _b) do {%{other: true}, %{test: true}} end def transform(_, a, b) do {a, b} end end metrics = [ [:test], [:other, :test], [:other, ...
25.517241
107
0.678378
1a46d7c635407b1cd57a7e41ab893e2f479cbb13
1,223
ex
Elixir
oeml-sdk/elixir/lib/oeml_restapi/model/position_data.ex
oskaralfons/coinapi-sdk
2c79b6d91d0f702040dd865e79f0774a4bba9bb3
[ "MIT" ]
1
2020-07-23T05:47:52.000Z
2020-07-23T05:47:52.000Z
oeml-sdk/elixir/lib/oeml_restapi/model/position_data.ex
oskaralfons/coinapi-sdk
2c79b6d91d0f702040dd865e79f0774a4bba9bb3
[ "MIT" ]
null
null
null
oeml-sdk/elixir/lib/oeml_restapi/model/position_data.ex
oskaralfons/coinapi-sdk
2c79b6d91d0f702040dd865e79f0774a4bba9bb3
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OEML-RESTAPI.Model.PositionData do @moduledoc """ The Position object. """ @derive [Poison.Encoder] defstruct [ :"symbol_id_exchange", ...
26.021277
91
0.636141
1a46ddc02538546215a2a918cb5fab2a8d51ac30
36,792
ex
Elixir
lib/iex/lib/iex/helpers.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
1
2020-02-27T22:11:53.000Z
2020-02-27T22:11:53.000Z
lib/iex/lib/iex/helpers.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
1
2022-01-08T16:30:22.000Z
2022-01-08T16:30:22.000Z
defmodule IEx.Helpers do @moduledoc """ Welcome to Interactive Elixir. You are currently seeing the documentation for the module `IEx.Helpers` which provides many helpers to make Elixir's shell more joyful to work with. This message was triggered by invoking the helper `h()`, usually referred to as `h/0`...
27.58021
97
0.641389
1a46e2d5b20ddeb7483caa6ab708c18b1b233329
1,081
ex
Elixir
lib/cargo_elixir_web/channels/user_socket.ex
helium/cargo-elixir
1ad2b5aa32a091eb67a46cf555501b4e2c45f5c9
[ "Apache-2.0" ]
9
2020-11-13T18:24:25.000Z
2022-03-17T19:03:02.000Z
lib/cargo_elixir_web/channels/user_socket.ex
helium/cargo-elixir
1ad2b5aa32a091eb67a46cf555501b4e2c45f5c9
[ "Apache-2.0" ]
8
2020-12-07T17:41:01.000Z
2022-01-05T10:51:21.000Z
lib/cargo_elixir_web/channels/user_socket.ex
helium/cargo-elixir
1ad2b5aa32a091eb67a46cf555501b4e2c45f5c9
[ "Apache-2.0" ]
5
2020-12-07T07:16:21.000Z
2022-03-21T00:44:39.000Z
defmodule CargoElixirWeb.UserSocket do use Phoenix.Socket ## Channels channel "payload:*", CargoElixirWeb.PayloadChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set fo...
31.794118
86
0.703053
1a4715e97987a78e072dd7aa6498d9583e1a8175
1,916
ex
Elixir
deps/credo/lib/credo/check/readability/redundant_blank_lines.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/credo/lib/credo/check/readability/redundant_blank_lines.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/credo/lib/credo/check/readability/redundant_blank_lines.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.RedundantBlankLines do @moduledoc """ Files should not have two or more consecutive blank lines. Like all `Readability` issues, this one is not a technical concern. But you can improve the odds of others reading and liking your code by making it easier to follow. """ @e...
25.210526
90
0.655532
1a4732399da109445cd2e67af49a3e1e43dd93b1
662
exs
Elixir
test/oli/features_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli/features_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli/features_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.FeaturesTest do use Oli.DataCase alias Oli.Features alias Oli.Features.Feature describe "features" do setup do Oli.Seeder.base_project_with_resource2() end test "basic operations of feature flags", _ do [{%Feature{id: 1, label: "adaptivity"}, state}, _] = Features.list_f...
25.461538
94
0.679758
1a478b2cc4488cde5f4e36ab9780aaac051e0785
3,090
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_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...
46.818182
183
0.756634
1a47bf01c295396420da8a024fa256156442f486
427
ex
Elixir
lib/phoenix/transports/json_serializer.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/transports/json_serializer.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/transports/json_serializer.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Transports.JSONSerializer do @moduledoc false @behaviour Phoenix.Transports.Serializer @doc """ Encodes a `Phoenix.Socket.Message` struct to JSON string """ def encode!(message), do: Poison.encode!(message) @doc """ Decodes JSON String into `Phoenix.Socket.Message` struct """ d...
20.333333
58
0.700234
1a47f6e19222b45432083740b5d7a6ab3d57029c
1,102
exs
Elixir
test/utils/gpb_compile_helper.exs
koudelka/exprotobuf
59784900dae2e78aa03ab3db0959ccfb1d5936ae
[ "Apache-2.0" ]
1
2021-04-03T12:51:54.000Z
2021-04-03T12:51:54.000Z
test/utils/gpb_compile_helper.exs
koudelka/exprotobuf
59784900dae2e78aa03ab3db0959ccfb1d5936ae
[ "Apache-2.0" ]
null
null
null
test/utils/gpb_compile_helper.exs
koudelka/exprotobuf
59784900dae2e78aa03ab3db0959ccfb1d5936ae
[ "Apache-2.0" ]
null
null
null
defmodule GpbCompileHelper do def compile_tmp_proto(msgs) do compile_tmp_proto(msgs, nil) end def compile_tmp_proto(msgs, func) do compile_tmp_proto(msgs, [], func) end def compile_tmp_proto(msgs, options, func) do compile_tmp_proto(msgs, options, find_unused_module, func) end def compile_...
22.489796
80
0.680581
1a4841cb98a24ba506caacae5929e1b9cecb077a
2,179
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/google_firestore_admin_v1beta1_index.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/google_firestore_admin_v1beta1_index.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/google_firestore_admin_v1beta1_index.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...
35.145161
147
0.719596
1a4846433e9d9ed1121cd0820f49a79ce9e72ddb
2,222
exs
Elixir
sample_server/config/prod.exs
mjaric/finix
fb0dedfdfdd46927d3df239c7c45d7fe92c441c4
[ "Apache-2.0" ]
31
2019-03-26T15:26:21.000Z
2022-02-16T14:33:13.000Z
sample_server/config/prod.exs
mjaric/finix
fb0dedfdfdd46927d3df239c7c45d7fe92c441c4
[ "Apache-2.0" ]
3
2019-04-05T19:45:09.000Z
2019-10-25T01:48:57.000Z
sample_server/config/prod.exs
mjaric/finix
fb0dedfdfdd46927d3df239c7c45d7fe92c441c4
[ "Apache-2.0" ]
5
2019-03-27T14:16:28.000Z
2022-02-18T12:01:46.000Z
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 # SampleServerWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. #...
34.184615
67
0.727723
1a486e0fc3b6a35323b1015807c047cba44dc705
760
ex
Elixir
test_fixtures/theme_modules/weird_theme.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
test_fixtures/theme_modules/weird_theme.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
test_fixtures/theme_modules/weird_theme.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
defmodule Serum.WeirdTheme do @behaviour Serum.Theme def name, do: "Dummy Theme" def description, do: "This is a dummy theme for testing." def author, do: "John Doe" def legal, do: "Copyleft" def version, do: "0.1.0" def serum, do: ">= 1.0.0" def get_includes do [ "/foo/bar/includes/nav.html...
23.75
59
0.622368
1a486e2023c9c73815601eedf0368869ba86eb0e
1,216
ex
Elixir
lib/apply.ex
bonfire-networks/banshee
4b22085380e0cecd9d30b479655a0a34c33ef643
[ "Apache-2.0" ]
1
2020-05-16T10:24:54.000Z
2020-05-16T10:24:54.000Z
lib/apply.ex
bonfire-networks/banshee
4b22085380e0cecd9d30b479655a0a34c33ef643
[ "Apache-2.0" ]
1
2020-05-27T21:25:10.000Z
2020-05-29T00:17:17.000Z
lib/apply.ex
bonfire-networks/banshee
4b22085380e0cecd9d30b479655a0a34c33ef643
[ "Apache-2.0" ]
1
2020-05-27T19:23:02.000Z
2020-05-27T19:23:02.000Z
defmodule Banshee.Apply do @doc """ A Navigator that applies a function to the current item Param required, one of: * 1-arity function * module name on which to call `select/1` or `transform/1` depending on operation * {module_name, function_name}, as above, but with a custom function name * {module_name...
36.848485
96
0.641447
1a4870e303ecdd8b47e2bfbdede710ad52400c7c
190
exs
Elixir
priv/repo/migrations/20170706075916_profile_belongs_to_user.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
priv/repo/migrations/20170706075916_profile_belongs_to_user.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
priv/repo/migrations/20170706075916_profile_belongs_to_user.exs
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityTools.Repo.Migrations.ProfileBelongsToUser do use Ecto.Migration def change do alter table(:profiles) do add :user_id, references(:users) end end end
19
64
0.736842
1a48746f521c395b3ac3f1eac5f77e62d5367252
1,717
ex
Elixir
lib/covid19_questionnaire_web/schemas/risk_factors.ex
Delegation-numerique-en-sante/covid-19-elixir
c4b49c713642c0e022ab1ea79e9d5fb10964dffd
[ "MIT" ]
3
2020-04-08T19:15:22.000Z
2020-05-24T22:37:54.000Z
lib/covid19_questionnaire_web/schemas/risk_factors.ex
Delegation-numerique-en-sante/covid-19-elixir
c4b49c713642c0e022ab1ea79e9d5fb10964dffd
[ "MIT" ]
10
2020-04-05T17:31:49.000Z
2020-06-10T11:09:17.000Z
lib/covid19_questionnaire_web/schemas/risk_factors.ex
Delegation-numerique-en-sante/covid19-algorithme-orientation-api
c4b49c713642c0e022ab1ea79e9d5fb10964dffd
[ "MIT" ]
null
null
null
defmodule Covid19QuestionnaireWeb.Schemas.RiskFactors do @moduledoc """ Schéma des questions sur les facteurs risk_factors défavorables au terrain. """ require OpenApiSpex alias OpenApiSpex.Schema OpenApiSpex.schema(%{ title: "RiskFactors", description: "[Questions sur les facteurs risk_fact...
40.880952
254
0.67385
1a488629b5766503a35bc20196f15a908d1fb71d
1,625
ex
Elixir
lib/postgrex/extensions/timetz.ex
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
681
2016-06-16T12:28:22.000Z
2022-03-30T08:48:42.000Z
deps/postgrex/lib/postgrex/extensions/timetz.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
383
2016-06-17T14:49:41.000Z
2022-03-21T18:13:19.000Z
deps/postgrex/lib/postgrex/extensions/timetz.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
234
2016-06-16T16:14:47.000Z
2022-03-03T00:43:59.000Z
defmodule Postgrex.Extensions.TimeTZ do @moduledoc false import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, send: "timetz_send" @day (:calendar.time_to_seconds({23, 59, 59}) + 1) * 1_000_000 def encode(_) do quote location: :keep do %Time{calendar: Calendar.ISO} = time -> ...
26.639344
88
0.668923
1a48bdf5c9caba95f4eff43f07b85c308f1a28ea
1,362
exs
Elixir
host_core/mix.exs
nickisonpar/wasmcloud-otp
eab10ddba11d86f5172441b8f8075c97d47d9a8e
[ "Apache-2.0" ]
null
null
null
host_core/mix.exs
nickisonpar/wasmcloud-otp
eab10ddba11d86f5172441b8f8075c97d47d9a8e
[ "Apache-2.0" ]
null
null
null
host_core/mix.exs
nickisonpar/wasmcloud-otp
eab10ddba11d86f5172441b8f8075c97d47d9a8e
[ "Apache-2.0" ]
null
null
null
defmodule HostCore.MixProject do use Mix.Project @app_vsn "0.52.3" def project do [ app: :host_core, version: @app_vsn, elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), rustler_crates: [ hostcore_wasmcloud_native: [ mode: if(Mix.env(...
25.698113
65
0.502203
1a48e0075e369d2e3568beece3b602f62ed13316
1,492
ex
Elixir
src/lib/changelog/slack/client.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
null
null
null
src/lib/changelog/slack/client.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
null
null
null
src/lib/changelog/slack/client.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
null
null
null
defmodule Changelog.Slack.Client do use HTTPoison.Base def process_url(url) do "https://changelog.slack.com/api/" <> url end def process_response_body(body) do try do Poison.decode!(body) rescue _ -> body end end def process_request_headers(headers) do [{"content-type", "a...
27.127273
87
0.647453
1a48f180c249b54d35794a9cab758b111516e4ad
48,211
exs
Elixir
lib/elixir/test/elixir/typespec_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
1
2015-11-24T23:39:25.000Z
2015-11-24T23:39:25.000Z
lib/elixir/test/elixir/typespec_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/typespec_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) # Holds tests for both Kernel.Typespec and Code.Typespec defmodule TypespecTest do use ExUnit.Case, async: true alias TypespecTest.TypespecSample defstruct [:hello] defmacrop test_module(do: block) do quote do {:module, _, bytecode, _} = defmodu...
33.666899
110
0.535604
1a49043c864c08bf422d7986d28648dc4c10f7b6
2,136
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.375
174
0.750468
1a493fc36c72735beb5a5b8a3ca91012170bb7ed
218
exs
Elixir
test/koans/tasks_koans_test.exs
Imtiyaaz1234/elixir-koans
e1a8a55e3acbb88bb598becf3f40cb52f912e60a
[ "MIT" ]
1,944
2016-04-24T02:46:10.000Z
2022-03-29T00:19:17.000Z
test/koans/tasks_koans_test.exs
Imtiyaaz1234/elixir-koans
e1a8a55e3acbb88bb598becf3f40cb52f912e60a
[ "MIT" ]
157
2016-04-23T18:40:24.000Z
2022-02-10T14:00:45.000Z
test/koans/tasks_koans_test.exs
Imtiyaaz1234/elixir-koans
e1a8a55e3acbb88bb598becf3f40cb52f912e60a
[ "MIT" ]
636
2016-04-23T17:18:00.000Z
2022-03-23T10:04:06.000Z
defmodule TasksTests do use ExUnit.Case import TestHarness test "Tasks" do answers = [ 10, :ok, nil, false, 9, [1, 4, 9, 16] ] test_all(Tasks, answers) end end
12.111111
28
0.518349
1a49522d419e195bc98537436f46b9caa7128a58
530
exs
Elixir
deps/ssl_verify_fun/mix.exs
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
2
2021-02-24T10:09:51.000Z
2021-11-02T00:10:14.000Z
deps/ssl_verify_fun/mix.exs
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
deps/ssl_verify_fun/mix.exs
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
defmodule SSLVerifyFun.Mixfile do use Mix.Project def project do [app: :ssl_verify_fun, version: "1.1.4", description: description(), package: package()] end defp description() do """ SSL verification functions for Erlang """ end defp package() do [maintainers: ["Ilya K...
22.083333
83
0.620755
1a496a73735811820f128d92e043676d1dcd48d9
2,120
ex
Elixir
lib/grizzly/zwave/smart_start/meta_extension/bootstrapping_mode.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/smart_start/meta_extension/bootstrapping_mode.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/smart_start/meta_extension/bootstrapping_mode.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.SmartStart.MetaExtension.BootstrappingMode do @moduledoc """ This extension is used to advertise the bootstrapping mode to use when including the node advertised in the provisioning list """ @typedoc """ The modes are: - `:security_2` - the node must be manually set to learn mode...
27.894737
95
0.660377
1a4973eb23a2dd2d255367efd060f924d8d1bd46
986
ex
Elixir
test/support/feature_case.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
test/support/feature_case.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
4
2021-03-01T21:25:42.000Z
2022-02-10T23:50:11.000Z
test/support/feature_case.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
1
2020-03-20T12:58:37.000Z
2020-03-20T12:58:37.000Z
defmodule FirestormWeb.Web.FeatureCase do use ExUnit.CaseTemplate defmodule Helpers do use Wallaby.DSL def log_in_as(session, user) do session |> visit("/") |> Browser.set_cookie("current_user", user.id) end end using do quote do use Wallaby.DSL alias FirestormW...
20.978723
79
0.651116
1a49921fda8da6c2dd9b504283ccdbe570e7b0b3
2,108
ex
Elixir
lib/radex/endpoint.ex
smartlogic/radex
001d2b6fc564d9fbcbd98fcffdc89a03dc210c80
[ "MIT" ]
3
2017-10-12T18:23:33.000Z
2019-05-14T21:28:09.000Z
lib/radex/endpoint.ex
smartlogic/radex
001d2b6fc564d9fbcbd98fcffdc89a03dc210c80
[ "MIT" ]
null
null
null
lib/radex/endpoint.ex
smartlogic/radex
001d2b6fc564d9fbcbd98fcffdc89a03dc210c80
[ "MIT" ]
null
null
null
defmodule Radex.Endpoint do @radex_key :radex alias Radex.Metadata @type route :: {method :: String.t(), path :: String.t()} defmacro __using__(_opts) do quote do import Radex.Endpoint Module.register_attribute(__MODULE__, :parameter, accumulate: true) @before_compile Radex.Endpoint ...
21.08
76
0.592505
1a49abc14377f185adf46f6778f4cba5d99b17bc
2,411
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_revisions_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_revisions_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_revisions_response.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 ...
40.864407
138
0.715886
1a49b9f85a6935e1bb0fecb58d2794acd9cee7ec
1,449
exs
Elixir
priv/scripts/remove_package.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
priv/scripts/remove_package.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
priv/scripts/remove_package.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
destructure [name, repo], Enum.reverse(System.argv()) repository = if repo do Hexpm.Repo.get_by!(Hexpm.Repository.Repository, name: name) else Hexpm.Repo.get!(Hexpm.Repository.Repository, 1) end package = Hexpm.Repository.Package |> Hexpm.Repo.get_by!(name: name, repository_id: repository.id) |> H...
24.15
98
0.703934
1a49bdd24812889b30da0c214f11fb1b5dc177a9
5,091
exs
Elixir
test/recorder_ibrowse_test.exs
myxplor/exvcr
84aa3ebce2412aff3eff25dea14cd39b08a5a32d
[ "MIT" ]
608
2015-01-05T18:44:49.000Z
2022-03-21T19:54:01.000Z
test/recorder_ibrowse_test.exs
myxplor/exvcr
84aa3ebce2412aff3eff25dea14cd39b08a5a32d
[ "MIT" ]
165
2015-01-04T13:01:01.000Z
2022-03-16T08:31:48.000Z
test/recorder_ibrowse_test.exs
myxplor/exvcr
84aa3ebce2412aff3eff25dea14cd39b08a5a32d
[ "MIT" ]
130
2015-01-28T19:33:21.000Z
2022-02-08T22:21:43.000Z
defmodule ExVCR.RecorderIBrowseTest do use ExUnit.Case, async: true use ExVCR.Mock @dummy_cassette_dir "tmp/vcr_tmp/vcr_cassettes_ibrowse" @port 34000 @url "http://localhost:#{@port}/server" @url_with_query "http://localhost:#{@port}/server?password=sample" setup_all do on_exit fn -> File.rm_r...
36.625899
122
0.70988
1a49d19e32d1634bd43d67d28f897308c792e87d
982
exs
Elixir
test/model/relationships_test.exs
raw1z/ex_neo4j
afb778f56ff65c63ceb848b8debe9c3e8b3a375e
[ "MIT" ]
2
2015-07-28T16:12:56.000Z
2015-10-09T21:21:16.000Z
test/model/relationships_test.exs
raw1z/ex_neo4j
afb778f56ff65c63ceb848b8debe9c3e8b3a375e
[ "MIT" ]
1
2015-11-01T16:14:34.000Z
2015-11-02T10:35:48.000Z
test/model/relationships_test.exs
raw1z/ex_neo4j
afb778f56ff65c63ceb848b8debe9c3e8b3a375e
[ "MIT" ]
null
null
null
defmodule Model.RelationshipTest do use ExUnit.Case test "defines relationships" do relationship_names = Person.metadata.relationships |> Enum.map(&(&1.name)) relationship_related_models = Person.metadata.relationships |> Enum.map(&(&1.related_model)) assert relationship_names == [:FRIEND_OF, :MARRIED_...
36.37037
96
0.716904
1a49dcb1cac85d70898b9f90c22541d1e0d90d6e
72
ex
Elixir
lib/mx.ex
curoles/elixir-numy
70af10cd65c26f8a4df0734c8612c6426b4ce86d
[ "MIT" ]
null
null
null
lib/mx.ex
curoles/elixir-numy
70af10cd65c26f8a4df0734c8612c6426b4ce86d
[ "MIT" ]
null
null
null
lib/mx.ex
curoles/elixir-numy
70af10cd65c26f8a4df0734c8612c6426b4ce86d
[ "MIT" ]
null
null
null
defprotocol Numy.Mx do @moduledoc """ Interface to Matrix """ end
12
22
0.666667
1a49ef238185220ef1b95e36f759b43ddf09f35b
2,202
ex
Elixir
lib/nostrum/cache/user_cache.ex
PurgePJ/nostrum
9ca0b3816416a2bd25d077bccd76d42a6b5dffa6
[ "MIT" ]
null
null
null
lib/nostrum/cache/user_cache.ex
PurgePJ/nostrum
9ca0b3816416a2bd25d077bccd76d42a6b5dffa6
[ "MIT" ]
null
null
null
lib/nostrum/cache/user_cache.ex
PurgePJ/nostrum
9ca0b3816416a2bd25d077bccd76d42a6b5dffa6
[ "MIT" ]
null
null
null
defmodule Nostrum.Cache.UserCache do @moduledoc """ Cache for users. The ETS table name associated with the User Cache is `:users`. Besides the methods provided below you can call any other ETS methods on the table. ## Example ```elixir info = :ets.info(:users) [..., heir: :none, name: :users, size: 1...
22.9375
88
0.579927
1a4a036e8243dc6460bd4d8f70f87621f04a5c1f
416
ex
Elixir
islands_engine/lib/ie/application.ex
moritzploss/islands
ae804c4a443469a49a5d54c69d86951e76050205
[ "MIT" ]
3
2020-04-14T20:21:33.000Z
2021-03-18T16:47:04.000Z
islands_engine/lib/ie/application.ex
moritzploss/islands
ae804c4a443469a49a5d54c69d86951e76050205
[ "MIT" ]
null
null
null
islands_engine/lib/ie/application.ex
moritzploss/islands
ae804c4a443469a49a5d54c69d86951e76050205
[ "MIT" ]
null
null
null
defmodule IE.Application do @moduledoc false use Application def start(_type, _args) do # Starts workers by calling: IE.Worker.start_link(arg) children = [ {Registry, keys: :unique, name: Registry.Game}, IE.GameSupervisor ] :ets.new(:game_state, [:public, :named_table]) opts = [s...
24.470588
58
0.680288
1a4a0a15c2e9cba13cfa592776888ccf43f2acfb
1,719
exs
Elixir
test/cushion_test.exs
blandinw/homelander
05d7aff6c7b8f65a95dbc525a687e915bde7d7de
[ "Apache-2.0" ]
23
2020-10-24T16:02:37.000Z
2021-01-20T04:07:06.000Z
test/cushion_test.exs
blandinw/homelander
05d7aff6c7b8f65a95dbc525a687e915bde7d7de
[ "Apache-2.0" ]
null
null
null
test/cushion_test.exs
blandinw/homelander
05d7aff6c7b8f65a95dbc525a687e915bde7d7de
[ "Apache-2.0" ]
null
null
null
defmodule TimeStub do def start_link do pid = Process.spawn(fn -> Process.register(self(), __MODULE__) loop(0) end, [:link]) {:ok, pid} end def loop t do receive do {:time, from} -> send(from, t) loop(t) {:advance, from, more} -> send(from, :ok) ...
25.279412
67
0.639907
1a4a0d173510214d5c97e6349bcb42e7cce003d6
1,184
exs
Elixir
config/dev.exs
stephenmoloney/arc_ovh
b2b4a297051d2bbac57a2c1844945accb0bbb73d
[ "MIT" ]
3
2017-09-29T13:15:31.000Z
2018-10-27T21:48:12.000Z
config/dev.exs
stephenmoloney/arc_ovh
b2b4a297051d2bbac57a2c1844945accb0bbb73d
[ "MIT" ]
1
2017-11-12T10:34:33.000Z
2017-11-19T11:38:27.000Z
config/dev.exs
stephenmoloney/arc_ovh
b2b4a297051d2bbac57a2c1844945accb0bbb73d
[ "MIT" ]
1
2021-09-03T12:43:32.000Z
2021-09-03T12:43:32.000Z
use Mix.Config config :arc_ovh, ArcOvh.Client.Cloudstorage, adapter: Openstex.Adapters.Ovh, ovh: [ application_key: System.get_env("APPLICATION_KEY"), application_secret: System.get_env("APPLICATION_SECRET"), consumer_key: System.get_env("CONSUMER_KEY") ], keystone: [ tenant_id:...
34.823529
110
0.690878
1a4a14f2074a68879f8b780d9694c0c7cfdf9e5b
269
ex
Elixir
lib/reviews_framework.ex
gedzubo/reviews_framework
5b5961190ceed4d8a5e6c878b3854007084519aa
[ "MIT" ]
null
null
null
lib/reviews_framework.ex
gedzubo/reviews_framework
5b5961190ceed4d8a5e6c878b3854007084519aa
[ "MIT" ]
null
null
null
lib/reviews_framework.ex
gedzubo/reviews_framework
5b5961190ceed4d8a5e6c878b3854007084519aa
[ "MIT" ]
null
null
null
defmodule ReviewsFramework do @moduledoc """ ReviewsFramework keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.9
66
0.769517
1a4a298bf0d0e610f0bbc9e155ead93ff8a72380
3,794
ex
Elixir
lib/stripe/plans.ex
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
1
2020-05-03T15:41:49.000Z
2020-05-03T15:41:49.000Z
lib/stripe/plans.ex
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/plans.ex
gitlunar/stripity-stripe
a45079ec3fcc2c80f686297614f78c52c41c6b80
[ "BSD-3-Clause" ]
2
2016-08-23T21:06:49.000Z
2020-02-13T16:04:16.000Z
defmodule Stripe.Plans do @moduledoc """ Basic List, Create, Delete API for Plans """ @endpoint "plans" @doc """ Creates a Plan. Note that `currency` and `interval` are required parameters, and are defaulted to "USD" and "month" ## Example ``` {:ok, plan} = Stripe.Plans.create [id: "test-plan", ...
22.187135
135
0.587243
1a4a676e83b0779fd1fd36de2813b35c4bb815fc
1,103
ex
Elixir
lib/operations/commands/get_statistics_command.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
9
2022-01-11T10:01:54.000Z
2022-03-31T06:50:59.000Z
lib/operations/commands/get_statistics_command.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
2
2022-03-21T20:13:13.000Z
2022-03-28T21:07:47.000Z
lib/operations/commands/get_statistics_command.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
null
null
null
defmodule Ravix.Operations.Database.Commands.GetStatisticsCommand do @moduledoc """ Command to delete a RavenDB database """ @derive {Jason.Encoder, only: [:debugTag]} use Ravix.Documents.Commands.RavenCommand, debugTag: nil, databaseName: nil import Ravix.Documents.Commands.RavenCommand alias R...
29.026316
94
0.700816
1a4a6825155ea73477e679bfe0ea08c0c1457dda
331
exs
Elixir
config/config.exs
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
config/config.exs
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
config/config.exs
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
use Mix.Config if Mix.env() == :test do config :logger, level: :error config :bonny, controllers: [Widget, Cog], group: "example.com", kubeconf_file: "./test/support/kubeconfig.yaml" end if Mix.env() == :dev do config :mix_test_watch, tasks: [ "test --cover", "format", "credo"...
16.55
51
0.592145
1a4a8851061605181d200042d68d8a57b07d0923
290
exs
Elixir
sample/config/config.exs
adamu/line_bot
dbc2a91b15e6670af563ff78889ffb258bf00edf
[ "Apache-2.0" ]
6
2019-11-04T23:54:42.000Z
2021-09-14T07:14:00.000Z
sample/config/config.exs
adamu/line_bot
dbc2a91b15e6670af563ff78889ffb258bf00edf
[ "Apache-2.0" ]
4
2019-11-08T03:49:33.000Z
2019-11-08T03:55:37.000Z
sample/config/config.exs
adamu/line_bot
dbc2a91b15e6670af563ff78889ffb258bf00edf
[ "Apache-2.0" ]
1
2020-05-14T08:22:36.000Z
2020-05-14T08:22:36.000Z
import Config config :line_bot, client_id: System.get_env("LINE_CLIENT_ID"), client_secret: System.get_env("LINE_CLIENT_SECRET") # Use to skip request signature validation local testing. # config :line_bot, skip_validation: true config :line_bot_sample, port: System.get_env("PORT")
26.363636
57
0.786207
1a4a9a45e670107d315b7e9dbfaa3e69e9b1e954
5,200
exs
Elixir
test/cadet_web/controllers/auth_controller_test.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
test/cadet_web/controllers/auth_controller_test.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
test/cadet_web/controllers/auth_controller_test.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule CadetWeb.AuthControllerTest do use CadetWeb.ConnCase use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Cadet.Factory import Mock alias Cadet.Auth.Guardian alias CadetWeb.AuthController setup_all do HTTPoison.start() end test "swagger" do AuthController.swagger_definitions() ...
28.729282
98
0.557308
1a4aa708457b8ca1583de75fe0796e3ca763622b
3,595
ex
Elixir
lib/kino/utils/table.ex
BrooklinJazz/kino
5ce878691798259c592b4298097e72353e23880c
[ "Apache-2.0" ]
null
null
null
lib/kino/utils/table.ex
BrooklinJazz/kino
5ce878691798259c592b4298097e72353e23880c
[ "Apache-2.0" ]
null
null
null
lib/kino/utils/table.ex
BrooklinJazz/kino
5ce878691798259c592b4298097e72353e23880c
[ "Apache-2.0" ]
null
null
null
defmodule Kino.Utils.Table do @moduledoc false # Common functions for handling various Elixir terms # as table records. @type record :: map() | list({term(), term()}) | tuple() | term() @doc """ Computes table column specifications that accommodate the given records. Note that the columns are comput...
25.496454
92
0.667316
1a4ab18fdd6b33c22d0c4c03c8e6542ec1556286
616
ex
Elixir
lib/web/plugs/graphql_operation_name_logger.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
null
null
null
lib/web/plugs/graphql_operation_name_logger.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
null
null
null
lib/web/plugs/graphql_operation_name_logger.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.Plugs.GraphQLOperationNameLogger do @behaviour Plug def init(options), do: options def call(conn = %{params: %{"operationName" => name, "query" => _}}, _) do put_metadata(name) conn end def call(conn = %{params: %{"_json" => operations}}, _) do operation_names = operation...
22.814815
76
0.657468
1a4afd7bfe36f83c0878d6b88f1ea2766d82fb5a
2,856
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/monitored_resource.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/monitored_resource.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/monitored_resource.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
56
837
0.74965
1a4b066f00ef289e424fdaa0b2f5c29a984959bf
15,258
ex
Elixir
lib/paginator.ex
BohemianCoding/paginator
7521830dfd1ec3e192e3979e8303de06e65b7e7a
[ "MIT" ]
null
null
null
lib/paginator.ex
BohemianCoding/paginator
7521830dfd1ec3e192e3979e8303de06e65b7e7a
[ "MIT" ]
1
2019-09-16T12:11:23.000Z
2019-09-18T07:58:11.000Z
lib/paginator.ex
BohemianCoding/paginator
7521830dfd1ec3e192e3979e8303de06e65b7e7a
[ "MIT" ]
null
null
null
defmodule Paginator do @moduledoc """ Defines a paginator. This module adds a `paginate/3` function to your `Ecto.Repo` so that you can paginate through results using opaque cursors. ## Usage defmodule MyApp.Repo do use Ecto.Repo, otp_app: :my_app use Paginator end ## Options...
31.987421
139
0.671123
1a4b25c5a6694d1a063d298964b2bfbacbc8cea5
3,172
ex
Elixir
lib/yodlee/account.ex
copia-wealth-studios/yodlee-elixir
f39ba0f32082e9b2116c2ba0fe7da8c6a100e5ad
[ "MIT" ]
1
2019-11-04T09:56:02.000Z
2019-11-04T09:56:02.000Z
lib/yodlee/account.ex
copia-wealth-studios/yodlee-elixir
f39ba0f32082e9b2116c2ba0fe7da8c6a100e5ad
[ "MIT" ]
2
2018-07-11T10:45:09.000Z
2018-07-12T17:47:53.000Z
lib/yodlee/account.ex
copia-wealth-studios/yodlee-elixir
f39ba0f32082e9b2116c2ba0fe7da8c6a100e5ad
[ "MIT" ]
1
2021-07-19T18:20:27.000Z
2021-07-19T18:20:27.000Z
defmodule Yodlee.Account do @moduledoc """ Functions for `accounts` endpoint. """ import Yodlee alias Yodlee.Utils defstruct id: nil, account_name: nil, account_number: nil, amount_due: nil, interest_rate_type: nil, balance: nil, due_date: nil, interest_rate: nil, last_payment_amount: nil, ...
36.45977
102
0.557377
1a4b2f54e6a195de2e1024ff928adfcf51249296
1,281
ex
Elixir
lib/hl7/2.3/segments/prb.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/prb.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/prb.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.Segments.PRB do @moduledoc false require Logger alias HL7.V2_3.{DataTypes} use HL7.Segment, fields: [ segment: nil, action_code: nil, action_date_time: DataTypes.Ts, problem_id: DataTypes.Ce, problem_instance_id: DataTypes.Ei, episode_of_care_id: Data...
34.621622
67
0.746292
1a4b453c1ed8f7dc1d88e1ba9d1cc1376865b885
22,082
ex
Elixir
lib/mix/lib/mix/project.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Project do @moduledoc """ Defines and manipulates Mix projects. A Mix project is defined by calling `use Mix.Project` in a module, usually placed in `mix.exs`: defmodule MyApp.MixProject do use Mix.Project def project do [ app: :my_app, ve...
28.715215
105
0.650847
1a4b5879fdc1a461c1594e480cff4d2ad70f6e74
1,670
ex
Elixir
web/web.ex
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
web/web.ex
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
web/web.ex
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
defmodule Thing.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Thing.Web, :controller use Thing.Web, :view The definitions below will be executed for every view, controller, etc, so keep them short and...
20.365854
88
0.655689
1a4b59e6f4d93ad497897deef3b396b620575fc0
984
ex
Elixir
lib/ash/resource/actions/create.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/resource/actions/create.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/resource/actions/create.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Actions.Create do @moduledoc "Represents a create action on a resource." defstruct [:name, :primary?, :accept, :arguments, :changes, :description, type: :create] @type t :: %__MODULE__{ type: :create, name: atom, accept: [atom], arguments: [Ash.Resou...
29.818182
118
0.550813
1a4b8558caa0a2ad200a02720fda56c7616436d9
1,853
exs
Elixir
clients/drive_activity/mix.exs
Doerge/elixir-google-api
673cc7c78118684f969b8e2d62d03a273f04ad1b
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/mix.exs
Doerge/elixir-google-api
673cc7c78118684f969b8e2d62d03a273f04ad1b
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/mix.exs
Doerge/elixir-google-api
673cc7c78118684f969b8e2d62d03a273f04ad1b
[ "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.656716
105
0.658392
1a4bba7aadc97d39671e270ba737b98ce4ae98d7
2,938
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/target_change.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/target_change.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/target_change.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2018 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...
52.464286
573
0.752553
1a4bbb40db05fb4de7ba0a3cc817ca4b6340c388
7,017
ex
Elixir
clients/translate/lib/google_api/translate/v2/api/detections.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/api/detections.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/translate/lib/google_api/translate/v2/api/detections.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...
44.694268
235
0.633034
1a4bd099e9683fc75cde6bb0025d9dae26e81a0f
477
ex
Elixir
apps/firestorm_data/lib/firestorm_data/schema/reaction.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
apps/firestorm_data/lib/firestorm_data/schema/reaction.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
null
null
null
apps/firestorm_data/lib/firestorm_data/schema/reaction.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule FirestormData.Reaction do @moduledoc """ A `Reaction` is an emoji by a `User` on a `Post` """ use Ecto.Schema import Ecto.Changeset schema "reactions" do belongs_to :user, User belongs_to :post, Post field :emoji, :string timestamps() end @required_fields ~w(user_id emoji p...
19.08
50
0.677149
1a4bdb08ba65632f8b7142cf761eee574194f972
5,533
exs
Elixir
test/mix/tasks/phx.gen.context_test.exs
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.context_test.exs
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.context_test.exs
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Phoenix.DupContext do end defmodule Mix.Tasks.Phx.Gen.ContextTest do use ExUnit.Case import MixHelper alias Mix.Tasks.Phx.Gen alias Mix.Phoenix.{Context, Schema} setup do Mix.Task.clear() :ok end test "new context", ...
31.798851
96
0.614133
1a4c07e476935e4c8b2bd7ceeca52824b5b097e5
73,402
ex
Elixir
testData/org/elixir_lang/beam/decompiler/Elixir.Ecto.Query.ex
osbre/intellij-elixir
36ced8c5e4f4cc873b6e21b5c011d42783b54817
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/beam/decompiler/Elixir.Ecto.Query.ex
osbre/intellij-elixir
36ced8c5e4f4cc873b6e21b5c011d42783b54817
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/beam/decompiler/Elixir.Ecto.Query.ex
osbre/intellij-elixir
36ced8c5e4f4cc873b6e21b5c011d42783b54817
[ "Apache-2.0" ]
null
null
null
# Source code recreated from a .beam file by IntelliJ Elixir defmodule Ecto.Query do @moduledoc ~S""" Provides the Query DSL. Queries are used to retrieve and manipulate data from a repository (see `Ecto.Repo`). Ecto queries come in two flavors: keyword-based and macro-based. Most examples will use the keywo...
32.039284
355
0.671221
1a4c1280358d5af4d6d460346eeedb00d35a2524
255
ex
Elixir
lib/ie_chat_bot.ex
IE-bourgeois-union/ie_chat_bot
c0f155288170f558ff26bfc5cbd37f777c79a05b
[ "MIT" ]
null
null
null
lib/ie_chat_bot.ex
IE-bourgeois-union/ie_chat_bot
c0f155288170f558ff26bfc5cbd37f777c79a05b
[ "MIT" ]
null
null
null
lib/ie_chat_bot.ex
IE-bourgeois-union/ie_chat_bot
c0f155288170f558ff26bfc5cbd37f777c79a05b
[ "MIT" ]
null
null
null
defmodule IeChatBot do @moduledoc """ IeChatBot keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.5
66
0.756863
1a4c1501fb1e58e6cf82380a5be0ed9baa032955
1,249
exs
Elixir
test/blog/posts/post_test.exs
romenigld/blog
ce808e024dbea16a829916f090a2545938f24236
[ "MIT" ]
null
null
null
test/blog/posts/post_test.exs
romenigld/blog
ce808e024dbea16a829916f090a2545938f24236
[ "MIT" ]
4
2021-06-23T16:48:58.000Z
2021-07-08T17:25:11.000Z
test/blog/posts/post_test.exs
romenigld/blog
ce808e024dbea16a829916f090a2545938f24236
[ "MIT" ]
null
null
null
defmodule Blog.PostsTest do use Blog.DataCase alias Blog.{Posts, Posts.Post} @valid_post %{ title: "Phoenix Framework", description: "Lorem" } @update_post %{ title: "Update", description: "Updated" } def post_fixture(_attrs \\ %{}) do user = Blog.Accounts.get_user!(1) {:ok, post...
24.490196
72
0.654123
1a4c1562df74e559a08c16a37d0ff3f2e64416a1
71,232
ex
Elixir
lib/freedom_formatter/formatter.ex
gamache/freedom_formatter
b3e95e0ecab270b4ae9f8b7d16c71ef1e69dd8c5
[ "Apache-2.0" ]
8
2018-05-19T17:35:33.000Z
2020-08-05T20:47:51.000Z
lib/freedom_formatter/formatter.ex
gamache/freedom_formatter
b3e95e0ecab270b4ae9f8b7d16c71ef1e69dd8c5
[ "Apache-2.0" ]
6
2018-06-15T02:45:57.000Z
2021-04-10T02:28:44.000Z
lib/freedom_formatter/formatter.ex
gamache/freedom_formatter
b3e95e0ecab270b4ae9f8b7d16c71ef1e69dd8c5
[ "Apache-2.0" ]
3
2019-04-30T20:40:48.000Z
2021-03-31T01:28:35.000Z
defmodule FreedomFormatter.Formatter do @moduledoc false import Inspect.Algebra, except: [format: 2, surround: 3, surround: 4] @double_quote "\"" @double_heredoc "\"\"\"" @single_quote "'" @single_heredoc "'''" @newlines 2 @min_line 0 @max_line 9_999_999 @empty empty() @ampersand_prec Code.Identi...
30.45404
102
0.626123
1a4c157532a2b5dde2f332fb7892ff68e70bfe40
305
exs
Elixir
config/config.exs
myfreeweb/httpotion
1bcd0b629561d472492bb557d59eecf5fff52644
[ "Unlicense" ]
637
2015-01-03T08:10:52.000Z
2021-01-29T15:56:01.000Z
config/config.exs
unrelentingtech/httpotion
1bcd0b629561d472492bb557d59eecf5fff52644
[ "Unlicense" ]
95
2015-01-01T12:18:12.000Z
2020-02-26T20:41:44.000Z
config/config.exs
unrelentingtech/httpotion
1bcd0b629561d472492bb557d59eecf5fff52644
[ "Unlicense" ]
88
2015-01-06T15:38:37.000Z
2020-04-01T09:19:39.000Z
use Mix.Config config :httpotion, :default_headers, [] # NOTE: Must be a keyword list here config :httpotion, :default_timeout, 10000 # config :httpotion, :default_ibrowse, [.. dynamic TLS conf by default ..] config :httpotion, :default_auto_sni, true config :httpotion, :default_follow_redirects, false
38.125
75
0.770492
1a4c43993506567bfda99fb9f45fa03d9a67d9cc
1,670
exs
Elixir
test/test_helper.exs
tschmidleithner/surface_bootstrap4
1968905a01d451639b52f58ab0e397aba1f938e6
[ "MIT" ]
10
2020-06-14T01:40:19.000Z
2020-11-17T05:39:37.000Z
test/test_helper.exs
tschmidleithner/surface_bootstrap4
1968905a01d451639b52f58ab0e397aba1f938e6
[ "MIT" ]
null
null
null
test/test_helper.exs
tschmidleithner/surface_bootstrap4
1968905a01d451639b52f58ab0e397aba1f938e6
[ "MIT" ]
1
2020-06-14T01:40:22.000Z
2020-06-14T01:40:22.000Z
ExUnit.start() defmodule Router do use Phoenix.Router end defmodule Endpoint do use Phoenix.Endpoint, otp_app: :surface plug(Router) end Application.put_env(:surface, Endpoint, secret_key_base: "J4lTFt000ENUVhu3dbIB2P2vRVl2nDBH6FLefnPUImL8mHYNX8Kln/N9J0HH19Mq", live_view: [ signing_salt: "LfCCMxfkGME8S...
24.925373
98
0.648503
1a4c53d9b6ff3ab8b1d9c7a0164fe6f7f354a146
6,380
ex
Elixir
lib/appsignal.ex
BenMorganIO/appsignal-elixir
4c27fc72fba9f4dbc9f9277dc6320d2bbb6296b5
[ "MIT" ]
1
2020-08-11T08:13:25.000Z
2020-08-11T08:13:25.000Z
lib/appsignal.ex
gjaldon/appsignal-elixir
36d872d96d4c53152e365558bcfe96a3ba689fb9
[ "MIT" ]
null
null
null
lib/appsignal.ex
gjaldon/appsignal-elixir
36d872d96d4c53152e365558bcfe96a3ba689fb9
[ "MIT" ]
null
null
null
defmodule Appsignal do @moduledoc """ AppSignal for Elixir. Follow the [installation guide](https://docs.appsignal.com/elixir/installation.html) to install AppSignal into your Elixir app. This module contains the main AppSignal OTP application, as well as a few helper functions for sending metrics to AppSignal...
28.482143
183
0.652821
1a4cb686c91259e52b67b4fdb0306ba4d3936950
1,395
exs
Elixir
config/config.exs
kpanic/phoenix_forecastr_live_view
e8471d64c28234b6bfe1489f40616dd0324a888f
[ "Apache-2.0" ]
1
2020-01-12T21:52:23.000Z
2020-01-12T21:52:23.000Z
config/config.exs
kpanic/phoenix_forecastr_live_view
e8471d64c28234b6bfe1489f40616dd0324a888f
[ "Apache-2.0" ]
null
null
null
config/config.exs
kpanic/phoenix_forecastr_live_view
e8471d64c28234b6bfe1489f40616dd0324a888f
[ "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. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :phoenix_foreca...
33.214286
87
0.781362
1a4cbe501ee79a7a2a9a874aee58435eb88e698d
4,550
ex
Elixir
lib/ets_helper.ex
mendrugory/ets_helper
af0b4dccc0fcae43abd859b6d57459d71c06f220
[ "MIT" ]
4
2017-09-18T17:31:10.000Z
2018-01-09T12:45:10.000Z
lib/ets_helper.ex
mendrugory/ets_helper
af0b4dccc0fcae43abd859b6d57459d71c06f220
[ "MIT" ]
null
null
null
lib/ets_helper.ex
mendrugory/ets_helper
af0b4dccc0fcae43abd859b6d57459d71c06f220
[ "MIT" ]
1
2022-02-01T21:53:14.000Z
2022-02-01T21:53:14.000Z
defmodule EtsHelper do @moduledoc """ `EtsHelper` is a wrapper of [ETS](http://erlang.org/doc/man/ets.html). It does not try to wrap all the functionality, only those functions that are constantly used in Elixir projects. It also includes some new functions. This is a library that could be improved in the future i...
22.524752
118
0.631209
1a4ce065b6853c0bbcf4671544c2a5ff80627fdb
11,141
ex
Elixir
lib/statix.ex
Vladislao/statix
2d85dec88f07517c06dedffe94233b065f1f0384
[ "ISC" ]
null
null
null
lib/statix.ex
Vladislao/statix
2d85dec88f07517c06dedffe94233b065f1f0384
[ "ISC" ]
null
null
null
lib/statix.ex
Vladislao/statix
2d85dec88f07517c06dedffe94233b065f1f0384
[ "ISC" ]
null
null
null
defmodule Statix do @moduledoc """ Writer for [StatsD](https://github.com/etsy/statsd)-compatible servers. To get started with Statix, you have to create a module that calls `use Statix`, like this: defmodule MyApp.Statix do use Statix end This will make `MyApp.Statix` a Statix connecti...
27.992462
90
0.626604
1a4cf72a2e6b739481cf91638155f2cc49abebb8
1,940
ex
Elixir
apps/day12/lib/day12.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
2
2019-12-21T21:21:04.000Z
2019-12-27T07:00:19.000Z
apps/day12/lib/day12.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
apps/day12/lib/day12.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
defmodule Day12 do @moduledoc """ AoC 2019, Day 12 - The N-body Problem """ @input [{-2, 9, -5}, {16, 19, 9}, {0, 3, 6}, {11, 0, 11}] @part1_steps 1000 @doc """ Compute total energy in the system """ def part1 do simulate(@input, @part1_steps) |> total_energy() end @doc """ Find the p...
23.950617
97
0.557216
1a4d0b22bc3fe5c03307ead4d1cf1585d8f1aa23
1,288
ex
Elixir
lib/typo/text/glyph.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/text/glyph.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/text/glyph.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
# # Copyright 2022, John Vinters <john.vinters@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
30.666667
76
0.634317
1a4d7b605049a9231edd64e04a31496c25c344c3
1,723
exs
Elixir
practica5/ServicioAlmacenamiento/nodo_remoto.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
practica5/ServicioAlmacenamiento/nodo_remoto.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
practica5/ServicioAlmacenamiento/nodo_remoto.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
defmodule NodoRemoto do @moduledoc """ modulo de gestión de ciclo de vida de nodos VM Elixir remotos """ # Constantes @timeout_rpc 50 @doc """ Poner en marcha un nodo VM remoto con ssh - Se tiene en consideracion los puertos disponibles, debido al cortafuegos, en el laboratorio ...
29.706897
76
0.644225
1a4d808d52dbd16f69bff3aabe64ad4507581f4a
1,165
exs
Elixir
mix.exs
philcallister/ticker
19d0b95785665ea888d1fb9a8c59d3e9dcb4fc79
[ "MIT" ]
1
2016-11-02T03:38:26.000Z
2016-11-02T03:38:26.000Z
mix.exs
philcallister/ticker
19d0b95785665ea888d1fb9a8c59d3e9dcb4fc79
[ "MIT" ]
null
null
null
mix.exs
philcallister/ticker
19d0b95785665ea888d1fb9a8c59d3e9dcb4fc79
[ "MIT" ]
null
null
null
defmodule Ticker.Mixfile do use Mix.Project def project do [app: :ticker, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: [test: "test --no-start"], deps: deps(), test_coverage: [tool: ExCoveralls], prefer...
25.326087
122
0.56824
1a4dab7537c39c01ec05af020003f3e8f3aa2d03
14,982
ex
Elixir
lib/fusion_auth/login.ex
leo-technologies-llc/fusion_auth
5ef033321e4bd070afeec9dc7201e9a233391f19
[ "MIT" ]
3
2021-11-04T05:30:01.000Z
2022-03-03T18:03:33.000Z
lib/fusion_auth/login.ex
leo-technologies-llc/fusion_auth
5ef033321e4bd070afeec9dc7201e9a233391f19
[ "MIT" ]
8
2021-09-21T18:59:46.000Z
2022-03-24T15:22:01.000Z
lib/fusion_auth/login.ex
leo-technologies-llc/fusion_auth
5ef033321e4bd070afeec9dc7201e9a233391f19
[ "MIT" ]
null
null
null
defmodule FusionAuth.Login do @moduledoc """ The `FusionAuth.Login` module provides access methods to the [FusionAuth Login API](https://fusionauth.io/docs/v1/tech/apis/login). If an Application ID is not specified no refresh token will return in the response when logging in a user. All methods require a Tesla...
40.822888
894
0.724937
1a4dbac4d74b04bf0b3c5272a72dc0f8e606a657
1,008
ex
Elixir
apps/admin_api/lib/admin_api/v1/views/admin_auth_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/admin_auth_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/admin_auth_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
33.6
74
0.756944
1a4ddc56e75393b50aca3a885e76a5cde9407d8a
1,615
ex
Elixir
lib/socializer/conversation.ex
yosufali/socializer
abbd75cf1cedbf1a398fc72b64f4129e39d3e373
[ "MIT" ]
null
null
null
lib/socializer/conversation.ex
yosufali/socializer
abbd75cf1cedbf1a398fc72b64f4129e39d3e373
[ "MIT" ]
null
null
null
lib/socializer/conversation.ex
yosufali/socializer
abbd75cf1cedbf1a398fc72b64f4129e39d3e373
[ "MIT" ]
null
null
null
defmodule Socializer.Conversation do use Socializer.Model alias Socializer.{Repo, ConversationUser, Message, User} schema "conversations" do field :title, :string has_many :messages, Message many_to_many :users, User, join_through: "conversation_user" timestamps() end def all_for_user(use...
24.104478
84
0.63839
1a4dee0ffc646161cf4b7917780143e215635d95
4,956
ex
Elixir
lib/mix/tasks/git_hooks/install.ex
paulo-silva/elixir_git_hooks
e9725bb85ba62d2c4032518567abbfea37ebc368
[ "MIT" ]
null
null
null
lib/mix/tasks/git_hooks/install.ex
paulo-silva/elixir_git_hooks
e9725bb85ba62d2c4032518567abbfea37ebc368
[ "MIT" ]
null
null
null
lib/mix/tasks/git_hooks/install.ex
paulo-silva/elixir_git_hooks
e9725bb85ba62d2c4032518567abbfea37ebc368
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.GitHooks.Install do @shortdoc "Installs the configured git hooks backing up the previous files." @moduledoc """ Installs the configured git hooks. Before installing the new hooks, the already hooks files are backed up with the extension `.pre_git_hooks_backup`. ## Command line options...
26.789189
98
0.629338
1a4e0722340fd9d3c80bd30a7774e944443c3db5
530
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
&1 &one &1 one \\ default &1 one when guard &1 one :: type &1 one | new &1 one = two &1 one or two &1 one || two &1 one and two &1 one && two &1 one != two &1 one < two &1 one |> two &1 one + two &1 one / two &1 one * two &1 one ^^^ two &1 !one &1 One.Two &1 One.two &1 @one &1 One Two &1 one &1 @1 &1 &1 &1 !1 &1 not 1 ...
10.816327
21
0.520755
1a4e072ff766e57f33e5c185b4d861e72c3d60cc
782
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/no_parentheses_keywords_parsing_test_case/AtomKeyword.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/no_parentheses_keywords_parsing_test_case/AtomKeyword.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/no_parentheses_keywords_parsing_test_case/AtomKeyword.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
nil.and key1: value1, key2: value2 nil.&& key1: value1, key2: value2 nil.|> key1: value1, key2: value2 nil.@ key1: value1, key2: value2 nil.& key1: value1, key2: value2 nil.== key1: value1, key2: value2 nil.+ key1: value1, key2: value2 nil.^^^ key1: value1, key2: value2 nil.<- key1: value1, key2: value2 nil.in key1: va...
32.583333
36
0.703325
1a4e4646cbac8a47cacaaa4a7ede21a06bda8870
1,566
exs
Elixir
apps/schedules/test/sort_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/schedules/test/sort_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/schedules/test/sort_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SortTest do use ExUnit.Case, async: true alias Schedules.Schedule import Schedules.Sort import Timex, only: [shift: 2] @now Timex.now() @schedules [ %Schedule{time: @now, trip: "t1", stop: "s1"}, %Schedule{time: shift(@now, minutes: 5), trip: "t1", stop: "s2"}, %Schedule{time: shift...
36.418605
81
0.590677
1a4e4f919dd336e22352e239ebd821f8216810b7
1,310
exs
Elixir
mix.exs
marvinhagemeister/graphql
43bccc041438f05d14c8c6f40f193c3d7957ca9d
[ "BSD-3-Clause" ]
719
2016-03-18T03:10:46.000Z
2022-02-02T10:07:29.000Z
mix.exs
marvinhagemeister/graphql
43bccc041438f05d14c8c6f40f193c3d7957ca9d
[ "BSD-3-Clause" ]
51
2015-08-30T03:15:17.000Z
2016-03-02T07:13:26.000Z
mix.exs
marvinhagemeister/graphql
43bccc041438f05d14c8c6f40f193c3d7957ca9d
[ "BSD-3-Clause" ]
34
2016-03-30T12:56:11.000Z
2021-08-30T09:21:54.000Z
defmodule GraphQL.Mixfile do use Mix.Project @version "0.3.2" @description "GraphQL Elixir implementation" @repo_url "https://github.com/graphql-elixir/graphql" def project do [app: :graphql, version: @version, elixir: "~> 1.2", description: @description, deps: deps, package: p...
25.686275
96
0.560305
1a4e68331b98c29694de3e605ca373c20d93f331
158
ex
Elixir
lib/rfx.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
lib/rfx.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
lib/rfx.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
defmodule Rfx do @moduledoc false @doc """ Hello world. ## Examples iex> Rfx.hello() :world """ def hello do :world end end
9.294118
22
0.544304
1a4e8057783c5eb739f83c34983c9f093d9e416e
468
exs
Elixir
priv/repo/migrations/20200719200931_create_achievement_progress.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
priv/repo/migrations/20200719200931_create_achievement_progress.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
priv/repo/migrations/20200719200931_create_achievement_progress.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Repo.Migrations.CreateAchievementProgress do use Ecto.Migration def change do create table(:achievement_progress) do add(:progress, :integer, default: 0) add(:user_id, references(:users, on_delete: :delete_all), null: false) add(:goal_id, references(:achievement_goals, on_del...
27.529412
88
0.711538
1a4e80b3e9f5e789eb9a8549fed67fbe7c93cd3c
33,668
exs
Elixir
test/surface/integrations/slot_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
test/surface/integrations/slot_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
test/surface/integrations/slot_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
defmodule Surface.SlotTest do use Surface.ConnCase, async: true defmodule StatefulComponent do use Surface.LiveComponent def render(assigns) do ~F""" <div>Stateful</div> """ end def handle_event(_, _, socket) do {:noreply, socket} end end defmodule InnerData do ...
22.595973
170
0.490822
1a4e822fa41fef658232112cd67dedcd2f41e3b3
3,267
ex
Elixir
lib/tube_streamer/stream/meta_cache.ex
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
1
2018-02-06T17:28:51.000Z
2018-02-06T17:28:51.000Z
lib/tube_streamer/stream/meta_cache.ex
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
null
null
null
lib/tube_streamer/stream/meta_cache.ex
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
null
null
null
defmodule TubeStreamer.Stream.MetaCache do use GenServer alias :dets, as: Dets alias :poolboy, as: Poolboy @ttl 60*60*24*1 # 1 day @timeout 60*60*1 # 1 hour @table :meta_cache_table @cache_miss [:cache, :meta, :miss] @cache_hit [:cache, :meta, :hit] def start_link() do filename...
30.53271
87
0.550046
1a4e8f97aec2f97703d763179f1a32394b3e16e3
334
exs
Elixir
test/examples_web/live/page_live_test.exs
iodevs/chart_example
69202596fbf8a7b802c21d45d021f0021406ad39
[ "MIT" ]
null
null
null
test/examples_web/live/page_live_test.exs
iodevs/chart_example
69202596fbf8a7b802c21d45d021f0021406ad39
[ "MIT" ]
null
null
null
test/examples_web/live/page_live_test.exs
iodevs/chart_example
69202596fbf8a7b802c21d45d021f0021406ad39
[ "MIT" ]
null
null
null
defmodule ExamplesWeb.PageLiveTest do use ExamplesWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoeni...
27.833333
60
0.727545