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
731d3b1c47741081e3b8533bb7efc5588f6bc665
460
exs
Elixir
test/test_helper.exs
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
1
2015-07-08T04:32:02.000Z
2015-07-08T04:32:02.000Z
test/test_helper.exs
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
test/test_helper.exs
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
:application.start :inets test_server_config = [ port: 9090, server_name: 'hound_test_server', server_root: Path.absname('test/sample_pages'), document_root: Path.absname('test/sample_pages'), bind_address: {127,0,0,1} ] {:ok, pid} = :inets.start(:httpd, test_server_config) {:ok, _hound_pid} = Hound.start([...
24.210526
70
0.715217
731d70718b992893ea7fd815d40201e2feb6e943
2,501
exs
Elixir
apps/banking_api/test/accounts_test.exs
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
apps/banking_api/test/accounts_test.exs
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
apps/banking_api/test/accounts_test.exs
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
defmodule BankingApi.AccountsTest do use BankingApi.DataCase, async: true alias BankingApi.User alias BankingApi.Account describe "test withdraws" do setup do password = "8ji898jdjav" params = %{ name: "user", cpf: "12332112331", password_hash: Argon2.hash_pwd_salt(pas...
26.606383
93
0.628948
731db053cd8239629defef38086cbae0afc44638
3,635
exs
Elixir
test/books_web/live/page_live_test.exs
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
test/books_web/live/page_live_test.exs
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
test/books_web/live/page_live_test.exs
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
defmodule BooksWeb.PageLiveTest do use BooksWeb.ConnCase import Phoenix.LiveViewTest alias Books.Pages @create_attrs %{passive_ability: 42, serial_number: 42, title: "some title", type: 42} @update_attrs %{passive_ability: 43, serial_number: 43, title: "some updated title", type: 43} @invalid_attrs %{pas...
31.068376
96
0.611279
731dc4d987876553432ce0497f3385a39f3d7918
1,610
exs
Elixir
mix.exs
venndr/open_exchange_rates
1e679ac05d8ac924a7329543ec61bd92a0a646ba
[ "MIT" ]
null
null
null
mix.exs
venndr/open_exchange_rates
1e679ac05d8ac924a7329543ec61bd92a0a646ba
[ "MIT" ]
null
null
null
mix.exs
venndr/open_exchange_rates
1e679ac05d8ac924a7329543ec61bd92a0a646ba
[ "MIT" ]
null
null
null
defmodule OpenExchangeRates.Mixfile do use Mix.Project def project do [ app: :open_exchange_rates, description: "A library that can convert currencies and uses automatic updating of the currrency rates using openexchangerates.org", package: package(), version: "0.3.0", elixir: "~>...
30.377358
138
0.571429
731dcb0b2bed49ead98bbcb1d6840923b66245a4
1,131
exs
Elixir
vivaldi/test/coordinate_stash_test.exs
pixyj/vivaldi
771f8d84eae9ad285b3b4f92de832b9a165d17fa
[ "MIT" ]
13
2017-02-06T11:37:22.000Z
2022-01-31T20:09:27.000Z
vivaldi/test/coordinate_stash_test.exs
pixyj/vivaldi
771f8d84eae9ad285b3b4f92de832b9a165d17fa
[ "MIT" ]
null
null
null
vivaldi/test/coordinate_stash_test.exs
pixyj/vivaldi
771f8d84eae9ad285b3b4f92de832b9a165d17fa
[ "MIT" ]
1
2020-02-26T13:44:12.000Z
2020-02-26T13:44:12.000Z
defmodule CoordinateStashTest do use ExUnit.Case alias Vivaldi.Peer.{Config, CoordinateStash} test "Test get and set" do conf_one = [ node_id: :a, node_name: :"a@127.0.0.1", session_id: 1, peers: [], vivaldi_ce: 0.5 ] conf_two = [ node_id: :b, node_name: :...
24.06383
64
0.624226
731dd1d41ad4d1dfded0a13960ef8ba95ecf4e9a
572
ex
Elixir
lib/mipha_web/controllers/admin/company_controller.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha_web/controllers/admin/company_controller.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha_web/controllers/admin/company_controller.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule MiphaWeb.Admin.CompanyController do use MiphaWeb, :controller alias Mipha.Accounts alias Mipha.Accounts.Queries def index(conn, params) do result = Queries.list_companies() |> Turbo.Ecto.turbo(params) render(conn, :index, companies: result.datas, paginate: result.paginate) end def delet...
27.238095
76
0.706294
731de3c4a65e3e5db0d6e886f46145b3230a764e
615
exs
Elixir
test/integration/unit_test/import_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/integration/unit_test/import_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/integration/unit_test/import_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
defmodule ZiglerTest.Integration.ZigTest.TransitiveTest do use ExUnit.Case, async: true use Zigler import Zigler.Unit alias ZiglerTest.ZigTest.Transitive @moduletag :zigtest zigtest Transitive test "transitive zigtest inclusion via import" do assert function_exported?(__MODULE__, :"imported test",...
23.653846
64
0.746341
731df7a136e98cb7e5c9297a9050a50f1aef236c
1,801
ex
Elixir
elixir/ocr-numbers/lib/ocr_numbers.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/ocr-numbers/lib/ocr_numbers.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/ocr-numbers/lib/ocr_numbers.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule OcrNumbers do @conversions %{ " _ | ||_| " => "0", " | | " => "1", " _ _||_ " => "2", " _ _| _| " => "3", " |_| | " => "4", " _ |_ _| " => "5", " _ |_ |_| " => "6", " _ | | " => "7", " _ |_||_| " => "8", " _ |_| _| " => "9" } @he...
19.791209
97
0.522488
731e0347c49803a6bc628453fc6b9341cdfaa7c7
63
ex
Elixir
lib/karroake_web/views/song_view.ex
ontanj/karroake
b3346707df9d2378a06ee3bb7d218d0962fe7d86
[ "MIT" ]
null
null
null
lib/karroake_web/views/song_view.ex
ontanj/karroake
b3346707df9d2378a06ee3bb7d218d0962fe7d86
[ "MIT" ]
1
2021-05-10T10:36:59.000Z
2021-05-10T10:36:59.000Z
lib/karroake_web/views/song_view.ex
ontanj/karroake
b3346707df9d2378a06ee3bb7d218d0962fe7d86
[ "MIT" ]
null
null
null
defmodule KarroakeWeb.SongView do use KarroakeWeb, :view end
15.75
33
0.809524
731e2e900aca97085affaf0081dcc09204a6607b
1,401
exs
Elixir
test/beanstix_test.exs
fitronics/beanstix
8e0da4596a83b71981adda8c5ee76ff76aaa877c
[ "MIT" ]
1
2018-09-02T21:34:47.000Z
2018-09-02T21:34:47.000Z
test/beanstix_test.exs
fitronics/beanstix
8e0da4596a83b71981adda8c5ee76ff76aaa877c
[ "MIT" ]
null
null
null
test/beanstix_test.exs
fitronics/beanstix
8e0da4596a83b71981adda8c5ee76ff76aaa877c
[ "MIT" ]
1
2019-11-13T16:46:47.000Z
2019-11-13T16:46:47.000Z
defmodule BeanstixTest do use ExUnit.Case doctest Beanstix @moduletag :simple @data "simple" setup context do Beanstix.TestHelpers.setup_connection(context) end test "put", %{pid: pid} do assert {:ok, job_id} = Beanstix.put(pid, @data) assert {:ok, {^job_id, @data}} = Beanstix.reserve(pid) ...
31.133333
65
0.645253
731e3d27e675ef95c0c67e4375e1f644df060166
14,324
exs
Elixir
test/bitcrowd_ecto/assertions_test.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
2
2022-01-11T08:03:49.000Z
2022-02-11T10:25:30.000Z
test/bitcrowd_ecto/assertions_test.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
3
2022-02-03T21:28:14.000Z
2022-03-25T09:03:15.000Z
test/bitcrowd_ecto/assertions_test.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
null
null
null
# SPDX-License-Identifier: Apache-2.0 defmodule BitcrowdEcto.AssertionsTest do use BitcrowdEcto.TestCase, async: true import BitcrowdEcto.{Assertions, TestSchema} doctest BitcrowdEcto.Assertions, import: true describe "flat_errors_on/2" do test "flattens all errors and their validation metadata into a li...
30.02935
100
0.641022
731e6bc42ccf95e2f0b8a59eae3aa1ae4936f714
638
ex
Elixir
lib/opensource_challenge_web/auth_error_handler.ex
topaxi/opensource-challenge-api
27e5da9c5162a8f0f4533f9f7f14ca1d145bac31
[ "MIT" ]
3
2016-11-29T10:58:11.000Z
2020-04-29T12:17:23.000Z
lib/opensource_challenge_web/auth_error_handler.ex
topaxi/opensource-challenge-api
27e5da9c5162a8f0f4533f9f7f14ca1d145bac31
[ "MIT" ]
50
2016-12-04T15:02:31.000Z
2021-07-23T04:21:55.000Z
lib/opensource_challenge_web/auth_error_handler.ex
topaxi/opensource-challenge-api
27e5da9c5162a8f0f4533f9f7f14ca1d145bac31
[ "MIT" ]
5
2019-11-24T11:17:39.000Z
2020-04-29T12:19:36.000Z
defmodule OpensourceChallengeWeb.AuthErrorHandler do use OpensourceChallengeWeb, :controller @behaviour Guardian.Plug.ErrorHandler def unauthenticated(conn, _params \\ %{}) do conn |> put_status(401) |> render(OpensourceChallengeWeb.ErrorView, "401.json-api") |> halt end def unauthorized(co...
24.538462
63
0.69279
731e7059c4a0f4ad1e9eb367280218a80c62cfef
241
ex
Elixir
b1/lib/b1.ex
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
1
2022-02-22T04:56:25.000Z
2022-02-22T04:56:25.000Z
b1/lib/b1.ex
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
null
null
null
b1/lib/b1.ex
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
null
null
null
defmodule B1 do @moduledoc """ B1 keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.1
66
0.742739
731e7aab49695bd13e9853d63384f4c3489ed8c9
634
exs
Elixir
elixir/mix.exs
ChrisWilding/canvas
58023e1a3d25882f1f7e6aeb6fc932ede3ce9c18
[ "Apache-2.0" ]
null
null
null
elixir/mix.exs
ChrisWilding/canvas
58023e1a3d25882f1f7e6aeb6fc932ede3ce9c18
[ "Apache-2.0" ]
null
null
null
elixir/mix.exs
ChrisWilding/canvas
58023e1a3d25882f1f7e6aeb6fc932ede3ce9c18
[ "Apache-2.0" ]
null
null
null
defmodule Canvas.MixProject do use Mix.Project def project do [ app: :canvas, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appli...
21.133333
87
0.567823
731eb99ef81ab93f3fcc6c427e2aa8f4519a22ec
9,744
ex
Elixir
lib/ash_json_api/error/schema_errors.ex
peillis/ash_json_api
f63ccacebc049eba8d37b8b58181fb46a4a0ea8c
[ "MIT" ]
11
2020-09-21T22:03:42.000Z
2022-02-02T23:48:11.000Z
lib/ash_json_api/error/schema_errors.ex
peillis/ash_json_api
f63ccacebc049eba8d37b8b58181fb46a4a0ea8c
[ "MIT" ]
44
2020-05-02T04:37:42.000Z
2021-06-25T14:38:44.000Z
lib/ash_json_api/error/schema_errors.ex
peillis/ash_json_api
f63ccacebc049eba8d37b8b58181fb46a4a0ea8c
[ "MIT" ]
9
2020-08-25T20:23:34.000Z
2022-02-14T04:40:10.000Z
defmodule AshJsonApi.Error.SchemaErrors do @moduledoc false def all_errors(%{reason: reason}, format \\ :parameter) do reason |> JsonXema.ValidationError.travers_errors([], fn error, path, acc -> error |> error_messages(path) |> Enum.reduce(acc, fn message, acc -> [%{path: format_p...
31.230769
94
0.618637
731ecb4fcdb1524bde6324c02fb711adb7912f14
8,047
exs
Elixir
apps/graphql/test/web/resolvers/legal_entity_merge_job_resolver_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/graphql/test/web/resolvers/legal_entity_merge_job_resolver_test.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/graphql/test/web/resolvers/legal_entity_merge_job_resolver_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule GraphQL.LegalEntityMergeJobResolverTest do @moduledoc false use GraphQL.ConnCase, async: true import Core.Factories import Mox alias Absinthe.Relay.Node alias Ecto.UUID setup :verify_on_exit! setup %{conn: conn} do user_id = UUID.generate() tax_id = random_tax_id() party = in...
25.46519
113
0.516714
731f00593ce447bb5d1fdead09b44861bcb2bce4
67
ex
Elixir
lib/webapp_web/views/admin/region_view.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/views/admin/region_view.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/views/admin/region_view.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.Admin.RegionView do use WebappWeb, :view end
16.75
39
0.80597
731f0648af877b2765a7035c49fab33c1e716cd8
4,155
ex
Elixir
deps/ecto/lib/ecto/adapters/postgres/datetime.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
deps/ecto/lib/ecto/adapters/postgres/datetime.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/adapters/postgres/datetime.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Postgrex) do defmodule Ecto.Adapters.Postgres.Time do @moduledoc false import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, [send: "time_send"] def init(opts), do: opts def encode(_) do quote location: :keep do {hour, min, sec, usec} when ho...
30.108696
109
0.627677
731f0ac1650aad2978ec237ce89289ce5878948e
4,718
exs
Elixir
test/changelog_web/plugs/vanity_domains_test.exs
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
test/changelog_web/plugs/vanity_domains_test.exs
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
test/changelog_web/plugs/vanity_domains_test.exs
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.VanityDomainsTest do use ChangelogWeb.ConnCase alias ChangelogWeb.{Plug} @jsparty %{ vanity_domain: "https://jsparty.fm", slug: "jsparty", apple_url: "https://podcasts.apple.com/us/podcast/js-party/id1209616598", name: "JS Party" } @gotime %{ vanity_domain: "https:...
28.421687
81
0.666172
731f10bda7f872e5d0eaff905cc1ca5f373e1b13
129
exs
Elixir
test/test_helper.exs
wojtekmach/plug_cowboy
45edb6ea83a854eaee7a9f88d8499599439f937a
[ "Apache-2.0" ]
183
2018-10-18T18:50:17.000Z
2022-01-11T22:28:20.000Z
test/test_helper.exs
wojtekmach/plug_cowboy
45edb6ea83a854eaee7a9f88d8499599439f937a
[ "Apache-2.0" ]
76
2018-10-19T07:54:00.000Z
2022-02-26T13:22:36.000Z
test/test_helper.exs
wojtekmach/plug_cowboy
45edb6ea83a854eaee7a9f88d8499599439f937a
[ "Apache-2.0" ]
46
2018-10-18T21:38:44.000Z
2021-12-29T12:39:25.000Z
ExUnit.start(assert_receive_timeout: 1000) Logger.configure_backend(:console, colors: [enabled: false], metadata: [:request_id])
43
85
0.79845
731f10cf47ca2aef197da5ce24181198aae4cb3e
1,157
ex
Elixir
core/sup_tree_core/executor_pool/async_job_log_writer.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
core/sup_tree_core/executor_pool/async_job_log_writer.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/executor_pool/async_job_log_writer.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:21.000Z
2020-08-27T18:43:21.000Z
# Copyright(c) 2015-2020 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.ExecutorPool.AsyncJobLog.Writer do @moduledoc """ A `GenServer` for logging, which is used in `AntikytheraCore.ExecutorPool.AsyncJobRunner`. """ use GenServer alias Antikythera.{Time, ContextId} alias Antik...
23.14
92
0.709594
731f1767bb42f7f9bb5aac0ea707b82fc2baa572
2,671
exs
Elixir
test/cog/chat/hipchat/templates/embedded/relay_group_info_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/relay_group_info_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/relay_group_info_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.RelayGroupInfoTest do use Cog.TemplateCase test "relay-group-info template with one input" do data = %{"results" => [%{"name" => "foo", "created_at" => "some point in the past", "relays" => [%{"name" => "my_...
44.516667
85
0.403969
731f33e006e91a5dbf51a4e82a6c9560334dc079
1,660
ex
Elixir
lib/password_validator/validators/character_set_validator/config.ex
philippneugebauer/password-validator
01d8f6532d4391e4d74f10548c2b32b2449eeb66
[ "Apache-2.0" ]
null
null
null
lib/password_validator/validators/character_set_validator/config.ex
philippneugebauer/password-validator
01d8f6532d4391e4d74f10548c2b32b2449eeb66
[ "Apache-2.0" ]
null
null
null
lib/password_validator/validators/character_set_validator/config.ex
philippneugebauer/password-validator
01d8f6532d4391e4d74f10548c2b32b2449eeb66
[ "Apache-2.0" ]
null
null
null
defmodule PasswordValidator.Validators.CharacterSetValidator.Config do defstruct [:upper_case, :lower_case, :numbers, :special, :allowed_special_characters] @type keys :: :upper_case | :lower_case | :numbers | :special alias PasswordValidator.Validators.CharacterSetValidator.Config @spec from_options(list({at...
40.487805
125
0.71747
731f53d0a696c59b26b7e0abf172933a6c0bf5eb
4,132
ex
Elixir
lib/request/pci_proxies/channex_pci.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/request/pci_proxies/channex_pci.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/request/pci_proxies/channex_pci.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
defmodule ExOpenTravel.Request.PCIProxies.ChannexPCI do alias ExOpenTravel.Request alias ExOpenTravel.Request.Helpers @pci_url "https://pci.channex.io/api/v1/capture" @type options :: keyword() | any() @spec proxy_send({String.t(), map()}, map(), options) :: {:ok, map(), map()} | {:error, map(), m...
32.28125
100
0.646902
731f5406d946468a67351bc37e8080fe93cc2f20
2,874
ex
Elixir
lib/aoc2019/day10.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2020-03-27T14:57:32.000Z
2020-03-27T14:57:32.000Z
lib/aoc2019/day10.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2019-12-07T14:32:47.000Z
2019-12-08T16:18:07.000Z
lib/aoc2019/day10.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
null
null
null
defmodule Aoc2019.Day10 do @behaviour DaySolution def solve_part1(), do: input_map() |> parse_asteroids() |> best_location() |> (fn {_, count} -> count end).() def solve_part2() do {station_coord, _} = input_map() |> parse_asteroids() |> best_location() input_map() |> parse_asteroids() |> v...
30.903226
99
0.559151
731f5f594fcd2b645d908bad1e8908cf4fb453bb
1,434
exs
Elixir
config/config.exs
LouisProulx/test-peepchat-backend
76c6b1a1a31820bcb6c79addaeb85d5f1a0ad47c
[ "MIT" ]
null
null
null
config/config.exs
LouisProulx/test-peepchat-backend
76c6b1a1a31820bcb6c79addaeb85d5f1a0ad47c
[ "MIT" ]
null
null
null
config/config.exs
LouisProulx/test-peepchat-backend
76c6b1a1a31820bcb6c79addaeb85d5f1a0ad47c
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :peepchat, ecto_repos: [Peepchat.Repo] ...
31.866667
118
0.747559
731fa15a82b4ea219f03d464533f376fffb44dbf
97
ex
Elixir
rumbrella/apps/rumbl/lib/rumbl/repo.ex
antonmi/espec_phoenix
51c44b6b1ece9fb48438b93f9765dfe834ee5544
[ "MIT" ]
144
2015-04-30T15:12:46.000Z
2022-01-07T03:40:26.000Z
rumbrella/apps/rumbl/lib/rumbl/repo.ex
antonmi/espec_phoenix
51c44b6b1ece9fb48438b93f9765dfe834ee5544
[ "MIT" ]
57
2015-04-29T11:26:54.000Z
2022-01-05T13:35:10.000Z
rumbrella/apps/rumbl/lib/rumbl/repo.ex
antonmi/espec_phoenix
51c44b6b1ece9fb48438b93f9765dfe834ee5544
[ "MIT" ]
46
2015-06-12T11:26:15.000Z
2021-12-15T00:38:26.000Z
defmodule Rumbl.Repo do use Ecto.Repo, otp_app: :rumbl, adapter: Ecto.Adapters.Postgres end
16.166667
33
0.752577
731fb35209d6728e64005ddcf4dc9c7e59683173
1,054
exs
Elixir
test/image_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
59
2017-09-30T23:28:20.000Z
2021-12-13T21:20:08.000Z
test/image_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
5
2017-10-27T07:28:13.000Z
2021-12-13T21:56:47.000Z
test/image_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
2
2017-10-26T13:50:46.000Z
2018-06-18T11:58:50.000Z
defmodule ImageTest do use ExUnit.Case doctest Rapport.Image alias Rapport.Image describe "as_data" do test "must convert png image to correct data" do png = File.read!(Path.join(__DIR__, "images/png.png")) data = Image.as_data(png) assert data =~ "image/png;base64" assert data =~ "...
29.277778
68
0.640417
731fcddd8bb9e0c37d0628c7aa5b90a7a738c6b0
26,619
ex
Elixir
lib/ash/actions/relationships.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/actions/relationships.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/actions/relationships.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
defmodule Ash.Actions.Relationships do @moduledoc false alias Ash.Changeset alias Ash.Engine.Request require Ash.Query def handle_relationship_changes(changeset) do Enum.reduce(changeset.relationships, changeset, fn {name, data}, changeset -> relationship = Ash.Resource.relationship(changeset.resou...
29.54384
98
0.611518
731fdbb06f560cf1f66fe73fbce59dd26178a315
2,601
exs
Elixir
mix.exs
donatoaz/custom_rpi
ecd3b05221e2984ab00e73b5c4b6780db893950d
[ "Apache-2.0" ]
null
null
null
mix.exs
donatoaz/custom_rpi
ecd3b05221e2984ab00e73b5c4b6780db893950d
[ "Apache-2.0" ]
null
null
null
mix.exs
donatoaz/custom_rpi
ecd3b05221e2984ab00e73b5c4b6780db893950d
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi.MixProject do use Mix.Project @app :custom_rpi @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", compilers: Mix.compilers() ++ [:nerves_package], ...
22.422414
76
0.577086
731fe2db810ca833018ccf15af80819dddcc8749
182
ex
Elixir
lib/space_mongers/unauthenticated_api_client.ex
ericgroom/space_mongers
e9f979318dca2e8ee4f685014bae585db15cd117
[ "MIT" ]
2
2021-03-18T02:00:29.000Z
2021-04-18T06:11:07.000Z
lib/space_mongers/unauthenticated_api_client.ex
ericgroom/space_mongers
e9f979318dca2e8ee4f685014bae585db15cd117
[ "MIT" ]
null
null
null
lib/space_mongers/unauthenticated_api_client.ex
ericgroom/space_mongers
e9f979318dca2e8ee4f685014bae585db15cd117
[ "MIT" ]
null
null
null
defmodule SpaceMongers.UnauthenticatedApiClient do @moduledoc false use Tesla plug(Tesla.Middleware.BaseUrl, "https://api.spacetraders.io") plug(Tesla.Middleware.JSON) end
20.222222
63
0.785714
732005c7955c7d6b15df18fba762229ae826293b
77
ex
Elixir
lib/built_with_elixir_web/views/page_view.ex
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
8
2018-04-15T19:01:14.000Z
2018-11-19T16:13:56.000Z
lib/built_with_elixir_web/views/page_view.ex
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
8
2018-04-14T03:32:12.000Z
2018-05-15T04:28:27.000Z
lib/built_with_elixir_web/views/page_view.ex
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
2
2021-09-22T13:44:09.000Z
2021-12-21T14:26:03.000Z
defmodule BuiltWithElixirWeb.PageView do use BuiltWithElixirWeb, :view end
19.25
40
0.844156
7320315e76caf461db2bd2cc1a137ffdc7b692e4
3,467
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_annotated_conversation_dataset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_annotated_conversation_dataset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_annotated_conversation_dataset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2021-03-04T13:43:47.000Z
2021-03-04T13:43:47.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...
49.528571
350
0.739544
7320483ad8776d9fc7ea0bb805a1f4d5fbaba1e3
1,812
exs
Elixir
test/oban/queue/executor_test.exs
jamilabreu/oban
5ee1781af993c93208b324024f72c0862cf076c8
[ "Apache-2.0" ]
null
null
null
test/oban/queue/executor_test.exs
jamilabreu/oban
5ee1781af993c93208b324024f72c0862cf076c8
[ "Apache-2.0" ]
null
null
null
test/oban/queue/executor_test.exs
jamilabreu/oban
5ee1781af993c93208b324024f72c0862cf076c8
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Queue.ExecutorTest do use Oban.Case, async: true import ExUnit.CaptureLog alias Oban.Queue.Executor defmodule Worker do use Oban.Worker @impl Worker def perform(%{args: %{"mode" => "ok"}}), do: :ok def perform(%{args: %{"mode" => "warn"}}), do: {:bad, :this_will_warn} def ...
30.2
82
0.591611
73206f23d079298b8f3352516adbc5870076775a
1,127
ex
Elixir
lib/lib_ten_web/channels/products/orders_channel.ex
10clouds/10Books
622360ea190421e07d4b207700867be105894218
[ "MIT" ]
11
2018-08-29T15:59:09.000Z
2021-08-25T16:35:13.000Z
lib/lib_ten_web/channels/products/orders_channel.ex
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
16
2018-08-29T15:43:52.000Z
2021-05-09T00:53:56.000Z
lib/lib_ten_web/channels/products/orders_channel.ex
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
3
2019-05-29T14:22:59.000Z
2020-06-06T12:30:54.000Z
defmodule LibTenWeb.Products.OrdersChannel do use Phoenix.Channel import LibTenWeb.Products.ChannelHelpers alias LibTen.Products.Orders def join("products:orders", _message, socket) do products = LibTenWeb.ProductsView.render("index.json", products: Orders.list()) {:ok, %{payload: products}, socket} ...
30.459459
83
0.698314
732075502c3b9eda770c32cfcb82952a2a1832ba
4,094
ex
Elixir
lib/smppex/pdu_storage.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
lib/smppex/pdu_storage.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
lib/smppex/pdu_storage.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
defmodule SMPPEX.PduStorage do @moduledoc false use GenServer require Integer alias :ets, as: ETS alias SMPPEX.PduStorage alias SMPPEX.Pdu defstruct [ :by_sequence_number, :next_sequence_number, :seq_table, :seq_key, :seq_store ] @type t :: %PduStorage{} @spec start_link(li...
28.830986
128
0.68466
73208e66659bb358bea462c03ff345447036a5a3
898
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.259259
74
0.762806
732097f5e4b9354865ddef5778946cc9a8f370e4
1,231
ex
Elixir
subjects_source/FTP/bftpd/debian/emacsen-install.ex
AminoACID123/profuzzbench
c24fcb1bb801acb68d80ec58cb6046c9a1e79853
[ "Apache-2.0" ]
6
2021-05-19T16:58:15.000Z
2022-03-10T03:51:20.000Z
subjects_source/FTP/bftpd/debian/emacsen-install.ex
AminoACID123/profuzzbench
c24fcb1bb801acb68d80ec58cb6046c9a1e79853
[ "Apache-2.0" ]
null
null
null
subjects_source/FTP/bftpd/debian/emacsen-install.ex
AminoACID123/profuzzbench
c24fcb1bb801acb68d80ec58cb6046c9a1e79853
[ "Apache-2.0" ]
4
2021-05-24T11:19:18.000Z
2022-03-08T17:58:24.000Z
#! /bin/sh -e # /usr/lib/emacsen-common/packages/install/bftpd # Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily # from the install scripts for gettext by Santiago Vila # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. FLAVOR=$1 PACKAGE=bftpd if [ ${FLAVOR} = emacs ]; then exit 0...
26.76087
96
0.685621
7320a45c240e34cbb2fda6a24e0586dbef1ae51f
1,229
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_https_proxy.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy.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.931818
77
0.725793
7320c74175cd187ca09e032385d402b76d5da5e5
1,989
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/suggested_bullet.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/docs/lib/google_api/docs/v1/model/suggested_bullet.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/docs/lib/google_api/docs/v1/model/suggested_bullet.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...
39.78
255
0.745098
7320d6c9e799a029a0a82dd6b1b3db6782100027
1,638
ex
Elixir
lib/petal_components/link.ex
cohawk/petal_components
2741c4de66fa8dfa2896fe1e6e02f1d1653422cd
[ "MIT" ]
null
null
null
lib/petal_components/link.ex
cohawk/petal_components
2741c4de66fa8dfa2896fe1e6e02f1d1653422cd
[ "MIT" ]
null
null
null
lib/petal_components/link.ex
cohawk/petal_components
2741c4de66fa8dfa2896fe1e6e02f1d1653422cd
[ "MIT" ]
null
null
null
defmodule PetalComponents.Link do use Phoenix.Component # prop class, :string # prop label, :string # prop link_type, :string, options: ["a", "live_patch", "live_redirect"] def link(assigns) do assigns = assigns |> assign_new(:class, fn -> "" end) |> assign_new(:link_type, fn -> "a" end) ...
26.852459
99
0.445055
7320f2139497aa8cc64cb597347f3c9d73aa4291
821
exs
Elixir
test/unit/hologram/compiler/module_def_aggregators/anonymous_function_call_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/module_def_aggregators/anonymous_function_call_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/module_def_aggregators/anonymous_function_call_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.ModuleDefAggregator.AnonymousFunctionCallTest do use Hologram.Test.UnitCase, async: false alias Hologram.Compiler.{ModuleDefAggregator, ModuleDefStore} alias Hologram.Compiler.IR.{AnonymousFunctionCall, ModuleDefinition, ModuleType} alias Hologram.Test.Fixtures.PlaceholderModule1 ...
28.310345
82
0.750305
7320f341fd908774c627759033a84d59e2fc4d69
1,162
ex
Elixir
dash/lib/dash_web/channels/user_socket.ex
bhaveshpoddar94/BitcoinRealtime
e9a60ae80596271048c81cbb2c3be7e3428d2a8f
[ "MIT" ]
null
null
null
dash/lib/dash_web/channels/user_socket.ex
bhaveshpoddar94/BitcoinRealtime
e9a60ae80596271048c81cbb2c3be7e3428d2a8f
[ "MIT" ]
null
null
null
dash/lib/dash_web/channels/user_socket.ex
bhaveshpoddar94/BitcoinRealtime
e9a60ae80596271048c81cbb2c3be7e3428d2a8f
[ "MIT" ]
null
null
null
defmodule DashWeb.UserSocket do use Phoenix.Socket ## Channels channel "room:*", DashWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentic...
30.578947
83
0.702238
7320fbaf8f3dd1b30d100882746bcbd556c10814
262
exs
Elixir
mix.exs
ansd/observer_cli
d0c27528bd7230eea827f753c863d9291b2b351d
[ "MIT" ]
1,205
2015-11-03T15:56:53.000Z
2022-03-29T08:48:45.000Z
mix.exs
ansd/observer_cli
d0c27528bd7230eea827f753c863d9291b2b351d
[ "MIT" ]
57
2016-04-27T08:17:31.000Z
2022-03-20T09:50:33.000Z
mix.exs
ansd/observer_cli
d0c27528bd7230eea827f753c863d9291b2b351d
[ "MIT" ]
89
2015-11-04T10:15:48.000Z
2022-02-21T22:18:30.000Z
defmodule ObserverCli.MixProject do use Mix.Project def project do [ app: :observer_cli, version: "1.7.1", language: :erlang, description: "observer in shell", deps: [ {:recon, "~> 2.5.1"}, ] ] end end
15.411765
39
0.534351
732100b5093e59015cdb6848028c59e0de0dcf41
1,936
ex
Elixir
lib/cowboy.ex
litecord/gateway
f55fad00923ff905d428a01a27b0da5c256fa3f3
[ "MIT" ]
3
2017-10-21T00:46:42.000Z
2018-12-17T13:41:48.000Z
lib/cowboy.ex
litecord/gateway
f55fad00923ff905d428a01a27b0da5c256fa3f3
[ "MIT" ]
3
2017-10-21T19:32:01.000Z
2017-12-08T04:56:59.000Z
lib/cowboy.ex
litecord/gateway
f55fad00923ff905d428a01a27b0da5c256fa3f3
[ "MIT" ]
null
null
null
defmodule Gateway.DefaultHandler do @moduledoc """ Just a default handler for / """ require Logger def init(req0, state) do Logger.info "giving a hello" req = :cowboy_req.reply(200, %{"content-type" => "text/plain"}, "helo", req0 ) {:ok, req, state} end end defmodule Gate...
21.511111
57
0.59814
73214dc63469607e72ef273dbb00a26868d82f96
1,088
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/connectivity_information.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/connectivity_information.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/connectivity_information.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Model.ConnectivityInformation do @moduledoc """ Information on the connectivity status. """ @derive [P...
27.2
101
0.693015
73214fbbabf44c536fa11d7491c5cefdbdc0faba
8,738
ex
Elixir
lib/elasticsearch/indexing/index.ex
marcelolebre/elasticsearch-elixir
1297d73fcc5b7b0bd43c081d563f716234849ae8
[ "MIT" ]
null
null
null
lib/elasticsearch/indexing/index.ex
marcelolebre/elasticsearch-elixir
1297d73fcc5b7b0bd43c081d563f716234849ae8
[ "MIT" ]
null
null
null
lib/elasticsearch/indexing/index.ex
marcelolebre/elasticsearch-elixir
1297d73fcc5b7b0bd43c081d563f716234849ae8
[ "MIT" ]
null
null
null
defmodule Elasticsearch.Index do @moduledoc """ Functions for manipulating Elasticsearch indexes. """ alias Elasticsearch.{ Cluster.Config, Index.Bulk } @doc """ Creates an index using a zero-downtime hot-swap technique. 1. Build an index for the given `alias`, with a timestamp: `alias-123231...
29.721088
127
0.602312
73215348f896aa0911f75ec1778a14c01d6f31cf
1,380
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/import_variants_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/import_variants_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/import_variants_response.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...
30
99
0.756522
7321804bdcdc578ae1cb7420feff5e7fddd210af
3,151
ex
Elixir
lib/ex_config/option_normalizer.ex
djthread/ex_config
6900ffe3c0cdc089a224621749bfd5d32cced562
[ "MIT" ]
null
null
null
lib/ex_config/option_normalizer.ex
djthread/ex_config
6900ffe3c0cdc089a224621749bfd5d32cced562
[ "MIT" ]
null
null
null
lib/ex_config/option_normalizer.ex
djthread/ex_config
6900ffe3c0cdc089a224621749bfd5d32cced562
[ "MIT" ]
null
null
null
defmodule ExConfig.OptionNormalizer do @moduledoc """ Helper tools for validating and creating fallback values for options """ @env_prefix_regex ~r/^[A-Z][A-Z0-9_]*$/ @default_valid_environments ~w(dev test beta prod)a # The default data sources to poll, in order @data_sources [ ExConfig.Environment...
26.041322
80
0.619169
7321827744c14a4fd43855c2f4d7fc00f0430495
2,040
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/publisher_provided_forecast.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/publisher_provided_forecast.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/publisher_provided_forecast.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 ...
38.490566
158
0.741176
732193f378a2aa5e64315b8cf3456988854a6e69
1,072
ex
Elixir
{{cookiecutter.app_name}}/lib/{{cookiecutter.app_name}}/guardian.ex
StephaneRob/cookiecutter-phoenix
c71a01a582fe8d57999d646cea7cbd820a4c73ca
[ "BSD-2-Clause" ]
4
2018-01-16T15:40:04.000Z
2020-01-11T19:34:42.000Z
{{cookiecutter.app_name}}/lib/{{cookiecutter.app_name}}/guardian.ex
StephaneRob/cookiecutter-phoenix
c71a01a582fe8d57999d646cea7cbd820a4c73ca
[ "BSD-2-Clause" ]
4
2018-03-10T14:18:37.000Z
2018-03-13T20:43:06.000Z
{{cookiecutter.app_name}}/lib/{{cookiecutter.app_name}}/guardian.ex
StephaneRob/cookiecutter-phoenix
c71a01a582fe8d57999d646cea7cbd820a4c73ca
[ "BSD-2-Clause" ]
1
2019-10-11T20:52:31.000Z
2019-10-11T20:52:31.000Z
defmodule {{cookiecutter.app_name.split('_')|map('title')|join}}.Guardian do use Guardian, otp_app: :{{cookiecutter.app_name}} alias {{cookiecutter.app_name.split('_')|map('title')|join}}.Accounts def subject_for_token(resource, claims) do # You can use any value for the subject of your token but # it sh...
35.733333
76
0.692164
7321976575ba4e9e071fa91896577b3e31ab32d3
623
ex
Elixir
bryan_hunter+elixir+hashring/lib/globo/actor_supervisor.ex
NashFP/globo
630cdb401dd37f72f0b747a5870f48a23f6961b9
[ "MIT" ]
2
2020-10-28T03:09:51.000Z
2020-10-28T14:57:52.000Z
bryan_hunter+elixir+hashring/lib/globo/actor_supervisor.ex
NashFP/globo
630cdb401dd37f72f0b747a5870f48a23f6961b9
[ "MIT" ]
null
null
null
bryan_hunter+elixir+hashring/lib/globo/actor_supervisor.ex
NashFP/globo
630cdb401dd37f72f0b747a5870f48a23f6961b9
[ "MIT" ]
null
null
null
defmodule Globo.ActorSupervisor do use DynamicSupervisor def start_link() do DynamicSupervisor.start_link(__MODULE__, [], name: __MODULE__) end def init(_) do DynamicSupervisor.init(strategy: :one_for_one) end def start_child(key) do spec = %{id: Globo.Actor, start: {Globo.Actor, :start_link,...
21.482759
71
0.672552
7321bfd272beab18aea97bc91dd599b33164d7b9
1,629
exs
Elixir
mix.exs
viniciusd/bank-account-opening
a36e5c3c8f32e48bf42af958119aef85ff1eeeaa
[ "MIT" ]
null
null
null
mix.exs
viniciusd/bank-account-opening
a36e5c3c8f32e48bf42af958119aef85ff1eeeaa
[ "MIT" ]
null
null
null
mix.exs
viniciusd/bank-account-opening
a36e5c3c8f32e48bf42af958119aef85ff1eeeaa
[ "MIT" ]
null
null
null
defmodule BankAccount.MixProject do use Mix.Project def project do [ app: :bank_account_opening, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliase...
26.274194
79
0.585635
7321c34d0b32f6260bb95d9b15403bc965e7abad
1,038
ex
Elixir
test/support/conn_case.ex
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
defmodule AwesomeWeb.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. Finally, if the...
26.615385
69
0.719653
7321d8dae9c1b3841bcd3be849b02d1b0f83669c
943
ex
Elixir
lib/telepath/application.ex
jdangerx/telepath
75314db05dd97ea86b5a828ab673fed33ecad5e1
[ "MIT" ]
null
null
null
lib/telepath/application.ex
jdangerx/telepath
75314db05dd97ea86b5a828ab673fed33ecad5e1
[ "MIT" ]
null
null
null
lib/telepath/application.ex
jdangerx/telepath
75314db05dd97ea86b5a828ab673fed33ecad5e1
[ "MIT" ]
null
null
null
defmodule Telepath.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start our little state wrapper Telepath.Sta...
29.46875
67
0.716861
732212156f2d1f52362c6a34a3e2e285b8a9c18d
2,225
exs
Elixir
config/dev.exs
baseballlover723/test_empty_app
fd7046ea8ee88e1c0eefee82fe95aecc7ede3f82
[ "MIT" ]
null
null
null
config/dev.exs
baseballlover723/test_empty_app
fd7046ea8ee88e1c0eefee82fe95aecc7ede3f82
[ "MIT" ]
null
null
null
config/dev.exs
baseballlover723/test_empty_app
fd7046ea8ee88e1c0eefee82fe95aecc7ede3f82
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :test_empty_app, TestEmptyApp.Repo, username: "postgres", password: "postgres", database: "test_empty_app_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging...
28.896104
68
0.702022
73223983aaa099e7f7542253a2b604b68e4af5de
1,299
ex
Elixir
lib/grizzly/zwave/commands/node_location_set.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/commands/node_location_set.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/commands/node_location_set.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.Commands.NodeLocationSet do @moduledoc """ This command is used to set the location of the receiving node. Params: * `:encoding` - one of :ascii, :extended_ascii, :utf_16 * `:location` - a string location for the node """ @behaviour Grizzly.ZWave.Command alias Grizzly.Z...
25.470588
90
0.668206
732242d744b418eaaf713bfe2c10b2682033ffbd
132
ex
Elixir
wabanex/lib/wabanex_web/resolvers/training.ex
vscGabriel/Wabanex
3c21b97995d6858058767ca92feab4ed1a7ca269
[ "MIT" ]
null
null
null
wabanex/lib/wabanex_web/resolvers/training.ex
vscGabriel/Wabanex
3c21b97995d6858058767ca92feab4ed1a7ca269
[ "MIT" ]
null
null
null
wabanex/lib/wabanex_web/resolvers/training.ex
vscGabriel/Wabanex
3c21b97995d6858058767ca92feab4ed1a7ca269
[ "MIT" ]
null
null
null
defmodule WabanexWeb.Resolvers.Training do def create(%{input: params}, _context), do: Wabanex.Trainings.Create.call(params) end
26.4
83
0.780303
732255be522fa34650e60dd029135607414fcc67
543
ex
Elixir
lib/gh_web/views/changeset_view.ex
snamiki1212/example-elixir-phoenix-nuron-graphql
57b7f255db683a880d1b31f65a4328606d4d0009
[ "MIT" ]
null
null
null
lib/gh_web/views/changeset_view.ex
snamiki1212/example-elixir-phoenix-nuron-graphql
57b7f255db683a880d1b31f65a4328606d4d0009
[ "MIT" ]
null
null
null
lib/gh_web/views/changeset_view.ex
snamiki1212/example-elixir-phoenix-nuron-graphql
57b7f255db683a880d1b31f65a4328606d4d0009
[ "MIT" ]
null
null
null
defmodule GhWeb.ChangesetView do use GhWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `GhWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &translate_error/...
27.15
65
0.731123
732261230211c72e075c753039cf52ff2b9e2c26
146
ex
Elixir
lib/rankings_web/controllers/virtual_controller.ex
spkane31/cc-rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
1
2020-06-28T19:31:07.000Z
2020-06-28T19:31:07.000Z
lib/rankings_web/controllers/virtual_controller.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
5
2019-07-25T17:00:39.000Z
2019-07-25T17:12:07.000Z
lib/rankings_web/controllers/virtual_controller.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
null
null
null
defmodule RankingsWeb.VirtualController do use RankingsWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
18.25
42
0.746575
7322741ba0229cf1131ab8113d603c85d3c7b719
1,081
ex
Elixir
apps/omg_watcher_rpc/lib/web/controllers/challenge.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/controllers/challenge.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/controllers/challenge.ex
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 ...
29.216216
74
0.714154
7322a14b38a6acc375a7298eabd08fe00dcec783
8,613
ex
Elixir
lib/y_2021/d3/day3.ex
jkantarek/advent_of_code
0741ac1e1549f81f64665d5dc6de21768bbeb405
[ "Unlicense" ]
null
null
null
lib/y_2021/d3/day3.ex
jkantarek/advent_of_code
0741ac1e1549f81f64665d5dc6de21768bbeb405
[ "Unlicense" ]
null
null
null
lib/y_2021/d3/day3.ex
jkantarek/advent_of_code
0741ac1e1549f81f64665d5dc6de21768bbeb405
[ "Unlicense" ]
null
null
null
defmodule AdventOfCode.Y2021.Day3 do @moduledoc """ --- Day 3: Binary Diagnostic --- The submarine has been making some odd creaking noises, so you ask it to produce a diagnostic report just in case. The diagnostic report (your puzzle input) consists of a list of binary numbers which, when decoded properly, ...
40.060465
428
0.698247
7322beec1469f7200611a23e068cd56c1e85f513
5,808
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_webhook_response.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_webhook_response.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_webhook_response.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "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...
45.023256
215
0.735537
7322e7447aaebf016257ced421b97fb571480efe
2,438
ex
Elixir
lib/types/time.ex
kenuyx/timex_ecto
879f80b69f0301b5465ac73c12977a825a8f2060
[ "MIT" ]
null
null
null
lib/types/time.ex
kenuyx/timex_ecto
879f80b69f0301b5465ac73c12977a825a8f2060
[ "MIT" ]
null
null
null
lib/types/time.ex
kenuyx/timex_ecto
879f80b69f0301b5465ac73c12977a825a8f2060
[ "MIT" ]
null
null
null
defmodule Timex.Ecto.Time do @moduledoc """ Support for using Timex with :time fields """ use Timex @behaviour Ecto.Type def type, do: :time @doc """ Handle casting to Timex.Ecto.Time """ def cast(input) when is_binary(input) do case Timex.parse(input, "{ISOtime}") do {:ok, %NaiveDateTi...
26.791209
102
0.568909
7322f51b55c75bf803588bbdd2fee965a288dc6f
25,264
ex
Elixir
lib/mix/lib/mix/compilers/elixir.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
1
2021-05-05T02:11:24.000Z
2021-05-05T02:11:24.000Z
lib/mix/lib/mix/compilers/elixir.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/mix/lib/mix/compilers/elixir.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Compilers.Elixir do @moduledoc false @manifest_vsn 8 import Record defrecord :module, [:module, :kind, :sources, :export, :recompile?] defrecord :source, source: nil, size: 0, compile_references: [], export_references: [], runtime_references: [], compile_env: [], ...
34.002692
106
0.653776
7323139d838cb02053e9e8b2ef59e166e121cbdc
8,574
ex
Elixir
lib/hexpm/web/controllers/controller_helpers.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/controllers/controller_helpers.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/controllers/controller_helpers.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.ControllerHelpers do import Plug.Conn import Phoenix.Controller alias Hexpm.Accounts.Auth alias Hexpm.Repository.{Packages, Releases, Repositories} @max_cache_age 60 def cache(conn, control, vary) do conn |> maybe_put_resp_header("cache-control", parse_control(control)) |>...
28.111475
101
0.630627
732316aeb54bcd3e6716eb3275c61f08b59a541a
543
ex
Elixir
lib/docsbr.ex
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
2
2016-05-30T14:39:46.000Z
2016-08-09T17:25:09.000Z
lib/docsbr.ex
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
null
null
null
lib/docsbr.ex
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
null
null
null
defmodule Docsbr do @moduledoc""" Main module, parse the options and generate a required document """ alias Docsbr.GenerateCpf, as: Cpf alias Docsbr.GenerateCnpj, as: Cnpj def main(args), do: args |> parse_args |> process defp parse_args(args) do {options, _, _} = OptionParser.parse(args, swi...
24.681818
67
0.664825
732332e3ca70129f8dcda9c466838febe2b000b6
391
ex
Elixir
lib/code_corps/cloudex/cloudinary_url.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/cloudex/cloudinary_url.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/cloudex/cloudinary_url.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.Cloudex.CloudinaryUrl do @cloudex Application.get_env(:code_corps, :cloudex) def for(nil, _options, version, default_color, type) do "#{Application.get_env(:code_corps, :asset_host)}/icons/#{type}_default_#{version}_#{default_color}.png" end def for(public_id, options, _version, _defau...
32.583333
108
0.751918
73234d561d6c9ab249c96da719be849fa14c8b18
80
exs
Elixir
backend/test/bucoliq_web/views/page_view_test.exs
antogon/bucoliq
0fe4727c4312322862d30014bdfae2530cc49de1
[ "MIT" ]
null
null
null
backend/test/bucoliq_web/views/page_view_test.exs
antogon/bucoliq
0fe4727c4312322862d30014bdfae2530cc49de1
[ "MIT" ]
9
2019-12-01T18:31:31.000Z
2021-03-10T00:38:48.000Z
backend/test/bucoliq_web/views/page_view_test.exs
antogon/bucoliq
0fe4727c4312322862d30014bdfae2530cc49de1
[ "MIT" ]
null
null
null
defmodule BucoliqWeb.PageViewTest do use BucoliqWeb.ConnCase, async: true end
20
38
0.825
732358fff1184f82302c40cde0592bf8843685cc
1,004
exs
Elixir
parkapp_server/config/test.exs
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
2
2018-11-06T12:21:16.000Z
2018-11-21T10:20:17.000Z
parkapp_server/config/test.exs
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
parkapp_server/config/test.exs
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :parkapp, ParkappWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :parkapp, Parkapp.Re...
28.685714
88
0.778884
73235bdde28a5d0f2de95e12c1248a29aab72d08
560
ex
Elixir
dummy/lib/dummy_web/router.ex
zgohr/turbo_ecto
2467be3f0923193349c08d18061efbc952523b21
[ "MIT" ]
4
2019-01-23T14:10:31.000Z
2019-05-14T15:41:11.000Z
dummy/lib/dummy_web/router.ex
zgohr/turbo_ecto
2467be3f0923193349c08d18061efbc952523b21
[ "MIT" ]
35
2019-02-19T02:11:33.000Z
2021-09-01T07:09:42.000Z
dummy/lib/dummy_web/router.ex
zgohr/turbo_ecto
2467be3f0923193349c08d18061efbc952523b21
[ "MIT" ]
4
2019-11-03T16:11:39.000Z
2022-03-05T14:34:23.000Z
defmodule DummyWeb.Router do use DummyWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", DummyWeb do pipe_throug...
18.666667
39
0.673214
732399e002cc276a4ebd6ba0398522e9d1432d49
106
ex
Elixir
lib/pobcoin/repo.ex
Bentheburrito/pobcoin
36f879ad1bae2660ace43dce66cada0c0b559dc9
[ "MIT" ]
null
null
null
lib/pobcoin/repo.ex
Bentheburrito/pobcoin
36f879ad1bae2660ace43dce66cada0c0b559dc9
[ "MIT" ]
null
null
null
lib/pobcoin/repo.ex
Bentheburrito/pobcoin
36f879ad1bae2660ace43dce66cada0c0b559dc9
[ "MIT" ]
null
null
null
defmodule Pobcoin.Repo do use Ecto.Repo, otp_app: :pobcoin, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.726415
7323a04f04461cd8a8ba35dbe0c8791841132457
102
exs
Elixir
.iex.exs
nerves-project/system_registry
b0aa7d8826e5c37a374961338596fee10556ec79
[ "Apache-2.0" ]
9
2017-09-08T06:34:48.000Z
2019-08-03T15:35:10.000Z
.iex.exs
nerves-project/system_registry
b0aa7d8826e5c37a374961338596fee10556ec79
[ "Apache-2.0" ]
13
2017-08-29T22:55:09.000Z
2019-10-16T20:02:06.000Z
.iex.exs
nerves-project/system_registry
b0aa7d8826e5c37a374961338596fee10556ec79
[ "Apache-2.0" ]
4
2017-09-07T16:36:40.000Z
2019-03-14T00:23:45.000Z
alias SystemRegistry, as: SR alias SystemRegistry.Transaction, as: T alias SystemRegistry.Node, as: N
25.5
39
0.803922
7323be095c71fb2ddc955a88acfaf615bbbe85e8
2,855
exs
Elixir
apps/astarte_trigger_engine/test/amqp_events_consumer_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_trigger_engine/test/amqp_events_consumer_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_trigger_engine/test/amqp_events_consumer_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2018 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.267327
74
0.681261
7323d1b7d5a08db194edc2ad0774c014a5894b3d
209
exs
Elixir
aoc-2019/day1/test/part2_test.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2019/day1/test/part2_test.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2019/day1/test/part2_test.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
defmodule Part2Test do use ExUnit.Case test "calculates fuel" do assert Part2.total_fuel([14]) == 2 assert Part2.total_fuel([1969]) == 966 assert Part2.total_fuel([100756]) == 50346 end end
20.9
46
0.684211
7323d8c06e45291b494b2efdfba099e9e667035b
5,469
exs
Elixir
test/meeseeks/select_test.exs
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
test/meeseeks/select_test.exs
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
test/meeseeks/select_test.exs
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.SelectTest do use ExUnit.Case import Meeseeks.CSS alias Meeseeks.{Accumulator, Context, Error, Result, Select} @document Meeseeks.Parser.parse(""" <html> <head></head> <body> <div class="main"> <p id="first-p">1</p> ...
28.936508
84
0.601207
7323f63338443c3da3bae0b3484a8277510e8e94
13,886
ex
Elixir
lib/livebook_web/live/home_live.ex
FanJfly/livebook
71319246c4b1ac9b557d864392113316e4187e41
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
lib/livebook_web/live/home_live.ex
FanJfly/livebook
71319246c4b1ac9b557d864392113316e4187e41
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/home_live.ex
FanJfly/livebook
71319246c4b1ac9b557d864392113316e4187e41
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.HomeLive do use LivebookWeb, :live_view import LivebookWeb.SessionHelpers import LivebookWeb.UserHelpers alias LivebookWeb.{SidebarHelpers, ExploreHelpers} alias Livebook.{Sessions, Session, LiveMarkdown, Notebook, FileSystem} @impl true def mount(params, _session, socket) do ...
33.460241
118
0.614792
7323fcf3aa538095be578a567002f7152bdabda8
220
exs
Elixir
priv/repo/migrations/20170511133900_change_employees_date_types.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
1
2017-07-27T16:03:28.000Z
2017-07-27T16:03:28.000Z
priv/repo/migrations/20170511133900_change_employees_date_types.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170511133900_change_employees_date_types.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
defmodule PRM.Repo.Migrations.ChangeEmployeesDateTypes do use Ecto.Migration def change do alter table(:employees) do modify :start_date, :date, null: false modify :end_date, :date end end end
20
57
0.709091
732432b2f3fad88c017c7bee2466bd2db7b66101
1,547
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/overlays/key_overlay.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/web/v1/overlays/key_overlay.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/web/v1/overlays/key_overlay.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 ...
21.788732
74
0.656755
73247ff09e0cfd39e1620ae1b9a0caea3fd3f906
331
exs
Elixir
.formatter.exs
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
.formatter.exs
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
.formatter.exs
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
export_locals_without_parens = [ database: 1, field: 1, field: 2, measurement: 1, tag: 1, tag: 2 ] [ inputs: [ "{bench,config,lib,test}/**/*.{ex,exs}", "{.credo,.formatter,mix}.exs" ], locals_without_parens: export_locals_without_parens, export: [locals_without_parens: export_locals_without...
18.388889
63
0.670695
7324cf96a064511aaa3d567f05ab34eb76cd9561
609
ex
Elixir
lib/mix/tasks/tail.ex
rliebling/ex_aws
a8bfeff478e4a7584e765bb8f57ca6a8a5a4dad0
[ "MIT" ]
1
2021-12-16T20:32:27.000Z
2021-12-16T20:32:27.000Z
lib/mix/tasks/tail.ex
rliebling/ex_aws
a8bfeff478e4a7584e765bb8f57ca6a8a5a4dad0
[ "MIT" ]
11
2021-08-02T18:13:25.000Z
2022-03-23T20:53:41.000Z
lib/mix/tasks/tail.ex
rliebling/ex_aws
a8bfeff478e4a7584e765bb8f57ca6a8a5a4dad0
[ "MIT" ]
1
2021-06-23T14:28:08.000Z
2021-06-23T14:28:08.000Z
defmodule Mix.Tasks.Aws.Kinesis.Tail do use Mix.Task @shortdoc "tails a stream" @moduledoc """ Tails a Stream ## Usage aws.kinesis.tail [stream_name] [options] ## Options --poll N Time in seconds between polling. Default: 5 --debug Sets debug_requests: true on ex_aws. Logs all k...
20.3
79
0.650246
7324f9e2b3f9bd39b49b2f01b7da6106d52c5652
1,512
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/digest.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1/model/digest.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1/model/digest.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.24
81
0.712302
732584afc0f99f9c58b58c262efb64c0cf856aa8
3,886
ex
Elixir
lib/plug/cowboy/conn.ex
wojtekmach/plug_cowboy
45edb6ea83a854eaee7a9f88d8499599439f937a
[ "Apache-2.0" ]
183
2018-10-18T18:50:17.000Z
2022-01-11T22:28:20.000Z
deps/plug_cowboy/lib/plug/cowboy/conn.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
76
2018-10-19T07:54:00.000Z
2022-02-26T13:22:36.000Z
deps/plug_cowboy/lib/plug/cowboy/conn.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
46
2018-10-18T21:38:44.000Z
2021-12-29T12:39:25.000Z
defmodule Plug.Cowboy.Conn do @behaviour Plug.Conn.Adapter @moduledoc false def conn(req) do %{ path: path, host: host, port: port, method: method, headers: headers, qs: qs, peer: {remote_ip, _} } = req %Plug.Conn{ adapter: {__MODULE__, req}, hos...
25.565789
92
0.60808
7325888493b580aa1fb0bd6ab0ddeadf9d9fdaad
388
exs
Elixir
priv/tenants/tenant_migrations/20170801141007_tenant_orderitems.exs
arcseldon/exploring-elixir
0115aed80e5905384e7277dfe740d09e3a496b7b
[ "Apache-2.0" ]
30
2017-07-03T23:53:37.000Z
2021-03-14T21:27:14.000Z
priv/tenants/tenant_migrations/20170801141007_tenant_orderitems.exs
arcseldon/exploring-elixir
0115aed80e5905384e7277dfe740d09e3a496b7b
[ "Apache-2.0" ]
1
2018-05-25T20:00:24.000Z
2018-05-30T09:40:09.000Z
priv/tenants/tenant_migrations/20170801141007_tenant_orderitems.exs
aseigo/exploring-elixir
0115aed80e5905384e7277dfe740d09e3a496b7b
[ "Apache-2.0" ]
4
2017-07-27T09:07:17.000Z
2019-05-22T11:14:25.000Z
defmodule ExploringElixir.Repo.Tenants.Migrations.TenantOrderitems do use Ecto.Migration def change do create table(:orderitems, primary_key: false) do add :item_id, :integer add :amount, :integer add :order_id, references(:orders, on_delete: :delete_all) timestamps() end ...
24.25
69
0.695876
7325a34495691fc685b36e3004389dc761076f8f
1,856
ex
Elixir
lib/hexpm/emails/bamboo.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
lib/hexpm/emails/bamboo.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
lib/hexpm/emails/bamboo.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Emails.Bamboo.SESAdapter do require Logger @behaviour Bamboo.Adapter @backoff 100 @backoff_times 5 def deliver(email, _config) do if email.headers != %{} do raise "headers not supported for Hexpm.Emails.Bamboo.SESAdapter" end destination = %{ to: emails(email.to), ...
26.514286
89
0.674569
732608ce0f4e302d49b63a3c42da9a066e87cd3c
10,468
ex
Elixir
lib/junex.ex
boostingtech/juno_wrapper
f2e4ab2090f395c0d7e8254d9c0865689d4652a1
[ "MIT" ]
2
2020-12-11T22:36:38.000Z
2021-01-25T14:44:03.000Z
lib/junex.ex
boostingtech/junex
f2e4ab2090f395c0d7e8254d9c0865689d4652a1
[ "MIT" ]
null
null
null
lib/junex.ex
boostingtech/junex
f2e4ab2090f395c0d7e8254d9c0865689d4652a1
[ "MIT" ]
null
null
null
defmodule Junex do @moduledoc """ Junex is a library for help you to interact to the Juno API in a easier way! ## WARNINGS 1. Although you can build the maps mannualy, like `charge_info` and `payment_billing_info`, Junex provide a bunch of helper functions to build the exactly structure that the Juno...
30.08046
117
0.646637
7326096aaea67d4cfd197519ac7e1e60184a932a
1,088
exs
Elixir
test/google_id_token/jwk_set/endpoint_test.exs
camcaine/google_id_token
c5e7452f0ae1210b84402374e4fde3521175bdbc
[ "MIT" ]
null
null
null
test/google_id_token/jwk_set/endpoint_test.exs
camcaine/google_id_token
c5e7452f0ae1210b84402374e4fde3521175bdbc
[ "MIT" ]
null
null
null
test/google_id_token/jwk_set/endpoint_test.exs
camcaine/google_id_token
c5e7452f0ae1210b84402374e4fde3521175bdbc
[ "MIT" ]
null
null
null
defmodule GoogleIDToken.JWKSet.EndpointTest do use ExUnit.Case, async: true alias GoogleIDToken.JWKSet alias GoogleIDToken.JWKSet.{Endpoint, Endpointable} @url "https://www.googleapis.com/oauth2/v3/certs" setup do [endpoint: Endpointable.to_endpoint(@url)] end describe "Endpointable.to_endpoint/1"...
26.536585
67
0.670956
732616676e260093c23d65c0db24f053dd28ceb7
1,597
ex
Elixir
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict_words_senses_definitions_examples_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict_words_senses_definitions_examples_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict_words_senses_definitions_examples_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.036364
91
0.727614
73261e5d7c5e208c7bae24ddf708445c3dfcb19d
1,882
ex
Elixir
lib/timex/types.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/timex/types.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/timex/types.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
defmodule Timex.Types do # Date types @type year :: Calendar.year @type month :: Calendar.month @type day :: Calendar.day @type num_of_days :: 28..31 @type daynum :: 1..366 @type week_of_month :: 1..5 @type weekday :: 1..7 @type weeknum :: 1..53 # Time types @type hour :: Calendar.hour @type mi...
42.772727
189
0.678533
73261e7fd52b32bd0f5caf695bc9c8c56329d60e
1,105
exs
Elixir
config/test.exs
getong/phoenix_example
cec4ba1ab2d601a3d4c709d3b77b1284f28ae36b
[ "Apache-2.0" ]
null
null
null
config/test.exs
getong/phoenix_example
cec4ba1ab2d601a3d4c709d3b77b1284f28ae36b
[ "Apache-2.0" ]
6
2020-07-20T14:24:28.000Z
2022-03-29T02:25:55.000Z
config/test.exs
getong/phoenix_example
cec4ba1ab2d601a3d4c709d3b77b1284f28ae36b
[ "Apache-2.0" ]
null
null
null
use Mix.Config # 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. config :phoenix_example, PhoenixExample.PostgresRepo, username: "postgres", password: "postgres", database: "...
26.95122
74
0.742986
732635e114c0d40954fb305479463dd06d19c6bc
789
exs
Elixir
test/storage/connection_string_test.exs
nulian/ex_microsoft_azure_storage
b147de024ceb1fd21d617863a9c53c41263700a6
[ "MIT" ]
null
null
null
test/storage/connection_string_test.exs
nulian/ex_microsoft_azure_storage
b147de024ceb1fd21d617863a9c53c41263700a6
[ "MIT" ]
null
null
null
test/storage/connection_string_test.exs
nulian/ex_microsoft_azure_storage
b147de024ceb1fd21d617863a9c53c41263700a6
[ "MIT" ]
null
null
null
defmodule ExMicrosoftAzureStorage.Storage.ConnectionStringTest do @moduledoc false use ExUnit.Case, async: true import ExMicrosoftAzureStorage.Factory alias ExMicrosoftAzureStorage.Storage.ConnectionString describe "parse" do test "parses a connection string" do default_endpoints_protocol = "htt...
26.3
65
0.73384
732668e9222f645ab0c59a25e86da0760428945e
225
exs
Elixir
test/vekil/vekil/form/doctest1_test.exs
ianrumford/plymio_vekil
070ab783dc8f7747002df61704285947eea583a2
[ "MIT" ]
null
null
null
test/vekil/vekil/form/doctest1_test.exs
ianrumford/plymio_vekil
070ab783dc8f7747002df61704285947eea583a2
[ "MIT" ]
null
null
null
test/vekil/vekil/form/doctest1_test.exs
ianrumford/plymio_vekil
070ab783dc8f7747002df61704285947eea583a2
[ "MIT" ]
null
null
null
defmodule PlymioVekilFormDoctest1Test do use ExUnit.Case, async: true use PlymioVekilHelperTest import Harnais.Helper import Plymio.Vekil.Form alias Plymio.Vekil.Form, as: VEKILFORM doctest Plymio.Vekil.Form end
22.5
40
0.8
73266a852cc397fb9ad23265b286e0b4e8145a52
706
ex
Elixir
lib/mastery/boundary/quiz_validator.ex
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
lib/mastery/boundary/quiz_validator.ex
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
lib/mastery/boundary/quiz_validator.ex
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
defmodule Mastery.Boundary.QuizValidator do import Mastery.Boundary.Validator def errors(fields) when is_map(fields) do [] |> require(fields, :title, &validate_title/1) |> optional(fields, :mastery, &validate_mastery/1) end def errors(_fields), do: [{nil, "A map of fields is required"}] def val...
29.416667
68
0.692635
732675003fa1079b42955730c7bc0737f119100e
970
ex
Elixir
installer/templates/phx_test/support/channel_case.ex
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
2
2016-11-01T15:01:48.000Z
2016-11-01T15:07:20.000Z
installer/templates/phx_test/support/channel_case.ex
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
1
2021-11-17T12:10:06.000Z
2021-11-24T12:53:45.000Z
installer/templates/phx_test/support/channel_case.ex
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %>.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 i...
23.095238
59
0.681443
73268764faffba6a940e84d338635f20718977bb
1,494
ex
Elixir
lib/core/domain/ports/commands.ex
giusdp/funless-core
d64570549ef0bd4376b1d16096033aca90042bef
[ "Apache-2.0" ]
null
null
null
lib/core/domain/ports/commands.ex
giusdp/funless-core
d64570549ef0bd4376b1d16096033aca90042bef
[ "Apache-2.0" ]
null
null
null
lib/core/domain/ports/commands.ex
giusdp/funless-core
d64570549ef0bd4376b1d16096033aca90042bef
[ "Apache-2.0" ]
1
2022-03-24T12:05:11.000Z
2022-03-24T12:05:11.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
40.378378
90
0.732932
7326954d171d51f5db73f9684fb01946ddbf8508
2,631
ex
Elixir
lib/console_web/controllers/packet_purchaser/organization_controller.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
lib/console_web/controllers/packet_purchaser/organization_controller.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
14
2022-03-02T17:01:59.000Z
2022-03-30T17:45:47.000Z
lib/console_web/controllers/packet_purchaser/organization_controller.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.PacketPurchaser.OrganizationController do use ConsoleWeb, :controller alias Console.Organizations alias Console.Memos alias Console.Memos.Memo alias Console.DcPurchases alias Console.DcPurchases.DcPurchase action_fallback(ConsoleWeb.FallbackController) def index(conn, _) do o...
36.541667
143
0.671988
7326967bd38ba494296222f1420068e2fbe834f8
9,398
ex
Elixir
lib/teiserver/startup.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
null
null
null
lib/teiserver/startup.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
null
null
null
lib/teiserver/startup.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
null
null
null
defmodule Teiserver.Startup do use CentralWeb, :startup require Logger alias Teiserver.{Account, User} @spec startup :: :ok def startup do start_time = System.system_time(:millisecond) add_permission_set("teiserver", "admin", ~w(account battle clan queue)) add_permission_set("teiserver", "modera...
32.406897
173
0.60715
732696b3f60ff257655cf8a90c36642af70ad19b
1,948
ex
Elixir
lib/gen_socket_client/serializer.ex
cabol/phoenix_gen_socket_client
bbc8884288bd747e1d7e8ce96a6189d8c24ff01e
[ "MIT" ]
169
2016-04-08T10:47:43.000Z
2021-01-19T15:37:34.000Z
lib/gen_socket_client/serializer.ex
cabol/phoenix_gen_socket_client
bbc8884288bd747e1d7e8ce96a6189d8c24ff01e
[ "MIT" ]
36
2016-04-07T13:28:02.000Z
2021-01-27T08:16:35.000Z
lib/gen_socket_client/serializer.ex
cabol/phoenix_gen_socket_client
bbc8884288bd747e1d7e8ce96a6189d8c24ff01e
[ "MIT" ]
42
2016-04-08T14:31:33.000Z
2021-01-21T09:24:51.000Z
defmodule Phoenix.Channels.GenSocketClient.Serializer do @moduledoc """ Describes the serializer interface used in `Phoenix.Channels.GenSocketClient` to encode/decode messages. """ alias Phoenix.Channels.GenSocketClient @doc "Invoked to decode the raw message." @callback decode_message(GenSocketClient.enc...
32.466667
106
0.620637
7326b7aca1e48e45f3fa95316804755634348c21
454
ex
Elixir
lib/quantum/node_selector_broadcaster/start_opts.ex
kianmeng/quantum-core
24997fb649d778f654c1adad0006f7ad529a1184
[ "Apache-2.0" ]
1,092
2018-03-23T02:29:33.000Z
2022-03-30T19:17:30.000Z
lib/quantum/node_selector_broadcaster/start_opts.ex
kianmeng/quantum-core
24997fb649d778f654c1adad0006f7ad529a1184
[ "Apache-2.0" ]
168
2018-03-22T12:52:28.000Z
2022-03-19T22:49:17.000Z
lib/quantum/node_selector_broadcaster/start_opts.ex
kianmeng/quantum-core
24997fb649d778f654c1adad0006f7ad529a1184
[ "Apache-2.0" ]
79
2018-03-22T12:50:24.000Z
2022-03-07T08:40:50.000Z
defmodule Quantum.NodeSelectorBroadcaster.StartOpts do @moduledoc false # Start Options for Quantum.NodeSelectorBroadcaster @type t :: %__MODULE__{ name: GenServer.server(), execution_broadcaster_reference: GenServer.server(), task_supervisor_reference: GenServer.server() }...
23.894737
62
0.715859
7327099fbad814f4b1afba14ff11b485aabc4e7e
1,358
exs
Elixir
test/integration/ice_negotiation_test.exs
livinginthepast/specter
65ab35ace7bf34074a58d0ed27a14ddd6bf97034
[ "MIT" ]
8
2022-02-25T09:53:57.000Z
2022-03-28T12:31:56.000Z
test/integration/ice_negotiation_test.exs
livinginthepast/specter
65ab35ace7bf34074a58d0ed27a14ddd6bf97034
[ "MIT" ]
10
2022-03-26T14:40:12.000Z
2022-03-30T17:05:53.000Z
test/integration/ice_negotiation_test.exs
livinginthepast/specter
65ab35ace7bf34074a58d0ed27a14ddd6bf97034
[ "MIT" ]
1
2022-03-25T21:30:53.000Z
2022-03-25T21:30:53.000Z
defmodule Test.Integration.IceNegotiationTest do use SpecterTest.Case describe "on_ice_candidate" do setup [:initialize_specter, :init_api, :init_peer_connection] test "sends candidates as they are generated", %{specter: specter, peer_connection: pc_offer} do api = init_api(specter) pc_answer ...
43.806452
100
0.74595