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
1837d98f12bd60f103e44098422d8badf4be2909
1,235
ex
Elixir
test/support/conn_case.ex
Plimsky/test-elixir-boilerplate
78fba6893e5d407d73f99234422a1a0772267fb9
[ "BSD-3-Clause" ]
1
2021-05-31T10:22:23.000Z
2021-05-31T10:22:23.000Z
test/support/conn_case.ex
Plimsky/test-elixir-boilerplate
78fba6893e5d407d73f99234422a1a0772267fb9
[ "BSD-3-Clause" ]
null
null
null
test/support/conn_case.ex
Plimsky/test-elixir-boilerplate
78fba6893e5d407d73f99234422a1a0772267fb9
[ "BSD-3-Clause" ]
null
null
null
defmodule ElixirBoilerplateWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Final...
24.7
58
0.719028
1837de93c3c86f2b5068364024e2b95b88096249
1,902
ex
Elixir
lib/cadet/jobs/updater/CS1101S.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
lib/cadet/jobs/updater/CS1101S.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
2
2020-04-22T09:06:38.000Z
2020-04-22T09:15:33.000Z
lib/cadet/jobs/updater/CS1101S.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Updater.CS1101S do @moduledoc """ Pulls content from the remote cs1101s repository into a local one. """ @key_file :cadet |> Application.fetch_env!(:updater) |> Keyword.get(:cs1101s_rsa_key) @local_name if Mix.env() != :test, do: "cs1101s", else: "test/fixtures/local_repo" @remote_repo (if ...
27.565217
90
0.582545
18380b8ab34c1fa0b2ad7a9ee693492af7b72606
466
ex
Elixir
exercises/gigasecond/lib/gigasecond.ex
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
exercises/gigasecond/lib/gigasecond.ex
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
exercises/gigasecond/lib/gigasecond.ex
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
defmodule Gigasecond do @doc """ Calculate a date one billion seconds after an input date. """ @spec from({{pos_integer, pos_integer, pos_integer}, {pos_integer, pos_integer, pos_integer}}) :: :calendar.datetime() def from({{year, month, day}, {hours, minutes, seconds}}) do s = :calendar.dateti...
35.846154
99
0.701717
183887c24d320a12aaeffcc12998ebf8f9a65101
88
ex
Elixir
lib/bitpal/mailer.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal/mailer.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal/mailer.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPal.Mailer do @moduledoc false use Swoosh.Mailer, otp_app: :bitpal end
17.6
37
0.772727
183897cf019f9ab854fedbcf05aa2d030e981f6b
3,388
exs
Elixir
test/language_list_test.exs
GunnarPDX/language_list
6709337ded8d10eede5e7012519c4154ddc45228
[ "MIT" ]
null
null
null
test/language_list_test.exs
GunnarPDX/language_list
6709337ded8d10eede5e7012519c4154ddc45228
[ "MIT" ]
null
null
null
test/language_list_test.exs
GunnarPDX/language_list
6709337ded8d10eede5e7012519c4154ddc45228
[ "MIT" ]
null
null
null
defmodule LanguageListTest do use ExUnit.Case # doctest LanguageList test "get all data" do assert values = LanguageList.all_data assert Enum.count(values) > 0 end test "get all data without :ok/:error" do assert LanguageList.all_data! |> Enum.count() > 0 end test "test get all common data"...
37.230769
128
0.660272
1838a878d688439c76828f065e98fda3f894cbf0
14,540
ex
Elixir
lib/mix/lib/mix/utils.ex
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Utils do @moduledoc """ Utilities used throughout Mix and tasks. """ @doc """ Get the mix home. It defaults to `~/.mix` unless the `MIX_HOME` environment variable is set. Developers should only store entries in the `MIX_HOME` directory which are guaranteed to work across multiple El...
26.727941
113
0.620702
1838b6ee4acae516ac07c4eab326bf69f9912703
2,764
ex
Elixir
lib/tackle/connection.ex
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
49
2016-07-30T13:45:12.000Z
2021-08-08T13:45:05.000Z
lib/tackle/connection.ex
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
20
2016-08-05T11:54:35.000Z
2021-06-02T19:43:06.000Z
lib/tackle/connection.ex
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
14
2016-08-05T09:39:51.000Z
2021-11-29T14:22:28.000Z
defmodule Tackle.Connection do require Logger @moduledoc """ Holds established connections. Each connection is identifed by name. Connection name ':default' is speciall: it is NOT persisted -> each open() call with :default connection name opens new connection (to preserve current behaviour). """ ...
25.831776
89
0.663169
1838ce6ce4a20dca6aa41adb07c14d56f89f0ad8
991
ex
Elixir
lib/hedwig_trivia/fetchers/http_mock.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
null
null
null
lib/hedwig_trivia/fetchers/http_mock.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
2
2019-12-04T20:59:47.000Z
2019-12-04T21:00:14.000Z
lib/hedwig_trivia/fetchers/http_mock.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
2
2019-12-04T16:21:06.000Z
2019-12-25T03:10:33.000Z
defmodule HedwigTrivia.Fetchers.HTTPMock do @moduledoc """ HTTP module for mocking the HTTP module to talk with the trivia API. """ @doc false def get("") do {:ok, %HTTPoison.Response{ body: [ %{ "airdate" => "2006-11-28T12:00:00.000Z", "answer" => "vegetarian",...
28.314286
93
0.475277
1838d8be3c2b77a603388e8c308ae5b75cc87de9
288
ex
Elixir
lib/yummy/repo.ex
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
5
2017-08-27T19:45:43.000Z
2019-06-28T08:12:25.000Z
lib/yummy/repo.ex
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
null
null
null
lib/yummy/repo.ex
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
null
null
null
defmodule Yummy.Repo do use Ecto.Repo, otp_app: :yummy use Kerosene, per_page: 5 @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.153846
66
0.694444
1838dba5da686cfb16650a4eedd0f1283d9a2b6d
660
exs
Elixir
test/litmus/type/any_test.exs
lob/litmus
e7ffccc2e8897e280d3a69942a2ad6cbe4bbb965
[ "MIT" ]
38
2018-08-21T22:07:25.000Z
2021-09-23T09:27:57.000Z
test/litmus/type/any_test.exs
lob/litmus
e7ffccc2e8897e280d3a69942a2ad6cbe4bbb965
[ "MIT" ]
7
2018-07-17T17:47:08.000Z
2019-07-09T21:18:58.000Z
test/litmus/type/any_test.exs
lob/litmus
e7ffccc2e8897e280d3a69942a2ad6cbe4bbb965
[ "MIT" ]
6
2019-05-02T22:28:33.000Z
2021-02-13T02:10:27.000Z
defmodule Litmus.Type.AnyTest do use ExUnit.Case, async: true doctest Litmus.Type.Any alias Litmus.Type describe "validate_field/3" do test "validates property values of data based on their Any schema definition in Type.Any module" do field = "id" data = %{"id" => "1"} type = %Type.Any{...
22.758621
103
0.619697
1838e519da194b34eda857613323b3ec1478ac99
4,802
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/security_policy.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/security_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/security_policy.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...
60.025
542
0.725115
1838fecc628851d0035e5047cc99dc178d3d1e78
1,376
exs
Elixir
mix.exs
shark-up/samly
7ea6a33d1b138566344d796cbfe897c96235bf48
[ "MIT" ]
null
null
null
mix.exs
shark-up/samly
7ea6a33d1b138566344d796cbfe897c96235bf48
[ "MIT" ]
null
null
null
mix.exs
shark-up/samly
7ea6a33d1b138566344d796cbfe897c96235bf48
[ "MIT" ]
null
null
null
defmodule Samly.Mixfile do use Mix.Project @version "1.0.0" @description "SAML Single-Sign-On Authentication for Plug/Phoenix Applications" @source_url "https://github.com/handnot2/samly" @blog_url "https://handnot2.github.io/blog/auth/saml-auth-for-phoenix" def project() do [ app: :samly, ...
22.557377
81
0.553779
183933408d36cbeedb49b6bd29805471a548f03b
20,602
exs
Elixir
test_fixtures/precompiled/good-fragments.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
test_fixtures/precompiled/good-fragments.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
test_fixtures/precompiled/good-fragments.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
[%{__struct__: Serum.Fragment, data: "\n<h2>All Posts</h2>\n<ul>\n \n <li>\n <p><a href=\"/test-site/home/dalgona/repo/Serum/priv/fixtures/posts/good-post.html\">Test Post</a>\n &mdash;\n <span class=\"date\">2019-01-01</span></p>\n </li>\n \n <li>\n <p><a href=\"/test-site/home/dalgona/r...
1,211.882353
2,125
0.654597
1839439f69085905f63359dc09f81be3aba299ad
439
ex
Elixir
lib/ada/source/news/story.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
7
2019-05-11T12:14:48.000Z
2021-04-02T18:42:51.000Z
lib/ada/source/news/story.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
3
2019-05-11T08:01:47.000Z
2019-05-14T12:06:50.000Z
lib/ada/source/news/story.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
1
2021-01-06T14:57:32.000Z
2021-01-06T14:57:32.000Z
defmodule Ada.Source.News.Story do @moduledoc false defstruct title: nil, body_html: nil, body_text: nil, thumbnail: nil, url: nil, pub_date: nil @type t :: %__MODULE__{ title: String.t(), body_html: String.t(), body_text: ...
23.105263
34
0.496583
183951b8e86360f9efa402b3fd059b226705c358
353
exs
Elixir
apps/wdpa_models/priv/repo/migrations/20160510142320_create_wdpa_release.exs
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
4
2016-05-08T10:17:19.000Z
2019-06-10T15:23:20.000Z
apps/wdpa_models/priv/repo/migrations/20160510142320_create_wdpa_release.exs
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
apps/wdpa_models/priv/repo/migrations/20160510142320_create_wdpa_release.exs
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
defmodule WdpaPhoenix.Repo.Migrations.CreateWdpaRelease do use Ecto.Migration def change do create table(:wdpa_releases) do add :name, :text add :valid_from, :datetime add :valid_to, :datetime timestamps end create index(:wdpa_releases, [:valid_from]) create index(:wdpa_...
20.764706
58
0.685552
1839525d6506098383892633550fd4e01436dcd6
1,028
ex
Elixir
lib/planning_poker/model/card.ex
Invaern/planning-poker
e7a53bdc0e5b01aaf4574cb7190529021517ba55
[ "MIT" ]
null
null
null
lib/planning_poker/model/card.ex
Invaern/planning-poker
e7a53bdc0e5b01aaf4574cb7190529021517ba55
[ "MIT" ]
null
null
null
lib/planning_poker/model/card.ex
Invaern/planning-poker
e7a53bdc0e5b01aaf4574cb7190529021517ba55
[ "MIT" ]
null
null
null
defmodule Card do @enforce_keys [:owner] defstruct [:owner, type: :empty, prev_val: nil] @values_order [half: 0.5, one: 1, two: 2, three: 3, five: 5, eight: 8, thirteen: 13, twenty: 20, question: 100] def set_value(%Card{type: {:visible, _}} = card, _value), do: card def set_value(card, value) do %{ca...
27.783784
113
0.638132
18395da177624d09aa3b840561dabc52a2fc01a5
17
ex
Elixir
testData/org/elixir_lang/parser_definition/interpolated_sigil_line_parsing_test_case/Chevrons.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/interpolated_sigil_line_parsing_test_case/Chevrons.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/interpolated_sigil_line_parsing_test_case/Chevrons.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~x<{}[]<\>"/()|'>
17
17
0.058824
1839757b4080f233bfa5b4174a33be218bb9d523
70
ex
Elixir
lib/coderjobs_web/views/jobs_apply_view.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
28
2017-11-20T02:01:17.000Z
2021-05-08T16:52:58.000Z
lib/coderjobs_web/views/jobs_apply_view.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
1
2018-12-05T06:07:36.000Z
2018-12-09T17:33:28.000Z
lib/coderjobs_web/views/jobs_apply_view.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
3
2017-12-21T03:29:39.000Z
2019-08-11T02:56:08.000Z
defmodule CoderjobsWeb.JobsApplyView do use CoderjobsWeb, :view end
17.5
39
0.828571
18398bde7c1483666ab536962eae94b04bcc89ca
2,144
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/method.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/method.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/method.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...
35.147541
88
0.729944
183a1fc76f59d94ef7cdf04b1e0298f9020cf110
974
ex
Elixir
test/support/channel_case.ex
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
test/support/channel_case.ex
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
test/support/channel_case.ex
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
defmodule BlogEngine.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot ...
23.190476
69
0.704312
183a48777fbdb77c38db10418f55b197e587739c
138
exs
Elixir
test/wikihex_test.exs
pjskennedy/wikihex
c56e0764637177b38a5d75c4dd27cb134b7e3009
[ "MIT" ]
null
null
null
test/wikihex_test.exs
pjskennedy/wikihex
c56e0764637177b38a5d75c4dd27cb134b7e3009
[ "MIT" ]
null
null
null
test/wikihex_test.exs
pjskennedy/wikihex
c56e0764637177b38a5d75c4dd27cb134b7e3009
[ "MIT" ]
null
null
null
defmodule WikihexTest do use ExUnit.Case doctest Wikihex test "greets the world" do assert Wikihex.hello() == :world end end
15.333333
36
0.710145
183a61a7ea08360bb7d940d3e22483d857e6c25d
7,976
ex
Elixir
lib/spandex_phoenix.ex
aselder/spandex_phoenix
33d3fcfd62bd49afcbe6cbde5de396fa2d347619
[ "MIT" ]
null
null
null
lib/spandex_phoenix.ex
aselder/spandex_phoenix
33d3fcfd62bd49afcbe6cbde5de396fa2d347619
[ "MIT" ]
null
null
null
lib/spandex_phoenix.ex
aselder/spandex_phoenix
33d3fcfd62bd49afcbe6cbde5de396fa2d347619
[ "MIT" ]
null
null
null
defmodule SpandexPhoenix do @moduledoc """ A Plug wrapper for use in a Plug.Router or Phoenix.Endpoint to trace the entire request with Spandex. > NOTE: If you want to `use` this in combination with `Plug.ErrorHandler` or similar "wrapper" plugs, this one should be last so that it traces the effects of the o...
30.559387
118
0.659729
183a797186664f38261733847a9738b4bdd7348a
865
exs
Elixir
test/review_parser_test.exs
rzcastilho/dealer_scraping_robot
fe255f7d303ce1387f042606f2e9399d27752d95
[ "MIT" ]
null
null
null
test/review_parser_test.exs
rzcastilho/dealer_scraping_robot
fe255f7d303ce1387f042606f2e9399d27752d95
[ "MIT" ]
null
null
null
test/review_parser_test.exs
rzcastilho/dealer_scraping_robot
fe255f7d303ce1387f042606f2e9399d27752d95
[ "MIT" ]
null
null
null
defmodule ReviewParserTest do @moduledoc false use ExUnit.Case setup do review = File.read!("test/review_snippet.html") |> Floki.parse() {:ok, review_html: review} end test "parses review snippet", %{review_html: review} do assert %Model.Review{ analysis: %Model.Analysis{overly...
27.03125
73
0.543353
183a82c1d42d68fb76db6bf15117f9851da9e4d4
1,105
ex
Elixir
test/support/channel_case.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
test/support/channel_case.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
test/support/channel_case.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
defmodule HasherWeb.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 wi...
26.95122
68
0.725792
183aa7c8eb39db984d31cdc741eba47488df9185
122
exs
Elixir
test/quickbooks_test.exs
AlexVKO/quickbooks-elixir
0e9f69e2e4a6b538d94bd16b546aa43e65814bbb
[ "MIT" ]
7
2017-01-23T15:50:49.000Z
2021-04-30T01:20:11.000Z
test/quickbooks_test.exs
AlexVKO/quickbooks-elixir
0e9f69e2e4a6b538d94bd16b546aa43e65814bbb
[ "MIT" ]
null
null
null
test/quickbooks_test.exs
AlexVKO/quickbooks-elixir
0e9f69e2e4a6b538d94bd16b546aa43e65814bbb
[ "MIT" ]
5
2017-01-24T00:18:35.000Z
2017-06-09T04:00:23.000Z
defmodule QuickbooksTest do use ExUnit.Case doctest Quickbooks test "the truth" do assert 1 + 1 == 2 end end
13.555556
27
0.688525
183ab4b7997a05474365c950d78742c568aa8a3b
1,253
ex
Elixir
lib/edgedb/protocol/codecs/builtin/enum.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/codecs/builtin/enum.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/codecs/builtin/enum.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Codecs.Builtin.Enum do @moduledoc false use EdgeDB.Protocol.Codec alias EdgeDB.Protocol.{ Codecs, Datatypes } # internally enum values are just strings # so we don't need to add byte size of encoded/decoded instance here # since we just pass data to std::str codec whic...
25.571429
99
0.66241
183adf06eed7a775b28f7a0b54054c02e3e88cd8
801
exs
Elixir
test/bonny/server/scheduler_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
test/bonny/server/scheduler_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
test/bonny/server/scheduler_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
# credo:disable-for-this-file defmodule Bonny.Server.SchedulerTest do @moduledoc false use ExUnit.Case, async: true alias Bonny.Server.Scheduler doctest Bonny.Server.Scheduler doctest Bonny.Server.Scheduler.Binding defmodule TestScheduler do use Bonny.Server.Scheduler, name: "test-scheduler" def s...
24.272727
97
0.70412
183b13965d8251fc3956650f7cfd39e546370555
152
exs
Elixir
sources/Chapter5/Functions-4.exs
Geroshabu/ProgrammingElixir
979a835fc728f750af50a3ae771ebbac2ab4000f
[ "MIT" ]
null
null
null
sources/Chapter5/Functions-4.exs
Geroshabu/ProgrammingElixir
979a835fc728f750af50a3ae771ebbac2ab4000f
[ "MIT" ]
null
null
null
sources/Chapter5/Functions-4.exs
Geroshabu/ProgrammingElixir
979a835fc728f750af50a3ae771ebbac2ab4000f
[ "MIT" ]
null
null
null
prefix = fn first -> fn second -> "#{first} #{second}" end end mrs = prefix.("Mrs") IO.puts mrs.("Smith") IO.puts prefix.("Elixir").("Rocks")
13.818182
35
0.572368
183b4c3dc76f918450784a4b2386badd2a87faef
1,586
ex
Elixir
test/support/factory.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
test/support/factory.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
test/support/factory.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
defmodule Sponsorly.Factory do use ExMachina.Ecto, repo: Sponsorly.Repo def confirmed_user_factory do %Sponsorly.Accounts.User{ email: sequence(:email, &"email-#{&1}@example.com"), hashed_password: Bcrypt.hash_pwd_salt("123456781234"), confirmed_at: NaiveDateTime.utc_now() |> NaiveDateTime.tr...
26.433333
82
0.655738
183b5ccb4527a1e7e43fad8220bf8d9722d4dc7f
1,667
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_basic_card_button_open_uri_action.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2019-01-03T22:30:36.000Z
2019-01-03T22:30:36.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_basic_card_button_open_uri_action.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_basic_card_button_open_uri_action.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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...
30.309091
107
0.757049
183b697f4e7563a6ba92aa0d971e1a04ca77b9e9
3,954
ex
Elixir
lib/policr_mini_web.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
487
2020-06-08T03:04:21.000Z
2022-03-31T14:51:36.000Z
lib/policr_mini_web.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
141
2020-06-11T01:03:29.000Z
2022-03-30T20:23:32.000Z
lib/policr_mini_web.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
61
2020-06-10T05:25:03.000Z
2022-03-23T15:54:26.000Z
defmodule PolicrMiniWeb 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 PolicrMiniWeb, :controller use PolicrMiniWeb, :view The definitions below will be executed for every view, con...
25.025316
87
0.649722
183b6b10fb1b1cecde05ce7e6f236b684d729eef
525
ex
Elixir
web/controllers/entry_controller.ex
kenta-aktsk/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
99
2016-04-19T11:11:57.000Z
2021-12-12T14:38:02.000Z
web/controllers/entry_controller.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
48
2016-04-06T02:28:46.000Z
2016-05-31T06:56:56.000Z
web/controllers/entry_controller.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
32
2016-04-19T11:12:00.000Z
2021-03-25T18:19:52.000Z
defmodule MediaSample.EntryController do use MediaSample.Web, :controller use MediaSample.LocalizedController alias MediaSample.Entry def index(conn, params, locale) do page = Entry |> Entry.valid |> Entry.preload_all(locale) |> Repo.slave.paginate(params) render(conn, "index.html", entries: page.entri...
32.8125
91
0.702857
183b760b0edba00870fa526f72a8d77cd41dc279
629
exs
Elixir
apps/snitch_core/test/data/schema/payment/payment_method_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/schema/payment/payment_method_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/schema/payment/payment_method_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.PaymentMethodTest do use ExUnit.Case, async: true use Snitch.DataCase alias Snitch.Data.Schema.PaymentMethod test "PaymentMethod `:update` ignores changes to `:code`" do create_params = %{name: "card-payments", code: "ccd", provider: PayuBiz} card_method = PaymentMethod.cr...
31.45
81
0.72655
183b78184db64d9e2710e8be4928991930809a96
192
exs
Elixir
test/vec2/vec2_scaling_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
70
2015-01-07T10:13:38.000Z
2021-09-29T05:06:14.000Z
test/vec2/vec2_scaling_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
28
2015-01-22T22:38:24.000Z
2021-06-24T06:15:38.000Z
test/vec2/vec2_scaling_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
17
2015-01-22T18:35:41.000Z
2020-12-24T22:42:40.000Z
defmodule GraphmathTest.Vec2.ScaleVec2 do use ExUnit.Case @tag :vec2 @tag :scale test "scale({1,2},2) returns {2,4}" do assert {2, 4} == Graphmath.Vec2.scale({1, 2}, 2) end end
19.2
52
0.640625
183b80f7402b392c8ff09447157005b437f2f854
3,735
ex
Elixir
phoenix/lib/mehr_schulferien/ads/ads.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien/ads/ads.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien/ads/ads.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
defmodule MehrSchulferien.Ads do @moduledoc """ The Ads context. """ import Ecto.Query, warn: false alias MehrSchulferien.Repo alias MehrSchulferien.Ads.TravelOffer @doc """ Returns the list of travel_offers. ## Examples iex> list_travel_offers() [%TravelOffer{}, ...] """ def lis...
18.58209
67
0.623829
183b9477adec05379ea051dd2af2385c30a2e804
40,883
ex
Elixir
lib/mix/tasks/coh.install.ex
smpallen99/coherence
e398b543460eb2740c82499ecb3e41dbf91cce8c
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
lib/mix/tasks/coh.install.ex
smpallen99/coherence
e398b543460eb2740c82499ecb3e41dbf91cce8c
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
lib/mix/tasks/coh.install.ex
smpallen99/coherence
e398b543460eb2740c82499ecb3e41dbf91cce8c
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule Mix.Tasks.Coh.Install do @moduledoc """ Configure the Coherence User Model for your Phoenix application. Coherence is composed of a number of modules that can be enabled with this installer. This installer will normally do the following unless given an option not to do so: * Append the :coherence ...
28.529658
145
0.631509
183b975c09b817d81dd4ca392dff8fbcc61e5a58
923
exs
Elixir
test/credo/exs_loader_test.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
test/credo/exs_loader_test.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
test/credo/exs_loader_test.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.ExsLoaderTest do use ExUnit.Case test "Credo.Execution.parse_exs should work" do exs_string = """ %{"combine": {:hex, :combine, "0.5.2"}, "cowboy": {:hex, :cowboy, "1.0.2"}, "dirs": ["lib", "src", "test"], "dirs_sigil": ~w(lib src test), "dirs_regex": ~r(li...
27.147059
63
0.548212
183bb367282f883eb02460ca4393fa8425a69460
1,043
ex
Elixir
lib/ex_clubhouse/model/pull_request.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-17T00:42:10.000Z
2021-04-11T16:39:52.000Z
lib/ex_clubhouse/model/pull_request.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
7
2020-03-21T20:22:13.000Z
2021-12-30T16:32:07.000Z
lib/ex_clubhouse/model/pull_request.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-25T18:34:49.000Z
2021-09-13T16:44:00.000Z
defmodule ExClubhouse.Model.PullRequest do @moduledoc """ Pull request model """ @type t :: %__MODULE__{ branch_id: integer(), branch_name: binary(), closed: boolean(), entity_type: binary(), id: integer(), num_added: integer(), num_commits:...
26.075
42
0.498562
183bb4cda125c4e21e2b93425058f4b27b9f0902
420
ex
Elixir
lib/faker/team.ex
pharosproduction/faker
91deca51b3dc4bf8de75f81480e9f8880aa93886
[ "MIT" ]
null
null
null
lib/faker/team.ex
pharosproduction/faker
91deca51b3dc4bf8de75f81480e9f8880aa93886
[ "MIT" ]
null
null
null
lib/faker/team.ex
pharosproduction/faker
91deca51b3dc4bf8de75f81480e9f8880aa93886
[ "MIT" ]
null
null
null
defmodule Faker.Team do @moduledoc """ Functions for generating team related data """ @doc """ Returns a string of the form [state] [creature] """ @spec creature() :: String.t def creature do Module.concat(__MODULE__, Faker.mlocale).creature end @doc""" Returns a random creature name """ ...
19.090909
53
0.664286
183bb95528d20564d99fda712aed6f2491213ca3
3,212
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/video_abuse_report_reasons.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/video_abuse_report_reasons.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/video_abuse_report_reasons.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.263158
170
0.714819
183bdc62dfd27b08b33d085cc3be272b05a4a7f6
1,972
ex
Elixir
test/support/connection_helpers.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
13
2020-02-12T20:29:33.000Z
2021-04-17T10:18:00.000Z
test/support/connection_helpers.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
51
2020-02-01T05:22:15.000Z
2021-11-03T15:46:02.000Z
test/support/connection_helpers.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.ConnectionHelpers do @moduledoc false defmacro connection_mox() do quote do expect(FaktoryWorker.SocketMock, :connect, fn host, port, _opts -> {:ok, %FaktoryWorker.Connection{ host: host, port: port, socket: :test_socket, ...
24.962025
76
0.55071
183bf3b6a2f13ac5b7e7e9426cf6613e1085e3da
2,278
ex
Elixir
lib/bitpal_api/views/error_view.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal_api/views/error_view.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal_api/views/error_view.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPalApi.ErrorView do use BitPalApi, :view alias Ecto.Changeset require Logger def render(_, %{reason: error}) when is_struct(error) do render_error(error) end def render_error(error = %BadRequestError{}) do %{ type: "invalid_request_error", message: error.message } en...
25.032967
82
0.656716
183bfdb1525514b5d1c64d1c47cfe2f3b34e613a
2,458
ex
Elixir
lib/future_made_concerts_web/controllers/non_gov_org_controller.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/controllers/non_gov_org_controller.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/controllers/non_gov_org_controller.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
defmodule FutureMadeConcertsWeb.NonGovOrgController do use FutureMadeConcertsWeb, :controller alias FutureMadeConcerts.Profiles alias FutureMadeConcerts.Profiles.NonGovOrg alias FutureMadeConcerts.Meta def index(conn, _params) do non_gov_orgs = Profiles.list_non_gov_orgs() render(conn, "index.html",...
33.216216
87
0.685517
183c1b04de957bd1f425c1caa6caf57e938682b9
2,047
exs
Elixir
test/views/worker_definition_view_test.exs
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
4
2019-12-07T05:18:26.000Z
2020-11-06T23:28:43.000Z
test/views/worker_definition_view_test.exs
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
53
2020-01-06T11:23:09.000Z
2021-06-25T15:30:07.000Z
test/views/worker_definition_view_test.exs
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
3
2020-01-30T15:37:40.000Z
2020-10-27T14:10:02.000Z
defmodule StepFlow.WorkerDefinitionViewTest do use ExUnit.Case use Plug.Test alias Ecto.Adapters.SQL.Sandbox # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View setup do # Explicitly get a connection before each test :ok = Sandbox.checkout(StepFlow.Repo) # Set...
30.102941
77
0.576453
183c1b23797258f9cd9dc41f9ce1c8b27c881259
344
ex
Elixir
lib/codes/codes_e58.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_e58.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_e58.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_E58 do alias IcdCode.ICDCode def _E58 do %ICDCode{full_code: "E58", category_code: "E58", short_code: "", full_name: "Dietary calcium deficiency", short_name: "Dietary calcium deficiency", category_name: "Dietary calcium deficiency...
21.5
53
0.630814
183c210b795b94d1e300cdcde9083cd9b854ffbc
2,164
ex
Elixir
questions/string/00017500-reg.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
335
2015-02-09T09:21:34.000Z
2022-03-30T12:28:18.000Z
questions/string/00017500-reg.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
58
2015-05-12T03:10:54.000Z
2021-11-27T15:53:36.000Z
questions/string/00017500-reg.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
63
2015-03-18T18:15:56.000Z
2022-02-23T07:27:46.000Z
|QUESTIONNAME| Find telephone numbers with parentheses |QUESTION| You've noticed that the club's member table has telephone numbers with very inconsistent formatting. You'd like to find all the telephone numbers that contain parentheses, returning the member ID and telephone number sorted by member ID. |QUERY| select ...
67.625
392
0.760166
183c3e768787a340efea1cc1656fe38a47d903d2
886
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.814815
74
0.759594
183c7ccf96b9b359991787745c2b9112f61ad13c
487
exs
Elixir
.iex.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
.iex.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
.iex.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
IEx.configure( colors: [ syntax_colors: [ number: :light_yellow, atom: :light_cyan, string: :light_black, boolean: :red, nil: [:magenta, :bright] ], ls_directory: :cyan, ls_device: :yellow, doc_code: :green, doc_inline_code: :magenta, doc_headings: [:cyan, :un...
22.136364
80
0.603696
183ca0720f6caa281d3f826812d5f440cc5dad58
65
ex
Elixir
lib/gscraper_web/views/upload_view.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
lib/gscraper_web/views/upload_view.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
lib/gscraper_web/views/upload_view.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule GscraperWeb.UploadView do use GscraperWeb, :view end
16.25
35
0.815385
183cf61461a3706b97da1f40e10548c225b42045
5,946
exs
Elixir
lib/ex_unit/test/ex_unit/formatter_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
1
2019-06-11T20:22:20.000Z
2019-06-11T20:22:20.000Z
lib/ex_unit/test/ex_unit/formatter_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/formatter_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule ExUnit.FormatterTest do use ExUnit.Case, async: true import ExUnit.Formatter doctest ExUnit.Formatter def falsy, do: false def formatter(_color, msg), do: msg defmacrop catch_assertion(expr) do quote do try do unquote(expr) ...
30.649485
109
0.601917
183d00726a4d4895ad3d811157b120fe4357ea56
94
ex
Elixir
testData/org/elixir_lang/reference/callable/import/import_module_except_name_arity.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/reference/callable/import/import_module_except_name_arity.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/reference/callable/import/import_module_except_name_arity.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
defmodule ImportModule do import Imported, except: [unimported: 0] <caret>imported() end
15.666667
42
0.744681
183d0a3bdf09566bcba143588af5f6f267dbb223
1,588
ex
Elixir
lib/xandra/type_parser.ex
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
318
2017-01-17T13:24:29.000Z
2022-03-17T20:31:39.000Z
lib/xandra/type_parser.ex
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
117
2017-01-17T14:20:15.000Z
2022-03-30T11:22:32.000Z
lib/xandra/type_parser.ex
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
49
2017-02-06T19:18:03.000Z
2022-03-22T13:08:46.000Z
defmodule Xandra.TypeParser do @moduledoc false @type type :: atom | {atom, [type]} @builtin_types [ :text, :blob, :ascii, :bigint, :counter, :int, :varint, :boolean, :decimal, :double, :float, :inet, :timestamp, :uuid, :timeuuid, :date, :small...
17.450549
67
0.511335
183d11ee82ba09604f886dbf69909056422c88d6
3,416
ex
Elixir
lib/graphql/schema.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
null
null
null
lib/graphql/schema.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
null
null
null
lib/graphql/schema.ex
paulelliott/accent
fabd0d2768088adf780317c6e44fcabcccadba11
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.GraphQL.Schema do use Absinthe.Schema alias Accent.Repo # Scalars import_types(Accent.GraphQL.DatetimeScalar) # Types import_types(AbsintheErrorPayload.ValidationMessageTypes) import_types(Accent.GraphQL.Types.AuthenticationProvider) import_types(Accent.GraphQL.Types.DocumentFormat) ...
32.226415
93
0.75322
183d3b85c95731ce32ea35e8ef7f65868aa831bd
272
ex
Elixir
echo/lib/echo/map/math.ex
mrjbj/liveview_sept_2021
1722a9527acef2b4584810976fecc507cc3eda8b
[ "MIT" ]
null
null
null
echo/lib/echo/map/math.ex
mrjbj/liveview_sept_2021
1722a9527acef2b4584810976fecc507cc3eda8b
[ "MIT" ]
null
null
null
echo/lib/echo/map/math.ex
mrjbj/liveview_sept_2021
1722a9527acef2b4584810976fecc507cc3eda8b
[ "MIT" ]
null
null
null
defmodule Echo.Map.Math do @moduledoc """ Implements an increment decrement functions for counter button. """ def initial, do: 0 def inc(n), do: n + 1 def dec(n), do: n - 1 # converter function def message(n) do "The treasure is at #{n}." end end
17
65
0.636029
183d74dfe5c993c98920ec52731c1e877208c184
10,183
ex
Elixir
lib/phoenix_live_view/static.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/static.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/static.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Static do # Holds the logic for static rendering. @moduledoc false alias Phoenix.LiveView.{Socket, Utils, Diff, Route} # Token version. Should be changed whenever new data is stored. @token_vsn 5 def token_vsn, do: @token_vsn # Max session age in seconds. Equivalent to 2 wee...
29.430636
99
0.636748
183d9c8e6ad8dceba7e081e5c888c8a090c3c789
3,305
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_intent_training_phrase.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_intent_training_phrase.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_intent_training_phrase.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...
47.214286
968
0.731619
183d9d0389daae78e36a6e26bf34966cbd96fb34
6,155
exs
Elixir
test/test_helper.exs
monshq/postgrex
2a26d34306a42928e8e2e8f5c70e763ea1d92e02
[ "Apache-2.0" ]
681
2016-06-16T12:28:22.000Z
2022-03-30T08:48:42.000Z
test/test_helper.exs
monshq/postgrex
2a26d34306a42928e8e2e8f5c70e763ea1d92e02
[ "Apache-2.0" ]
383
2016-06-17T14:49:41.000Z
2022-03-21T18:13:19.000Z
test/test_helper.exs
monshq/postgrex
2a26d34306a42928e8e2e8f5c70e763ea1d92e02
[ "Apache-2.0" ]
234
2016-06-16T16:14:47.000Z
2022-03-03T00:43:59.000Z
defmodule PSQL do @pg_env %{"PGUSER" => System.get_env("PGUSER") || "postgres"} def cmd(args) do {output, status} = System.cmd("psql", args, stderr_to_stdout: true, env: @pg_env) if status != 0 do IO.puts(""" Command: psql #{Enum.join(args, " ")} error'd with: #{output} ...
28.627907
130
0.637693
183daf893f7417fba1816fa0b8a3e3c559461a1b
18,883
ex
Elixir
lib/spider_man/engine.ex
kianmeng/spider_man
48941f42e901d03f7c6cc1f8aaf6f8a35d576614
[ "Apache-2.0" ]
null
null
null
lib/spider_man/engine.ex
kianmeng/spider_man
48941f42e901d03f7c6cc1f8aaf6f8a35d576614
[ "Apache-2.0" ]
null
null
null
lib/spider_man/engine.ex
kianmeng/spider_man
48941f42e901d03f7c6cc1f8aaf6f8a35d576614
[ "Apache-2.0" ]
null
null
null
defmodule SpiderMan.Engine do @moduledoc "Engine" use GenServer require Logger alias SpiderMan.{ Component.Downloader, Component.ItemProcessor, Component.Spider, Pipeline, Producer, Requester, Stats, Storage, Utils } @type state :: map @components [:downloader, :spide...
31.789562
97
0.667214
183dbfbee37cfae9611574dae41b38d1b0b4251a
6,165
ex
Elixir
clients/local_services/lib/google_api/local_services/v1/api/detailed_lead_reports.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/local_services/lib/google_api/local_services/v1/api/detailed_lead_reports.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/local_services/lib/google_api/local_services/v1/api/detailed_lead_reports.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...
56.559633
481
0.659205
183ddea6a5747880af811d565b0184e859894167
1,809
ex
Elixir
lib/kaffe/config/producer.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
lib/kaffe/config/producer.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
lib/kaffe/config/producer.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
defmodule Kaffe.Config.Producer do def configuration do %{ endpoints: endpoints(), producer_config: client_producer_config(), client_name: config_get(:client_name, :kaffe_producer_client), topics: producer_topics(), partition_strategy: config_get(:partition_strategy, :md5), } e...
27.830769
81
0.697623
183df8273b7f30f4d0c31c411dcb7c4771af052e
626
exs
Elixir
test/elixir_bank/accounts/profile_test.exs
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
test/elixir_bank/accounts/profile_test.exs
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
test/elixir_bank/accounts/profile_test.exs
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
defmodule ElixirBank.Accounts.ProfileTest do use ElixirBank.DataCase alias Ecto.UUID alias ElixirBank.Accounts.Profile describe "changeset/2" do @valid_attrs %{ user_id: UUID.generate() } test "should return a valid changeset when attrs are valid" do changeset = Profile.changeset(%Pro...
24.076923
73
0.685304
183e053b6bdb83285bb55216816e0cce51b90a75
896
ex
Elixir
apps/ui/lib/ui_web/router.ex
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
49
2019-10-28T22:27:28.000Z
2021-10-11T06:40:29.000Z
apps/ui/lib/ui_web/router.ex
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
9
2019-08-30T13:15:36.000Z
2019-10-10T21:25:14.000Z
apps/ui/lib/ui_web/router.ex
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
7
2019-10-31T06:19:26.000Z
2021-09-30T04:20:58.000Z
defmodule UiWeb.Router do use UiWeb, :router pipeline :browser do plug(:accepts, ["html"]) plug(:fetch_session) plug(:fetch_flash) plug(Phoenix.LiveView.Flash) plug(:protect_from_forgery) plug(:put_secure_browser_headers) end pipeline :api do plug(:accepts, ["json"]) end scope...
25.6
67
0.68192
183e2ccbc1174f33f027ab4ff2d35e9a083a58c9
2,380
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/status.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...
38.387097
134
0.716807
183e4375a4762263760ea2977d7dec56f9112a0d
152
ex
Elixir
test/support/echo_delegator.ex
tlux/delx
8510f5ae2a6d9ec3886a3feed050ffcfd795937d
[ "MIT" ]
2
2021-02-26T05:46:07.000Z
2021-04-01T16:43:03.000Z
test/support/echo_delegator.ex
tlux/delx
8510f5ae2a6d9ec3886a3feed050ffcfd795937d
[ "MIT" ]
1
2019-07-28T21:15:47.000Z
2019-07-28T21:15:47.000Z
test/support/echo_delegator.ex
tlux/delx
8510f5ae2a6d9ec3886a3feed050ffcfd795937d
[ "MIT" ]
null
null
null
defmodule EchoDelegator do @behaviour Delx.Delegator @impl true def apply(source, target, args) do {:delx, {source, target, args}} end end
16.888889
36
0.697368
183e5f7b2a5cdf4dab3060e636d1976fc4b363ee
4,252
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/binding.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/binding.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/binding.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...
80.226415
1,972
0.753998
183e6a4572a062b288934657b75a99b029f0e118
1,864
ex
Elixir
lib/lbcparser.ex
adanselm/lbcproxy
6ed4987e804eaae68491878783fab9706d534a72
[ "MIT" ]
3
2016-03-06T21:23:44.000Z
2017-03-13T23:39:25.000Z
lib/lbcparser.ex
adanselm/lbcproxy
6ed4987e804eaae68491878783fab9706d534a72
[ "MIT" ]
null
null
null
lib/lbcparser.ex
adanselm/lbcproxy
6ed4987e804eaae68491878783fab9706d534a72
[ "MIT" ]
null
null
null
defmodule Lbcparser do @behaviour Parser alias Floki, as: F def parse(html) do F.find(html, ".tabsContent a") |> extract end defp extract([elem | rest]) do [extract(elem) | extract(rest)] end defp extract([]) do [] end defp extract(elem) do link = List.first(F.attribute(elem, "a"...
28.242424
87
0.617489
183ebac8b58b2f358b13d8a07bf6df0e49e89264
179
exs
Elixir
config/dev.exs
Boogiep0p/neko-achievements
d26c969b9ebd88060d6278ccb9dc01e746cb002b
[ "MIT" ]
null
null
null
config/dev.exs
Boogiep0p/neko-achievements
d26c969b9ebd88060d6278ccb9dc01e746cb002b
[ "MIT" ]
null
null
null
config/dev.exs
Boogiep0p/neko-achievements
d26c969b9ebd88060d6278ccb9dc01e746cb002b
[ "MIT" ]
null
null
null
use Mix.Config config :neko, :shikimori, url: "https://shikimori.org/api/" #config :neko, :shikimori, url: "http://shikimori.dev/api/" config :appsignal, :config, active: false
25.571429
59
0.709497
183ed151a5e5ef3b73b8c9609041d081b27a328f
4,587
ex
Elixir
lib/query.ex
annatel/antl_utils_ecto
494af10a3331c46809c7295bfc674fe42ba5c064
[ "MIT" ]
3
2020-10-30T13:57:58.000Z
2022-03-03T15:21:53.000Z
lib/query.ex
annatel/antl_utils_ecto
494af10a3331c46809c7295bfc674fe42ba5c064
[ "MIT" ]
1
2020-12-30T11:36:33.000Z
2020-12-30T11:36:33.000Z
lib/query.ex
annatel/antl_utils_ecto
494af10a3331c46809c7295bfc674fe42ba5c064
[ "MIT" ]
null
null
null
defmodule AntlUtilsEcto.Query do @moduledoc """ Set of utils for Ecto.Query """ @type status :: :ended | :ongoing | :scheduled import Ecto.Query, only: [dynamic: 2, from: 2] @spec where(any, atom, nil | binary | [any] | integer | boolean) :: Ecto.Query.t() def where(queryable, key, nil) when is_atom(key...
30.377483
99
0.620885
183ed5eff4c0e826e0b80de280193e16391fa965
1,703
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/signup_url.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_management/lib/google_api/android_management/v1/model/signup_url.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_management/lib/google_api/android_management/v1/model/signup_url.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.06
189
0.725191
183ee78d62cd59d6671b5845393ddc31a7ff5f25
357
ex
Elixir
apps/algolia/lib/algolia/stops.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/algolia/lib/algolia/stops.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/algolia/lib/algolia/stops.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Algolia.Stops do @behaviour Algolia.Index @repo :algolia |> Application.get_env(:repos) |> Keyword.fetch!(:stops) @impl Algolia.Index def all do @repo.all |> Enum.reject(& &1.is_child?) end @impl Algolia.Index def index_name, do: "stops" def by_route(route_id), do: @...
19.833333
63
0.641457
183f034a97375603f35ea53ae3ecf45c57de9bb4
2,345
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/failure_detail.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/failure_detail.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/failure_detail.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 ...
39.745763
204
0.707889
183f0ddf617d477e229a15e540f248407e7256e6
7,255
ex
Elixir
lib/live_attribute.ex
axelson/live_attribute
5935e58c922bbbc2961f2e574bd43668174685ef
[ "MIT" ]
null
null
null
lib/live_attribute.ex
axelson/live_attribute
5935e58c922bbbc2961f2e574bd43668174685ef
[ "MIT" ]
null
null
null
lib/live_attribute.ex
axelson/live_attribute
5935e58c922bbbc2961f2e574bd43668174685ef
[ "MIT" ]
null
null
null
defmodule LiveAttribute do use GenServer defstruct [:refresher, :subscribe, :target, :filter] @moduledoc """ LiveAttribute makes binding updateable values easier. To use it add it to your LiveView using `use LiveAttribute` and then use the function `assign_attribute(socket, subscribe_callback, property_callb...
29.02
118
0.665748
183f1baa3c385e61d1fe63b193e1fb75b81f1cf7
1,798
ex
Elixir
lib/history/lending_rates.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/history/lending_rates.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/history/lending_rates.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule History.LendingRates do require Ecto.Query import Ecto.Query alias History.Repo alias History.LendingRates.LendingRate @default_latest_page 1 @default_latest_page_size 25 @max_page_size 100 def search_latest(opts \\ []) do page = max((opts[:page] || @default_latest_page) - 1, 0) page...
22.475
95
0.57119
183f221d098aa08c74d69be274ae6d409ff5a640
193
ex
Elixir
lib/ready.ex
ckampfe/ready
33cb1b5f48da1a7950263160588cdecdfc664c91
[ "MIT" ]
null
null
null
lib/ready.ex
ckampfe/ready
33cb1b5f48da1a7950263160588cdecdfc664c91
[ "MIT" ]
null
null
null
lib/ready.ex
ckampfe/ready
33cb1b5f48da1a7950263160588cdecdfc664c91
[ "MIT" ]
null
null
null
defmodule Ready do @moduledoc """ Documentation for Ready. """ @doc """ Hello world. ## Examples iex> Ready.hello() :world """ def hello do :world end end
10.157895
26
0.549223
183f22a601920304831b89f2101270671741654b
83
exs
Elixir
test/test_helper.exs
normanpatrick/simple-nested-resources
ff93b20d55cc621830942ff7806dec0ded42997f
[ "MIT" ]
null
null
null
test/test_helper.exs
normanpatrick/simple-nested-resources
ff93b20d55cc621830942ff7806dec0ded42997f
[ "MIT" ]
null
null
null
test/test_helper.exs
normanpatrick/simple-nested-resources
ff93b20d55cc621830942ff7806dec0ded42997f
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(SimpleNestedResources.Repo, :manual)
27.666667
67
0.819277
183f254561b8ccc6fc965defee85cfb13b09cc70
3,934
exs
Elixir
integration_test/sql/sql.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
4
2019-06-26T22:43:55.000Z
2020-01-19T17:37:07.000Z
integration_test/sql/sql.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
3
2019-07-15T06:54:40.000Z
2020-02-09T16:36:44.000Z
integration_test/sql/sql.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
15
2019-01-15T18:17:44.000Z
2020-01-12T03:52:35.000Z
defmodule Ecto.Integration.SQLTest do use Ecto.Integration.Case, async: true alias Ecto.Integration.TestRepo alias Ecto.Integration.Barebone alias Ecto.Integration.Post alias Ecto.Integration.CorruptedPk import Ecto.Query, only: [from: 2] test "fragmented types" do datetime = ~N[2014-01-16 20:26:51]...
30.030534
102
0.64362
183f6b9f6eb79bf779369dd9c66ad5001c92d916
1,494
ex
Elixir
lib/brando_admin/components/form/submit.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando_admin/components/form/submit.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando_admin/components/form/submit.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule BrandoAdmin.Components.Form.Submit do @moduledoc """ Defines a submit button to send the form. All options are forwarded to the underlying `Phoenix.HTML.Form.submit/3` """ use Surface.Component @doc "The ID of the form to submit" prop form_id, :string @doc "The label to be used in the butt...
30.489796
420
0.62249
183f8cabf891e291e0a2d5c42e9f719bbb37c6ec
518
ex
Elixir
2021/day2/lib/task2.runner.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day2/lib/task2.runner.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day2/lib/task2.runner.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Task2Runner do def main do case File.read("data.txt") do {:ok, contents} -> process(contents) {:error, reason} -> "failed to read file 'data.txt': #{reason}" end |> IO.puts() end def process(contents) do Task2.solution( contents |> String.split("\n", trim: true) ...
24.666667
82
0.57722
183fa4550ab0dc03760894facc1465d44b70ebd6
8,917
ex
Elixir
test/support/live_views.ex
rrrene/phoenix_live_view
140cfb3f2924cb6595b9bb2979a1963ac0de6eb8
[ "MIT" ]
null
null
null
test/support/live_views.ex
rrrene/phoenix_live_view
140cfb3f2924cb6595b9bb2979a1963ac0de6eb8
[ "MIT" ]
null
null
null
test/support/live_views.ex
rrrene/phoenix_live_view
140cfb3f2924cb6595b9bb2979a1963ac0de6eb8
[ "MIT" ]
null
null
null
alias Phoenix.LiveViewTest.{ClockLive, ClockControlsLive} defmodule Phoenix.LiveViewTest.ThermostatLive do use Phoenix.LiveView def render(assigns) do ~L""" The temp is: <%= @val %><%= @greeting %> <button phx-click="dec">-</button> <button phx-click="inc">+</button><%= if @nest do %> <%= li...
25.997085
116
0.632612
183fe18d0f7dae68e4b3191d3dab0dd45d292fd6
684
ex
Elixir
lib/mix/tasks/ethyl.lint.ex
NFIBrokerage/ethyl
014dd11ad2c4a58feed51af005eea427a8ce0f7e
[ "MIT" ]
1
2022-01-21T22:53:26.000Z
2022-01-21T22:53:26.000Z
lib/mix/tasks/ethyl.lint.ex
NFIBrokerage/ethyl
014dd11ad2c4a58feed51af005eea427a8ce0f7e
[ "MIT" ]
2
2021-09-24T19:52:21.000Z
2021-09-27T21:46:45.000Z
lib/mix/tasks/ethyl.lint.ex
NFIBrokerage/ethyl
014dd11ad2c4a58feed51af005eea427a8ce0f7e
[ "MIT" ]
null
null
null
# chaps-ignore-start defmodule Mix.Tasks.Ethyl.Lint do use Mix.Task @moduledoc """ A mix task for running the Ethyl linters against specified files The linter may be run against a single file like so mix ethyl.lint path/to/ethyl/expression.exs Or you may pass a glob which is expanded by your shell ...
22.064516
66
0.660819
183fe31d33e8ce581eb20b6f8b4a4ec455d49e6a
789
ex
Elixir
lib/gen_magic/helpers.ex
kianmeng/gen_magic
db6888a90f5b1fa065abe8b45d8fbac0bde8e3c0
[ "Apache-2.0" ]
7
2020-05-13T22:47:32.000Z
2022-01-09T00:44:08.000Z
lib/gen_magic/helpers.ex
kianmeng/gen_magic
db6888a90f5b1fa065abe8b45d8fbac0bde8e3c0
[ "Apache-2.0" ]
13
2020-05-04T14:06:48.000Z
2022-01-05T12:41:04.000Z
lib/gen_magic/helpers.ex
kianmeng/gen_magic
db6888a90f5b1fa065abe8b45d8fbac0bde8e3c0
[ "Apache-2.0" ]
4
2020-04-28T16:58:50.000Z
2021-07-24T21:36:32.000Z
defmodule GenMagic.Helpers do @moduledoc """ Contains convenience functions for one-off use. """ alias GenMagic.Result alias GenMagic.Server @spec perform_once(Path.t(), [Server.option()]) :: {:ok, Result.t()} | {:error, term()} @doc """ Runs a one-shot process without supervision. Useful in tests,...
27.206897
94
0.633714
183ffa5032566b12ffd457531a1cd2e34f9e5c9b
586
exs
Elixir
exercises/diffie-hellman/mix.exs
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
exercises/diffie-hellman/mix.exs
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
exercises/diffie-hellman/mix.exs
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule DiffieHellman.MixProject do use Mix.Project def project do [ app: :diffie_hellman, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.206897
87
0.583618
184008180fc71a672f8a46d9de116c5e59a75942
1,147
ex
Elixir
lib/social/users/users_supervisor.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
lib/social/users/users_supervisor.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
lib/social/users/users_supervisor.ex
PaoloLaurenti/social-networking-kata
ade6139e2d41f1446e5fa23172395db56cfa4d33
[ "MIT" ]
null
null
null
defmodule SocialNetworkingKata.Social.Users.UsersSupervisor do @moduledoc """ The Supervisor of all the processes about the users of the """ use Supervisor alias SocialNetworkingKata.ServicesNamesResolver alias SocialNetworkingKata.Social.Messages.VolatileMessagesRepository @spec child_spec(username: Str...
34.757576
91
0.710549
18401851bd6df5a4f9a57d495826b56fbf8f1eba
2,659
ex
Elixir
lib/ex_aws/config/auth_cache.ex
Costa-Silva/ex_aws
6a54c3ccf70f58d5c795a4726324d7ab4290d5e4
[ "MIT" ]
1
2021-01-05T11:56:32.000Z
2021-01-05T11:56:32.000Z
lib/ex_aws/config/auth_cache.ex
hetaoapps/ex_aws
1dcf28d13f0cfb384545dc7a068486874c74635a
[ "MIT" ]
null
null
null
lib/ex_aws/config/auth_cache.ex
hetaoapps/ex_aws
1dcf28d13f0cfb384545dc7a068486874c74635a
[ "MIT" ]
2
2020-12-29T13:52:35.000Z
2021-05-11T07:36:26.000Z
defmodule ExAws.Config.AuthCache do use GenServer @moduledoc false # http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html defmodule AuthConfigAdapter do @moduledoc false @doc "Compute the awscli auth information." @callback adapt_auth_config(auth :: map, profile :: St...
27.132653
97
0.68522
18401b99ef9d8aa47b4181e9375d7e664fb46f60
2,085
ex
Elixir
clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_policy_controller_state.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_policy_controller_state.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_policy_controller_state.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...
40.882353
177
0.768825
184040fe12bf969cbe9f208037eea6918b7e4728
896
exs
Elixir
priv/repo/migrations/20190617065216_update_published_at_insights.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20190617065216_update_published_at_insights.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20190617065216_update_published_at_insights.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.UpdatePublishedAtInsights do use Ecto.Migration use Ecto.Migration import Ecto.Query alias Sanbase.Repo alias Sanbase.Insight.Post def up() do Application.ensure_all_started(:tzdata) Application.ensure_all_started(:prometheus_ecto) Sanbase.Prometheus.EctoInst...
22.974359
77
0.660714
18406cf1e39f51d92fe168953ed581380dc65898
4,387
ex
Elixir
lib/mix/lib/mix/shell.ex
maartenvanvliet/elixir
62d75fd7c657b2e08bfaff4002a851efaccf5a65
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell.ex
maartenvanvliet/elixir
62d75fd7c657b2e08bfaff4002a851efaccf5a65
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell.ex
maartenvanvliet/elixir
62d75fd7c657b2e08bfaff4002a851efaccf5a65
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell do @moduledoc """ Defines `Mix.Shell` contract. """ @doc """ Prints the given ANSI message to the shell. """ @callback info(message :: IO.ANSI.ansidata()) :: :ok @doc """ Prints the given ANSI error to the shell. """ @callback error(message :: IO.ANSI.ansidata()) :: :ok @d...
24.646067
106
0.592204
184081f3e297dfa859705939bab59c5ffb92b466
17,295
ex
Elixir
lib/elixir/lib/module/types/pattern.ex
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/pattern.ex
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/pattern.ex
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
defmodule Module.Types.Pattern do @moduledoc false alias Module.Types.Of import Module.Types.{Helpers, Unify} @doc """ Handles patterns and guards at once. """ def of_head(patterns, guards, stack, context) do with {:ok, types, context} <- map_reduce_ok(patterns, context, &of_pattern(&1, s...
33.388031
98
0.586586
184099bd5f982d04adc06adf3ca06820ea5d5e19
1,033
ex
Elixir
lib/geolix/adapter/mmdb2/result/enterprise.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/result/enterprise.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/result/enterprise.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MMDB2.Result.Enterprise do @moduledoc """ Result for `GeoIP2 Enterprise` databases. """ alias Geolix.Adapter.MMDB2.Model alias Geolix.Adapter.MMDB2.Record alias Geolix.Adapter.MMDB2.Result defstruct %Result.City{} |> Map.keys() |> List.delete(:__struct__)...
34.433333
94
0.703775
18409de6e23961977dbf45a5cc44924835ee75e5
145
exs
Elixir
config/host/auth_secret_ci.exs
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
config/host/auth_secret_ci.exs
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
config/host/auth_secret_ci.exs
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
use Mix.Config config :farmbot, :authorization, email: "travis@travis.org", password: "password123", server: "https://staging.farmbot.io"
20.714286
38
0.717241
1840c10eb0eaf4710d8937a6e6aeb3fcba0b29a5
1,049
exs
Elixir
mix.exs
edubkendo/kitsune
f45b8609ae9cbd967b9d8a2da5255b18961bfb6e
[ "MIT" ]
8
2015-01-07T21:15:22.000Z
2020-02-23T14:58:58.000Z
mix.exs
edubkendo/kitsune
f45b8609ae9cbd967b9d8a2da5255b18961bfb6e
[ "MIT" ]
null
null
null
mix.exs
edubkendo/kitsune
f45b8609ae9cbd967b9d8a2da5255b18961bfb6e
[ "MIT" ]
1
2019-04-16T05:52:55.000Z
2019-04-16T05:52:55.000Z
defmodule Kitsune.Mixfile do use Mix.Project def project do [app: :kitsune, version: "0.5.2", description: "Kitsune is an Elixir library for transforming the representation of data inspired by Representable.", package: package, elixir: "~> 1.1-dev", deps: deps] end # Configuration...
23.311111
120
0.57674
1840f242dda6c96bb8b816ec1693d81928f035f5
1,123
exs
Elixir
config/config.exs
alexdeleon/focus
9212e552b725053d0763cee80baf4882c1f80b99
[ "BSD-2-Clause" ]
247
2017-02-21T15:16:00.000Z
2021-06-27T15:08:44.000Z
config/config.exs
alexdeleon/focus
9212e552b725053d0763cee80baf4882c1f80b99
[ "BSD-2-Clause" ]
10
2017-02-19T03:52:19.000Z
2019-12-06T22:11:38.000Z
config/config.exs
alexdeleon/focus
9212e552b725053d0763cee80baf4882c1f80b99
[ "BSD-2-Clause" ]
10
2017-02-20T22:52:04.000Z
2021-06-14T17:49:23.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.225806
73
0.752449
184126d766889e8972092a2b3b1a9121ff0b6376
6,231
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.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...
61.088235
640
0.726689
18412cd203d0580f6256f06df8cea4a59cbb3571
800
ex
Elixir
lib/schemas/db/exercise_record.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
lib/schemas/db/exercise_record.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
lib/schemas/db/exercise_record.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
defmodule Tokyo.Db.ExerciseRecord do use Ecto.Schema import Ecto.Changeset @schema_prefix "tokyo" @primary_key {:ex_rec_id, :binary_id, []} @fields [ :ex_rec_id, :ex_id, :ex_name, :user_id, :workout_id, :created_date, ] @required_fields ...
20
52
0.57125
184149a4eaeae214d0a304f0dbffea3168e94779
142
exs
Elixir
test/test_helper.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
18
2018-12-14T16:53:27.000Z
2022-03-16T09:30:36.000Z
test/test_helper.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
44
2019-04-16T04:32:17.000Z
2022-03-24T04:03:53.000Z
test/test_helper.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
3
2020-01-17T15:29:33.000Z
2021-12-12T19:50:33.000Z
ExUnit.start() defmodule TestProcessor do @behaviour Receivex.Handler def process(email) do send(self(), {:email, email}) end end
14.2
33
0.704225
18418ec27d7ba4d14ee6b28147158852cffe96b0
1,123
exs
Elixir
phone-number/example.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
phone-number/example.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
phone-number/example.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
defmodule Phone do @moduledoc """ Utilities to work with phone numbers. """ @bad_result "0000000000" @doc """ Clean up a phone number. Returns 0000000000 if the phone number is bad. """ @spec number(String.t) :: String.t def number(raw) do raw |> to_parts |> to_string end @spec t...
19.033898
116
0.589492
1841d50df9cacde7e23cd6ed2e39cf59be3c9803
871
ex
Elixir
apps/core/lib/core/schema/webhook_log.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/schema/webhook_log.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/schema/webhook_log.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Schema.WebhookLog do use Piazza.Ecto.Schema alias Core.Schema.IntegrationWebhook defenum State, sending: 0, delivered: 1, failed: 2 schema "webhook_logs" do field :state, State field :status, :integer field :response, :binary field :attempts, :integer field :payload, :...
24.194444
68
0.685419
1841dd7b7351939c1818c7c5c434febe1680e04c
1,086
ex
Elixir
lib/mix/lib/mix/scm/path.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/mix/lib/mix/scm/path.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/scm/path.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
defmodule Mix.SCM.Path do @behavior Mix.SCM @moduledoc false def format(opts) do [path: opts[:path]] end def format_lock(_lock) do nil end def accepts_options(app, opts) do cond do raw = opts[:path] -> Keyword.put opts, :dest, Path.expand(raw) opts[:in_umbrella] -> ...
19.745455
97
0.60221
1841f7dcdfcfa662409bccce12d913c7ae4a5a95
2,811
ex
Elixir
lib/canvas/resources/assignments.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
lib/canvas/resources/assignments.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
lib/canvas/resources/assignments.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
defmodule Canvas.Resources.Assignments do @moduledoc """ Provides functions to interact with the [assignment endpoints](https://canvas.instructure.com/doc/api/assignments). """ alias Canvas.{Client, Listing, Response} alias Canvas.Resources.Assignment def delete_an_assignment() do end @doc """ Li...
30.89011
118
0.683742
184245af6b9c5a7ddb445fe52e452d05fae87095
46,366
ex
Elixir
lib/zaryn/contracts/interpreter.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn/contracts/interpreter.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn/contracts/interpreter.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.Contracts.Interpreter do @moduledoc false alias Crontab.CronExpression.Parser, as: CronParser alias __MODULE__.Library alias __MODULE__.TransactionStatements alias Zaryn.Contracts.Contract alias Zaryn.Contracts.Contract.Conditions alias Zaryn.SharedSecrets alias Zaryn.TransactionCha...
31.99862
471
0.498339