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
4ae67cd53a0751a94f2122d4a098e095e43efe03
160
exs
Elixir
test/test_helper.exs
belloq/xml_mapper
ec4d59918f3ab1899124720a0dff40e3b9269351
[ "MIT" ]
5
2017-02-15T16:34:31.000Z
2018-07-19T11:36:35.000Z
test/test_helper.exs
belloq/xml_mapper
ec4d59918f3ab1899124720a0dff40e3b9269351
[ "MIT" ]
null
null
null
test/test_helper.exs
belloq/xml_mapper
ec4d59918f3ab1899124720a0dff40e3b9269351
[ "MIT" ]
null
null
null
ExUnit.start() {:ok, files} = File.ls("./test/xml_mapper/support") Enum.each files, fn(file) -> Code.require_file "xml_mapper/support/#{file}", __DIR__ end
20
57
0.69375
4ae6805bb114f12a0b76c7243971b2125b170b32
63,428
ex
Elixir
lib/elixir/lib/code.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/elixir/lib/code.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
defmodule Code do @moduledoc ~S""" Utilities for managing code compilation, code evaluation, and code loading. This module complements Erlang's [`:code` module](`:code`) to add behaviour which is specific to Elixir. Almost all of the functions in this module have global side effects on the behaviour of Elixi...
34.927313
145
0.675648
4ae68df3dcedd7ee1fe68f3c2e9e5088324b287d
11,415
ex
Elixir
lib/ex_aliyun_ots/metadata.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
19
2018-05-10T09:33:25.000Z
2022-01-25T11:57:33.000Z
lib/ex_aliyun_ots/metadata.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
23
2019-11-28T07:51:52.000Z
2022-03-09T08:33:42.000Z
lib/ex_aliyun_ots/metadata.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
9
2019-01-30T03:17:12.000Z
2021-12-14T02:23:32.000Z
alias ExAliyunOts.TableStore.Condition defmodule ExAliyunOts.RuntimeError do @moduledoc false defexception [:message, :error_code] def exception(value) do msg = "Error: #{inspect(value)}" %__MODULE__{message: msg} end end defmodule ExAliyunOts.Instance do @moduledoc "Describe Alibaba TableStore ins...
25.536913
128
0.655191
4ae693ec66a2cb4f13f0c1f7bdbc8c4a7285fd24
1,012
exs
Elixir
apps/re/priv/repo/migrations/20190524203604_drop_listing_visualizations.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190524203604_drop_listing_visualizations.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190524203604_drop_listing_visualizations.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.DropListingVisualizations do use Ecto.Migration def up do drop table(:listing_visualizations) drop table(:tour_visualizations) drop table(:in_person_visits) end def down do create table(:listing_visualizations) do add :listing_id, references(:listings) ...
23.534884
57
0.690711
4ae71608ad762c059338f25b8dd8c64a2ad3a020
721
exs
Elixir
mix.exs
JustinTangg/ex_aws_cloudfront
be9e2eb9899210dbc9f9432edb8504403342678a
[ "MIT" ]
null
null
null
mix.exs
JustinTangg/ex_aws_cloudfront
be9e2eb9899210dbc9f9432edb8504403342678a
[ "MIT" ]
null
null
null
mix.exs
JustinTangg/ex_aws_cloudfront
be9e2eb9899210dbc9f9432edb8504403342678a
[ "MIT" ]
null
null
null
defmodule ExAwsCloudfront.MixProject do use Mix.Project def project do [ app: :ex_aws_cloudfront, version: "0.1.0", elixir: "~> 1.8.1", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do ...
21.848485
59
0.527046
4ae750213b7ff86f184160c762f076071443a796
2,888
exs
Elixir
test/forum/consumer_test.exs
myskoach/events
84e270b9f4546a32a033cc2cba3e3961b9a86a75
[ "MIT" ]
null
null
null
test/forum/consumer_test.exs
myskoach/events
84e270b9f4546a32a033cc2cba3e3961b9a86a75
[ "MIT" ]
null
null
null
test/forum/consumer_test.exs
myskoach/events
84e270b9f4546a32a033cc2cba3e3961b9a86a75
[ "MIT" ]
null
null
null
defmodule Forum.ConsumerTest do use ExUnit.Case, async: true import Mimic setup :verify_on_exit! describe "__using__" do defmodule Forum.TestUsingConsumer do use Elixir.Forum.Consumer consume Elixir.Forum.TestEventOne, _, do: :ok consume Elixir.Forum.TestEventTwo, %{question:...
33.581395
108
0.645776
4ae77826793b6ae7d6be4bfcb99e8f56aec73878
227
ex
Elixir
lib/tinybeam/native.ex
niklaslong/tinybeam
fa69e985cfe8c5145cd9238dd01ff8804613e107
[ "MIT" ]
null
null
null
lib/tinybeam/native.ex
niklaslong/tinybeam
fa69e985cfe8c5145cd9238dd01ff8804613e107
[ "MIT" ]
9
2020-06-16T10:41:57.000Z
2020-06-16T10:44:04.000Z
lib/tinybeam/native.ex
niklaslong/tinybeam
fa69e985cfe8c5145cd9238dd01ff8804613e107
[ "MIT" ]
null
null
null
defmodule Tinybeam.Native do use Rustler, otp_app: :tinybeam, crate: "tinybeam" def start(_config), do: error() def handle_request(_response), do: error() defp error(), do: :erlang.nif_error(:tinybeam_not_loaded) end
25.222222
59
0.731278
4ae7866228ee7a32c2460f35432a52f4ecbf9817
424
exs
Elixir
test/controllers/page_controller_test.exs
joakimk/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
27
2016-09-21T09:11:25.000Z
2020-12-16T04:04:50.000Z
test/controllers/page_controller_test.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
2
2016-12-02T08:05:13.000Z
2020-03-27T08:07:59.000Z
test/controllers/page_controller_test.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
4
2016-09-25T09:58:17.000Z
2020-04-27T15:07:36.000Z
defmodule Review.PageControllerTest do use Review.ConnCase test "allows you to see the page with the correct token" do conn = get build_conn(), "/", %{ auth_key: "secret" } assert html_response(conn, 200) =~ "Review" end test "disallows access for invalid tokens" do conn = get build_conn(), "/", %...
30.285714
69
0.674528
4ae7c36c8355243fd8430ed252f26dad09e456cb
796
ex
Elixir
apps/astarte_pairing_api/lib/astarte_pairing_api/info/device_info.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api/info/device_info.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api/info/device_info.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017-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...
25.677419
74
0.724874
4ae7c579e2ff58522c7f0c590deb26609e220452
1,041
exs
Elixir
mix.exs
valiot/tentacat
618e7dae165bab2ff141361ef23f2d2b85260df4
[ "MIT" ]
null
null
null
mix.exs
valiot/tentacat
618e7dae165bab2ff141361ef23f2d2b85260df4
[ "MIT" ]
null
null
null
mix.exs
valiot/tentacat
618e7dae165bab2ff141361ef23f2d2b85260df4
[ "MIT" ]
1
2018-11-02T15:59:28.000Z
2018-11-02T15:59:28.000Z
defmodule Tentacat.Mixfile do use Mix.Project @description """ Simple Elixir wrapper for the GitHub API """ def project do [ app: :tentacat, version: "1.1.0", elixir: "~> 1.7", name: "Tentacat", description: @description, package: package(), test_coverage: [to...
22.630435
96
0.538905
4ae80200ae97f365690d22ff8587cf47e42ec51d
2,441
exs
Elixir
exercises/anagram/test/anagram_test.exs
nathanchere/elixir
86f6e8017141671eb312741641d3275227af2760
[ "MIT" ]
2
2019-07-09T05:23:38.000Z
2019-07-29T01:39:59.000Z
exercises/anagram/test/anagram_test.exs
nathanchere/elixir
86f6e8017141671eb312741641d3275227af2760
[ "MIT" ]
null
null
null
exercises/anagram/test/anagram_test.exs
nathanchere/elixir
86f6e8017141671eb312741641d3275227af2760
[ "MIT" ]
null
null
null
defmodule AnagramTest do use ExUnit.Case # @tag :pending test "no matches" do matches = Anagram.match("diaper", ~w(hello world zombies pants)) assert matches == [] end @tag :pending test "detects two anagrams" do matches = Anagram.match("master", ~w(stream pigeon maters)) assert matches ==...
27.738636
92
0.682507
4ae804d376d40e2d7d563033f7288a8eab9268e4
641
exs
Elixir
test/exshome/named_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
2
2021-12-21T16:32:56.000Z
2022-02-22T17:06:39.000Z
test/exshome/named_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
test/exshome/named_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
defmodule ExshomeTest.NamedTest do use ExUnit.Case, async: true alias Exshome.Named alias ExshomeClock.Settings.ClockSettings import ExshomeTest.MacroHelpers, only: [compile_with_settings: 2] describe "get_module_by_name/1" do test "works fine" do assert Named.get_module_by_name(ClockSettings.name(...
25.64
76
0.712949
4ae819d634df864f79c549c18b1248086581d73c
3,058
ex
Elixir
lib/arp_server/api/http/router.ex
arpnetwork/arp_server
4f3ed266ca68f7d6db5db6839067dd810079075a
[ "Apache-2.0" ]
3
2018-07-23T01:50:50.000Z
2018-08-13T13:12:05.000Z
lib/arp_server/api/http/router.ex
arpnetwork/arp_server
4f3ed266ca68f7d6db5db6839067dd810079075a
[ "Apache-2.0" ]
null
null
null
lib/arp_server/api/http/router.ex
arpnetwork/arp_server
4f3ed266ca68f7d6db5db6839067dd810079075a
[ "Apache-2.0" ]
null
null
null
defmodule ARP.API.HTTP.Router do @moduledoc """ Define routes. """ alias Plug.Conn.Status alias ARP.Admin alias ARP.API.HTTP.Response use Plug.Router use Plug.ErrorHandler require Logger @skip_token_verification %{joken_skip: true} plug(:match) plug(Joken.Plug, verify: &ARP.API.HTTP.Router...
22.15942
92
0.663833
4ae87486c06bd2400a37f52d7e887ec5805b8d3e
9,510
ex
Elixir
lib/honeybadger.ex
van-mronov/honeybadger-elixir
4fa5b3ada7239f54a68d78c42a4da9bf2ece3e6c
[ "MIT" ]
null
null
null
lib/honeybadger.ex
van-mronov/honeybadger-elixir
4fa5b3ada7239f54a68d78c42a4da9bf2ece3e6c
[ "MIT" ]
null
null
null
lib/honeybadger.ex
van-mronov/honeybadger-elixir
4fa5b3ada7239f54a68d78c42a4da9bf2ece3e6c
[ "MIT" ]
null
null
null
defmodule Honeybadger do @moduledoc """ This module contains the notify macro and context function you can use in your applications. ### Configuring By default the HONEYBADGER_API_KEY environment variable is used to find your API key for Honeybadger. You can also manually set your API key by configuring...
28.818182
92
0.680652
4ae882d3e4d36b785602933951628369c1352fed
75
ex
Elixir
examples/phoenix_example/lib/phoenix_example_web/views/page_view.ex
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
9
2019-03-16T21:24:57.000Z
2021-12-29T21:31:16.000Z
examples/phoenix_example/lib/phoenix_example_web/views/page_view.ex
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
13
2018-12-11T16:43:26.000Z
2022-02-09T23:08:01.000Z
examples/phoenix_example/lib/phoenix_example_web/views/page_view.ex
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
4
2019-09-18T00:54:04.000Z
2021-05-09T05:30:47.000Z
defmodule PhoenixExampleWeb.PageView do use PhoenixExampleWeb, :view end
18.75
39
0.84
4ae8a95d69368e7918378fc12d150f4add3cce6b
4,594
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/protocol/bare_extended.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/protocol/bare_extended.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/protocol/bare_extended.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Bare.Union do @moduledoc """ Extension for BARE schema Support simple tags for union types, Union type can be defined as [type1: schema, type2: schema] and can be encoded and decoded from/to {:type1, data} or {:type2, data} """ @type schema() :: :bare.spec() @type extended_schema() ::...
29.831169
87
0.645189
4ae8d7ba934cb6bf182f0e92be582273010f9e19
960
exs
Elixir
test/support/test_state_machine.exs
mindreframer/exsm
e151c96060b6cec5938c2c3953751aed42fad5bc
[ "Apache-2.0" ]
4
2020-04-01T05:30:04.000Z
2020-12-17T06:27:31.000Z
test/support/test_state_machine.exs
mindreframer/exsm
e151c96060b6cec5938c2c3953751aed42fad5bc
[ "Apache-2.0" ]
2
2020-03-31T04:01:40.000Z
2020-10-30T20:30:21.000Z
test/support/test_state_machine.exs
mindreframer/exsm
e151c96060b6cec5938c2c3953751aed42fad5bc
[ "Apache-2.0" ]
2
2020-10-30T18:29:59.000Z
2022-03-09T20:05:23.000Z
defmodule ExsmTest.TestStateMachine do use Exsm, field: :my_state, states: ["created", "partial", "completed", "canceled"], transitions: %{ "created" => ["partial", "completed"], "partial" => "completed", "*" => "canceled" } def before_transition(struct, _prev_state, "partial") do...
27.428571
60
0.676042
4ae8fc07ec92d38d172bf17b8abdf143d24540b6
6
ex
Elixir
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
[].0x2
6
6
0.5
4ae908b28227885306420f731879392c699544f0
1,910
ex
Elixir
clients/content/lib/google_api/content/v2/model/test_order_customer_marketing_rights_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_customer_marketing_rights_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_customer_marketing_rights_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.45098
201
0.763874
4ae93221e6a31e683d6ade425213901d8b5a0c6a
2,198
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list_warning.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...
40.703704
194
0.72657
4ae954c317cda724de628938c95457e16c4561aa
270
exs
Elixir
test/banchan_web/views/layout_view_test.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
test/banchan_web/views/layout_view_test.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
test/banchan_web/views/layout_view_test.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
defmodule BanchanWeb.LayoutViewTest do use BanchanWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30
65
0.766667
4ae977e0fe41be9fbc0c05d04f67ee152e4826fb
13,824
exs
Elixir
test/domo/changeset_test.exs
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
test/domo/changeset_test.exs
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
test/domo/changeset_test.exs
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
defmodule Domo.ChangesetTest do use Domo.FileCase, async: false use Placebo alias Domo.Changeset alias Mix.Tasks.Compile.DomoCompiler, as: DomoMixTask setup_all do Code.compiler_options(ignore_module_conflict: true) File.mkdir_p!(tmp_path()) on_exit(fn -> File.rm_rf(tmp_path()) Code...
37.061662
136
0.648148
4ae978f4dcf38ee70ddbfe0992ef174cd9695f29
714
exs
Elixir
test/json_schema_test_suite/draft7/definitions_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft7/definitions_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft7/definitions_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft7.DefinitionsTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|valid definition| do setup do %{schema: JsonXema.new(%{"$ref" => "http://json-schema.org/draft-07/schema#"})} end test ~s|valid definition schema|, %{schema: schema} do ...
27.461538
85
0.612045
4ae987bddf3d18a98d747f08f0a302edc9ecf6f9
7,292
ex
Elixir
lib/livebook_cli/server.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
lib/livebook_cli/server.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
lib/livebook_cli/server.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
1
2021-12-18T03:42:04.000Z
2021-12-18T03:42:04.000Z
defmodule LivebookCLI.Server do @moduledoc false @behaviour LivebookCLI.Task @external_resource "README.md" [_, environment_variables, _] = "README.md" |> File.read!() |> String.split("<!-- Environment variables -->") @environment_variables String.trim(environment_variables) @impl true de...
31.704348
109
0.622052
4ae99e858fb387c46929a7cb62acb13d454f7214
455
ex
Elixir
example/test/support/integration_case.ex
smeevil/phoenix-jsroutes
b5351527302acff6258acd321a4f055e6fc71371
[ "MIT" ]
null
null
null
example/test/support/integration_case.ex
smeevil/phoenix-jsroutes
b5351527302acff6258acd321a4f055e6fc71371
[ "MIT" ]
null
null
null
example/test/support/integration_case.ex
smeevil/phoenix-jsroutes
b5351527302acff6258acd321a4f055e6fc71371
[ "MIT" ]
null
null
null
defmodule JsRoutesExample.IntegrationCase do use ExUnit.CaseTemplate, async: false use Hound.Helpers using do quote do use Hound.Helpers import JsRoutesExample.Router.Helpers import JsRoutesExample.IntegrationCase # The default endpoint for testing @endpoint JsRoutesExample.En...
18.958333
45
0.701099
4ae9ae2417ce92bb7ce45a78b1714e27127f88a4
7,650
ex
Elixir
lib/paasaa.ex
AndrewDryga/paasaa
a56da27c38eb85c8f9409ae9b59f15c59a106f7e
[ "MIT" ]
1
2020-03-06T18:01:07.000Z
2020-03-06T18:01:07.000Z
lib/paasaa.ex
AndrewDryga/paasaa
a56da27c38eb85c8f9409ae9b59f15c59a106f7e
[ "MIT" ]
null
null
null
lib/paasaa.ex
AndrewDryga/paasaa
a56da27c38eb85c8f9409ae9b59f15c59a106f7e
[ "MIT" ]
null
null
null
defmodule Paasaa do @moduledoc """ Detects language by analyzing symbol patterns and trigram occurrence in a string. """ @script_expressions Paasaa.Data.fetch_script_expressions!() @trigrams Paasaa.Data.fetch_trigrams!() @languages Paasaa.Data.fetch_languages!() @max_difference 300 @type options ::...
27.224199
103
0.599477
4ae9d5ea1bc5081eff86b3f1cd4edd91c5ee6f00
1,867
exs
Elixir
test/statix/overriding_test.exs
dnlserrano/statix
00c9d690f41847cab8ad5e70f28e501f98035797
[ "0BSD" ]
255
2015-05-14T13:39:57.000Z
2022-03-02T14:50:33.000Z
test/statix/overriding_test.exs
dnlserrano/statix
00c9d690f41847cab8ad5e70f28e501f98035797
[ "0BSD" ]
47
2015-05-17T13:14:13.000Z
2021-07-16T15:07:52.000Z
test/statix/overriding_test.exs
dnlserrano/statix
00c9d690f41847cab8ad5e70f28e501f98035797
[ "0BSD" ]
68
2015-05-16T15:30:04.000Z
2022-02-02T16:29:39.000Z
defmodule Statix.OverridingTest do @server_port 8225 use Statix.TestCase, port: @server_port Application.put_env(:statix, __MODULE__, port: @server_port) use Statix def increment(key, value, options) do super([key, "-overridden"], value, options) end def decrement(key, value, options) do supe...
23.3375
87
0.636851
4ae9e006480511d35bd63edd1f5e4a241e4d46dc
8,129
exs
Elixir
test/liquex/render/iteration_test.exs
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
test/liquex/render/iteration_test.exs
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
test/liquex/render/iteration_test.exs
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
defmodule Liquex.Render.IterationTest do @moduledoc false use ExUnit.Case, async: true alias Liquex.Context describe "for" do test "render basic for loop" do context = Context.new(%{ "collection" => %{ "products" => [ %{"title" => "hat"}, %{...
25.643533
98
0.414934
4ae9f0ca0d05d04b91e9f8024a005da85710eb45
4,052
ex
Elixir
lib/bitpal/transactions.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal/transactions.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal/transactions.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPal.Transactions do import Ecto.Query, only: [from: 2] alias BitPal.AddressEvents alias BitPal.Blocks alias BitPal.Repo alias BitPalSchemas.Address alias BitPalSchemas.Invoice alias BitPalSchemas.Store alias BitPalSchemas.TxOutput require Logger @type height :: non_neg_integer @type ...
26.834437
101
0.620928
4aea3c4a2f65f8e4caf8845b6c0f07fab41f56ed
29,650
exs
Elixir
test/phoenix_live_view/integrations/elements_test.exs
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
1
2022-03-13T23:01:55.000Z
2022-03-13T23:01:55.000Z
test/phoenix_live_view/integrations/elements_test.exs
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/elements_test.exs
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ElementsTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveViewTest.{Endpoint} @endpoint Endpoint defp last_event(view) do view |> element("#last-event") |> render() |> HtmlEntities.decode() end setup do conn ...
39.959569
168
0.553558
4aea4da95198074461baf3dcd81c174b4333cc1a
10,561
exs
Elixir
lib/elixir/test/elixir/version_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/elixir/test/elixir/version_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/test/elixir/version_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule VersionTest do use ExUnit.Case, async: true doctest Version alias Version.Parser test "compare/2 with valid versions" do assert Version.compare("1.0.1", "1.0.0") == :gt assert Version.compare("1.1.0", "1.0.1") == :gt assert Version.compare(...
35.8
93
0.534324
4aea60fdbc6af14acbd130d1acb69dc0d29f0580
1,078
exs
Elixir
mix.exs
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
6
2016-08-24T17:53:31.000Z
2021-02-05T11:18:16.000Z
mix.exs
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
7
2016-12-28T13:09:30.000Z
2017-03-06T11:11:10.000Z
mix.exs
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
null
null
null
defmodule Barracuda.Mixfile do use Mix.Project def project do [app: :barracuda, version: "0.7.0-dev", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), description: description(), p...
23.434783
75
0.589981
4aea7693c4189de9e76cc73741b2e2960f3756da
126
exs
Elixir
apps/mdb/test/mdb_test.exs
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/mdb/test/mdb_test.exs
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/mdb/test/mdb_test.exs
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule MdbTest do use ExUnit.Case doctest Mdb test "greets the world" do assert Mdb.hello() == :world end end
14
32
0.68254
4aea95f270415044b01a05a0d392dcdc434954fe
541
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/access_uri.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.Compute/lib/microsoft/azure/management/compute/model/access_uri.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/access_uri.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.Compute.Model.AccessUri do @moduledoc """ A disk access SAS uri. """ @derive [Poison.Encoder] defstruct [ ...
20.807692
82
0.709797
4aea9706a0f0027b9b1a8c9f54a31f30bbfe7189
1,525
ex
Elixir
deps/absinthe/lib/absinthe/phase/document/validation/provided_non_null_variables.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/phase/document/validation/provided_non_null_variables.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/phase/document/validation/provided_non_null_variables.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Validation.ProvidedNonNullVariables do @moduledoc false # Validates document to ensure that all non-null variable definitions # are provided values. alias Absinthe.{Blueprint, Phase, Schema} use Absinthe.Phase use Absinthe.Phase.Validation @doc """ Run the validatio...
28.240741
154
0.710164
4aea9adf70b3e905092d283f5ba649ecbf7cd104
27
ex
Elixir
testData/org/elixir_lang/parser_definition/heredoc_dot_operation_parsing_test_case/DecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/heredoc_dot_operation_parsing_test_case/DecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/heredoc_dot_operation_parsing_test_case/DecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
''' One '''.2 """ One """.2
4.5
5
0.296296
4aeaa14eeb0506d9ab1b6f878606589346fc50f2
563
ex
Elixir
lib/genex/types/community.ex
seanmor5/genex
d1be8b030019f24180ddd0b1a9a91bd3039da076
[ "Apache-2.0" ]
114
2019-08-04T04:36:05.000Z
2022-02-11T03:09:15.000Z
lib/genex/types/community.ex
seanmor5/genex
d1be8b030019f24180ddd0b1a9a91bd3039da076
[ "Apache-2.0" ]
18
2019-08-03T23:59:45.000Z
2019-08-15T18:21:44.000Z
lib/genex/types/community.ex
seanmor5/genex
d1be8b030019f24180ddd0b1a9a91bd3039da076
[ "Apache-2.0" ]
8
2019-08-12T22:52:54.000Z
2022-02-28T11:33:54.000Z
defmodule Genex.Types.Community do alias Genex.Types.{Chromosome, Population} @moduledoc false @type t :: %__MODULE__{ populations: Enum.t(Population.t()), generation: integer(), size: integer(), max_fitness: number(), strongest: Chromosome.t(), history:...
22.52
46
0.589698
4aeac58d8edb32abb171a6bc3871a7ae1c451551
1,461
ex
Elixir
lib/plotex/output/options.ex
k-cross/plotex
5b5634bf47d677172e7c8da4877ebe38f62d16a1
[ "Apache-2.0" ]
null
null
null
lib/plotex/output/options.ex
k-cross/plotex
5b5634bf47d677172e7c8da4877ebe38f62d16a1
[ "Apache-2.0" ]
null
null
null
lib/plotex/output/options.ex
k-cross/plotex
5b5634bf47d677172e7c8da4877ebe38f62d16a1
[ "Apache-2.0" ]
null
null
null
defmodule Plotex.Output.Options.Item do defstruct size: 2.0, offset: 5.0, rotate: 0.0 end defmodule Plotex.Output.Options.Axis do alias Plotex.Output.Options defstruct ticks: %Options.Item{}, label: %Options.Item{}, format: nil end defmodule Plotex.Output.Option...
22.828125
72
0.595483
4aeac70c3fc1129876073506fb0f110d6dcbab06
359
exs
Elixir
test/security/no_importing.exs
qhwa/formular
d836a38f437a947684913de42460203cdf2a5ae2
[ "MIT" ]
9
2021-05-07T22:26:34.000Z
2022-02-16T09:30:02.000Z
test/security/no_importing.exs
qhwa/formular
d836a38f437a947684913de42460203cdf2a5ae2
[ "MIT" ]
6
2021-08-29T01:57:03.000Z
2021-12-27T03:00:59.000Z
test/security/no_importing.exs
qhwa/formular
d836a38f437a947684913de42460203cdf2a5ae2
[ "MIT" ]
null
null
null
defmodule NoImportingTest do use ExUnit.Case defdelegate eval(code, binding, opts \\ []), to: Formular test "it returns error when importing" do assert eval("import Kernel", []) == {:error, :no_import_or_require} end test "it returns error when requiring" do assert eval("require Logger", []) == {:e...
25.642857
72
0.693593
4aeb0c38cea24616f66b9d0752baeea109bf8f1f
9,162
ex
Elixir
lib/phoenix_live_view/static.ex
CargoSense/phoenix_live_view
288642853d9da71a9acc37eef668c772bdb55300
[ "MIT" ]
null
null
null
lib/phoenix_live_view/static.ex
CargoSense/phoenix_live_view
288642853d9da71a9acc37eef668c772bdb55300
[ "MIT" ]
null
null
null
lib/phoenix_live_view/static.ex
CargoSense/phoenix_live_view
288642853d9da71a9acc37eef668c772bdb55300
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Static do # Holds the logic for static rendering. @moduledoc false alias Phoenix.LiveView.{Socket, Utils, Diff} # Token version. Should be changed whenever new data is stored. @token_vsn 2 # Max session age in seconds. Equivalent to 2 weeks. @max_session_age 1_209_600 @doc...
29.365385
99
0.642545
4aeb12b078def3668698d7332d889ccde5b2ec3d
1,729
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/client_info_detail.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/client_info_detail.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/client_info_detail.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.901961
170
0.725275
4aeb308ae82f794874d164d5010fef7e48fef693
1,756
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1/model/import_apt_artifacts_gcs_source.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1/model/import_apt_artifacts_gcs_source.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1/model/import_apt_artifacts_gcs_source.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...
35.12
134
0.734624
4aeb7e219b58bebcd3cdb353d9176fc478e0d958
122
ex
Elixir
lib/tictac.ex
brainlid/tictac
2e5c5cd44a147e5b7b754860d187fcfda74cf74a
[ "Apache-2.0" ]
251
2021-04-30T04:46:53.000Z
2022-03-30T06:39:52.000Z
lib/tictac.ex
brainlid/tictac
2e5c5cd44a147e5b7b754860d187fcfda74cf74a
[ "Apache-2.0" ]
3
2021-05-06T03:01:39.000Z
2022-03-29T13:04:16.000Z
lib/tictac.ex
brainlid/tictac
2e5c5cd44a147e5b7b754860d187fcfda74cf74a
[ "Apache-2.0" ]
21
2021-04-30T05:25:57.000Z
2022-03-01T17:22:21.000Z
defmodule Tictac do @moduledoc """ Tictac keeps the contexts that define your domain and business logic. """ end
15.25
51
0.713115
4aeb8b2902e53f0e3aa377dfce923eccc8cbafa9
1,769
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/composite_filter.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/composite_filter.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/composite_filter.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...
34.686275
128
0.730921
4aeb9c7983629da1bfb7a2f4a57e1a719f7c49fe
2,149
ex
Elixir
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/model/site_summary_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/model/site_summary_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/model/site_summary_response.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...
40.54717
162
0.749186
4aeb9e6dbd21abfca36f3e23e231d4838667f348
817
ex
Elixir
web/models/transaction.ex
wsmoak/minty
dbafd707cc5ce6d0bc251698cefe2c5d5a6eca56
[ "MIT" ]
4
2016-02-17T03:13:03.000Z
2017-04-18T20:53:03.000Z
web/models/transaction.ex
wsmoak/minty
dbafd707cc5ce6d0bc251698cefe2c5d5a6eca56
[ "MIT" ]
null
null
null
web/models/transaction.ex
wsmoak/minty
dbafd707cc5ce6d0bc251698cefe2c5d5a6eca56
[ "MIT" ]
null
null
null
defmodule Minty.Transaction do use Minty.Web, :model schema "transactions" do field :date, Ecto.Date field :description, :string field :original_description, :string field :amount, :float field :transaction_type, :string field :category, :string field :account_name, :string field :l...
25.53125
85
0.713586
4aebd17997688a2d6bc9be5bf6c9b90e63f4e6d0
364
ex
Elixir
test/support/input_loader.ex
dliberalesso/advent_of_code
dc96a9e92304dd1c00e282583909cca297c6d56e
[ "MIT" ]
null
null
null
test/support/input_loader.ex
dliberalesso/advent_of_code
dc96a9e92304dd1c00e282583909cca297c6d56e
[ "MIT" ]
null
null
null
test/support/input_loader.ex
dliberalesso/advent_of_code
dc96a9e92304dd1c00e282583909cca297c6d56e
[ "MIT" ]
null
null
null
defmodule Aoc.InputLoader do @moduledoc """ Loads challenge inputs """ @doc """ Loads the given file as a string """ def input(year, day) do day = day |> Integer.to_string() |> String.pad_leading(2, "0") "priv/inputs/year_#{year}/day_#{day}.txt" |> Path.expand() |> Path.absname() |> ...
19.157895
66
0.590659
4aebdcc619cee46bdc514642e9678550f7dfb671
7,230
exs
Elixir
test/yaml_elixir_test.exs
kianmeng/yaml-elixir
09d2838f69e5b17f2fa6477e5b85755347c8e293
[ "MIT" ]
null
null
null
test/yaml_elixir_test.exs
kianmeng/yaml-elixir
09d2838f69e5b17f2fa6477e5b85755347c8e293
[ "MIT" ]
null
null
null
test/yaml_elixir_test.exs
kianmeng/yaml-elixir
09d2838f69e5b17f2fa6477e5b85755347c8e293
[ "MIT" ]
null
null
null
defmodule YamlElixirTest do use ExUnit.Case test "should parse blank file" do assert_parse_file("blank", %{}) end test "should parse empty file" do assert_parse_file("empty", %{}) end test "should parse flat file" do assert_parse_file("flat", %{ "a" => "a", "b" => 1, "c" => ...
23.627451
115
0.544537
4aebf66d294cc1daaea570f7d3d621ff6a6b0c28
340
ex
Elixir
lib/structs/board.ex
MitjaBezensek/pinterex
2c278212f17227d64c7402e65f0dad6563dea49f
[ "MIT" ]
1
2018-01-29T17:52:47.000Z
2018-01-29T17:52:47.000Z
lib/structs/board.ex
MitjaBezensek/pinterex
2c278212f17227d64c7402e65f0dad6563dea49f
[ "MIT" ]
null
null
null
lib/structs/board.ex
MitjaBezensek/pinterex
2c278212f17227d64c7402e65f0dad6563dea49f
[ "MIT" ]
null
null
null
defmodule Pinterex.Structs.Board do @moduledoc """ Board struct. ## Reference [https://developers.pinterest.com/docs/api/boards/](https://developers.pinterest.com/docs/api/boards/) """ defstruct id: nil, name: nil, url: nil, description: nil, creator: nil, created_at: nil, counts: nil, image: nil us...
22.666667
104
0.705882
4aec110ec4388020b6db0130c1cc9c9491d715b8
4,115
ex
Elixir
lib/days/09.ex
codebycaleb/advent-2019
93307522e31410df7f4bcdaadd79d2a628f09cb2
[ "Unlicense" ]
null
null
null
lib/days/09.ex
codebycaleb/advent-2019
93307522e31410df7f4bcdaadd79d2a628f09cb2
[ "Unlicense" ]
null
null
null
lib/days/09.ex
codebycaleb/advent-2019
93307522e31410df7f4bcdaadd79d2a628f09cb2
[ "Unlicense" ]
null
null
null
require Utils require Program defmodule D9 do @moduledoc """ --- Day 9: Sensor Boost --- You've just said goodbye to the rebooted rover and left Mars when you receive a faint distress signal coming from the asteroid belt. It must be the Ceres monitoring station! In order to lock on to the signal, you'll need ...
47.848837
318
0.728068
4aec44fdde5210d27852883050682a60687d62ce
4,425
ex
Elixir
priv/templates/coh.gen.controllers/controllers/coherence/registration_controller.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
priv/templates/coh.gen.controllers/controllers/coherence/registration_controller.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
priv/templates/coh.gen.controllers/controllers/coherence/registration_controller.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
defmodule <%= web_base %>.Coherence.RegistrationController do @moduledoc """ Handle account registration actions. Actions: * new - render the register form * create - create a new user account * edit - edit the user account * update - update the user account * delete - delete the user account """ ...
29.898649
99
0.67096
4aec8379c5fb2a8657216d7909dbe38449a2f2f6
7,607
ex
Elixir
lib/k8s/client/runner/watch/stream.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
null
null
null
lib/k8s/client/runner/watch/stream.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
2
2022-03-28T03:22:37.000Z
2022-03-28T03:22:54.000Z
lib/k8s/client/runner/watch/stream.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
null
null
null
defmodule K8s.Client.Runner.Watch.Stream do @moduledoc """ Watches a `K8s.Client.list/3` operation and returns an Elixir [`Stream`](https://hexdocs.pm/elixir/Stream.html) of events. """ alias K8s.Client.Runner.Base alias K8s.Client.Runner.Watch require Logger @log_prefix "#{__MODULE__} - " |> String.re...
32.097046
124
0.593269
4aec948cc0527ba4df0a79f141484adedbc88136
1,007
exs
Elixir
teachme/config/config.exs
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
teachme/config/config.exs
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
teachme/config/config.exs
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "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. # General application configuration use Mix.Config config :teachme, ecto_repos: [Teachme.Repo] #...
32.483871
86
0.769613
4aecd0eda31b9e395310b181e31ac9a6574b8955
935
exs
Elixir
backend/config/config.exs
ospaarmann/ex-emoji-map
7a5c2a1b4c2c684ddee33ac2b284c65d150965d4
[ "MIT" ]
14
2018-01-12T08:47:00.000Z
2020-06-18T04:59:27.000Z
backend/config/config.exs
ospaarmann/ex-emoji-map
7a5c2a1b4c2c684ddee33ac2b284c65d150965d4
[ "MIT" ]
1
2017-03-17T13:15:47.000Z
2017-03-17T13:15:47.000Z
backend/config/config.exs
ospaarmann/ex-emoji-map
7a5c2a1b4c2c684ddee33ac2b284c65d150965d4
[ "MIT" ]
4
2018-07-31T12:29:15.000Z
2021-01-05T19:22:49.000Z
# 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 # Configures the endpoint config :emoji_map, EmojiMap.Endpoint, url: [host: "localh...
34.62963
86
0.764706
4aecd26bcd35c907c5ae8f0e8957e9f4a3680da4
1,334
exs
Elixir
mix.exs
GunnarPDX/language_list
6709337ded8d10eede5e7012519c4154ddc45228
[ "MIT" ]
null
null
null
mix.exs
GunnarPDX/language_list
6709337ded8d10eede5e7012519c4154ddc45228
[ "MIT" ]
null
null
null
mix.exs
GunnarPDX/language_list
6709337ded8d10eede5e7012519c4154ddc45228
[ "MIT" ]
null
null
null
defmodule LanguageList.MixProject do use Mix.Project def project do [ app: :language_list, version: "2.0.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "language_list", source_...
25.653846
95
0.624438
4aecdf2bd33b3507bc9f3cff5313f46afe9faaf8
1,126
ex
Elixir
apps/blockchain/lib/eth_common_test/harness.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/blockchain/lib/eth_common_test/harness.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/blockchain/lib/eth_common_test/harness.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule EthCommonTest.Harness do @moduledoc """ Harness for running tests off of the Ethereum Common Test suite. """ alias EthCommonTest.Helpers defmacro __using__(_opts) do quote do import EthCommonTest.Helpers import EthCommonTest.Harness, only: [eth_test: 4] end end defmacro eth...
28.871795
86
0.637655
4aecf0dcf5fcf473f9ba827972bc94a1284d51ff
882
ex
Elixir
clients/language/lib/google_api/language/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.666667
74
0.758503
4aed1006127a50aa6ce8a0e06a2ef1b3a46110c7
2,001
exs
Elixir
home_page_local/config/dev.exs
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
8
2019-06-02T05:02:36.000Z
2021-08-11T04:23:10.000Z
home_page_local/config/dev.exs
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
7
2019-05-15T08:32:51.000Z
2020-06-10T07:46:43.000Z
home_page_local/config/dev.exs
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
1
2019-06-02T05:02:47.000Z
2019-06-02T05:02:47.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :home_page, HomePageWeb.Endpoint, http: [port:...
33.915254
170
0.709145
4aed1685e7ae155e571c494609b7195d26abedd4
638
ex
Elixir
kousa/lib/broth/message/room/set_auth.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/broth/message/room/set_auth.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/broth/message/room/set_auth.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Broth.Message.Room.SetAuth do use Broth.Message.Cast @primary_key false embedded_schema do field(:userId, :binary_id) field(:level, Broth.Message.Types.RoomAuth) end alias Kousa.Utils.UUID def changeset(initializer \\ %__MODULE__{}, data) do initializer |> cast(data, [:userId, :...
24.538462
89
0.675549
4aed2b809ba082a4d64e7a7a4f12c8213ab080a2
196
ex
Elixir
elixir/elixir-conf-eu-2015/elixir_conf_workshop/lib/abacus.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-conf-eu-2015/elixir_conf_workshop/lib/abacus.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-conf-eu-2015/elixir_conf_workshop/lib/abacus.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule Abacus do def addition(a, b) do a + b end def subtraction(a, b) do a - b end def multiplication(a, b) do a * b end def division(a, b) do a / b end end
10.888889
29
0.556122
4aed326343d5b31602d50319871f002b83cd96ab
71
ex
Elixir
day01/el.ex
mason-bially/aoc-2021
866ffc7e85f690c2ad9195da2304bfb515819023
[ "MIT" ]
null
null
null
day01/el.ex
mason-bially/aoc-2021
866ffc7e85f690c2ad9195da2304bfb515819023
[ "MIT" ]
null
null
null
day01/el.ex
mason-bially/aoc-2021
866ffc7e85f690c2ad9195da2304bfb515819023
[ "MIT" ]
null
null
null
Code.require_file("../util/util.ex", __DIR__) defmodule Day01 do end
11.833333
45
0.732394
4aed420d13ff0ff6ff24d4f45c2944a32206a917
2,044
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__normalized_bounding_box.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__normalized_bounding_box.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__normalized_bounding_box.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.444444
111
0.710861
4aed5a8fcae95c7c0f6d228344f6528544a85a9e
2,037
exs
Elixir
test/lib/util/crypto_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
test/lib/util/crypto_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
test/lib/util/crypto_test.exs
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. defmodule Antikythera.CryptoTest do use Croma.TestCase test "secure_compare/2" do assert Crypto.secure_compare("", "") assert Crypto.secure_compare("a", "a") refute Crypto.secure_compare("", "a") refute Crypto.secure_compare("a", "") ...
33.95
106
0.618557
4aed6f94b8359b73181bd7159f4c46be30007d0d
263
ex
Elixir
request-header/lib/request_header.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
request-header/lib/request_header.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
request-header/lib/request_header.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
defmodule RequestHeader do @moduledoc """ RequestHeader keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.3
66
0.764259
4aed7f1c2a2df3206b0c3b51d2bf80c6eaee713a
2,502
exs
Elixir
test/mix/tasks/hex.repo_test.exs
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/hex.repo_test.exs
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
1
2021-06-25T15:19:59.000Z
2021-06-25T15:19:59.000Z
test/mix/tasks/hex.repo_test.exs
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Hex.RepoTest do use HexTest.Case @public_key """ -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqREcFDt5vV21JVe2QNB Edvzk6w36aNFhVGWN5toNJRjRJ6m4hIuG4KaXtDWVLjnvct6MYMfqhC79HAGwyF+ IqR6Q6a5bbFSsImgBJwz1oadoVKD6ZNetAuCIK84cjMrEFRkELtEIPNHblCzUkkM 3rS9+DPlnfG8hB...
29.785714
90
0.602318
4aed7f632259199835a8969fc24f8e6a539cfee7
3,893
exs
Elixir
test/adaptable_costs_evaluator_web/controllers/user_controller_test.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
test/adaptable_costs_evaluator_web/controllers/user_controller_test.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
4
2021-12-07T12:26:50.000Z
2021-12-30T14:17:25.000Z
test/adaptable_costs_evaluator_web/controllers/user_controller_test.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
defmodule AdaptableCostsEvaluatorWeb.UserControllerTest do use AdaptableCostsEvaluatorWeb.ConnCase use AdaptableCostsEvaluator.Fixtures.{UserFixture, OrganizationFixture} alias AdaptableCostsEvaluator.{Users, Guardian, Organizations} import AdaptableCostsEvaluator.Helpers.ConnHelper, only: [setup_conns: 2] ...
32.441667
99
0.637555
4aed8e9e3f518ec2de9de3bf2d5e663759aa92c3
227
exs
Elixir
priv/repo/migrations/20180711075041_add_on_top_to_posts.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180711075041_add_on_top_to_posts.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180711075041_add_on_top_to_posts.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.AddOnTopToPosts do use Ecto.Migration def change do alter table(:cms_posts) do add(:pin, :boolean, default: false) end create(index(:cms_posts, [:pin])) end end
18.916667
58
0.696035
4aed91578419773373b4d0933a58d70ebbd406a8
881
exs
Elixir
mix.exs
dnlserrano/exavier
3d4d64ebb83b533b85c51fa6f7fdd60983afa2b4
[ "MIT" ]
93
2019-07-22T09:21:31.000Z
2022-02-02T05:49:29.000Z
mix.exs
dnlserrano/exavier
3d4d64ebb83b533b85c51fa6f7fdd60983afa2b4
[ "MIT" ]
21
2019-07-26T12:54:37.000Z
2022-03-10T10:56:47.000Z
mix.exs
dnlserrano/exavier
3d4d64ebb83b533b85c51fa6f7fdd60983afa2b4
[ "MIT" ]
7
2019-11-05T08:32:51.000Z
2020-11-25T19:37:35.000Z
defmodule Exavier.MixProject do use Mix.Project def project do [ app: :exavier, version: "0.3.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), elixirc_paths: elixirc_paths(Mix.env()) ] ...
18.744681
57
0.567537
4aedaecdfb3aaeef163ff179ca6860d0ca20ccd2
1,366
ex
Elixir
lib/bamboo/config_adapter.ex
jprincipe/bamboo_config_adapter
2b13050b5418db81f16b2f8e2b4f8a6eb7fd304f
[ "MIT" ]
null
null
null
lib/bamboo/config_adapter.ex
jprincipe/bamboo_config_adapter
2b13050b5418db81f16b2f8e2b4f8a6eb7fd304f
[ "MIT" ]
null
null
null
lib/bamboo/config_adapter.ex
jprincipe/bamboo_config_adapter
2b13050b5418db81f16b2f8e2b4f8a6eb7fd304f
[ "MIT" ]
null
null
null
defmodule Bamboo.ConfigAdapter do @behaviour Bamboo.Adapter @moduledoc """ # Example using SMTPAdapter ## Config config :my_app, MyApp.Mailer, adapter: Bamboo.ConfigAdapter, chained_adapter: Bamboo.SMTPAdapter, server: "smtp.domain", hostname: "www.mydomain.com", ...
24.836364
105
0.665447
4aedb4bad8f02e268991f611eab155b1923e5aed
1,453
ex
Elixir
lib/phoenix/live_dashboard/pages/ets_page.ex
PaulOstazeski/phoenix_live_dashboard
c68eac2640d6579d16f222fe58c1eb669342a1f2
[ "MIT" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
deps/phoenix_live_dashboard/lib/phoenix/live_dashboard/pages/ets_page.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/phoenix_live_dashboard/lib/phoenix/live_dashboard/pages/ets_page.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-05-16T22:44:14.000Z
2020-05-16T22:44:14.000Z
defmodule Phoenix.LiveDashboard.EtsPage do @moduledoc false use Phoenix.LiveDashboard.PageBuilder alias Phoenix.LiveDashboard.SystemInfo @table_id :table @menu_text "ETS" @impl true def render_page(_assigns) do table( columns: columns(), id: @table_id, row_attrs: &row_attrs/1, ...
19.90411
82
0.554026
4aedb9efe453f8b54c43d96073abceb4077ca238
3,256
exs
Elixir
apps/definition_kafka/test/kafka/topic/source_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/definition_kafka/test/kafka/topic/source_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/definition_kafka/test/kafka/topic/source_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Kafka.Topic.SourceTest do use ExUnit.Case use Divo import AssertAsync @endpoints [localhost: 9092] @topic "source-test" @moduletag integration: true, divo: true defmodule Handler do use Source.Handler def handle_batch(messages, context) do send(context.assigns.test, {:handle_ba...
21.852349
87
0.584767
4aedba97c368cf70010d3f2463791157796905fa
1,120
exs
Elixir
apps/airport/config/config.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
6
2017-08-10T13:57:06.000Z
2019-01-17T08:48:40.000Z
apps/airport/config/config.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
14
2017-08-08T13:07:00.000Z
2019-02-28T15:10:18.000Z
apps/airport/config/config.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35
73
0.753571
4aedc66a3b7299745cab07c64591d88b943efc68
3,332
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_snippet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_snippet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_snippet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
46.929577
304
0.702881
4aedd2ad1776c7b38130df24c9aa29dee8eaa027
1,904
exs
Elixir
mix.exs
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
mix.exs
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
mix.exs
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
defmodule Cometoid.MixProject do use Mix.Project def project do [ app: :cometoid, version: "0.1.1", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
28
84
0.571954
4aeddd7e5c1182eed3e5cd2908fa2b3583a8b286
2,053
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_transfer_configs_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_transfer_configs_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_transfer_configs_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.254902
244
0.766196
4aede9879ea9a5d3bc7681bf02bb83b56ae66738
504
exs
Elixir
config/prod.exs
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
config/prod.exs
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
config/prod.exs
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
import Config db_url = System.get_env("DATABASE_URL") || raise """ environment variable DATABASE_URL is missing. For example: ecto://USER:PASS@HOST/DATABASE """ config :chat, Chat.Repo, url: db_url, adapter: Ecto.Adapters.Postgres, pool_size: String.to_integer(System.get_env("POOL_SIZE") || "2...
21
66
0.698413
4aedfacde468e5f284d8dc8a30095b5437ffe110
1,045
ex
Elixir
lib/exreddit_tagger.ex
making3/exreddit-tagger
b864289238ab35ea8ec98524c6ef73ff6443426e
[ "MIT" ]
null
null
null
lib/exreddit_tagger.ex
making3/exreddit-tagger
b864289238ab35ea8ec98524c6ef73ff6443426e
[ "MIT" ]
null
null
null
lib/exreddit_tagger.ex
making3/exreddit-tagger
b864289238ab35ea8ec98524c6ef73ff6443426e
[ "MIT" ]
null
null
null
defmodule ExRedditTagger do def get_new_thread_tags(sub, token, tags, return_only_matches \\ false) do ExRedditTagger.Stream.fetch_new_threads_perpertually(token, sub) |> Stream.map(&(Map.get(&1, "data"))) |> Stream.map(&(parse_thread(&1, tags))) |> return_matches(return_only_matches) end defp pa...
27.5
76
0.699522
4aee00700737f7a127aa59b627dfcacc71477d3a
2,001
ex
Elixir
apps/ex_wire/lib/ex_wire/packet/capability/eth/node_data.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/ex_wire/lib/ex_wire/packet/capability/eth/node_data.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/ex_wire/lib/ex_wire/packet/capability/eth/node_data.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule ExWire.Packet.Capability.Eth.NodeData do @moduledoc """ Eth Wire Packet for getting NodeData from a peer. ``` **NodeData** [+0x0e, value_0: B, value_1: B, ...] Provide a set of values which correspond to previously asked node data hashes from GetNodeData. Does not need to contain all; best effort...
24.108434
99
0.655672
4aee14778059527c0b0eef1c9770e17ed423ac52
387
ex
Elixir
lib/bearings_web/controllers/page_controller.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
lib/bearings_web/controllers/page_controller.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
lib/bearings_web/controllers/page_controller.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
null
null
null
defmodule BearingsWeb.PageController do use BearingsWeb, :controller def action(conn, _) do apply(__MODULE__, action_name(conn), [conn, conn.params, conn.assigns.current_user]) end def index(conn, _params, nil) do render(conn, "index.html") end def index(conn, _params, _) do redirect(conn, to...
24.1875
88
0.723514
4aee18f0ffafc0815caca52f6b322653b558fae8
147
exs
Elixir
test/sanbase/signals/history/history_result_builder_transformer_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase/signals/history/history_result_builder_transformer_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase/signals/history/history_result_builder_transformer_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Signal.History.ResultBuilder.TransformerTest do use ExUnit.Case doctest Sanbase.Signal.History.ResultBuilder.Transformer end
29.4
65
0.857143
4aee1a427c5d7aabec1428da2e230d33f2d25e3a
954
ex
Elixir
server/potter_sea/test/support/channel_case.ex
monarch619/PotterSea
937fc62fcb0b4e2e071718353bc6ba95bc310aa1
[ "Apache-2.0" ]
44
2021-12-12T19:28:26.000Z
2022-03-05T09:48:00.000Z
server/potter_sea/test/support/channel_case.ex
RoniAndarsyah/PotterSea
40560be7842aa5e791a7b8f0e98b507f4e84a443
[ "Apache-2.0" ]
1
2021-12-14T12:59:16.000Z
2022-02-18T09:31:59.000Z
server/potter_sea/test/support/channel_case.ex
RoniAndarsyah/PotterSea
40560be7842aa5e791a7b8f0e98b507f4e84a443
[ "Apache-2.0" ]
7
2021-12-12T23:09:04.000Z
2022-01-02T08:34:45.000Z
defmodule PotterSeaWeb.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...
27.257143
66
0.74109
4aee2d839a2f33a3a7611dcb64863b431baa5b6d
5,261
ex
Elixir
apps/core/lib/core/schema/user.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/schema/user.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/schema/user.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
defmodule Core.Schema.User do use Piazza.Ecto.Schema, derive_json: false use Arc.Ecto.Schema alias Core.Schema.{ Address, Publisher, Webhook, Account, Group, RoleBinding, Incident, ImpersonationPolicy, GroupMember } @email_re ~r/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-...
28.592391
109
0.652347
4aee311059b604e382ec0d53428dfb1ebb9b5326
2,639
exs
Elixir
config/config.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
config/config.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
config/config.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
use Mix.Config config :re, ecto_repos: [Re.Repo], use_logger: true config :re_integrations, ecto_repos: [ReIntegrations.Repo], frontend_url: "http://localhost:3000", to: "dev1@email.com|dev2@email.com", from: "admin@email.com", reply_to: "admin@email.com", env: "dev", use_logger: true, timezone: S...
26.39
86
0.718075
4aee3d369236c95be2b85d6059eda8c4b399a978
4,680
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/http_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/http_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/http_request.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...
52
218
0.704915
4aee4b2c98978b82a5b52ca53cb34fdda111f606
1,220
ex
Elixir
web/views/error_helpers.ex
phensalves/rumbl
4ecf962038774fa81c83f07b81f36266f86effaf
[ "MIT" ]
144
2015-04-30T15:12:46.000Z
2022-01-07T03:40:26.000Z
web/views/error_helpers.ex
phensalves/rumbl
4ecf962038774fa81c83f07b81f36266f86effaf
[ "MIT" ]
57
2015-04-29T11:26:54.000Z
2022-01-05T13:35:10.000Z
web/views/error_helpers.ex
phensalves/rumbl
4ecf962038774fa81c83f07b81f36266f86effaf
[ "MIT" ]
46
2015-06-12T11:26:15.000Z
2021-12-15T00:38:26.000Z
defmodule Rumbl.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), cl...
29.756098
71
0.665574
4aee9e2d49ee816676f940bba0bdf03b9d31a73f
61
exs
Elixir
test/io_tty_test.exs
swalker90/elixir-io_tty
a77807d0b0f42e7d74db882b533c9c62bf82eca3
[ "Apache-2.0" ]
3
2017-07-09T12:36:06.000Z
2020-03-24T22:20:45.000Z
test/io_tty_test.exs
swalker90/elixir-io_tty
a77807d0b0f42e7d74db882b533c9c62bf82eca3
[ "Apache-2.0" ]
null
null
null
test/io_tty_test.exs
swalker90/elixir-io_tty
a77807d0b0f42e7d74db882b533c9c62bf82eca3
[ "Apache-2.0" ]
null
null
null
defmodule IOTtyTest do use ExUnit.Case doctest IOTty end
12.2
22
0.786885
4aeea4d1876e797d36b18be9d7f32c4c219e9cd1
2,728
ex
Elixir
lib/indulgences/coordinator.ex
TrsNium/Indulgences
9492e49508551eb30c030016f5422475184e90f7
[ "MIT" ]
5
2019-09-09T08:51:25.000Z
2020-01-01T06:28:21.000Z
lib/indulgences/coordinator.ex
TrsNium/Indulgences
9492e49508551eb30c030016f5422475184e90f7
[ "MIT" ]
10
2020-05-19T20:28:34.000Z
2022-03-23T21:39:11.000Z
lib/indulgences/coordinator.ex
TrsNium/Indulgences
9492e49508551eb30c030016f5422475184e90f7
[ "MIT" ]
null
null
null
defmodule Indulgences.Coordinator do alias Indulgences.{Simulation, Activation} def start(%Simulation{} = simulation) do execute(simulation) end defp execute( %Simulation{ activations: [%Activation{} = activation | others], scenario: scenario, configure: nil ...
27.555556
89
0.656891
4aeed750f83658c48ecdfd75d68577b5a703b320
5,560
ex
Elixir
lib/pow/store/credentials_cache.ex
joelbyler/pow
be956671a551324aa328684b526b2bedc84bd693
[ "MIT" ]
null
null
null
lib/pow/store/credentials_cache.ex
joelbyler/pow
be956671a551324aa328684b526b2bedc84bd693
[ "MIT" ]
null
null
null
lib/pow/store/credentials_cache.ex
joelbyler/pow
be956671a551324aa328684b526b2bedc84bd693
[ "MIT" ]
null
null
null
defmodule Pow.Store.CredentialsCache do @moduledoc """ Default module for credentials session storage. A key (session id), is used to store, fetch or delete credentials. When credentials are stored or deleted, a credentials key will be generated. The value of that key will be all current keys (session ids), ...
32.705882
102
0.677338
4aeedd169be25be511407f5d053181f50584939d
2,345
exs
Elixir
test/phoenix/integration/adapter_test.exs
Havvy/phoenix
37c4053bba75beca5dabf7c1b8cb71cd7e371674
[ "MIT" ]
null
null
null
test/phoenix/integration/adapter_test.exs
Havvy/phoenix
37c4053bba75beca5dabf7c1b8cb71cd7e371674
[ "MIT" ]
null
null
null
test/phoenix/integration/adapter_test.exs
Havvy/phoenix
37c4053bba75beca5dabf7c1b8cb71cd7e371674
[ "MIT" ]
null
null
null
Code.require_file "http_client.exs", __DIR__ defmodule Phoenix.Integration.AdapterTest do use ExUnit.Case use ConnHelper import ExUnit.CaptureIO Application.put_env(:phoenix, __MODULE__.ProdRouter, http: [port: "4807"]) defmodule ProdRouter do use Phoenix.Router pipeline :before do plug :do...
26.647727
95
0.628145
4aef218584ea3c4f7751e822fe261da515d1eb08
2,191
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/add_matter_permissions_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vault/lib/google_api/vault/v1/model/add_matter_permissions_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vault/lib/google_api/vault/v1/model/add_matter_permissions_request.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...
41.339623
197
0.722045
4aef3b88a36316aeb239712da7a444a4ccb15abb
147,326
ex
Elixir
lib/elixir/lib/kernel.ex
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
26.825564
111
0.635305
4aef7ddfd7bc87ed9ba01268860341edb338e8cf
1,699
ex
Elixir
lib/ash/resource/validation/match.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/resource/validation/match.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/resource/validation/match.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Resource.Validation.Match do @moduledoc false use Ash.Resource.Validation alias Ash.Error.Changes.InvalidAttribute @opt_schema [ attribute: [ type: :atom, required: true, doc: "The attribute to check" ], match: [ type: :any, required: true, doc: "...
22.653333
80
0.546204
4aefadd2251c281acb6dd87e57e68dbace2b449e
1,916
ex
Elixir
lib/gor_project/object/object.ex
justinrlle/GORProject-API
07cad451cb9acee242612357d706e4f64e3069d8
[ "MIT" ]
null
null
null
lib/gor_project/object/object.ex
justinrlle/GORProject-API
07cad451cb9acee242612357d706e4f64e3069d8
[ "MIT" ]
null
null
null
lib/gor_project/object/object.ex
justinrlle/GORProject-API
07cad451cb9acee242612357d706e4f64e3069d8
[ "MIT" ]
null
null
null
defmodule GORproject.Object do @moduledoc """ The Object context. """ import Ecto.Query, warn: false alias GORproject.Repo alias GORproject.Object.Character @doc """ Returns the list of characters. ## Examples iex> list_characters() [%Character{}, ...] """ def list_characters do ...
18.247619
64
0.623173
4aefb5c7c630760fefa5dec946107f26603b876e
2,568
ex
Elixir
clients/custom_search/lib/google_api/custom_search/v1/model/promotion.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/model/promotion.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/model/promotion.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.507692
176
0.700545
4aefc2fd757cf27245e41c705478a24f98d5324f
1,706
exs
Elixir
mix.exs
axelson/blue_heron_transport_uart
1e73fc5e44d787064a2d2299eee37583a12c1566
[ "MIT" ]
null
null
null
mix.exs
axelson/blue_heron_transport_uart
1e73fc5e44d787064a2d2299eee37583a12c1566
[ "MIT" ]
null
null
null
mix.exs
axelson/blue_heron_transport_uart
1e73fc5e44d787064a2d2299eee37583a12c1566
[ "MIT" ]
null
null
null
defmodule BlueHeronTransportUart.MixProject do use Mix.Project @version "0.1.1" @source_url "https://github.com/blue-heron/blue_heron_transport_uart" def project do [ app: :blue_heron_transport_uart, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, de...
20.804878
81
0.536342
4aefd425dd238d6466cba2d4fe1dd9bf96215029
6,247
ex
Elixir
apps/snitch_core/lib/core/data/model/promotion/promotion.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/model/promotion/promotion.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/model/promotion/promotion.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.Promotion do @moduledoc """ APIs for promotion. """ use Snitch.Data.Model alias Snitch.Data.Model.Promotion.{Applicability, Eligibility} alias Snitch.Data.Model.PromotionAdjustment alias Snitch.Data.Schema.Promotion @messages %{ coupon_applied: "promotion applied", f...
27.641593
86
0.651833
4aefe4f154c5ccdf28d3a0187e9da79a3d987147
49
exs
Elixir
resources/debugger/test/test_helper.exs
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
resources/debugger/test/test_helper.exs
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
resources/debugger/test/test_helper.exs
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
Node.start("debugger@127.0.0.1") ExUnit.start()
12.25
32
0.693878
4aefef36d8cccbc8a5972756d991087f33ee2dfc
3,423
exs
Elixir
test/phoenix/pubsub/local_test.exs
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
test/phoenix/pubsub/local_test.exs
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
test/phoenix/pubsub/local_test.exs
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
defmodule Phoenix.LocalTest do use ExUnit.Case, async: true alias Phoenix.PubSub.Local setup config do {:ok, _} = Local.start_link(config.test) :ok end test "subscribe/2 joins a pid to a topic and broadcast/2 sends messages", config do # subscribe pid = spawn fn -> :timer.sleep(:infinity) en...
37.615385
91
0.675139
4af01c914a2a5c7baadd3e998c8eb3e8283558e7
6,450
exs
Elixir
test/arbejd_q/ephemeral_resource_test.exs
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
test/arbejd_q/ephemeral_resource_test.exs
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
test/arbejd_q/ephemeral_resource_test.exs
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
defmodule ArbejdQ.EphemeralResourceTest do use ArbejdQ.DataCase alias ArbejdQ.{ Scheduler, ResourceRequirement, Resource } setup do Ecto.Adapters.SQL.Sandbox.mode(ArbejdQ.Test.Repo, {:shared, self()}) end defp initial_scheduler_state() do %{ workers: [], poll_interval: 10_...
24.067164
93
0.545891
4af0353fe909248a54a485bb005638ff1bb9ffb6
734
ex
Elixir
lib/pkcs7_verify_api/web/router.ex
edenlabllc/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
1
2020-09-25T10:10:16.000Z
2020-09-25T10:10:16.000Z
lib/pkcs7_verify_api/web/router.ex
Nebo15/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
null
null
null
lib/pkcs7_verify_api/web/router.ex
Nebo15/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
1
2018-01-16T14:37:16.000Z
2018-01-16T14:37:16.000Z
defmodule PKCS7Verify.Web.Router do @moduledoc """ The router provides a set of macros for generating routes that dispatch to specific controllers and actions. Those macros are named after HTTP verbs. More info at: https://hexdocs.pm/phoenix/Phoenix.Router.html """ use PKCS7Verify.Web, :router pipelin...
24.466667
62
0.69891