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
91e4b8cc6f44d6b44372671fac651eac98e883ca
1,280
ex
Elixir
lib/postgrex/extensions/date.ex
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
lib/postgrex/extensions/date.ex
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
lib/postgrex/extensions/date.ex
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
defmodule Postgrex.Extensions.Date do @moduledoc false import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, send: "date_send" @gd_epoch :calendar.date_to_gregorian_days({2000, 1, 1}) @max_year 9999 @max_days 3_652_424 def encode(_) do quote location: :keep do %Date{} = date -...
27.826087
118
0.658594
91e4cdbe6bfb6f61091a7556869110fa42353850
138
ex
Elixir
lib/arkecosystem/crypto/transactions/serialisers/delegate_resignation.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/transactions/serialisers/delegate_resignation.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/transactions/serialisers/delegate_resignation.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Crypto.Transactions.Serializers.DelegateResignation do def serialize(bytes, _transaction) do bytes end end
23
77
0.818841
91e4f2e70749608ebde14d3ea10ba8ed0fe7a71b
246
exs
Elixir
test/krasukha/helpers/naming_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
6
2017-01-28T01:11:58.000Z
2021-12-19T22:45:49.000Z
test/krasukha/helpers/naming_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
test/krasukha/helpers/naming_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
import Krasukha.Helpers.Naming defmodule Krasukha.Helpers.NamingTest do use ExUnit.Case, async: true test "to_name/1" do assert to_name("XRP", :lending) == :xrp_lending assert process_name("XRP", :lending) == :xrp_lending end end
22.363636
56
0.723577
91e4f5e69d62b968c265136bf419217540e84a98
2,265
exs
Elixir
test/cachex/actions/del_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
946
2017-06-26T00:36:58.000Z
2022-03-29T19:52:31.000Z
test/cachex/actions/del_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
152
2017-06-28T10:01:24.000Z
2022-03-24T18:46:13.000Z
test/cachex/actions/del_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
84
2017-06-30T05:30:31.000Z
2022-03-01T20:23:16.000Z
defmodule Cachex.Actions.DelTest do use CachexCase # This case tests that we can safely remove items from the cache. We test the # removal of both existing and missing keys, as the behaviour is the same for # both. We also ensure that hooks receive the delete notification successfully. test "removing entries...
31.901408
81
0.634879
91e510a1887f0f0945d2b4e85810cbe8426bbb83
9,009
ex
Elixir
lib/radixir/crypto/token.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/crypto/token.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/crypto/token.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Crypto.Token do @moduledoc false # @moduledoc """ # Use `Radixir.Crypto.Token` to create unforgeable HMAC tokens that expire after a TTL. # Tokens created with this module have the following properties: # - unforgeable # - expire after a given TTL # - may contain useful information in ...
33.868421
99
0.650128
91e544754029cae45055ad9a7533b42149568c28
526
ex
Elixir
lib/shopify/rest/helpers/json.ex
malomohq/shopify-rest-elixir
9817b4227808614d15993043db019542b0de7c0b
[ "MIT" ]
null
null
null
lib/shopify/rest/helpers/json.ex
malomohq/shopify-rest-elixir
9817b4227808614d15993043db019542b0de7c0b
[ "MIT" ]
4
2020-04-24T20:15:25.000Z
2022-02-24T17:17:51.000Z
lib/shopify/rest/helpers/json.ex
malomohq/shopify-rest-elixir
9817b4227808614d15993043db019542b0de7c0b
[ "MIT" ]
1
2020-04-15T20:03:47.000Z
2020-04-15T20:03:47.000Z
defmodule Shopify.REST.Helpers.JSON do @moduledoc false alias Shopify.REST.{ Config } @spec decode(String.t(), Config.t()) :: map def decode(string, config) do case config.json_codec.decode(string) do { :ok, result } -> result { :error, _reason } -> %{} end end @spec e...
20.230769
45
0.56654
91e580a6e2364762526357774c677a75bef92997
5,423
ex
Elixir
lib/spaceex_web/doc_schemas.ex
LuizFerK/SpaceEx
ca1a4bd4881692860879b6f2c5d55bc521332c39
[ "MIT" ]
1
2021-12-13T15:50:00.000Z
2021-12-13T15:50:00.000Z
lib/spaceex_web/doc_schemas.ex
LuizFerK/SpaceEx
ca1a4bd4881692860879b6f2c5d55bc521332c39
[ "MIT" ]
null
null
null
lib/spaceex_web/doc_schemas.ex
LuizFerK/SpaceEx
ca1a4bd4881692860879b6f2c5d55bc521332c39
[ "MIT" ]
2
2022-01-09T18:12:17.000Z
2022-01-23T22:12:51.000Z
defmodule SpaceexWeb.DocSchemas do alias OpenApiSpex.Schema require OpenApiSpex defmodule DocWelcome do OpenApiSpex.schema(%{ title: "Welcome", type: :string, example: "Back-end Challenge 2021 🏅 - Space Flight News" }) end defmodule DocEvent do OpenApiSpex.schema(%{ titl...
35.913907
266
0.569795
91e581fa7b85c9c6162068b8a66c2446ebd88e11
1,468
exs
Elixir
test/state_module/handle_info_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/state_module/handle_info_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/state_module/handle_info_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
defmodule StateServerTest.StateModule.HandleInfoTest do use ExUnit.Case, async: true defmodule Undelegated do use StateServer, [start: [tr: :end], end: []] def start_link(data), do: StateServer.start_link(__MODULE__, data) @impl true def init(data), do: {:ok, data} def send_cast(srv), do: G...
24.065574
70
0.624659
91e5ac05cafdd1d9ad11d226136843e3985e80b6
456
ex
Elixir
writers_unblocked/lib/writers_unblocked/story.ex
TylerWasniowski/WritersUnblocked
edd74b2597289163374212cf09ca60a519b0a898
[ "MIT" ]
2
2018-04-15T00:28:41.000Z
2018-04-15T04:58:42.000Z
writers_unblocked/lib/writers_unblocked/story.ex
TylerWasniowski/WritersUnblocked
edd74b2597289163374212cf09ca60a519b0a898
[ "MIT" ]
23
2018-04-19T02:34:29.000Z
2018-05-08T03:19:55.000Z
writers_unblocked/lib/writers_unblocked/story.ex
TylerWasniowski/WritersUnblocked
edd74b2597289163374212cf09ca60a519b0a898
[ "MIT" ]
1
2018-04-16T05:41:14.000Z
2018-04-16T05:41:14.000Z
import Ecto import Ecto.Changeset import Ecto.Query defmodule WritersUnblocked.Story do use Ecto.Schema schema "stories" do field :title, :string field :body, :string field :locked_until, :naive_datetime field :finished, :boolean field :votes, :integer end def ...
21.714286
74
0.627193
91e63e656fc276a2ddc764f8af2d9daf7ff751e3
1,864
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/blog_user_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/blog_user_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/blog_user_info.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...
35.169811
138
0.72103
91e653ccc597cdcd92ddd222ccfb41193781b552
853
ex
Elixir
lib/mix/lib/mix/tasks/deps.get.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/tasks/deps.get.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.get.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Deps.Get do use Mix.Task @shortdoc "Get all out of date dependencies" @moduledoc """ Get all out of date dependencies, i.e. dependencies that are not available or have an invalid lock. ## Command line options * `--quiet` - do not output verbose messages * `--only` - only fet...
26.65625
87
0.638921
91e6553ad30ca338447722484488d5b1e67a2f82
532
ex
Elixir
lib/changix_demo_web/views/changelog_view.ex
cblavier/changix-demo
89bbbeb26ccdf362cdd82065e46ac25c30794a7f
[ "MIT" ]
1
2019-11-16T21:14:43.000Z
2019-11-16T21:14:43.000Z
lib/changix_demo_web/views/changelog_view.ex
cblavier/changix-demo
89bbbeb26ccdf362cdd82065e46ac25c30794a7f
[ "MIT" ]
2
2021-03-09T23:25:26.000Z
2021-05-10T19:19:32.000Z
lib/changix_demo_web/views/changelog_view.ex
cblavier/changix-demo
89bbbeb26ccdf362cdd82065e46ac25c30794a7f
[ "MIT" ]
null
null
null
defmodule ChangixDemoWeb.ChangelogView do use ChangixDemoWeb, :view def changelog_kind_badge(:new), do: changelog_kind_badge("success", "Nouveauté") def changelog_kind_badge(:improvement), do: changelog_kind_badge("info", "Amélioration") def changelog_kind_badge(:bugfix), do: changelog_kind_badge("danger", "Bu...
40.923077
90
0.761278
91e662a33077e177e29e221f7d9ab57b04dde01e
71
ex
Elixir
lib/photo_gallery_web/views/page_view.ex
rayrrr/fameliphotos
cc928abdc6d761d76113067432e9d6d0fcb2507b
[ "MIT" ]
6
2019-10-08T01:30:08.000Z
2020-10-01T04:49:33.000Z
lib/photo_gallery_web/views/page_view.ex
rayrrr/fameliphotos
cc928abdc6d761d76113067432e9d6d0fcb2507b
[ "MIT" ]
null
null
null
lib/photo_gallery_web/views/page_view.ex
rayrrr/fameliphotos
cc928abdc6d761d76113067432e9d6d0fcb2507b
[ "MIT" ]
1
2019-11-08T22:58:31.000Z
2019-11-08T22:58:31.000Z
defmodule PhotoGalleryWeb.PageView do use PhotoGalleryWeb, :view end
17.75
37
0.830986
91e68d8f4d38adf32f03d215a36bca35d02cdc3a
2,085
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_subscriber_snippet.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_subscriber_snippet.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_subscriber_snippet.ex
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...
36.578947
128
0.721343
91e6ac721c232787241468009769e0fcd0fa0428
147
exs
Elixir
test/test_helper.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
131
2017-10-01T04:02:35.000Z
2022-03-25T03:28:07.000Z
test/test_helper.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
37
2018-01-16T16:04:46.000Z
2022-03-24T14:38:57.000Z
test/test_helper.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
17
2017-12-24T20:13:30.000Z
2021-12-29T19:37:31.000Z
ExUnit.start() if System.get_env("HTML_PARSER") == "meeseeks", do: Application.put_env(:premailex, :html_parser, Premailex.HTMLParser.Meeseeks)
29.4
82
0.761905
91e6b0ee37ed21a4d8f57c35ffb64d93df31879e
2,469
ex
Elixir
lib/pixie/responses/handshake.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/responses/handshake.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/responses/handshake.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule Pixie.Response.Handshake do @version "1.0" defstruct channel: "/meta/handshake", version: @version, supported_connection_types: HashSet.new, client_id: nil, error: nil, minimum_version: nil, advice: nil, ext: nil, id: nil, auth_successful: nil import Pixie.Utils.Response @moduledoc """ Convert an i...
48.411765
202
0.578777
91e6b7424b3b2920a998ac6e70779433acd172b9
589
ex
Elixir
lib/linkett_adapter_web/endpoint.ex
UrbanOS-Examples/linkett_adapter
5aff64f5d2c29044e71d26d246032812e4f6a88e
[ "Apache-2.0" ]
null
null
null
lib/linkett_adapter_web/endpoint.ex
UrbanOS-Examples/linkett_adapter
5aff64f5d2c29044e71d26d246032812e4f6a88e
[ "Apache-2.0" ]
null
null
null
lib/linkett_adapter_web/endpoint.ex
UrbanOS-Examples/linkett_adapter
5aff64f5d2c29044e71d26d246032812e4f6a88e
[ "Apache-2.0" ]
null
null
null
defmodule LinkettAdapterWeb.Endpoint do use Phoenix.Endpoint, otp_app: :linkett_adapter if code_reloading? do socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket plug Phoenix.LiveReloader plug Phoenix.CodeReloader end plug Plug.RequestId plug Plug.Parsers, parsers: [:urlencode...
21.814815
69
0.726655
91e6bc02e57971d4cb36437c1907f1653bc4e559
1,333
ex
Elixir
apps/ewallet_api/lib/ewallet_api/v1/controllers/self_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_api/lib/ewallet_api/v1/controllers/self_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_api/lib/ewallet_api/v1/controllers/self_controller.ex
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 ...
33.325
89
0.723181
91e6c5286a8c7436ee51d93fd95bb4af4176cc65
1,238
exs
Elixir
mix.exs
nelsonmestevao/eflatbuffers
b0c06b3ca633f266589302b5a94686df75b1cb88
[ "MIT" ]
43
2017-10-11T16:18:24.000Z
2022-01-11T21:43:00.000Z
mix.exs
odo/eflatbuffers
b0c06b3ca633f266589302b5a94686df75b1cb88
[ "MIT" ]
3
2017-10-23T14:34:26.000Z
2020-08-26T04:06:52.000Z
mix.exs
odo/eflatbuffers
b0c06b3ca633f266589302b5a94686df75b1cb88
[ "MIT" ]
10
2018-02-04T09:49:49.000Z
2022-03-26T17:29:34.000Z
defmodule Eflatbuffers.Mixfile do use Mix.Project def project do [ app: :eflatbuffers, version: "0.1.0", description: "Elixir/Erlang flatbuffers implementation", package: package(), elixir: ">= 1.1.1", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod...
25.265306
127
0.5937
91e6dad519008ca239013d9ba0a486c607c2d7f3
748
ex
Elixir
lib/policr_mini_bot/handlers/new_chat_title_handler.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini_bot/handlers/new_chat_title_handler.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini_bot/handlers/new_chat_title_handler.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
defmodule PolicrMiniBot.NewChatTitleHandler do @moduledoc """ 新群组标题处理器。 """ use PolicrMiniBot, plug: :handler alias PolicrMini.ChatBusiness @doc """ 匹配消息是否包含群组标题修改。 消息中的 `new_chat_title` 为 `nil` 时,表示不匹配。否则匹配。 """ @impl true def match(%{new_chat_title: nil} = _message, state), do: {:nomatch, st...
19.179487
76
0.629679
91e70f25f4694b3e89e3ecc2e357047083560bed
923
ex
Elixir
lib/stripe/transfer.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
null
null
null
lib/stripe/transfer.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
24
2020-09-08T20:24:59.000Z
2021-09-22T04:04:17.000Z
lib/stripe/transfer.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
null
null
null
defmodule Stripe.Transfer do use Stripe.API, [:create, :retrieve, :update, :list] @moduledoc false def endpoint do "transfers" end def transfer_reversal_endpoint(transfer_id, reversal_id \\ "") do "#{endpoint()}/#{transfer_id}/reversals/#{reversal_id}" end def create_reversal(transfer_id, data...
30.766667
91
0.726977
91e7148d37d9566862be20b010a448f914a66c8e
1,462
ex
Elixir
lib/ingram_marketplace/api/product_catalog.ex
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
lib/ingram_marketplace/api/product_catalog.ex
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
lib/ingram_marketplace/api/product_catalog.ex
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
defmodule Ingram.Marketplace.ProductCatalog do @moduledoc """ API calls for all endpoints tagged `ProductCatalog`. """ import Ingram.Marketplace.RequestBuilder alias Ingram.Marketplace.Connection alias Ingram.Marketplace.Model @doc """ Get a list of products from the product catalog Get a list of pro...
31.106383
97
0.654583
91e71529aee5eaab46daf5e32750e3a8820ff445
3,241
ex
Elixir
lib/ecto_job/config.ex
sendle/ecto_job
5cea02620d8aa74a73d930a2d6a5349a38eee82f
[ "MIT" ]
null
null
null
lib/ecto_job/config.ex
sendle/ecto_job
5cea02620d8aa74a73d930a2d6a5349a38eee82f
[ "MIT" ]
1
2019-02-11T21:07:42.000Z
2019-02-11T21:07:42.000Z
lib/ecto_job/config.ex
sendle/ecto_job
5cea02620d8aa74a73d930a2d6a5349a38eee82f
[ "MIT" ]
null
null
null
defmodule EctoJob.Config do @moduledoc """ EctoJob Configuration struct. Configuration may be provided directly to your JobQueue supervisor: supervisor(MyApp.JobQueue, [[repo: MyApp.Repo, max_demand: 100, log_level: :debug]]) Or if the configuration should be environment-specific, use Mix config: ...
43.213333
316
0.687751
91e73150b9d1496210e59ee21781a6c836095729
2,091
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/thumbnail.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/thumbnail.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/thumbnail.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
38.722222
468
0.733142
91e75ff3bba5226c2a24e6be254ab979b23e5bb7
1,129
ex
Elixir
apps/mcam_server_web/test/support/channel_case.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/mcam_server_web/test/support/channel_case.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/mcam_server_web/test/support/channel_case.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule McamServerWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
27.536585
72
0.731621
91e766aafd14763dfe59a683368fb5113f41732e
7,439
exs
Elixir
test/ex_aws/auth_test.exs
Costa-Silva/ex_aws
6a54c3ccf70f58d5c795a4726324d7ab4290d5e4
[ "MIT" ]
1
2021-01-05T11:56:32.000Z
2021-01-05T11:56:32.000Z
test/ex_aws/auth_test.exs
hetaoapps/ex_aws
1dcf28d13f0cfb384545dc7a068486874c74635a
[ "MIT" ]
null
null
null
test/ex_aws/auth_test.exs
hetaoapps/ex_aws
1dcf28d13f0cfb384545dc7a068486874c74635a
[ "MIT" ]
2
2020-12-29T13:52:35.000Z
2021-05-11T07:36:26.000Z
defmodule ExAws.AuthTest do use ExUnit.Case, async: true import ExAws.Auth, only: [ headers: 6, build_canonical_request: 5 ] import ExAws.Request.Url, only: [ uri_encode: 1 ] @config %{ access_key_id: "AKIAIOSFODNN7EXAMPLE", secret_access_key: "wJalrXUtnFEMI/K7MDENG/...
34.439815
362
0.628848
91e77120cfb68dfac9dd8d1b3c65a2881f35c838
1,925
ex
Elixir
template/$PROJECT_NAME$/apps/$PROJECT_NAME$/lib/$PROJECT_NAME$/errors/errors.ex
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
54
2018-01-24T00:22:57.000Z
2019-01-15T20:03:52.000Z
template/$PROJECT_NAME$/apps/$PROJECT_NAME$/lib/$PROJECT_NAME$/errors/errors.ex
infinitered/mithril
0bbad29f86c63d9a827dcaaf6fed78a176ab90d7
[ "MIT" ]
3
2018-02-05T18:00:39.000Z
2018-05-04T00:05:20.000Z
template/$PROJECT_NAME$/apps/$PROJECT_NAME$/lib/$PROJECT_NAME$/errors/errors.ex
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
3
2019-07-12T11:16:42.000Z
2020-06-08T15:03:36.000Z
defmodule <%= @project_name_camel_case %>.Errors do @moduledoc """ Provides error reporting functionality to <%= assigns[:error_reporting] || "the error reporting servicce" %> ### Usage 1. Notify <%= @error_reporting || "the error reporting service" %> of an Error ```elixir <%= @project_name_camel_...
29.166667
110
0.65039
91e7ad1887a9340fe63088e01653aeb90d0ad02d
476
ex
Elixir
lib/rocketpay/users/authenticate.ex
willianns/rocketpay
34c882b47ab1cb2a83b51c6bb17eeceb7714ab92
[ "Unlicense" ]
2
2021-03-01T09:15:57.000Z
2021-03-02T23:30:57.000Z
lib/rocketpay/users/authenticate.ex
willianns/rocketpay
34c882b47ab1cb2a83b51c6bb17eeceb7714ab92
[ "Unlicense" ]
null
null
null
lib/rocketpay/users/authenticate.ex
willianns/rocketpay
34c882b47ab1cb2a83b51c6bb17eeceb7714ab92
[ "Unlicense" ]
null
null
null
defmodule Rocketpay.Users.Authenticate do alias Rocketpay.{Repo, User} import Ecto.Query, only: [from: 2] def call(params) do verify_user(params) end def verify_user(%{"nickname" => nickname, "password" => password}) do query = from u in User, where: u.nickname == ^nickname, preload: [:account] ...
21.636364
79
0.67437
91e7d473c18c47f3345cbcfa943a08643970d759
418
ex
Elixir
lib/ory/hydra/operation.ex
churcho/ory-hydra-elixir
6610df7bfc6cb4ae569a23cf7f7840d9873a28c2
[ "MIT" ]
12
2020-01-13T22:36:57.000Z
2021-09-01T04:11:22.000Z
lib/ory/hydra/operation.ex
churcho/ory-hydra-elixir
6610df7bfc6cb4ae569a23cf7f7840d9873a28c2
[ "MIT" ]
8
2020-06-09T17:52:27.000Z
2022-02-21T22:01:29.000Z
lib/ory/hydra/operation.ex
churcho/ory-hydra-elixir
6610df7bfc6cb4ae569a23cf7f7840d9873a28c2
[ "MIT" ]
4
2020-07-17T01:56:47.000Z
2020-10-26T10:38:26.000Z
defmodule ORY.Hydra.Operation do @type t :: %__MODULE__{ content_type: :form_urlencoded | :json, method: ORY.Hydra.http_method_t(), params: map, params_in_query: list(atom), path: String.t() } defstruct content_type: :json, ...
24.588235
51
0.5
91e7fb51634339ba3933c70728fdcfd9bffdda53
812
ex
Elixir
elixir/day1/GenServer/lib/day1.ex
sdball/advent-of-code-2016
4885f03ccc504d09e0998d6c7df50268dcbe7873
[ "MIT" ]
null
null
null
elixir/day1/GenServer/lib/day1.ex
sdball/advent-of-code-2016
4885f03ccc504d09e0998d6c7df50268dcbe7873
[ "MIT" ]
null
null
null
elixir/day1/GenServer/lib/day1.ex
sdball/advent-of-code-2016
4885f03ccc504d09e0998d6c7df50268dcbe7873
[ "MIT" ]
null
null
null
defmodule Day1 do def distance_from_start do {:ok, pid} = Day1.Citywalk.start_link :ok = Day1.Citywalk.follow(pid, instructions) distance = Day1.Citywalk.distance_from_start(pid) IO.puts "After following all instructions we're #{distance} blocks from the start." end def first_revisit do {:ok,...
31.230769
87
0.690887
91e809ec94dda9c371047146d06553a8f11f3f76
838
exs
Elixir
test/privilegex_test.exs
plus3x/privilegex
e26cfc8acb5fc906597bb9014b02aa92f0abf5cd
[ "MIT" ]
1
2016-08-31T09:09:27.000Z
2016-08-31T09:09:27.000Z
test/privilegex_test.exs
plus3x/privilegex
e26cfc8acb5fc906597bb9014b02aa92f0abf5cd
[ "MIT" ]
null
null
null
test/privilegex_test.exs
plus3x/privilegex
e26cfc8acb5fc906597bb9014b02aa92f0abf5cd
[ "MIT" ]
null
null
null
defmodule PrivilegexTest do use ExUnit.Case doctest Privilegex setup do user_name = String.strip(elem(System.cmd("whoami", []), 0)) group_name = String.strip(elem(System.cmd("id", ["-gn"]), 0)) {:ok, %{user_name: user_name, group_name: group_name}} end test "#getuid" do assert {:ok, _} = Pr...
26.1875
98
0.653938
91e83291e52481f29aa98d8519f4d51e25e7cf0e
541
ex
Elixir
lib/policr_mini_web/views/admin/api/verification_view.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
487
2020-06-08T03:04:21.000Z
2022-03-31T14:51:36.000Z
lib/policr_mini_web/views/admin/api/verification_view.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
141
2020-06-11T01:03:29.000Z
2022-03-30T20:23:32.000Z
lib/policr_mini_web/views/admin/api/verification_view.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
61
2020-06-10T05:25:03.000Z
2022-03-23T15:54:26.000Z
defmodule PolicrMiniWeb.Admin.API.VerificationView do @moduledoc """ 渲染后台验证数据。 """ use PolicrMiniWeb, :view @spec render(String.t(), map()) :: map() def render("kick.json", %{ok: ok, verification: verification}) do verification = render_one(verification, __MODULE__, "verification.json") %{ ...
24.590909
88
0.672828
91e83dbce6cf90e26bcfc20cc077999083a65540
7,371
ex
Elixir
lib/exredis/api.ex
aforward-oss/exredis
cf9e72e971231eaf1e99c422bd84bbb40215c84b
[ "MIT" ]
null
null
null
lib/exredis/api.ex
aforward-oss/exredis
cf9e72e971231eaf1e99c422bd84bbb40215c84b
[ "MIT" ]
null
null
null
lib/exredis/api.ex
aforward-oss/exredis
cf9e72e971231eaf1e99c422bd84bbb40215c84b
[ "MIT" ]
null
null
null
defmodule Exredis.Api.Helper do defmacro __using__(_) do quote do import Exredis, only: [query: 2] import Exredis.Api.Helper end end defmacro defredis(cmd, args, fun \\ nil) do margs = Enum.map args, fn(x) -> {x, [], ExRedis.Api.Helper} end cmd = if is_list(cmd), do: cmd, else: [cmd] ...
34.605634
86
0.629765
91e853cbcb40d1159ca723016c4297a0ff866725
72
exs
Elixir
test/views/home_view_test.exs
PeerRails/phkite
aeb46305e57ed42513e165d10048b3044c43e3cf
[ "MIT" ]
null
null
null
test/views/home_view_test.exs
PeerRails/phkite
aeb46305e57ed42513e165d10048b3044c43e3cf
[ "MIT" ]
null
null
null
test/views/home_view_test.exs
PeerRails/phkite
aeb46305e57ed42513e165d10048b3044c43e3cf
[ "MIT" ]
null
null
null
defmodule Phkite.HomeViewTest do use Phkite.ConnCase, async: true end
18
34
0.805556
91e8601a49e03cc38fc9f24dc5ebffa9031a8a0e
120
exs
Elixir
config/config.exs
TylerPachal/wild
2cbc6255511cf1b16267353f94e973abbaa0c3e0
[ "MIT" ]
3
2019-12-20T14:56:05.000Z
2021-09-06T02:10:16.000Z
config/config.exs
TylerPachal/wild
2cbc6255511cf1b16267353f94e973abbaa0c3e0
[ "MIT" ]
1
2020-02-24T18:26:49.000Z
2020-02-24T18:26:49.000Z
config/config.exs
TylerPachal/wild
2cbc6255511cf1b16267353f94e973abbaa0c3e0
[ "MIT" ]
null
null
null
use Mix.Config # If we are running CI do more tests if System.get_env("GITHUB_ACTION") do import_config "ci.exs" end
17.142857
37
0.75
91e8736fb1bd1b757a3067c124952a32c028ea3d
2,283
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/host_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/compute/lib/google_api/compute/v1/model/host_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/host_rule.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...
43.075472
444
0.720105
91e89a8df64b818353957d67de68cc26a322cc0c
706
ex
Elixir
lib/telemetry_metrics_telegraf/utils.ex
alappe/telemetry_metrics_telegraf
2b81f12a4774d7a69fd1191925f2073829f1afd1
[ "Apache-2.0" ]
2
2020-05-03T16:03:37.000Z
2020-12-15T20:34:28.000Z
lib/telemetry_metrics_telegraf/utils.ex
alappe/telemetry_metrics_telegraf
2b81f12a4774d7a69fd1191925f2073829f1afd1
[ "Apache-2.0" ]
1
2022-01-18T06:52:41.000Z
2022-01-18T06:52:41.000Z
lib/telemetry_metrics_telegraf/utils.ex
alappe/telemetry_metrics_telegraf
2b81f12a4774d7a69fd1191925f2073829f1afd1
[ "Apache-2.0" ]
1
2022-01-14T15:43:39.000Z
2022-01-14T15:43:39.000Z
defmodule TelemetryMetricsTelegraf.Utils do @moduledoc false def measurement_name(%{name: name}), do: measurement_name(name) def measurement_name(name) do name |> List.delete_at(-1) |> Enum.join(".") end @spec fetch_option!(atom, [keyword()]) :: any def fetch_option!(key, []) do raise Key...
22.0625
65
0.626062
91e89fc4338aefdb8a0e321d0151fa337f4c2173
87
ex
Elixir
lib/currency/chars.ex
jeremytregunna/currency
df17596741e40f61997fe51e49fbfe3c2280afb2
[ "ECL-2.0", "Apache-2.0" ]
1
2019-10-02T21:44:55.000Z
2019-10-02T21:44:55.000Z
lib/currency/chars.ex
jeremytregunna/currency
df17596741e40f61997fe51e49fbfe3c2280afb2
[ "ECL-2.0", "Apache-2.0" ]
1
2019-08-09T21:19:03.000Z
2019-08-09T21:19:03.000Z
lib/currency/chars.ex
jeremytregunna/currency
df17596741e40f61997fe51e49fbfe3c2280afb2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
defimpl String.Chars, for: Currency do defdelegate to_string(data), to: Currency end
21.75
43
0.781609
91e8c0aec19ae3359b5ed4fba6fc0cbcced812f2
3,320
exs
Elixir
test/badges_web/live/test_live_test.exs
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
test/badges_web/live/test_live_test.exs
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
test/badges_web/live/test_live_test.exs
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
defmodule BadgesWeb.TestLiveTest do use BadgesWeb.ConnCase import Phoenix.LiveViewTest alias Badges.Tests @create_attrs %{planned_date: ~D[2010-04-17]} @update_attrs %{planned_date: ~D[2011-05-18]} @invalid_attrs %{planned_date: nil} defp fixture(:test) do {:ok, test} = Tests.create_test(@create_a...
29.642857
85
0.606325
91e8dc073714b48350a3c3daaf88fff8f5c11b49
2,596
ex
Elixir
clients/content/lib/google_api/content/v21/model/product_delivery_time_area_delivery_time_delivery_time.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/product_delivery_time_area_delivery_time_delivery_time.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/product_delivery_time_area_delivery_time_delivery_time.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.557377
244
0.736133
91e8e18484e78e2fef36dfcb6458d2de56e2f487
350
ex
Elixir
lib/this_weekend_web/controllers/location_controller.ex
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
lib/this_weekend_web/controllers/location_controller.ex
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
2
2021-03-10T17:57:38.000Z
2022-03-26T16:51:58.000Z
lib/this_weekend_web/controllers/location_controller.ex
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
defmodule ThisWeekendWeb.LocationController do use ThisWeekendWeb, :controller import Phoenix.LiveView.Controller def index(conn, params) do %{assigns: %{username: username}} = conn activities = params["activities"] live_render(conn, ThisWeekendWeb.LocationLive, session: %{username: username, activ...
26.923077
106
0.754286
91e90cc2809423706a17cacb37ee314abde7dfa1
11,189
ex
Elixir
lib/ex_dag/dag/server.ex
badubizzle/exdag
be5a4ec5ef45dad4193235cc064e4a74426b7de4
[ "MIT" ]
null
null
null
lib/ex_dag/dag/server.ex
badubizzle/exdag
be5a4ec5ef45dad4193235cc064e4a74426b7de4
[ "MIT" ]
null
null
null
lib/ex_dag/dag/server.ex
badubizzle/exdag
be5a4ec5ef45dad4193235cc064e4a74426b7de4
[ "MIT" ]
1
2022-01-20T19:17:42.000Z
2022-01-20T19:17:42.000Z
defmodule ExDag.DAG.Server do @moduledoc """ Genserver for running tasks in a DAG """ use GenServer alias ExDag.DAG alias ExDag.DAGRun alias ExDag.DAG.DAGTask alias ExDag.DAG.DAGTaskRun alias ExDag.DAG.Worker require Logger @server __MODULE__ @run_interval 5000 @registry DAGRegister # c...
26.640476
101
0.597551
91e941e8b84db2d7c7e469f71a118a143cd0bd85
9,067
ex
Elixir
lib/plaid/institutions.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
50
2016-10-19T16:34:27.000Z
2022-03-17T03:55:54.000Z
lib/plaid/institutions.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
47
2017-11-08T19:19:09.000Z
2022-03-23T00:53:22.000Z
lib/plaid/institutions.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
40
2016-10-27T14:39:14.000Z
2022-03-01T01:03:17.000Z
defmodule Plaid.Institutions do @moduledoc """ Functions for Plaid `institutions` endpoint. """ import Plaid, only: [make_request_with_cred: 4, validate_cred: 1] alias Plaid.Utils @derive Jason.Encoder defstruct institutions: [], request_id: nil, total: nil @type t :: %__MODULE__{ institut...
29.438312
101
0.557296
91e9545d33e5472ef873b702832a8241d1b1d302
28,697
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
50.345614
781
0.637837
91e98b87e43f2c7bb8d52be72ea256963067b31b
1,260
ex
Elixir
lib/mpdex/playlists.ex
bosko/mpdex
fe64ce453332770df99c12320bfeeb5ac8b801dc
[ "MIT" ]
null
null
null
lib/mpdex/playlists.ex
bosko/mpdex
fe64ce453332770df99c12320bfeeb5ac8b801dc
[ "MIT" ]
null
null
null
lib/mpdex/playlists.ex
bosko/mpdex
fe64ce453332770df99c12320bfeeb5ac8b801dc
[ "MIT" ]
null
null
null
defmodule Mpdex.Playlists do @moduledoc """ Client for MPD (Music Player Daemon) """ def list do case client().send("listplaylists") do {:ok, raw_lists} -> Mpdex.Parser.parse_list_of_play_lists(raw_lists) _ -> %{} end end def get(list_name) do case client().send("l...
20.322581
60
0.633333
91e98fa1690ff62fa119cab3961dcd235d9b8491
2,462
ex
Elixir
clients/fitness/lib/google_api/fitness/v1/model/list_sessions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/list_sessions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/fitness/lib/google_api/fitness/v1/model/list_sessions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.964286
252
0.728676
91e9c00c98e113c64d449af9127f6c8bb7b87e41
429
exs
Elixir
test/ratethedub_web/views/error_view_test.exs
rushsteve1/RateTheDub
89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081
[ "Apache-2.0" ]
4
2021-04-26T21:50:45.000Z
2021-04-27T18:37:51.000Z
test/ratethedub_web/views/error_view_test.exs
rushsteve1/RateTheDub
89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081
[ "Apache-2.0" ]
25
2021-04-26T21:39:21.000Z
2021-09-07T13:59:14.000Z
test/ratethedub_web/views/error_view_test.exs
rushsteve1/RateTheDub
89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081
[ "Apache-2.0" ]
null
null
null
defmodule RateTheDubWeb.ErrorViewTest do use RateTheDubWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(RateTheDubWeb.ErrorView, "404.html", []) =~ "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
91e9def10397515f26a97e0fbc882be5b7b9f3c7
3,086
exs
Elixir
apps/nerves_hub_api/test/nerves_hub_api_web/controllers/user_controller_test.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_api/test/nerves_hub_api_web/controllers/user_controller_test.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_api/test/nerves_hub_api_web/controllers/user_controller_test.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubAPIWeb.UserControllerTest do use NervesHubAPIWeb.ConnCase, async: true alias NervesHubWebCore.Fixtures alias NervesHubWebCore.Certificate alias NervesHubWebCore.Accounts test "me", %{conn: conn, user: user} do conn = get(conn, Routes.user_path(conn, :me)) assert json_response(con...
28.311927
95
0.605314
91e9f8183e998662e74790d20cbecb129d13e6a7
182
ex
Elixir
lib/bio/world/registry.ex
xire28/bio
c3266b551f8ac855653d6de7f13fd566f2daa549
[ "MIT" ]
null
null
null
lib/bio/world/registry.ex
xire28/bio
c3266b551f8ac855653d6de7f13fd566f2daa549
[ "MIT" ]
null
null
null
lib/bio/world/registry.ex
xire28/bio
c3266b551f8ac855653d6de7f13fd566f2daa549
[ "MIT" ]
null
null
null
defmodule Bio.World.Registry do def select(spec), do: Registry.select(__MODULE__, spec) def update_value(key, callback), do: Registry.update_value(__MODULE__, key, callback) end
36.4
87
0.78022
91ea0d6740c6e184cf05b29890c9401989962757
2,156
ex
Elixir
apps/andi/lib/andi/input_schemas/struct_tools.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/andi/lib/andi/input_schemas/struct_tools.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/andi/lib/andi/input_schemas/struct_tools.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
defmodule Andi.InputSchemas.StructTools do @moduledoc false def to_map(%_{} = struct) do struct |> struct_to_map() |> to_map() end def to_map(map) when is_map(map) do map |> Enum.map(fn {k, v} -> {k, to_map(v)} end) |> Map.new() end def to_map(value) when is_binary(value)...
19.962963
66
0.53757
91ea72a25663a095dbabb12fc6d675caa1054d92
1,778
ex
Elixir
test/support/model_case.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
6
2017-05-12T04:20:09.000Z
2020-11-07T02:00:56.000Z
test/support/model_case.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
null
null
null
test/support/model_case.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
2
2020-05-18T08:06:22.000Z
2020-12-19T14:24:40.000Z
defmodule Uptom.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For th...
26.939394
84
0.68279
91ea877e36b011cd27980e593ed0a1506b561d19
2,131
ex
Elixir
lib/mix/lib/mix/tasks/compile.protocols.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/tasks/compile.protocols.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.protocols.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.Protocols do use Mix.Task @recursive true @shortdoc "Consolidates all protocols in all paths" @moduledoc ~S""" Consolidates all protocols in all paths. This module consolidates all protocols in the code path and output the new binary files to the given directory (defaults...
27.675325
95
0.682778
91eb11a7c7edc7e83688b3edf61565d4e59f7b98
3,123
ex
Elixir
lib/documents/session/validations.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
9
2022-01-11T10:01:54.000Z
2022-03-31T06:50:59.000Z
lib/documents/session/validations.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
2
2022-03-21T20:13:13.000Z
2022-03-28T21:07:47.000Z
lib/documents/session/validations.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
null
null
null
defmodule Ravix.Documents.Session.Validations do @moduledoc """ Validation rules for session states """ alias Ravix.Documents.Session.State, as: SessionState @doc """ Returns an error if the document is in a deferred command """ @spec document_not_in_deferred_command(SessionState.t(), binary()) :: ...
36.313953
95
0.677874
91eb2773498a086936d6b9275166a2a75abbb297
5,164
ex
Elixir
lib/prometheus_parser.ex
ltamas97/turnio-prometheus-parser
e3a837921d56b7b541959c39eab198ef3b271763
[ "Apache-2.0" ]
null
null
null
lib/prometheus_parser.ex
ltamas97/turnio-prometheus-parser
e3a837921d56b7b541959c39eab198ef3b271763
[ "Apache-2.0" ]
null
null
null
lib/prometheus_parser.ex
ltamas97/turnio-prometheus-parser
e3a837921d56b7b541959c39eab198ef3b271763
[ "Apache-2.0" ]
null
null
null
defmodule PrometheusParser.Line do defstruct line_type: nil, timestamp: nil, pairs: [], value: nil, documentation: nil, type: nil, label: nil end defimpl String.Chars, for: PrometheusParser.Line do def pairs_to_string(pairs) do pairs |...
23.579909
87
0.534663
91eb31c6bc2296f4836b1916c9f2f8467a1ee6dd
1,658
ex
Elixir
lib/hedwig/adapter.ex
scrogson/hedwig
a453847d04a9d730952fc5b2f8239848f4285573
[ "MIT" ]
51
2015-01-15T10:47:58.000Z
2020-10-21T19:55:23.000Z
lib/hedwig/adapter.ex
scrogson/hedwig
a453847d04a9d730952fc5b2f8239848f4285573
[ "MIT" ]
13
2015-01-27T13:39:45.000Z
2015-09-10T22:16:45.000Z
lib/hedwig/adapter.ex
scrogson/hedwig
a453847d04a9d730952fc5b2f8239848f4285573
[ "MIT" ]
16
2015-04-02T10:24:16.000Z
2022-01-04T10:34:40.000Z
defmodule Hedwig.Adapter do @moduledoc """ Hedwig Adapter Behaviour An adapter is the interface to the service your bot runs on. To implement an adapter you will need to translate messages from the service to the `Hedwig.Message` struct and call `Hedwig.Robot.handle_message(robot, msg)`. """ use Behavio...
23.027778
78
0.608565
91eb618e6d83182e8dcfcabeec86a138f782da7b
10,532
exs
Elixir
farmbot_core/priv/config/migrations/20170922221449_seed_groups.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/priv/config/migrations/20170922221449_seed_groups.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_core/priv/config/migrations/20170922221449_seed_groups.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Config.Repo.Migrations.SeedGroups do use Ecto.Migration alias FarmbotCore.Config.{Repo, Group, StringValue, BoolValue, FloatValue} import FarmbotCore.Config.MigrationHelpers import Ecto.Query, only: [from: 2] @group_names ["authorization", "hardware_params", "settings"] @default_serve...
32.207951
80
0.73177
91eb6f0d1e3b999f1c4b6b666b934255fe0f6fb4
470
ex
Elixir
lib/nodeping/checktypes/imap4.ex
stratacast/nodeping_elixir
11ad20e7da3a43dfe6c8322223c6a54c1025c405
[ "MIT" ]
null
null
null
lib/nodeping/checktypes/imap4.ex
stratacast/nodeping_elixir
11ad20e7da3a43dfe6c8322223c6a54c1025c405
[ "MIT" ]
null
null
null
lib/nodeping/checktypes/imap4.ex
stratacast/nodeping_elixir
11ad20e7da3a43dfe6c8322223c6a54c1025c405
[ "MIT" ]
null
null
null
defmodule NodePing.Checktypes.Imap4 do @moduledoc false @enforce_keys [:target] defstruct [ :target, label: "", autodiag: false, type: "IMAP4", port: 143, verify: true, email: nil, username: nil, password: nil, secure: nil, warningdays: false, interval: 15, ena...
16.785714
38
0.589362
91eb7a0f4ce0c4b287d2ef0a4addd99d9113e7f8
2,684
exs
Elixir
test/storage/local_test.exs
juddey/arc
8f4479f6c7d011e2eef220b290767e9ee57b2afd
[ "Apache-2.0" ]
null
null
null
test/storage/local_test.exs
juddey/arc
8f4479f6c7d011e2eef220b290767e9ee57b2afd
[ "Apache-2.0" ]
null
null
null
test/storage/local_test.exs
juddey/arc
8f4479f6c7d011e2eef220b290767e9ee57b2afd
[ "Apache-2.0" ]
null
null
null
defmodule ArcTest.Storage.Local do use ExUnit.Case @img "test/support/image.png" @badimg "test/support/invalid_image.png" setup_all do File.mkdir_p("arctest/uploads") on_exit fn -> File.rm_rf("arctest/uploads") end end defmodule DummyDefinition do use Arc.Actions.Store use Arc....
40.666667
159
0.685171
91eb8fd40a9c35570c766d83d5b8f3c08211893c
1,188
exs
Elixir
weather/config/config.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
weather/config/config.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
weather/config/config.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.125
73
0.751684
91ebb58c8fcd6ac144b520d11f6975e5321392e1
989
ex
Elixir
lib/anchore_engine_api_server/model/archive_summary.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
lib/anchore_engine_api_server/model/archive_summary.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
lib/anchore_engine_api_server/model/archive_summary.ex
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
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 AnchoreEngineAPIServer.Model.ArchiveSummary do @moduledoc """ A summarization of the available archives, a place to for long-term storage of a...
31.903226
181
0.75632
91ebd812b03dd522e8befce75112c8b37f458a6f
4,122
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
53.532468
490
0.713246
91ec044ad3d515de6b2b5073003f5340d59e2017
1,298
ex
Elixir
trial_server/lib/trial_server/store.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
trial_server/lib/trial_server/store.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
trial_server/lib/trial_server/store.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
defmodule TrialServer.Store do require Logger def init() do Process.register(self(), __MODULE__) trial_table = :"#{__MODULE__}" :ets.new(trial_table, [:set, :public]) end def print_store() do store = Agent.get(__MODULE__, &(&1)) print_store(store, :ets.first(store)) end def print_stor...
26.489796
76
0.630971
91ec1ff873bbc2e380ef03446eeb09ba3b765dd7
516
ex
Elixir
flatten-array/lib/flatten_array.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
1
2022-01-23T20:34:09.000Z
2022-01-23T20:34:09.000Z
flatten-array/lib/flatten_array.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
flatten-array/lib/flatten_array.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
defmodule FlattenArray do @moduledoc false @doc """ Accept a list and return the list flattened without nil values. ## Examples iex> FlattenArray.flatten([1, [2], 3, nil]) [1,2,3] iex> FlattenArray.flatten([nil, nil]) [] """ @spec flatten(list) :: list def flatten([]), do:...
23.454545
83
0.610465
91ec438a1ad001c644fafb2e59aeb2deb42edac8
2,973
exs
Elixir
test/dissolver/html/semantic_test.exs
ivanpetrovic/dissolver
e8d8d23bd8f038c00f0fe6ec732980b7b1263c3a
[ "MIT" ]
21
2020-04-11T14:02:50.000Z
2022-03-20T21:49:38.000Z
test/dissolver/html/semantic_test.exs
ivanpetrovic/dissolver
e8d8d23bd8f038c00f0fe6ec732980b7b1263c3a
[ "MIT" ]
5
2020-04-12T18:16:57.000Z
2020-11-07T01:28:08.000Z
test/dissolver/html/semantic_test.exs
ivanpetrovic/dissolver
e8d8d23bd8f038c00f0fe6ec732980b7b1263c3a
[ "MIT" ]
2
2020-11-07T01:16:52.000Z
2022-02-22T10:30:03.000Z
defmodule Dissolver.HTML.SemanticTest do use ExUnit.Case, async: true use Phoenix.HTML alias Dissolver.HTML.Semantic test "renders Semantic pagination markup" do page_list = PaginatorData.page_list() valid_html_markup = """ <nav class="ui pagination menu">\ <a class="item" href="/products?cat...
45.738462
73
0.661958
91ec5397e400123710e154ee7d2bed98c288f5a8
4,446
ex
Elixir
lib/movement/persisters/base.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/movement/persisters/base.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/movement/persisters/base.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Movement.Persisters.Base do require Ecto.Query alias Accent.{Operation, Repo} alias Movement.Mappers.OperationsStats, as: StatMapper alias Movement.Migrator # Inserts operations by batch of 500 to prevent parameters # overflow in database adapter @operations_inserts_chunk 500 @options_keys ...
35.568
125
0.697706
91ec54058068ee1682ca7d8452d5bcab9ea8a022
1,177
exs
Elixir
priv/ecto_repo/migrations/00000000000001_ensure_columns_are_not_null.exs
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
736
2017-02-16T12:55:57.000Z
2022-03-31T19:50:43.000Z
priv/ecto_repo/migrations/00000000000001_ensure_columns_are_not_null.exs
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
86
2017-04-02T16:42:33.000Z
2022-03-25T01:07:13.000Z
priv/ecto_repo/migrations/00000000000001_ensure_columns_are_not_null.exs
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
63
2017-04-28T23:38:15.000Z
2022-03-28T12:49:02.000Z
defmodule FunWithFlags.Dev.EctoRepo.Migrations.EnsureColumnsAreNotNull do use Ecto.Migration # # Use this migration to add the `not null` constraints to the # table created using the `CreateFeatureFlagsTable` migration # from versions `<= 1.0.0`. # # If the table has been created with a migration from `>=...
33.628571
77
0.700085
91ec813e3c598610ffb2d413ee1882379560897b
6,234
exs
Elixir
test/flix_web/controllers/user_auth_test.exs
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
3
2021-03-21T23:52:16.000Z
2021-06-02T03:47:00.000Z
test/flix_web/controllers/user_auth_test.exs
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
44
2021-04-09T04:04:13.000Z
2022-03-29T06:29:37.000Z
test/flix_web/controllers/user_auth_test.exs
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
null
null
null
defmodule FlixWeb.UserAuthTest do use FlixWeb.ConnCase, async: true alias Flix.Accounts alias FlixWeb.UserAuth import Flix.AccountsFixtures @remember_me_cookie "_flix_web_user_remember_me" setup %{conn: conn} do conn = conn |> Map.replace!(:secret_key_base, FlixWeb.Endpoint.config(:secret...
35.827586
98
0.673404
91ecaf9faa2654524749e2500878755b775ddd31
18,678
ex
Elixir
lib/plausible/stats/stats.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-04-08T16:39:00.000Z
2020-04-08T16:39:00.000Z
lib/plausible/stats/stats.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible/stats/stats.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule Plausible.Stats do use Plausible.Repo alias Plausible.Stats.Query def compare_pageviews_and_visitors(site, query, {pageviews, visitors}) do query = Query.shift_back(query) {old_pageviews, old_visitors} = pageviews_and_visitors(site, query) cond do old_pageviews == 0 and pageviews > 0...
34.021858
148
0.640968
91ecb618a48f214a811af5b15a470c660a1fd03d
219
ex
Elixir
lib/doctor_schedule_web/live/patient_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
2
2022-03-11T12:15:01.000Z
2022-03-11T13:53:21.000Z
lib/doctor_schedule_web/live/patient_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
3
2020-12-12T22:10:17.000Z
2021-04-05T12:53:12.000Z
lib/doctor_schedule_web/live/patient_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
1
2021-02-26T04:24:34.000Z
2021-02-26T04:24:34.000Z
defmodule DoctorScheduleWeb.PatientComponent do use Phoenix.LiveComponent alias DoctorScheduleWeb.PageView alias Phoenix.View def render(assigns) do View.render(PageView, "patient.html", assigns) end end
21.9
50
0.789954
91ecc1dc6816bdb2e846c48409392f1685c77525
278
exs
Elixir
test/phoenixcicd_web/views/layout_view_test.exs
JackMaarek/phoenix-cicd
746c66a7b248e089b1c138a81f5e4169e73aac67
[ "MIT" ]
1
2021-05-20T12:03:40.000Z
2021-05-20T12:03:40.000Z
test/phoenixcicd_web/views/layout_view_test.exs
JackMaarek/phoenix-cicd
746c66a7b248e089b1c138a81f5e4169e73aac67
[ "MIT" ]
null
null
null
test/phoenixcicd_web/views/layout_view_test.exs
JackMaarek/phoenix-cicd
746c66a7b248e089b1c138a81f5e4169e73aac67
[ "MIT" ]
1
2021-05-20T12:04:10.000Z
2021-05-20T12:04:10.000Z
defmodule PhoenixcicdWeb.LayoutViewTest do use PhoenixcicdWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.888889
65
0.773381
91ed07d08e568fdb67245c074837f6a61a5c3fcf
2,157
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/raw_hashes.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/raw_hashes.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/raw_hashes.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.294118
390
0.749652
91ed1f7077c5b7a2b38d968cea763ea25923c259
4,625
exs
Elixir
test/infinity_one/permissions/permissions_test.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
test/infinity_one/permissions/permissions_test.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
test/infinity_one/permissions/permissions_test.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOne.PermissionsTest do use InfinityOne.DataCase alias InfinityOne.{Permissions, Accounts, Repo} setup context do case context do %{integration: true} = _context -> setup_integration() _-> :ok end end def setup_integration do on_exit fn -> Permissions....
35.576923
81
0.64
91ed270aef1d9384edf7ad24f12eedd1d8943276
1,961
ex
Elixir
lib/guardian/db/token.ex
tanweerdev/guardian_db
00d775cb538db205b8e6d720bff941d53558b5d2
[ "MIT" ]
null
null
null
lib/guardian/db/token.ex
tanweerdev/guardian_db
00d775cb538db205b8e6d720bff941d53558b5d2
[ "MIT" ]
null
null
null
lib/guardian/db/token.ex
tanweerdev/guardian_db
00d775cb538db205b8e6d720bff941d53558b5d2
[ "MIT" ]
null
null
null
defmodule Guardian.DB.Token do @moduledoc """ A very simple model for storing tokens generated by guardian. """ use Ecto.Schema import Ecto.Changeset import Ecto.Query, only: [where: 3] alias Guardian.DB.Token @primary_key {:jti, :string, autogenerate: false} @allowed_fields ~w(jti typ aud iss sub ...
22.284091
108
0.63539
91ed573fe09057257941ac8f0da4713e28d2f1e3
1,506
exs
Elixir
mix.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
1
2018-08-15T13:26:19.000Z
2018-08-15T13:26:19.000Z
mix.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
null
null
null
mix.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
null
null
null
defmodule Crawler.Mixfile do use Mix.Project def project do [ app: :crawler, version: "1.0.0", elixir: "~> 1.5", package: package(), name: "Crawler", description: "A high performance web crawler in Elixir.", ...
27.381818
109
0.472112
91ed6f8569de291ba035202a07fd7c82fbfcd508
31
ex
Elixir
testData/org/elixir_lang/parser_definition/heredoc_dot_operation_parsing_test_case/HexadecimalWholeNumber.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/heredoc_dot_operation_parsing_test_case/HexadecimalWholeNumber.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/heredoc_dot_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
''' One '''.0x2 """ One """.0x2
5.166667
7
0.387097
91eda0776624f38ba8c088d9e2ff45a5dc5849da
369
ex
Elixir
test/support/api.ex
michaelst/ash_graphql
bdf814cae2305b5a0151e5c94c7a973dec1d659f
[ "MIT" ]
12
2020-06-15T08:00:05.000Z
2021-12-16T22:46:52.000Z
test/support/api.ex
michaelst/ash_graphql
bdf814cae2305b5a0151e5c94c7a973dec1d659f
[ "MIT" ]
24
2020-06-05T01:06:52.000Z
2021-09-25T00:30:39.000Z
test/support/api.ex
michaelst/ash_graphql
bdf814cae2305b5a0151e5c94c7a973dec1d659f
[ "MIT" ]
7
2020-08-25T19:20:26.000Z
2022-01-26T00:54:50.000Z
defmodule AshGraphql.Test.Api do @moduledoc false use Ash.Api resources do resource(AshGraphql.Test.Comment) resource(AshGraphql.Test.Post) resource(AshGraphql.Test.PostTag) resource(AshGraphql.Test.Tag) resource(AshGraphql.Test.User) resource(AshGraphql.Test.NonIdPrimaryKey) resourc...
23.0625
49
0.761518
91edac953cf26230d8baedc19546b5c3419ba642
547
exs
Elixir
test/instream/deprecations/writer_using_macro_test.exs
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
test/instream/deprecations/writer_using_macro_test.exs
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
test/instream/deprecations/writer_using_macro_test.exs
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
defmodule UAInspector.Deprecations.WriterUsingMacroTest do use ExUnit.Case, async: false import ExUnit.CaptureIO test "'use Instream.Writer' generates compile time warning" do writer = __MODULE__.Writer generator = fn -> defmodule writer do use Instream.Writer def write(_, _, _),...
23.782609
69
0.689214
91edae57354a9b540d6bf9a1e8c1463fc237675c
1,699
exs
Elixir
config/config.exs
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
3
2022-03-24T16:48:38.000Z
2022-03-24T16:50:04.000Z
config/config.exs
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
null
null
null
config/config.exs
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
1
2022-03-20T01:11:12.000Z
2022-03-20T01:11:12.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :tapebas, ecto_repos: [Tapebas.Repo] # Conf...
32.056604
117
0.732784
91edb74e9266550fdf6415b40f1feb2790e889db
794
exs
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-25/sigil_line.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-25/sigil_line.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-25/sigil_line.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule SigilLine do @moduledoc "Sigil module for Lines to List" @doc """ Give ~l sigil taking multiline and returns each line as a list item. Example: iex> import SigilLine iex> ~l \""" ...> alice ...> bob ...> eve ...> \""" ["alice", "bob", "eve"] """ def sigil_l(lines, opts) do line...
15.568627
70
0.550378
91edba7af03b168057a688a587830cdcee5fa9c8
1,614
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/shielded_instance_integrity_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/shielded_instance_integrity_policy.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/shielded_instance_integrity_policy.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...
34.340426
173
0.760223
91edbb7e1a0479d758e9c87b267586c06ca0ff17
2,902
ex
Elixir
lib/bookmarker/cli.ex
FredrikL/bookmarker
23b91e408c142d044526b11106a01c93ab1dd823
[ "MIT" ]
null
null
null
lib/bookmarker/cli.ex
FredrikL/bookmarker
23b91e408c142d044526b11106a01c93ab1dd823
[ "MIT" ]
null
null
null
lib/bookmarker/cli.ex
FredrikL/bookmarker
23b91e408c142d044526b11106a01c93ab1dd823
[ "MIT" ]
null
null
null
defmodule Bookmarker.CLI do alias Bookmarker.Runner @option_parser_opts [ strict: [ help: :boolean, file: :string, title: :string, description: :string, timestamp: :boolean, ignore: :keep, path: :string, output: :string, ], aliases: [ h: :help, ...
27.638095
102
0.538249
91edc08e567066bda49fbbc35b8cf096eb893f00
5,054
ex
Elixir
lib/mdns_lite/configuration.ex
jfcloutier/mdns_lite
86a679920172159e4f5cf2fe6d8d7bf7841a4d34
[ "Apache-2.0" ]
null
null
null
lib/mdns_lite/configuration.ex
jfcloutier/mdns_lite
86a679920172159e4f5cf2fe6d8d7bf7841a4d34
[ "Apache-2.0" ]
null
null
null
lib/mdns_lite/configuration.ex
jfcloutier/mdns_lite
86a679920172159e4f5cf2fe6d8d7bf7841a4d34
[ "Apache-2.0" ]
null
null
null
defmodule MdnsLite.Configuration do use GenServer alias MdnsLite.ResponderSupervisor @moduledoc false # A singleton GenServer. It is responsible for maintaining the various # configuration values and services that can be specified at runtime and that # are used to recognize and respond to mDNS requests. ...
29.555556
97
0.638702
91edc3aaec62cd9a6573f092679f766da6d47c57
854
ex
Elixir
lib/learn/v6.ex
DitoHI/basic_elixir
af21384e99df0f7289ca1908c3e21bce8aef475c
[ "MIT" ]
null
null
null
lib/learn/v6.ex
DitoHI/basic_elixir
af21384e99df0f7289ca1908c3e21bce8aef475c
[ "MIT" ]
null
null
null
lib/learn/v6.ex
DitoHI/basic_elixir
af21384e99df0f7289ca1908c3e21bce8aef475c
[ "MIT" ]
null
null
null
defmodule V6 do @moduledoc false # def # if def check_if() do if true do :true else :false end end # unless def check_unless() do unless true do :false else :true end end # case def check_case(val) do new_val = 20 result = case return_diff_va...
16.745098
47
0.546838
91edebe47960040091926c0f44477f33a043527b
14,068
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/storelayoutpages.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/storelayoutpages.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/storelayoutpages.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...
37.414894
170
0.663421
91ee2cdbd85397cdc3259803e9e5039a9671d408
531
exs
Elixir
ch04/exmeal/test/exmeal_web/views/users_view_test.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ch04/exmeal/test/exmeal_web/views/users_view_test.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ch04/exmeal/test/exmeal_web/views/users_view_test.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
defmodule ExmealWeb.UsersViewTest do use ExmealWeb.ConnCase, async: true import Phoenix.View import Exmeal.Factory alias Exmeal.Users.User alias ExmealWeb.UsersView test "renders create.json" do user = build(:user) response = render(UsersView, "create.json", user: user) assert %{ ...
21.24
59
0.578154
91ee32115194f6c5085850df19986ef3394610ae
5,864
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/chart_spec.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/chart_spec.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/chart_spec.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
56.932039
228
0.73704
91ee6bfce4ee5bd58a4e6af41d85737d00f5e950
1,838
ex
Elixir
lib/magnemite_web.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
lib/magnemite_web.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
lib/magnemite_web.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
defmodule MagnemiteWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use MagnemiteWeb, :controller use MagnemiteWeb, :view The definitions below will be executed for every view, contro...
23.265823
76
0.692057
91ee6ef419188833283e669483606eec4db80498
896
ex
Elixir
clients/groups_migration/lib/google_api/groups_migration/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/groups_migration/lib/google_api/groups_migration/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/groups_migration/lib/google_api/groups_migration/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
91ee76197479278bbd46aa17f5f1643cb0b7cfd0
49,635
ex
Elixir
lib/teslamate/vehicles/vehicle.ex
tlogik/teslamate
3d13056bdf60b97dac4b4eb1b538543ed305b53b
[ "MIT" ]
null
null
null
lib/teslamate/vehicles/vehicle.ex
tlogik/teslamate
3d13056bdf60b97dac4b4eb1b538543ed305b53b
[ "MIT" ]
null
null
null
lib/teslamate/vehicles/vehicle.ex
tlogik/teslamate
3d13056bdf60b97dac4b4eb1b538543ed305b53b
[ "MIT" ]
null
null
null
defmodule TeslaMate.Vehicles.Vehicle do use GenStateMachine require Logger alias __MODULE__.Summary alias TeslaMate.{Vehicles, Api, Log, Locations, Settings, Convert, Repo, Terrain} alias TeslaMate.Settings.CarSettings alias TeslaMate.Locations.GeoFence alias TeslaMate.Log.Car alias TeslaApi.Vehicle....
34.44483
101
0.627138
91ee8a7ae4b5f7facda65b740d977db8497e8e53
7,340
exs
Elixir
test/builder_test.exs
rstacruz/expug
683eb34abd9465f42d42cbe359fa9ae848f9ec3d
[ "MIT" ]
89
2016-06-27T07:06:23.000Z
2022-03-15T18:21:50.000Z
test/builder_test.exs
rstacruz/exslim
683eb34abd9465f42d42cbe359fa9ae848f9ec3d
[ "MIT" ]
11
2016-07-28T17:12:39.000Z
2021-01-22T02:54:58.000Z
test/builder_test.exs
rstacruz/exslim
683eb34abd9465f42d42cbe359fa9ae848f9ec3d
[ "MIT" ]
4
2016-07-26T15:50:35.000Z
2019-09-16T22:49:21.000Z
defmodule BuilderTest do use ExUnit.Case doctest Expug.Builder def build(source) do with \ tokens <- Expug.Tokenizer.tokenize(source), ast <- Expug.Compiler.compile(tokens) do Expug.Builder.build(ast) end end test "build" do eex = build("doctype html\ndiv Hello") assert eex...
20.617978
87
0.41158
91ee8dfc4af64d91eacb12ab85a4f6a71d6fdc87
3,071
ex
Elixir
lib/mix/lib/mix/tasks/deps.check.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/mix/lib/mix/tasks/deps.check.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.check.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Deps.Check do use Mix.Task import Mix.Dep, only: [loaded: 1, loaded_by_name: 2, format_dep: 1, format_status: 1, check_lock: 2, ok?: 1] @moduledoc """ Checks if all dependencies are valid and if not, abort. Prints the invalid dependencies' status before aborting...
30.71
91
0.619017
91eee6cf24da55fece21aa5eecbea60a8f251a6c
602
exs
Elixir
mix.exs
CRUDimentary/crudimentary-cache
a5d325bb0f41f0b1c09106045aedce9781c3d503
[ "MIT" ]
null
null
null
mix.exs
CRUDimentary/crudimentary-cache
a5d325bb0f41f0b1c09106045aedce9781c3d503
[ "MIT" ]
null
null
null
mix.exs
CRUDimentary/crudimentary-cache
a5d325bb0f41f0b1c09106045aedce9781c3d503
[ "MIT" ]
null
null
null
defmodule CRUDimentary.MixProject do use Mix.Project def project do [ app: :crudimentary_cache, version: "0.2.5", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), name: "CRUDimentary - Cache", source_url: "https://github.com/CRUDimentary/crudimentar...
18.242424
71
0.536545
91ef067c14810814b1bb6a6bacb7fd346dea84d5
1,857
ex
Elixir
apps/aecore/test/test_utils.ex
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/test/test_utils.ex
aeternity/elixir-node
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/test/test_utils.ex
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule TestUtils do @moduledoc """ Helper module for retrieving the chainstate """ use ExUnit.Case alias Aecore.Chain.Worker, as: Chain alias Aecore.Account.Account alias Aecore.Tx.Pool.Worker, as: Pool alias Aecore.Miner.Worker, as: Miner alias Aecore.Persistence.Worker, as: Persistence alias ...
24.76
81
0.692515
91ef3098037fc99b724c9e3503170f1ed79a6a35
2,488
ex
Elixir
lib/litelist_web/views/job_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
lib/litelist_web/views/job_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
lib/litelist_web/views/job_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.JobView do use LitelistWeb, :view import LitelistWeb.FormHelpers import LitelistWeb.UtilsView @doc """ This will return a struct with a route for where a form should submit to, the fields necessary for a form, and what the pop-over text should be for each field. ## Parameters ...
46.943396
208
0.678055
91ef3bf8e760f05e2df7160f474db86a526661b8
90
ex
Elixir
lib/membrane_portaudio_plugin/source_native.ex
membraneframework/membrane_portaudio_plugin
a7d2e44000b9e4ebdfa21cb3228b6a2638eca02a
[ "Apache-2.0" ]
2
2018-07-27T14:16:02.000Z
2019-10-30T17:54:41.000Z
lib/membrane_portaudio_plugin/source_native.ex
membraneframework/membrane-element-portaudio
b1622040281e790422e0be94092957e1ef8cc4c1
[ "Apache-2.0" ]
3
2018-10-15T07:58:25.000Z
2020-08-07T05:20:30.000Z
lib/membrane_portaudio_plugin/source_native.ex
membraneframework/membrane_portaudio_plugin
a7d2e44000b9e4ebdfa21cb3228b6a2638eca02a
[ "Apache-2.0" ]
1
2019-10-30T17:54:51.000Z
2019-10-30T17:54:51.000Z
defmodule Membrane.PortAudio.Source.Native do @moduledoc false use Unifex.Loader end
15
45
0.8
91ef4f6506d9c58c866c1a72297050f8e217ee58
3,550
ex
Elixir
lib/cadet/assessments/query.ex
jiachen247/cadet
4219acaa9ba1d3672b2220d9d1acb2cb671443a3
[ "MIT" ]
null
null
null
lib/cadet/assessments/query.ex
jiachen247/cadet
4219acaa9ba1d3672b2220d9d1acb2cb671443a3
[ "MIT" ]
null
null
null
lib/cadet/assessments/query.ex
jiachen247/cadet
4219acaa9ba1d3672b2220d9d1acb2cb671443a3
[ "MIT" ]
null
null
null
defmodule Cadet.Assessments.Query do @moduledoc """ Generate queries related to the Assessments context """ import Ecto.Query alias Cadet.Assessments.{Answer, Assessment, Question, Submission} @doc """ Returns a query with the following bindings: [submissions_with_xp_and_grade, answers] """ @spec ...
28.861789
96
0.671549
91efc5478c991bb76c627e8068960a598aab8336
7,313
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/regions.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/regions.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/regions.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...
60.941667
1,327
0.723506
91efecce7d358b1d445262210d5362f31fccbf3f
465
ex
Elixir
lib/mix/tasks/phx_up.del.wm.ex
henriquefernandez/phoenix_up
b549a2e464d858a090ffa7b0a4100a71561807df
[ "MIT" ]
27
2020-02-22T21:15:33.000Z
2021-12-25T07:31:14.000Z
lib/mix/tasks/phx_up.del.wm.ex
henriquefernandez/phoenix_up
b549a2e464d858a090ffa7b0a4100a71561807df
[ "MIT" ]
1
2020-03-07T12:14:12.000Z
2020-03-07T12:14:12.000Z
lib/mix/tasks/phx_up.del.wm.ex
henriquefernandez/phoenix_up
b549a2e464d858a090ffa7b0a4100a71561807df
[ "MIT" ]
2
2020-03-03T13:09:08.000Z
2020-07-24T05:07:45.000Z
defmodule Mix.Tasks.PhxUp.Del.Wm do @shortdoc false @moduledoc false use Mix.Task @doc false def run(io_puts \\ true, args) do if io_puts == true do IO.puts(""" _ __ __ _____ ___| |_ _ _ | | | _ | | . | |_'_| | | | __| | _|_|_|_,_|_____...
21.136364
52
0.475269
91eff7b8a6b696a74a58d2c50c236042b6514523
975
exs
Elixir
mix.exs
Aridjar/phoenix_1.4_socket_example
496cfc4e7a2cd37155e41f2bd3f11c614bca6c9a
[ "MIT" ]
null
null
null
mix.exs
Aridjar/phoenix_1.4_socket_example
496cfc4e7a2cd37155e41f2bd3f11c614bca6c9a
[ "MIT" ]
null
null
null
mix.exs
Aridjar/phoenix_1.4_socket_example
496cfc4e7a2cd37155e41f2bd3f11c614bca6c9a
[ "MIT" ]
null
null
null
defmodule Api.MixProject do use Mix.Project def project do [ app: :api, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: deps() ] end # C...
22.674419
57
0.577436
91f034eed6839d75fdf0247859bbf92ea6c83c00
1,323
exs
Elixir
game_server_umbrella/mix.exs
jburky/dara-dots
7a67de3d77448792435ccbf9fb8291e821fed4ac
[ "MIT" ]
6
2021-03-25T21:02:28.000Z
2022-02-10T08:11:28.000Z
game_server_umbrella/mix.exs
jburky/dara-dots
7a67de3d77448792435ccbf9fb8291e821fed4ac
[ "MIT" ]
20
2020-09-02T23:17:29.000Z
2022-03-27T22:54:20.000Z
game_server_umbrella/mix.exs
jburky/dara-dots
7a67de3d77448792435ccbf9fb8291e821fed4ac
[ "MIT" ]
2
2021-03-25T21:08:15.000Z
2021-09-25T19:11:36.000Z
defmodule GameServer.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.1.0", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), releases: [ game_server_umbrella: [ applications: [ game_ser...
24.5
84
0.61678