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
9791cfe62c209bcc63eaf94c99e73b3d6be8b306
3,843
ex
Elixir
lib/ex_minimatch/matcher.ex
radiospiel/ex_minimatch
919c51be5c41bca0e11fecf6da263591257f8b75
[ "MIT" ]
null
null
null
lib/ex_minimatch/matcher.ex
radiospiel/ex_minimatch
919c51be5c41bca0e11fecf6da263591257f8b75
[ "MIT" ]
null
null
null
lib/ex_minimatch/matcher.ex
radiospiel/ex_minimatch
919c51be5c41bca0e11fecf6da263591257f8b75
[ "MIT" ]
null
null
null
defmodule ExMinimatch.Matcher do import Dict, only: [merge: 2] import ExMinimatch.Helper @globstar ExMinimatcher.globstar @slash_split ExMinimatcher.slash_split def match_file(file, %ExMinimatcher{pattern: regex_parts_set, negate: negate, options: options}) do info {"match_file", file, regex_parts_set, ...
32.025
146
0.640645
9792082461e31207c91a585f93421dd507326f8d
4,784
ex
Elixir
utilities/opentelemetry_telemetry/lib/opentelemetry_telemetry.ex
andrewhr/opentelemetry-erlang-contrib
6591b28166bbcfd28c34838638570354e5bb62ce
[ "Apache-2.0" ]
null
null
null
utilities/opentelemetry_telemetry/lib/opentelemetry_telemetry.ex
andrewhr/opentelemetry-erlang-contrib
6591b28166bbcfd28c34838638570354e5bb62ce
[ "Apache-2.0" ]
null
null
null
utilities/opentelemetry_telemetry/lib/opentelemetry_telemetry.ex
andrewhr/opentelemetry-erlang-contrib
6591b28166bbcfd28c34838638570354e5bb62ce
[ "Apache-2.0" ]
null
null
null
defmodule OpentelemetryTelemetry do @moduledoc """ `OpentelemetryTelemetry` provides conveniences for leveraging `telemetry` events for `OpenTelemetry` bridge libraries. ## OpenTelemetry Contexts `opentelemetry` does not automatically set current span context when ending another span. Since `telemetry` ev...
41.241379
96
0.724498
97920f703d86a27a52ce7f0830fd3f7f427dd207
736
ex
Elixir
installer/templates/phx_new/lib/gettext.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
installer/templates/phx_new/lib/gettext.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
installer/templates/phx_new/lib/gettext.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
1
2020-02-08T16:23:00.000Z
2020-02-08T16:23:00.000Z
defmodule <%= web_namespace %>.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import <%= web_namespace %>.Gettext # Simple translation ...
29.44
72
0.664402
97922422fb198bdccf84950f701762426cad452e
1,749
ex
Elixir
lib/stripe/relay/order_return.ex
mmmries/stripity_stripe
7bfaa2316f24a86fbbfc3cf140b1caff05f5ef9d
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/relay/order_return.ex
mmmries/stripity_stripe
7bfaa2316f24a86fbbfc3cf140b1caff05f5ef9d
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/relay/order_return.ex
mmmries/stripity_stripe
7bfaa2316f24a86fbbfc3cf140b1caff05f5ef9d
[ "BSD-3-Clause" ]
1
2021-12-01T21:49:27.000Z
2021-12-01T21:49:27.000Z
defmodule Stripe.OrderReturn do @moduledoc """ Work with Stripe order returns. Stripe API reference: https://stripe.com/docs/api#order_return_object """ use Stripe.Entity import Stripe.Request @type t :: %__MODULE__{ id: Stripe.id(), object: String.t(), amount: pos_integer...
25.720588
94
0.553459
979279d183174b4ac15c1961b86571cf3c1dd4b7
63,513
ex
Elixir
lib/ecto/query.ex
Goose97/forked-ecto
83d3194ef8616ba47a11e111e23e0dfcfd52c7eb
[ "Apache-2.0" ]
null
null
null
lib/ecto/query.ex
Goose97/forked-ecto
83d3194ef8616ba47a11e111e23e0dfcfd52c7eb
[ "Apache-2.0" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
lib/ecto/query.ex
Goose97/forked-ecto
83d3194ef8616ba47a11e111e23e0dfcfd52c7eb
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.SubQuery do @moduledoc """ A struct representing subqueries. See `Ecto.Query.subquery/2` for more information. """ defstruct [:query, :params, :select, :cache] end defmodule Ecto.Query do @moduledoc ~S""" Provides the Query DSL. Queries are used to retrieve and manipulate data from a r...
34.294276
139
0.675751
9792943c1b03414e28057cc56d6b7174ced5423c
1,962
exs
Elixir
test/integrations/tracked_fields_test.exs
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
122
2017-11-24T11:28:17.000Z
2022-02-25T17:05:20.000Z
test/integrations/tracked_fields_test.exs
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
6
2018-01-11T22:07:44.000Z
2021-11-21T15:41:42.000Z
test/integrations/tracked_fields_test.exs
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
25
2018-04-01T02:43:21.000Z
2022-02-15T03:22:54.000Z
defmodule YummyWeb.Integrations.TrackedFieldsTest do use YummyWeb.IntegrationCase, async: false setup do user = insert(:user) {:ok, %{user: user}} end describe "tracked fields are updated" do test "with first sign in", %{session: session, user: user} do session |> user_sign_in(user: user) ...
30.65625
80
0.624873
9792a2840804f3ad2013d267531f3d16144b7038
491
ex
Elixir
lib/mazaryn_web/views/error_view.ex
mazarynxyz/Mazaryn
b84d08d236cbcd356c8b7ec6215c5c0b411b9617
[ "Apache-2.0" ]
null
null
null
lib/mazaryn_web/views/error_view.ex
mazarynxyz/Mazaryn
b84d08d236cbcd356c8b7ec6215c5c0b411b9617
[ "Apache-2.0" ]
null
null
null
lib/mazaryn_web/views/error_view.ex
mazarynxyz/Mazaryn
b84d08d236cbcd356c8b7ec6215c5c0b411b9617
[ "Apache-2.0" ]
null
null
null
defmodule MazarynWeb.ErrorView do use MazarynWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name...
28.882353
61
0.735234
9792b13c569d909d4b2cd40e959b81f44fbfd7ab
1,992
ex
Elixir
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/model/more_hours_type.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/model/more_hours_type.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/model/more_hours_type.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.584906
144
0.731928
9792b9422d50fac7b153c586f09d7db6e1c945c9
3,853
ex
Elixir
lib/ecto_crdt_types/changeset.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
8
2018-09-20T13:05:16.000Z
2021-09-22T08:40:40.000Z
lib/ecto_crdt_types/changeset.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
lib/ecto_crdt_types/changeset.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
defmodule EctoCrdtTypes.Changeset do alias Ecto.Changeset @spec cast_crdt( Ecto.Changeset.t(), [String.t() | atom], Keyword.t() ) :: Ecto.Changeset.t() | no_return def cast_crdt(changeset, crdt_fields, opts \\ []) def cast_crdt(%Changeset{data: data, types: types}, _crdt_...
25.019481
101
0.547625
9792b9ddb86ec6cae4a6efe517f5d14bfb914f4c
2,123
ex
Elixir
s3/lib/s3/sign.ex
Disaster-Zone/photos
b8ba96a3e1f738c9e7571fda7553300f6ef0165a
[ "MIT" ]
null
null
null
s3/lib/s3/sign.ex
Disaster-Zone/photos
b8ba96a3e1f738c9e7571fda7553300f6ef0165a
[ "MIT" ]
null
null
null
s3/lib/s3/sign.ex
Disaster-Zone/photos
b8ba96a3e1f738c9e7571fda7553300f6ef0165a
[ "MIT" ]
null
null
null
defmodule S3.Sign do def sign_url(http_method, url, region, service) do sign( Application.fetch_env!(:ex_aws, :access_key_id), Application.fetch_env!(:ex_aws, :secret_access_key), http_method, url, region, service, Map.new(), current_time(), "" ) end ...
26.209877
94
0.601978
9792d32f795f62ceca94c0464567ae2ed3e52c08
2,176
exs
Elixir
mix.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
mix.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
mix.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Mixfile do use Mix.Project def project do [ app: :ex_oneroster, version: "0.0.1", elixir: "~> 1.7.3", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), ...
32
121
0.578585
9792f1fef783031e728f5d846948fc933c2be772
1,434
ex
Elixir
lib/fusion_jwt_authentication/api/jwt.ex
thomas9911/fusion_jwt_authentication
63502d512074a3d906ecb0cb2adb8ac27223e8a8
[ "MIT" ]
null
null
null
lib/fusion_jwt_authentication/api/jwt.ex
thomas9911/fusion_jwt_authentication
63502d512074a3d906ecb0cb2adb8ac27223e8a8
[ "MIT" ]
null
null
null
lib/fusion_jwt_authentication/api/jwt.ex
thomas9911/fusion_jwt_authentication
63502d512074a3d906ecb0cb2adb8ac27223e8a8
[ "MIT" ]
null
null
null
defmodule FusionJWTAuthentication.API.JWT do @moduledoc """ Handles api request to FusionAuth jwt endpoints """ alias HTTPoison.{Error, Response} @typedoc """ A hex-encoded UUID string. """ @type uuid :: <<_::288>> @spec public_key(uuid) :: nil | String.t() def public_key(client_id) do case re...
26.555556
89
0.621339
9792f563bb497384b749c197dee652ba0c579398
2,030
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/alias_ip_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/alias_ip_range.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/alias_ip_range.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.6
391
0.737438
979348e9cb23a5157b74550b011f3774ee707d1b
1,233
ex
Elixir
lib/string/chars.ex
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
8
2020-02-06T17:38:02.000Z
2022-01-01T01:41:07.000Z
lib/string/chars.ex
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
2
2019-06-28T03:40:09.000Z
2019-06-28T04:10:34.000Z
lib/string/chars.ex
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
2
2020-01-18T22:27:17.000Z
2021-12-29T17:21:57.000Z
defimpl String.Chars, for: Nacha.Records.EntryDetail do def to_string(nil), do: "" def to_string(record), do: Nacha.Records.EntryDetail.to_string(record) end defimpl String.Chars, for: Nacha.Records.Addendum do def to_string(nil), do: "" def to_string(record), do: Nacha.Records.Addendum.to_string(record) end ...
30.825
73
0.751014
9793525d009ff450d3be9e5738ed5ff214c30cd2
1,202
ex
Elixir
lib/spandex_ecto/telemetry_adapter.ex
octosteve/spandex_ecto
59a38de6e37d5d328be79c2ab2c5a3fae92336e2
[ "MIT" ]
null
null
null
lib/spandex_ecto/telemetry_adapter.ex
octosteve/spandex_ecto
59a38de6e37d5d328be79c2ab2c5a3fae92336e2
[ "MIT" ]
2
2022-01-19T18:39:23.000Z
2022-01-20T04:02:53.000Z
lib/spandex_ecto/telemetry_adapter.ex
ufirstgroup/spandex_ecto
6fb338fc6bc43d8d691df80281dca4aad72b27df
[ "MIT" ]
null
null
null
defmodule SpandexEcto.TelemetryAdapter do @moduledoc """ This module provides event handler functions for telemetry """ alias SpandexEcto.EctoLogger # this is for ecto_sql 3.0.x def handle_event([_app_name, repo_name, :query], total_time, log_entry, _config) when is_integer(total_time) do EctoLogger....
32.486486
113
0.71381
97937105d393c12c8cc2d4edd05b85a4bf817470
107
exs
Elixir
config/config.exs
narze/profile-updater
a15c05bc511d634be14bd017c4599c8cce400c4f
[ "MIT" ]
11
2021-09-01T04:12:54.000Z
2022-02-09T00:33:23.000Z
config/config.exs
narze/profile-updater
a15c05bc511d634be14bd017c4599c8cce400c4f
[ "MIT" ]
1
2021-10-05T04:27:05.000Z
2021-10-05T04:27:05.000Z
config/config.exs
narze/profile-updater
a15c05bc511d634be14bd017c4599c8cce400c4f
[ "MIT" ]
null
null
null
import Config config :tentacat, :extra_headers, [{"Accept", "application/vnd.github.mercy-preview+json"}]
26.75
91
0.757009
9793aeb1523e20d818c8c4c0911cf03724a408e0
2,671
exs
Elixir
test/html_formatter_test.exs
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
115
2017-08-01T15:13:13.000Z
2020-08-20T13:29:38.000Z
test/html_formatter_test.exs
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
24
2017-08-01T13:33:47.000Z
2020-09-25T10:12:58.000Z
test/html_formatter_test.exs
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
18
2017-10-05T17:14:13.000Z
2020-09-01T10:46:54.000Z
defmodule MakeupTest.Lexer.HTMLFormatterTest do use ExUnit.Case, async: true import ExUnitProperties alias Makeup.Formatters.HTML.HTMLFormatter test "edge case - character with value = 128" do # Handles an edge case in the HTML formatter (already fixed), # in which the case c == 128 wasn't handled. ...
31.423529
77
0.562711
9793bd4df05adbc18c564f88e38fd9bdfb401818
1,061
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/import_file.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/import_file.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/import_file.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...
27.921053
79
0.742696
9793c41468d8d85ef4b9e78f3517eb91b9262ffa
24,348
exs
Elixir
lib/elixir/test/elixir/stream_test.exs
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
duggiefresh/elixir
29a7e87a364180aedd0426a7f6ed986d4661b42e
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule StreamTest do use ExUnit.Case, async: true defmodule PDict do defstruct [] defimpl Collectable do def into(struct) do {struct, fn _, {:cont, x} -> Process.put(:stream_cont, [x|Process.get(:stream_cont)]) _...
32.947226
109
0.55446
9793f5bc240bb76cd8e18cfcf05d116daa8ad40a
9,375
ex
Elixir
lib/elixir/lib/keyword.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A keyword is a list of tuples where the first element of the tuple is an atom and the second element can be any value. A keyword may have duplicated keys, so it is not strictly a dictionary. However most of the functions in this module allows it to behave exactly as a ...
22.810219
76
0.578773
9794104d9470e0b7920986ee7a339e2f5fd8d2e9
15,309
ex
Elixir
lib/csvto/reader.ex
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
5
2016-12-27T03:49:49.000Z
2019-09-20T12:05:33.000Z
lib/csvto/reader.ex
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
lib/csvto/reader.ex
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
defmodule Csvto.Reader do @type column_def :: nil | Csvto.Field.t @type context :: %{path: String.t, columns: [column_def], column_count: integer, aggregate_column: column_def, schema: Csvto.Schema.t, fields: %{String.t => Csvto.Field.t}, aggregate_fields: %{String.t => Csvto.Field.t}, unspecified: [Csvto.Field.t...
37.8
265
0.650663
9794166abaf76fc2602adeb68f119c21858fa13e
1,057
ex
Elixir
lib/only_codes/application.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
281
2021-01-15T14:59:38.000Z
2022-01-06T23:13:33.000Z
lib/only_codes/application.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
12
2021-01-15T15:24:54.000Z
2021-07-31T17:36:39.000Z
lib/only_codes/application.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
11
2021-01-15T17:46:59.000Z
2021-09-22T13:24:19.000Z
defmodule OnlyCodes.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository OnlyCodes.Repo, # Start the Telemetry supervisor Onl...
29.361111
67
0.707663
97941a8d27ce7f7a683946980617833035ea7a40
2,406
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_rpc_status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_rpc_status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_rpc_status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.396226
427
0.732336
97942d3c3b14a63be6f28e892ad97510ed302ff7
1,552
exs
Elixir
mix.exs
jungsoft/rajska
97cfbf61a2b30837c0d98a987bd429fcc1160a24
[ "MIT" ]
24
2020-04-22T18:39:53.000Z
2022-01-07T22:11:36.000Z
mix.exs
jungsoft/rajska
97cfbf61a2b30837c0d98a987bd429fcc1160a24
[ "MIT" ]
10
2020-05-11T12:37:15.000Z
2021-11-11T01:47:13.000Z
mix.exs
jungsoft/rajska
97cfbf61a2b30837c0d98a987bd429fcc1160a24
[ "MIT" ]
5
2020-05-15T20:14:44.000Z
2021-06-04T13:17:11.000Z
defmodule Rajska.MixProject do use Mix.Project @github_url "https://github.com/jungsoft/rajska" def project do [ app: :rajska, version: "1.3.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), name: "Rajska", source_url: @github_url, descr...
22.171429
70
0.521263
979444aa38e1ea06fd485d9ca37b9b3520bed6b5
714
exs
Elixir
test/covid19_questionnaire/data/store_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
3
2020-04-08T19:15:22.000Z
2020-05-24T22:37:54.000Z
test/covid19_questionnaire/data/store_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
10
2020-04-05T17:31:49.000Z
2020-06-10T11:09:17.000Z
test/covid19_questionnaire/data/store_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
null
null
null
defmodule Covid19Questionnaire.Data.StoreTest do use ExUnit.Case, async: true alias Covid19Questionnaire.Data.{Journal, Store, Token} alias Covid19QuestionnaireWeb.Schemas.{Metadata, Questionnaire} test "stores data" do questionnaire = %Questionnaire{ metadata: %Metadata{} } {:ok, %{date: to...
26.444444
65
0.665266
979444b25e29eb049ef78c01d196e9f96ce0f13b
3,166
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/cohort.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/cohort.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/cohort.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
59.735849
1,091
0.749526
97947a2025c85cf3f38a0257d295305950e5c79b
3,646
ex
Elixir
lib/oauth_xyz/model/transaction_request.ex
ritou/elixir-oauth-xyz
110d4eadb16fa5c106ae0f6fad49c0424bdbf477
[ "MIT" ]
2
2020-04-22T13:22:25.000Z
2020-12-01T12:01:30.000Z
lib/oauth_xyz/model/transaction_request.ex
ritou/elixir-oauth-xyz
110d4eadb16fa5c106ae0f6fad49c0424bdbf477
[ "MIT" ]
3
2019-12-05T01:32:09.000Z
2019-12-09T01:15:32.000Z
lib/oauth_xyz/model/transaction_request.ex
ritou/elixir-oauth-xyz-web
110d4eadb16fa5c106ae0f6fad49c0424bdbf477
[ "MIT" ]
null
null
null
defmodule OAuthXYZ.Model.TransactionRequest do @moduledoc """ Request Handling Module. ``` # Transaction request { "resources": [ { "actions": [ "read", "write", "dolphin" ], "locations": [ "https:...
26.230216
93
0.565551
97947b8f1bb9f78efdc2d61e5d43b2d3fe1452d0
148
exs
Elixir
test/rfx/ops/filesys/mv_dir_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
31
2021-05-29T22:57:04.000Z
2022-03-13T16:24:57.000Z
test/rfx/ops/filesys/mv_dir_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-04T23:34:38.000Z
2021-07-16T16:01:20.000Z
test/rfx/ops/filesys/mv_dir_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-11T13:10:04.000Z
2022-02-11T13:33:16.000Z
defmodule Rfx.Ops.Filesys.MvDirTest do use ExUnit.Case describe "test block" do test "always true" do assert true end end end
13.454545
38
0.675676
9794ad5d7cdf33f26f91bf10ff47cd1f5185304d
513
exs
Elixir
priv/repo/migrations/20170801170201_create_op_stocks.exs
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
null
null
null
priv/repo/migrations/20170801170201_create_op_stocks.exs
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
2
2020-12-22T12:30:58.000Z
2021-05-19T10:07:26.000Z
priv/repo/migrations/20170801170201_create_op_stocks.exs
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
null
null
null
defmodule Mgp.Repo.Migrations.CreateOpStocks do use Ecto.Migration def change do create table(:op_stocks, primary_key: false) do add(:year, :integer, primary_key: true) add(:location, :string, primary_key: true) add(:op_qty, :integer) add(:product_id, references(:products, on_delete: :...
27
81
0.670565
9794bae2867f24fbbd0220bca6c3d048c2039df8
696
ex
Elixir
priv/templates/phx.gen.live/modal_component.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
priv/templates/phx.gen.live/modal_component.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
priv/templates/phx.gen.live/modal_component.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule <%= inspect context.web_module %>.ModalComponent do use <%= inspect context.web_module %>, :live_component @impl true def render(assigns) do ~H""" <div id={@id} class="phx-modal" phx-capture-click="close" phx-window-keydown="close" phx-key="escape" phx-target...
24
83
0.596264
9794d53890707f004bdbf9e916747fbd0637dd8d
160,726
ex
Elixir
data/auto_generated/video/5664efe2e6b29770db42231be814d95d.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
data/auto_generated/video/5664efe2e6b29770db42231be814d95d.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
data/auto_generated/video/5664efe2e6b29770db42231be814d95d.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule(Data.AutoGenerated.Video.Rendered_5664efe2e6b29770db42231be814d95d) do @moduledoc "#{"Tarpenbekradweg (FR12): entlang der Tarpenbek nach Garstedt"} AUTOGENERATED. To update this file, run mix velo.videos.generate. See Video.Rendered for functionality. " @behaviour Video.Rendered @impl Video.Ren...
79.646184
98
0.702649
9794e3334896f4c18718f79ddd6f80de822e7157
28
ex
Elixir
lib/structurez.ex
hamiltop/structurez
350229d5b2d845795d552db3c1608b1985144113
[ "MIT" ]
12
2015-01-18T10:48:10.000Z
2020-09-28T01:59:57.000Z
lib/structurez.ex
hamiltop/structurez
350229d5b2d845795d552db3c1608b1985144113
[ "MIT" ]
1
2015-01-15T10:05:37.000Z
2015-01-18T05:18:10.000Z
lib/structurez.ex
hamiltop/structurez
350229d5b2d845795d552db3c1608b1985144113
[ "MIT" ]
null
null
null
defmodule Structurez do end
9.333333
23
0.857143
9794e75ee698b678865365fbc6e9df195d262c39
2,077
exs
Elixir
test/oled/display/impl/ssd_1306/put_pixel_test.exs
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
11
2019-12-06T10:32:33.000Z
2022-02-03T19:28:06.000Z
test/oled/display/impl/ssd_1306/put_pixel_test.exs
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
7
2020-03-04T19:36:07.000Z
2021-12-26T01:23:36.000Z
test/oled/display/impl/ssd_1306/put_pixel_test.exs
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
1
2022-01-12T05:04:53.000Z
2022-01-12T05:04:53.000Z
defmodule OLED.Display.Impl.SSD1306.PutPixelTest do use ExUnit.Case alias OLED.Display.Impl.SSD1306.Draw import OLED.BufferTestHelper, only: [build_state: 2, ascii_render: 1] @w 8 @h 8 test "draw pixel" do assert build_state(@w, @h) |> Draw.put_pixel(1, 1, []) |> Draw.put_pixel...
23.337079
71
0.258065
9794ed767f4546c2620db58f3f44de3e7eb47f78
1,082
ex
Elixir
lib/docker_build/build.ex
chazsconi/elixir_docker_build
1906a6cf1b4bfab5b29c27d1ddd8eeb7814cf250
[ "MIT" ]
2
2020-11-24T08:01:27.000Z
2021-04-07T14:59:46.000Z
lib/docker_build/build.ex
chazsconi/elixir_docker_build
1906a6cf1b4bfab5b29c27d1ddd8eeb7814cf250
[ "MIT" ]
null
null
null
lib/docker_build/build.ex
chazsconi/elixir_docker_build
1906a6cf1b4bfab5b29c27d1ddd8eeb7814cf250
[ "MIT" ]
null
null
null
defmodule DockerBuild.Build do @moduledoc "Generates and builds the Dockerfile" alias DockerBuild.DockerfileGenerator alias DockerBuild.Dockerfile alias DockerBuild.Config require Logger @doc "Generates the Dockerfile and .dockerignore and then builds the docker image" def run(opts) do config = Confi...
27.74359
87
0.720887
9795000b001df30116e22f1f873203e0f086a0a5
521
exs
Elixir
test/pipe_to_test.exs
icehaunter/pipe_to
52f7c90368edf691cba07031e256fc50d4e1875b
[ "Apache-2.0" ]
86
2016-09-09T19:05:25.000Z
2021-09-25T05:28:43.000Z
test/pipe_to_test.exs
icehaunter/pipe_to
52f7c90368edf691cba07031e256fc50d4e1875b
[ "Apache-2.0" ]
5
2016-09-19T13:44:08.000Z
2020-07-01T10:57:53.000Z
test/pipe_to_test.exs
icehaunter/pipe_to
52f7c90368edf691cba07031e256fc50d4e1875b
[ "Apache-2.0" ]
2
2019-09-03T13:46:47.000Z
2020-03-13T11:56:56.000Z
defmodule PipeToTest do use ExUnit.Case import PipeTo doctest PipeTo test "using will import :~> operator" do result = 1 ~> Enum.at([1, 2, 3], _) assert result == 2 end test "show work when placeholder partially exist" do result = ~w(a b c)a ~> Enum.zip(1..3) ~> Enum.reduce(%{}, fn({ke...
23.681818
54
0.518234
97950bcd50ca67904afc235ea3607a0b7f9f2ad8
3,911
ex
Elixir
lib/mongo/auth/scram.ex
ni-kismet/mongodb
cf6d99f28c370489a65b094db5c984c000f1afb8
[ "Apache-2.0" ]
null
null
null
lib/mongo/auth/scram.ex
ni-kismet/mongodb
cf6d99f28c370489a65b094db5c984c000f1afb8
[ "Apache-2.0" ]
1
2021-04-09T12:08:48.000Z
2021-04-09T12:09:40.000Z
lib/mongo/auth/scram.ex
ni-kismet/mongodb
cf6d99f28c370489a65b094db5c984c000f1afb8
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Auth.SCRAM do @moduledoc false import Mongo.BinaryUtils import Mongo.Protocol.Utils import Bitwise def auth({username, password}, s) do # TODO: Wrap and log error nonce = nonce() first_bare = first_bare(username, nonce) payload = first_message(first_bare) message = [saslS...
30.554688
99
0.627717
97952cc3b7e567488bd973deb8b892cc3349627e
1,217
ex
Elixir
web/views/error_helpers.ex
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
defmodule Book.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 if error = form.errors[field] do content_tag :span, translate_error(error), cla...
29.682927
70
0.664749
979538659fda17963263d751c06a8707dcd2c3d3
309
exs
Elixir
apps/re_integrations/priv/repo/migrations/20190713045439_create_routific_job_queue.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_integrations/priv/repo/migrations/20190713045439_create_routific_job_queue.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_integrations/priv/repo/migrations/20190713045439_create_routific_job_queue.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReIntegrations.Repo.Migrations.CreateRoutificJobQueue do use Ecto.Migration alias EctoJob.Migrations.CreateJobTable def up do CreateJobTable.up("routific_jobs", prefix: "re_integrations") end def down do CreateJobTable.down("routific_jobs", prefix: "re_integrations") end end
22.071429
67
0.776699
97958923a059d5115597b6ea532dbe857b87e5c3
205
ex
Elixir
lib/quotes.ex
aforward/quotes
7f040ff23bf367ba71f160750efe1203e4ab12bf
[ "MIT" ]
null
null
null
lib/quotes.ex
aforward/quotes
7f040ff23bf367ba71f160750efe1203e4ab12bf
[ "MIT" ]
null
null
null
lib/quotes.ex
aforward/quotes
7f040ff23bf367ba71f160750efe1203e4ab12bf
[ "MIT" ]
null
null
null
defmodule Quotes do @moduledoc""" A client library for interacting with the Quotes API. """ defdelegate today(category \\ nil), to: Quotes.Client defdelegate categories(), to: Quotes.Client end
22.777778
55
0.726829
9795b831f5b3909bb9e29dc5ee6627832cdbb792
5,322
ex
Elixir
lib/hulaaki/connection.ex
zoltanmaric/hulaaki
95d0ad4256757b9e1008e9718b04601f611e871f
[ "MIT" ]
131
2015-04-19T19:20:09.000Z
2021-02-19T21:03:33.000Z
lib/hulaaki/connection.ex
zoltanmaric/hulaaki
95d0ad4256757b9e1008e9718b04601f611e871f
[ "MIT" ]
33
2015-07-11T15:05:24.000Z
2020-03-30T21:09:41.000Z
lib/hulaaki/connection.ex
zoltanmaric/hulaaki
95d0ad4256757b9e1008e9718b04601f611e871f
[ "MIT" ]
36
2015-07-03T15:54:52.000Z
2019-07-02T20:47:24.000Z
defmodule Hulaaki.Connection do use GenServer alias Hulaaki.Message alias Hulaaki.Packet @moduledoc """ Provides a GenServer process that is responsible for sending and receving message to/from an MQTT broker over a tcp connection """ @doc """ Start the Genserver process with a pid that intends to ...
26.088235
88
0.655956
9795d1957a65c3d25deec7637e9604bb869a5490
849
ex
Elixir
apps/web_server/lib/web_server/routes.ex
anyex-project/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
12
2019-02-21T21:29:08.000Z
2019-05-14T11:41:10.000Z
apps/web_server/lib/web_server/routes.ex
Hentioe/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
18
2019-02-05T17:19:33.000Z
2019-03-13T13:38:08.000Z
apps/web_server/lib/web_server/routes.ex
Hentioe/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
null
null
null
defmodule WebServer.Routes do @moduledoc false use WebServer.Router, :default alias WebServer.Routes.{ ArticleRouter, CategoryRouter, TagRouter, TokenRouter, CommentRouter, TweetRouter, LinkRouter, CustomRouter } get "/" do conn |> redirect("/index.html") end get "/...
20.214286
56
0.674912
9795f1390b895bfbb0b7ad4e03b7d4324103b70b
12,417
ex
Elixir
deps/phoenix/lib/phoenix/channel.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/channel.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/channel.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
defmodule Phoenix.Channel do @moduledoc """ Defines a Phoenix Channel. Channels provide a means for bidirectional communication from clients that integrate with the `Phoenix.PubSub` layer for soft-realtime functionality. ## Topics & Callbacks Everytime you join a channel, you need to choose which particu...
34.206612
112
0.672143
979603945b36a3eba13e72ef1954cf45efd09223
2,072
ex
Elixir
web/models/shout_handler.ex
bagilevi/fluff-web-ui
800967961ecee0b4f7d8b846ccd0507e1000a719
[ "MIT" ]
1
2017-10-31T17:06:35.000Z
2017-10-31T17:06:35.000Z
web/models/shout_handler.ex
bagilevi/fluff-web-ui
800967961ecee0b4f7d8b846ccd0507e1000a719
[ "MIT" ]
null
null
null
web/models/shout_handler.ex
bagilevi/fluff-web-ui
800967961ecee0b4f7d8b846ccd0507e1000a719
[ "MIT" ]
null
null
null
defmodule Fluff.ShoutHandler do alias Fluff.Run alias Fluff.RunTracker alias Fluff.Failure alias Fluff.CodeSnippet def handle(payload) do shout = Fluff.Shout.parse(payload) case shout.type do "start_run" -> Fluff.Endpoint.broadcast!("project:1", "started", %{}) push_stats(%{}) ...
26.227848
101
0.608591
979645895e1eeda33a948e2a64f18b4b3020949d
472
exs
Elixir
test/crit_biz/view_models/setup/bulk_procedure_vm_1_form_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
test/crit_biz/view_models/setup/bulk_procedure_vm_1_form_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
test/crit_biz/view_models/setup/bulk_procedure_vm_1_form_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritBiz.ViewModels.Setup.BulkProcedureFormTest do use Crit.DataCase alias CritBiz.ViewModels.Setup, as: VM alias Ecto.Changeset test "the starting changesets" do [first | rest] = VM.BulkProcedure.fresh_form_changesets() assert length([first|rest]) == 10 first |> assert_shape(%Change...
23.6
61
0.618644
979650954e022ca0c3400ab1cc7d8d38e9a8e0a2
1,385
ex
Elixir
server/lib/coyote_web/channels/user_socket.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
null
null
null
server/lib/coyote_web/channels/user_socket.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
3
2017-07-08T20:12:49.000Z
2017-11-03T11:51:02.000Z
server/lib/coyote_web/channels/user_socket.ex
Spectory/coyote
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
1
2017-06-16T18:29:44.000Z
2017-06-16T18:29:44.000Z
defmodule CoyoteWeb.UserSocket do require Logger use Phoenix.Socket ## Channels channel "*", CoyoteWeb.UserChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket, timeout: 45_000 # transport :longpoll, Phoenix.Transports.LongPoll @doc """ Establishes a socket connection. If ...
28.265306
83
0.690253
9796560333ab4e67760ceb55d85ac8c5eb582105
2,474
exs
Elixir
config/prod.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
config/prod.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
config/prod.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
37.484848
80
0.723929
97966a93574197b2a87c0174873217c73f3700a4
1,196
ex
Elixir
lib/assert_value/ex_unit_formatter.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
79
2017-10-25T11:06:32.000Z
2021-08-16T08:55:19.000Z
lib/assert_value/ex_unit_formatter.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
11
2017-11-15T17:09:42.000Z
2022-03-18T10:52:19.000Z
lib/assert_value/ex_unit_formatter.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
6
2017-05-18T14:52:14.000Z
2022-03-18T20:02:39.000Z
defmodule AssertValue.ExUnitFormatter do @moduledoc false # This module is used to suppress and capture ExUnit's output while waiting # for user input on assert_value diffs. After user's answer we print all # collected output. # TODO: User may use custom formatter(s) that even don't write to stdout. But ...
36.242424
79
0.738294
97966d8019ea038681b32672b0518e226ccf6c31
1,191
ex
Elixir
src/hello_world_api/lib/hello_world_api_web/channels/user_socket.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/lib/hello_world_api_web/channels/user_socket.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/lib/hello_world_api_web/channels/user_socket.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
defmodule HelloWorldApiWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HelloWorldApiWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to ...
31.342105
88
0.707809
97968ec551eb29e0bf5f499841fb0e3f87cd4503
1,160
ex
Elixir
2021/elixir/apps/day5/lib/part2.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day5/lib/part2.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day5/lib/part2.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule Day5Part2 do @moduledoc """ Day5 - Part2 """ def solve(input) do input |> String.split("\n", trim: true) |> Enum.reduce(%{}, fn line, points -> add_points(points, line) end) |> Enum.count(fn {_point, count} -> count >= 2 end) end defp add_points(points, line) do line |> p...
24.166667
72
0.534483
97969fd9dab012524834fc4711a3ffe53f76ea21
830
ex
Elixir
lib/mix/tasks/wrn.server.ex
CityBaseInc/warren
0e2198a0065c8a77edf83492f516c7889aa57d97
[ "MIT" ]
null
null
null
lib/mix/tasks/wrn.server.ex
CityBaseInc/warren
0e2198a0065c8a77edf83492f516c7889aa57d97
[ "MIT" ]
null
null
null
lib/mix/tasks/wrn.server.ex
CityBaseInc/warren
0e2198a0065c8a77edf83492f516c7889aa57d97
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Wrn.Server do use Mix.Task @shortdoc "Starts applications and their servers" @moduledoc """ Starts the application by configuring all endpoints servers to run. ## Command line options This task accepts the same command-line arguments as `run`. For additional information, refer to t...
23.714286
74
0.701205
9796a099509b5d1279dbf43bacceb52641825a98
1,054
exs
Elixir
test/oli_web/controllers/help_controller_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli_web/controllers/help_controller_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli_web/controllers/help_controller_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule OliWeb.HelpControllerTest do use OliWeb.ConnCase alias Oli.Test.MockHTTP import Mox describe "request_help" do test "send help request", %{conn: conn} do expect_recaptcha_http_post() freshdesk_url = System.get_env("FRESHDESK_API_URL", "example.edu") MockHTTP |> expect(...
25.095238
97
0.574004
9796b5cca3f6364d452ee786a9f9d45fd436c34a
10,071
ex
Elixir
lib/hound/helpers/element.ex
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
lib/hound/helpers/element.ex
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
lib/hound/helpers/element.ex
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
defmodule Hound.Helpers.Element do @moduledoc "Functions to work with an element" import Hound.RequestUtils alias Hound.Helpers.Page @doc """ Gets visible text of element. Requires the element. element = find_element(:css, ".example") visible_text(element) You can also directly pass the sele...
30.798165
123
0.682653
9796bb82867724bfeaf0c2f02a60d829d0f32b2f
1,099
ex
Elixir
test/support/channel_case.ex
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
test/support/channel_case.ex
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
test/support/channel_case.ex
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
defmodule PfkitWeb.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 interacts wit...
26.804878
67
0.724295
97970ced67f86c64d3bdd97e18b18257075f0024
1,209
ex
Elixir
lib/kaffe/group_member/worker/worker_supervisor.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
lib/kaffe/group_member/worker/worker_supervisor.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
lib/kaffe/group_member/worker/worker_supervisor.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
defmodule Kaffe.WorkerSupervisor do @moduledoc """ Supervise the individual workers. """ use Supervisor require Logger def start_link(subscriber_name) do Supervisor.start_link(__MODULE__, subscriber_name, name: name(subscriber_name)) end def start_worker_manager(pid, subscriber_name) do Supe...
28.785714
83
0.736146
9797591fbcb883a4791fe55369b18ab7e36a2abf
1,981
ex
Elixir
lib/astarte_pairing_api_web/controllers/fallback_controller.ex
rbino/astarte_pairing_api
ca7899b0a0a57527975bc9bf92d2b5ec031a7ec9
[ "Apache-2.0" ]
null
null
null
lib/astarte_pairing_api_web/controllers/fallback_controller.ex
rbino/astarte_pairing_api
ca7899b0a0a57527975bc9bf92d2b5ec031a7ec9
[ "Apache-2.0" ]
null
null
null
lib/astarte_pairing_api_web/controllers/fallback_controller.ex
rbino/astarte_pairing_api
ca7899b0a0a57527975bc9bf92d2b5ec031a7ec9
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
28.3
74
0.700151
979762d3a430d5e64720f6b0e43f06c377bcad23
30
exs
Elixir
test/test_helper.exs
jonnystorm/maze
71f6c220df18921625ff0d588f91acd0bb46d3fb
[ "Unlicense" ]
null
null
null
test/test_helper.exs
jonnystorm/maze
71f6c220df18921625ff0d588f91acd0bb46d3fb
[ "Unlicense" ]
null
null
null
test/test_helper.exs
jonnystorm/maze
71f6c220df18921625ff0d588f91acd0bb46d3fb
[ "Unlicense" ]
null
null
null
ExUnit.start() Amrita.start()
10
14
0.733333
9797703eea1d979be63356fdd52efdbb260530b6
365
ex
Elixir
lib/logjam_agent/plug/finalize.ex
xing/exbeetle
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
3
2018-02-02T14:38:21.000Z
2018-02-05T17:33:35.000Z
lib/logjam_agent/plug/finalize.ex
xing/elixir_logjam_agent
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
null
null
null
lib/logjam_agent/plug/finalize.ex
xing/elixir_logjam_agent
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
null
null
null
defmodule LogjamAgent.Plug.Finalize do alias Plug.Conn alias LogjamAgent.{Metadata, Buffer} def init(opts), do: opts def call(conn, _) do Conn.register_before_send(conn, fn conn -> logjam_request_id = Metadata.current_request_id if(logjam_request_id, do: Buffer.finish_request(logjam_request_id...
24.333333
85
0.728767
9797e00f4b516ec486ed466b8ca38cc210c5a26e
186
exs
Elixir
priv/repo/migrations/20190402145357_remove_screen_height_from_pageviews.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
priv/repo/migrations/20190402145357_remove_screen_height_from_pageviews.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
priv/repo/migrations/20190402145357_remove_screen_height_from_pageviews.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Repo.Migrations.RemoveScreenHeightFromPageviews do use Ecto.Migration def change do alter table(:pageviews) do remove :screen_height end end end
18.6
70
0.758065
9797fdf10fdc3d2c9840c1fb3d209285d817ac88
1,747
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_replies.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_replies.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_replies.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...
36.395833
224
0.755009
97983eee80c3222b799c418888403bc0842c582e
2,123
exs
Elixir
tests/capture_test.exs
keithalpichi/practical-elixir
d9ad1f4c18a75179a893201706d30a0f4eee19bb
[ "MIT" ]
4
2018-12-13T17:01:10.000Z
2021-09-24T02:16:08.000Z
tests/capture_test.exs
keithalpichi/practical-elixir
d9ad1f4c18a75179a893201706d30a0f4eee19bb
[ "MIT" ]
null
null
null
tests/capture_test.exs
keithalpichi/practical-elixir
d9ad1f4c18a75179a893201706d30a0f4eee19bb
[ "MIT" ]
null
null
null
Code.load_file("capture.exs", "./lib/") ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule CaptureTest do use ExUnit.Case def sample_n, do: [1,2,3,4,5] def sample_f, fo: [1.2332, 4.5, 7.8979734973] test "square each item in list" do assert Capture.square(sample_n) == [1,4,9,16,25] ...
24.686047
83
0.624588
979847bc487f94f70841574322466c70ba51925a
2,621
ex
Elixir
lib/google_api/storage/v1/model/expr.ex
lewisf/google_api_storage
ea69f6a536cf2bbf6e76b803744aa428243c7ca6
[ "Apache-2.0" ]
null
null
null
lib/google_api/storage/v1/model/expr.ex
lewisf/google_api_storage
ea69f6a536cf2bbf6e76b803744aa428243c7ca6
[ "Apache-2.0" ]
null
null
null
lib/google_api/storage/v1/model/expr.ex
lewisf/google_api_storage
ea69f6a536cf2bbf6e76b803744aa428243c7ca6
[ "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...
43.683333
236
0.726059
97985b7cf0b488505c80fc0c192045dfc73f142e
17,940
ex
Elixir
clients/site_verification/lib/google_api/site_verification/v1/api/web_resource.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/site_verification/lib/google_api/site_verification/v1/api/web_resource.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/site_verification/lib/google_api/site_verification/v1/api/web_resource.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.612827
187
0.636957
97986b9a455b86ad7ef015a9cf726e252acaa1b6
2,632
ex
Elixir
lib/hoplon/check_result.ex
nietaki/hoplon
505808fee0a1e5cbb72d1b3b55df598e707b13ea
[ "Apache-2.0" ]
28
2018-04-15T19:29:18.000Z
2021-07-08T10:24:07.000Z
lib/hoplon/check_result.ex
nietaki/hoplon
505808fee0a1e5cbb72d1b3b55df598e707b13ea
[ "Apache-2.0" ]
16
2018-04-14T22:27:25.000Z
2019-04-09T22:03:47.000Z
lib/hoplon/check_result.ex
nietaki/aspis
505808fee0a1e5cbb72d1b3b55df598e707b13ea
[ "Apache-2.0" ]
1
2018-04-06T12:46:14.000Z
2018-04-06T12:46:14.000Z
defmodule Hoplon.CheckResult do alias Hoplon.HexPackage alias Hoplon.Git @moduledoc false @type t :: %__MODULE__{} @type status :: :honest | :corrupt | :unresolved | :absolved defstruct [ # %Hoplon.HexPackage{} :hex_package, :git_url, # {:tag, tag_name} | {:hash, sha-1} :git_ref, ...
24.146789
94
0.640957
97987a3b888fa03a2af477d7b3f6a69b18c13a08
267
exs
Elixir
apps/data/priv/repo/migrations/20190914132918_add_hosted_settings_to_games.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/priv/repo/migrations/20190914132918_add_hosted_settings_to_games.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/priv/repo/migrations/20190914132918_add_hosted_settings_to_games.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.Repo.Migrations.AddHostedSettingsToGames do use Ecto.Migration def change do create table(:hosted_settings) do add(:game_id, references(:games), null: false) add(:welcome_text, :text) timestamps() end end end
20.538462
67
0.707865
9798830e30ad80feed2ad1489ec70717413d1466
1,094
ex
Elixir
clients/file/lib/google_api/file/v1/connection.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/file/lib/google_api/file/v1/connection.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/connection.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...
33.151515
74
0.732176
97988a7e5180638729c82796463020809c894615
1,430
ex
Elixir
lib/ecto_schema_store/alias.ex
onboardingsystems/ecto_schema_store
120c929faecb686e3da685f411da66c80d7d0127
[ "Apache-2.0" ]
null
null
null
lib/ecto_schema_store/alias.ex
onboardingsystems/ecto_schema_store
120c929faecb686e3da685f411da66c80d7d0127
[ "Apache-2.0" ]
null
null
null
lib/ecto_schema_store/alias.ex
onboardingsystems/ecto_schema_store
120c929faecb686e3da685f411da66c80d7d0127
[ "Apache-2.0" ]
null
null
null
defmodule EctoSchemaStore.Alias do @moduledoc false defmacro build do quote do def alias_filters(filters), do: generalize_keys(filters) defp generalize_keys(entries) when is_list(entries) do for entry <- entries do generalize_keys(entry) end end defp generali...
22
66
0.539161
9798be804d7302df179d9aa54251245c8a549441
3,701
ex
Elixir
lib/door_frame/grant_type/base.ex
smartvokat/door_frame
9052ab233b2af65582dd1925a998e2b46b0eb569
[ "Apache-2.0" ]
5
2019-06-12T11:26:12.000Z
2022-01-28T19:45:47.000Z
lib/door_frame/grant_type/base.ex
smartvokat/door_frame
9052ab233b2af65582dd1925a998e2b46b0eb569
[ "Apache-2.0" ]
2
2019-06-04T13:19:55.000Z
2021-04-19T07:17:34.000Z
lib/door_frame/grant_type/base.ex
smartvokat/door_frame
9052ab233b2af65582dd1925a998e2b46b0eb569
[ "Apache-2.0" ]
1
2019-06-12T11:26:14.000Z
2019-06-12T11:26:14.000Z
defmodule DoorFrame.GrantType.Base do @moduledoc false alias DoorFrame.Error alias DoorFrame.Request alias DoorFrame.Response @type token_type :: :access_token | :refresh_token @spec validate_scope(DoorFrame.Request.t()) :: {:error, DoorFrame.Error.t()} | {:ok, DoorFrame.Request.t()} def vali...
37.383838
90
0.643069
9798fd434817278c8c2d0632c7088d314d7cae08
4,221
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/api/signup_urls.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/api/signup_urls.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_management/lib/google_api/android_management/v1/api/signup_urls.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...
47.965909
456
0.669983
97991134761a08fcf757cf4173493420a0429dbe
94
exs
Elixir
.formatter.exs
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
1
2021-10-04T15:49:53.000Z
2021-10-04T15:49:53.000Z
.formatter.exs
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
1
2021-06-14T02:31:57.000Z
2021-06-14T02:31:57.000Z
.formatter.exs
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
null
null
null
[ line_length: 120, inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
18.8
69
0.56383
97991d7a99bdd9d3c491a6e2f3ca9b4d1ee97f52
28,107
exs
Elixir
lib/mix/test/mix/tasks/release_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-12-18T19:20:37.000Z
2020-12-18T19:20:37.000Z
lib/mix/test/mix/tasks/release_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/release_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.ReleaseTest do use MixTest.Case @erts_version :erlang.system_info(:version) @hostname :inet_db.gethostname() defmacrop release_node(name), do: :"#{name}@#{@hostname}" describe "customize" do test "env, vm.args and overlays templat...
37.829071
137
0.567937
979937c8592fa5c763520b741aad7baa0680dfbf
45,480
exs
Elixir
priv/cabbage/apps/itest/test/itest/in_flight_exits_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/test/itest/in_flight_exits_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/test/itest/in_flight_exits_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 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 ...
34.169797
120
0.687687
97998d66fb6a04a427089be84dd50b95c4821368
1,806
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/saved_ad_style.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/saved_ad_style.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/saved_ad_style.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...
34.075472
188
0.741971
9799cd3a2a107e7502c96972a6559d49d7653554
1,131
exs
Elixir
04_functional_programming/config/config.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
4
2018-07-26T19:47:26.000Z
2018-08-18T20:27:09.000Z
solutions/04_functional_programming/config/config.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
null
null
null
solutions/04_functional_programming/config/config.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
1
2018-08-29T12:38:36.000Z
2018-08-29T12:38:36.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.753316
9799f0ecdb151f49c6037277d505d44e8f3eba01
1,086
exs
Elixir
config/test.exs
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
config/test.exs
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
config/test.exs
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
import Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. co...
31.941176
86
0.76151
979a1a8f4133f4d68b76b6770943ea328feaa337
1,023
ex
Elixir
lib/myapp.ex
appdojolabs/myapp
41887a60f7ea86db3c70470631b703455c865042
[ "MIT" ]
41
2017-05-21T14:33:28.000Z
2022-03-28T22:29:56.000Z
lib/myapp.ex
DMeechan/deploy-elixir-docker-example
b63a46453629ced5134aba039575a3c010a6f2a1
[ "MIT" ]
2
2017-07-23T07:06:38.000Z
2018-07-16T23:53:12.000Z
lib/myapp.ex
appdojolabs/myapp
41887a60f7ea86db3c70470631b703455c865042
[ "MIT" ]
16
2017-05-21T22:35:10.000Z
2022-03-28T22:30:04.000Z
defmodule Myapp do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
31.96875
83
0.7087
979a2ed7873e01b3dc96598c79c55e7a0e53b5c5
578
exs
Elixir
mix.exs
ElixirCrypto/cipher_mode
22d52e2a3ed198ba2c0940f87aef3a512830877c
[ "MIT" ]
null
null
null
mix.exs
ElixirCrypto/cipher_mode
22d52e2a3ed198ba2c0940f87aef3a512830877c
[ "MIT" ]
null
null
null
mix.exs
ElixirCrypto/cipher_mode
22d52e2a3ed198ba2c0940f87aef3a512830877c
[ "MIT" ]
null
null
null
defmodule CipherMode.MixProject do use Mix.Project def project do [ app: :cipher_mode, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ex...
19.931034
87
0.581315
979a3017fbc4c12905d844bbb39c21d04f058612
6,637
exs
Elixir
test/changelog_web/controllers/news_item_controller_test.exs
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
null
null
null
test/changelog_web/controllers/news_item_controller_test.exs
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
null
null
null
test/changelog_web/controllers/news_item_controller_test.exs
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.NewsItemControllerTest do use ChangelogWeb.ConnCase import ChangelogWeb.NewsItemView, only: [hashid: 1, slug: 1] alias Changelog.{NewsItem, NewsQueue, Subscription} test "getting the index", %{conn: conn} do i1 = insert(:news_item) i2 = insert(:published_news_item) conn = ...
36.26776
113
0.685551
979a48a27e6de41c633543b9ad5eb29fcc2f8c9b
2,989
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/autoscaler_aggregated_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/autoscaler_aggregated_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/autoscaler_aggregated_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
46.703125
393
0.719973
979a8af4aa336db9bb1caf9bd5da3c90a5ca1b00
11,433
ex
Elixir
lib/ex_doc/retriever.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/retriever.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/retriever.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Retriever do # Functions to extract documentation information from modules. @moduledoc false defmodule Error do @moduledoc false defexception [:message] end alias ExDoc.{DocAST, GroupMatcher, Refs} alias ExDoc.Retriever.Error @doc """ Extract documentation from all modules in ...
31.067935
99
0.655821
979a9f95413918c18b2a149344c3e578d3b25854
2,740
ex
Elixir
lib/glimesh_web.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
lib/glimesh_web.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
lib/glimesh_web.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb 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 GlimeshWeb, :controller use GlimeshWeb, :view The definitions below will be executed for every view, controller, ...
21.746032
78
0.657299
979ab8a4474f52e081abad8421012ce677c3dde1
1,258
ex
Elixir
lib/exredrpc/exredrpc.pb.ex
exredorg/exred_node_grpc_server
2cce2904fdee0bb0f26181f999c3bddf3440627a
[ "MIT" ]
null
null
null
lib/exredrpc/exredrpc.pb.ex
exredorg/exred_node_grpc_server
2cce2904fdee0bb0f26181f999c3bddf3440627a
[ "MIT" ]
null
null
null
lib/exredrpc/exredrpc.pb.ex
exredorg/exred_node_grpc_server
2cce2904fdee0bb0f26181f999c3bddf3440627a
[ "MIT" ]
null
null
null
defmodule Exredrpc.Msg do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ payload: %{String.t() => String.t()}, meta: %{String.t() => String.t()} } defstruct [:payload, :meta] field :payload, 2, repeated: true, type: Exredrpc.Msg.PayloadEntry, map: true f...
23.296296
79
0.650238
979b11c6f8f6b9bf2fdc33f0ef58a7faf9fa503c
703
ex
Elixir
core/cluster/node_id.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/cluster/node_id.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/cluster/node_id.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Cluster.NodeId do @moduledoc """ ID of instance that is visible to gear developers. Note that the ID string here uses short hostname (`hostname -s`) instead of fully-qualified one (`hostname -f`) in order to ma...
25.107143
113
0.675676
979b1966de6afe4beb5e46c659f32b84d9f958e5
2,297
exs
Elixir
mix.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
mix.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
mix.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
defmodule ExStoneOpenbank.MixProject do use Mix.Project @version "0.1.2" @description "Stone Openbank APIs Elixir SDK" @github_link "https://github.com/victorolinasc/ex-stone-openbank" def project do [ app: :ex_stone_openbank, name: "ExStoneOpenbank", version: @version, descripti...
26.402299
67
0.559425
979b1a465c5b28359be6beee44eb27b3834f0797
2,881
exs
Elixir
bench_pg/Elixir/retailixir/config/runtime.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
bench_pg/Elixir/retailixir/config/runtime.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
27
2020-04-20T06:05:50.000Z
2021-12-09T22:06:37.000Z
bench_pg/Elixir/retailixir/config/runtime.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.932432
82
0.699757
979b1b7eebb409e0c41304822778f7c83fbcfcca
8,452
exs
Elixir
.credo.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
.credo.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
.credo.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
40.247619
99
0.586133
979b298e134045e9f29cc1b5634a2718de9a0a73
54,262
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1/api/projects.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...
46.062818
607
0.616159
979b35755f3ec240086b593b4c49b2e650b3b019
1,757
ex
Elixir
lib/jalka2021_web/controllers/user_reset_password_controller.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/controllers/user_reset_password_controller.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/controllers/user_reset_password_controller.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
defmodule Jalka2021Web.UserResetPasswordController do use Jalka2021Web, :controller alias Jalka2021.Accounts plug :get_user_by_reset_password_token when action in [:edit, :update] def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"user" => %{"email" => email}}) do if user...
29.283333
101
0.661924
979b54773441384566b124b5e9d43e179f56bcc6
1,072
exs
Elixir
test/cli_test.exs
s-takada/elixir_github_issues_getter
12332148c73a80f0c912e1883dc435fb761f112d
[ "MIT" ]
null
null
null
test/cli_test.exs
s-takada/elixir_github_issues_getter
12332148c73a80f0c912e1883dc435fb761f112d
[ "MIT" ]
null
null
null
test/cli_test.exs
s-takada/elixir_github_issues_getter
12332148c73a80f0c912e1883dc435fb761f112d
[ "MIT" ]
null
null
null
defmodule CliTest do use ExUnit.Case doctest Issues import Issues.CLI, only: [ parse_args: 1, sort_into_ascending_order: 1, convert_to_list_of_maps: 1 ] test ":help returned by option parsing with -h and --help options" do assert parse_args(["-h", ...
31.529412
77
0.61847
979ba87a05cb1f91ddee662e44fffd9cf546f53d
61
exs
Elixir
broadway_test/example_mix.exs
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
2
2019-05-25T13:25:33.000Z
2019-05-29T15:36:17.000Z
broadway_test/example_mix.exs
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
broadway_test/example_mix.exs
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
defp deps do [ {:broadway_rabbitmq, "~> 0.1.0"} ] end
12.2
36
0.540984
979bad01c3d865571e2563b0f49ff95f0a38ce20
5,234
ex
Elixir
lib/rummage_ecto/custom_hooks/simple_search.ex
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
lib/rummage_ecto/custom_hooks/simple_search.ex
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
lib/rummage_ecto/custom_hooks/simple_search.ex
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
defmodule Rummage.Ecto.CustomHooks.SimpleSearch do @moduledoc """ `Rummage.Ecto.CustomHooks.SimpleSearch` is a custom search hook that comes shipped with `Rummage.Ecto`. Usage: For a regular search: This returns a `queryable` which upon running will give a list of `Parent`(s) searched by ascending `fiel...
30.08046
126
0.647688
979bb1f44b5218228e20e613bce8a223708f092c
13,978
ex
Elixir
apps/ewallet_db/lib/ewallet_db/transaction_request.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/lib/ewallet_db/transaction_request.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/lib/ewallet_db/transaction_request.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 ...
29
97
0.682573
979bbeaaebf55f1aab79731738ad1516147746bb
1,769
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/trigger.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/trigger.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/trigger.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...
34.686275
142
0.734878
979bd964ad0f68dd40c9c2cbf04856c4c595dd6c
696
exs
Elixir
test/rem/commands/wordle/unknown_command_test.exs
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
4
2022-02-20T13:33:48.000Z
2022-03-31T00:48:52.000Z
test/rem/commands/wordle/unknown_command_test.exs
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
1
2022-02-22T05:42:05.000Z
2022-02-22T05:42:05.000Z
test/rem/commands/wordle/unknown_command_test.exs
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
null
null
null
defmodule Rem.Commands.Wordle.UnknownCommandTest do use ExUnit.Case, async: true use Injector, inject: [Rem.Discord.Api] alias Rem.Commands.Wordle.UnknownCommand describe "run/2" do test "it just display the help message stating it doesn't know what the user meant" do Rem.Discord.Api |> stubs...
27.84
90
0.649425
979be5db9667af9b82c40885093f48bca2bb5e84
948
exs
Elixir
test/helper/converter/mention_parser_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/helper/converter/mention_parser_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/helper/converter/mention_parser_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Helper.Converter.MentionParser do @moduledoc """ parse mention(@) from given string """ use GroupherServerWeb.ConnCase, async: true alias Helper.Converter.MentionParser @test_message ~S""" @you http://example.com/test?a=1&b=abc+123#abc this is a #test #message with #a few...
26.333333
87
0.681435
979bf059683babf7b85777629bdbf99d1dc5da91
2,791
exs
Elixir
test/eps_web/views/error_view_test.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
test/eps_web/views/error_view_test.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
test/eps_web/views/error_view_test.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPSWeb.ErrorViewTest do @moduledoc """ Tests for the error view. """ use EPSWeb.ConnCase, async: true use EPS.Constants.ErrorMessages # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 400.json-api" do assert render(EPSWeb.ErrorView, "400....
32.453488
75
0.491222
979bfe2bfb3e1bb73b1e902753a873f00689be0e
13,011
exs
Elixir
test/mitbits_test.exs
siddhantmittal7/Mitbits_Cryptocurrency
b02060b1fa6ccc14730433bc4b078b8e5c752a8a
[ "MIT" ]
2
2018-12-10T21:20:04.000Z
2020-07-07T07:28:14.000Z
test/mitbits_test.exs
prafful13/Mitbits_Cryptocurrency
b02060b1fa6ccc14730433bc4b078b8e5c752a8a
[ "MIT" ]
null
null
null
test/mitbits_test.exs
prafful13/Mitbits_Cryptocurrency
b02060b1fa6ccc14730433bc4b078b8e5c752a8a
[ "MIT" ]
1
2018-12-16T03:36:18.000Z
2018-12-16T03:36:18.000Z
defmodule MitbitsTest do use ExUnit.Case doctest Mitbits.Application setup_all do children = [ Mitbits.NodeSupervisor, Mitbits.MinerSupervisor ] opts = [strategy: :one_for_all, name: Mitbits.Supervisor] Supervisor.start_link(children, opts) :ok end def spawn_miners({numNod...
30.542254
395
0.589271
979bff86d2084ab1f9d3863b267580a25d8d26f1
2,029
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_priority_capabilities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_priority_capabilities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_priority_capabilities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.262295
160
0.761952
979c0ee1fbc5112c6b8330582450a34768c2ccb7
326
exs
Elixir
test/ex_binance/spot/public/ping_test.exs
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
7
2019-04-12T12:46:53.000Z
2021-06-29T19:43:41.000Z
test/ex_binance/spot/public/ping_test.exs
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
18
2020-05-25T09:03:58.000Z
2021-06-24T19:44:29.000Z
test/ex_binance/spot/public/ping_test.exs
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
12
2019-08-08T09:20:59.000Z
2021-04-12T19:19:43.000Z
defmodule ExBinance.Spot.Public.PingTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney alias ExBinance.Spot.Public setup_all do HTTPoison.start() end test ".ping returns an empty map" do use_cassette "spot/public/ping_ok" do assert Public.ping() == {:ok, %{}} end en...
20.375
48
0.693252
979c1cd41755d4a4bbf0870968feee3fd2136107
205
exs
Elixir
priv/repo/migrations/20181203055656_add_communities_index_to_c11n.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20181203055656_add_communities_index_to_c11n.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20181203055656_add_communities_index_to_c11n.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.AddCommunitiesIndexToC11n do use Ecto.Migration def change do alter table(:customizations) do add(:sidebar_communities_index, :map) end end end
20.5
68
0.760976
979c3f6a06e58d571ad75d411e6ea13d8296acea
7,541
ex
Elixir
lib/elixir/lib/calendar.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/lib/calendar.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/calendar.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Calendar do @moduledoc """ This module defines the responsibilities for working with calendars, dates, times and datetimes in Elixir. Currently it defines types and the minimal implementation for a calendar behaviour in Elixir. The goal of the Calendar features in Elixir is to provide a base for ...
38.279188
113
0.713566