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
1c7b1357818290c64426b1c09d63fc0201c87b09
11,342
exs
Elixir
apps/vax/test/integration/adapter_test.exs
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
8
2022-03-14T15:33:08.000Z
2022-03-30T22:06:04.000Z
apps/vax/test/integration/adapter_test.exs
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
9
2022-03-15T15:48:28.000Z
2022-03-21T23:11:34.000Z
apps/vax/test/integration/adapter_test.exs
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
null
null
null
defmodule Vax.AdapterIntegrationTest do use ExUnit.Case, async: true @moduletag :integration defmodule TestRepo do use Ecto.Repo, adapter: Vax.Adapter, otp_app: :vax end defmodule MySchema do use Vax.Schema schema "my_schema" do field(:name, :string) field(:age, :integer) fiel...
32.221591
98
0.601129
1c7b2280f7537bacc5321bad6f3821bdf075d450
4,613
ex
Elixir
web_finngen_r8/lib/risteys/icd10.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys/icd10.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys/icd10.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.Icd10 do use Ecto.Schema import Ecto.Changeset schema "icd10s" do field :code, :string field :description, :string many_to_many :phenocodes, Risteys.Phenocode, join_through: Risteys.PhenocodeIcd10 timestamps() end @doc false def changeset(icd10, attrs) do icd10 ...
32.258741
94
0.626707
1c7b906475e0aa209b2ea47407224bf79d5680e8
3,196
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/expr.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/expr.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/expr.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...
57.071429
1,092
0.734355
1c7bb3dd382f661685e5e3de988ea2a930645ef3
398
ex
Elixir
lib/chat_api/demos/demo.ex
guanghuizeng/papercups
0d7ca893edddea0d23f0772ccc5694edd407fc63
[ "MIT" ]
null
null
null
lib/chat_api/demos/demo.ex
guanghuizeng/papercups
0d7ca893edddea0d23f0772ccc5694edd407fc63
[ "MIT" ]
null
null
null
lib/chat_api/demos/demo.ex
guanghuizeng/papercups
0d7ca893edddea0d23f0772ccc5694edd407fc63
[ "MIT" ]
null
null
null
defmodule ChatApi.Demos.Demo do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "demos" do field :count, :integer field :name, :string timestamps() end @doc false def changeset(demo, attrs) do demo |> cas...
18.952381
52
0.665829
1c7bb9c0aa6702449074e751ae5c3d1faf816e17
2,463
exs
Elixir
test/index_remove_test.exs
evanob/sorted_set_nif
1b261b532106b9461d3bab1c262ecea9d2d0b3de
[ "MIT" ]
null
null
null
test/index_remove_test.exs
evanob/sorted_set_nif
1b261b532106b9461d3bab1c262ecea9d2d0b3de
[ "MIT" ]
null
null
null
test/index_remove_test.exs
evanob/sorted_set_nif
1b261b532106b9461d3bab1c262ecea9d2d0b3de
[ "MIT" ]
null
null
null
defmodule Discord.SortedSet.IndexRemove.Test do use ExUnit.Case use ExUnitProperties alias Discord.SortedSet alias Discord.SortedSet.Test.Support.Generator describe "remove from empty set" do property "any supported term returns the nil and the set" do check all term <- Generator.supported_term() ...
30.036585
95
0.634186
1c7bde46fc21152b54246eb149df5170be5c09fa
1,106
ex
Elixir
lib/transferdrop_web/channels/user_socket.ex
sheosi/transferdrop
9021fd1c0d2d28dddc141264ce95a4e8d896c3ee
[ "MIT" ]
null
null
null
lib/transferdrop_web/channels/user_socket.ex
sheosi/transferdrop
9021fd1c0d2d28dddc141264ce95a4e8d896c3ee
[ "MIT" ]
null
null
null
lib/transferdrop_web/channels/user_socket.ex
sheosi/transferdrop
9021fd1c0d2d28dddc141264ce95a4e8d896c3ee
[ "MIT" ]
null
null
null
defmodule TransferdropWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", TransferdropWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for ...
30.722222
87
0.698915
1c7bdf82e4754052dcd27b9ef524553211a3f02c
12,017
exs
Elixir
test/actions/pagination_test.exs
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
test/actions/pagination_test.exs
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
test/actions/pagination_test.exs
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
defmodule Ash.Actions.PaginationTest do use ExUnit.Case, async: true require Ash.Query defmodule User do @moduledoc false use Ash.Resource, data_layer: Ash.DataLayer.Ets ets do private?(true) end actions do read :offset do pagination offset?: true, countable: true ...
29.598522
97
0.534826
1c7beeb0c22868e129fdb8b345dea906da1e57a3
2,023
ex
Elixir
lib/gotochgo_web.ex
geolessel/GOTOchgo2021
4061a04647456712ba08e8f3c3fce6fb6e30751a
[ "Apache-2.0" ]
null
null
null
lib/gotochgo_web.ex
geolessel/GOTOchgo2021
4061a04647456712ba08e8f3c3fce6fb6e30751a
[ "Apache-2.0" ]
null
null
null
lib/gotochgo_web.ex
geolessel/GOTOchgo2021
4061a04647456712ba08e8f3c3fce6fb6e30751a
[ "Apache-2.0" ]
2
2021-11-11T17:19:17.000Z
2021-12-27T16:06:23.000Z
defmodule GotochgoWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use GotochgoWeb, :controller use GotochgoWeb, :view The definitions below will be executed for every view, controlle...
22.988636
76
0.68957
1c7bf52c441ea77f3ed7a5ac7c6fb54ee5291f5d
974
exs
Elixir
config/config.exs
joaohf/epad
ff3e37c3fc3b13363f5fb728c6d4a0a3d0ef3fce
[ "MIT" ]
2
2020-09-07T19:45:28.000Z
2021-05-04T05:31:41.000Z
config/config.exs
joaohf/epad
ff3e37c3fc3b13363f5fb728c6d4a0a3d0ef3fce
[ "MIT" ]
null
null
null
config/config.exs
joaohf/epad
ff3e37c3fc3b13363f5fb728c6d4a0a3d0ef3fce
[ "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 # Configures the endpoint config :epad, EpadWeb....
33.586207
86
0.767967
1c7c1bca360d6c94760be492b11bca9762534608
16,099
ex
Elixir
lib/sanbase_web/graphql/resolvers/metric_resolver.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/resolvers/metric_resolver.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/resolvers/metric_resolver.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Resolvers.MetricResolver do import SanbaseWeb.Graphql.Helpers.Utils import SanbaseWeb.Graphql.Helpers.CalibrateInterval import Sanbase.Utils.ErrorHandling, only: [handle_graphql_error: 3, maybe_handle_graphql_error: 2] import Sanbase.Model.Project.Selector, only: [args_to_...
32.855102
119
0.640909
1c7c1d6ce93484c3d7d664e318557b80c6db5e05
1,674
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/test_iam_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/dataproc/lib/google_api/dataproc/v1/model/test_iam_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/dataproc/lib/google_api/dataproc/v1/model/test_iam_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...
35.617021
285
0.746117
1c7c5c86b1c4ac2c707e69edf0530d81b23a661d
32,463
ex
Elixir
lib/aws/generated/connect.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/connect.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/connect.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Connect do @moduledoc """ Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement...
37.968421
186
0.701075
1c7c6d595c9143bec91be7dff947da7619aef827
2,820
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/ssl_certificate_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/ssl_certificate_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/ssl_certificate_list.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...
45.483871
393
0.714894
1c7c7e19bb1d00a59781e9dd66c807371e2134e9
8,492
ex
Elixir
lib/console_web/controllers/channel_controller.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console_web/controllers/channel_controller.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console_web/controllers/channel_controller.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule ConsoleWeb.ChannelController do use ConsoleWeb, :controller alias Console.Repo alias Console.Organizations alias Console.Channels alias Console.Channels.Channel alias Console.Functions alias Console.Alerts alias Console.AlertEvents alias Console.Flows plug ConsoleWeb.Plug.AuthorizeAction...
41.223301
183
0.664626
1c7c8ee878d246407fa529785be33ba39b714e75
1,329
exs
Elixir
mix.exs
victorspringer/recommendationsEx
f9facf8672d91df1037ccb065609a2a756d7fcc3
[ "MIT" ]
3
2017-06-20T07:47:32.000Z
2020-10-27T15:25:10.000Z
mix.exs
victorspringer/zionRecs
f9facf8672d91df1037ccb065609a2a756d7fcc3
[ "MIT" ]
null
null
null
mix.exs
victorspringer/zionRecs
f9facf8672d91df1037ccb065609a2a756d7fcc3
[ "MIT" ]
1
2019-08-22T03:38:19.000Z
2019-08-22T03:38:19.000Z
defmodule RecommendationsEx.Mixfile do use Mix.Project def project do [app: :recommendationsEx, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env =...
27.122449
87
0.626787
1c7c9ab1c2abb1e9d3a92a3eff35da8171c6d8c2
2,811
ex
Elixir
test/support/functional_case.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
423
2017-07-19T18:40:45.000Z
2021-12-03T08:26:15.000Z
test/support/functional_case.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
115
2017-07-19T18:30:14.000Z
2020-10-27T20:53:32.000Z
test/support/functional_case.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
39
2017-07-20T03:14:18.000Z
2020-11-18T13:39:52.000Z
defmodule Bootleg.FunctionalCase do @moduledoc false use ExUnit.CaseTemplate alias Bootleg.UI import Bootleg.FunctionalCaseHelpers require Logger @image "bootleg-test-sshd" @cmd "/usr/sbin/sshd" @args ["-D", "-e"] @user "me" @pass "pass" using args do quote do @moduletag :functional ...
26.271028
88
0.617574
1c7cbcba59a2ee85aede6e41082e4ed3d36f3568
688
exs
Elixir
mix.exs
khattori/exyaml
4ee8678a8ac241e078373f3c6c3958496fc9ac2e
[ "MIT" ]
null
null
null
mix.exs
khattori/exyaml
4ee8678a8ac241e078373f3c6c3958496fc9ac2e
[ "MIT" ]
null
null
null
mix.exs
khattori/exyaml
4ee8678a8ac241e078373f3c6c3958496fc9ac2e
[ "MIT" ]
null
null
null
defmodule Exyaml.MixProject do use Mix.Project def project do [ app: :exyaml, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls] ] end # Run "mix help compile.app" to learn about applications. ...
21.5
87
0.563953
1c7ce30ed04fb17f864b6ce48fb58c9d69f8e63f
530
ex
Elixir
lib/penelope/nlp/tokenize/tokenizer.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
53
2017-10-13T06:39:49.000Z
2022-03-28T19:43:42.000Z
lib/penelope/nlp/tokenize/tokenizer.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
12
2018-01-08T23:05:37.000Z
2019-08-02T12:59:27.000Z
lib/penelope/nlp/tokenize/tokenizer.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
4
2018-06-13T19:45:57.000Z
2019-10-17T13:37:06.000Z
defmodule Penelope.NLP.Tokenize.Tokenizer do @moduledoc """ The behaviour implemented by all tokenizers. """ @doc """ Separate a string into a list of tokens. """ @callback tokenize(String.t()) :: [String.t()] @doc """ Reverse the tokenization process, turning a list of tokens into a single stri...
26.5
58
0.698113
1c7cf14e0e428b0c198e95075c14e27719212537
1,669
ex
Elixir
lib/events_tools_web/uploaders/avatar.ex
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
lib/events_tools_web/uploaders/avatar.ex
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
lib/events_tools_web/uploaders/avatar.ex
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityTools.Avatar do use Arc.Definition use Arc.Ecto.Definition # Include ecto support (requires package arc_ecto installed): # use Arc.Ecto.Definition @versions [:original] # To add a thumbnail version: # @versions [:original, :thumb] # Whitelist file extensions: #def validate({fil...
27.816667
96
0.683643
1c7cf6c0f89a45c839405cee96a950313d02b28d
1,981
exs
Elixir
clients/service_management/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/service_management/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/service_management/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
29.567164
206
0.672388
1c7cf857824610f4ac0a20c5b5e59295008d7206
1,764
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume_sale_info_retail_price.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_sale_info_retail_price.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_sale_info_retail_price.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...
33.923077
124
0.728458
1c7d1ab8b896d3c3839978d947f9770c316d25f5
569
ex
Elixir
lib/mailman/test_server_supervisor.ex
uni-halle/mailman
c1a9b6d9d7f0727372f19638fef74b180d6691a6
[ "MIT" ]
154
2015-02-23T17:36:05.000Z
2017-09-09T05:50:21.000Z
lib/mailman/test_server_supervisor.ex
uni-halle/mailman
c1a9b6d9d7f0727372f19638fef74b180d6691a6
[ "MIT" ]
67
2015-03-04T04:01:22.000Z
2017-09-14T04:23:04.000Z
lib/mailman/test_server_supervisor.ex
uni-halle/mailman
c1a9b6d9d7f0727372f19638fef74b180d6691a6
[ "MIT" ]
62
2015-03-04T03:53:07.000Z
2017-09-07T23:34:15.000Z
defmodule Mailman.TestServerSupervisor do @moduledoc """ A DynamicSupervisor to manage TestServers, which can get started ad-hoc. """ use DynamicSupervisor def start_link() do :ets.new(:mailman_test_servers, [:set, :public, :named_table]) DynamicSupervisor.start_link(__MODULE__, [], name: __MODULE__)...
27.095238
74
0.739895
1c7d405f869b29f5ff96074d900400306e17b367
1,489
exs
Elixir
apps/snitch_core/test/data/model/payment/payment_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/model/payment/payment_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/model/payment/payment_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.PaymentTest do use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory alias Snitch.Data.Model.Payment alias Snitch.Data.Schema setup do [ order: insert(:order) ] end setup :payment_methods setup :payments test "to_subtype", %{ccd: card, ...
25.237288
94
0.677636
1c7d43d98f71ae41cb8d582da8244ee41e5db162
100
exs
Elixir
test/ex_line_pay_test.exs
shufo/ex_line_pay
9d7a594bfcfdc20b2c31cd02c42a0bb1f9614548
[ "MIT" ]
null
null
null
test/ex_line_pay_test.exs
shufo/ex_line_pay
9d7a594bfcfdc20b2c31cd02c42a0bb1f9614548
[ "MIT" ]
null
null
null
test/ex_line_pay_test.exs
shufo/ex_line_pay
9d7a594bfcfdc20b2c31cd02c42a0bb1f9614548
[ "MIT" ]
null
null
null
defmodule ExLinePayTest do use ExUnit.Case test "1 + 1 = 2" do assert 1 + 1 == 2 end end
12.5
26
0.61
1c7d5c9a48598d946a87c369fceb6789f05f6f1a
942
exs
Elixir
config/config.exs
anamba/webrtc_example
b539101d29ffeb52f551f263128a0884a5d6a7ae
[ "MIT" ]
null
null
null
config/config.exs
anamba/webrtc_example
b539101d29ffeb52f551f263128a0884a5d6a7ae
[ "MIT" ]
null
null
null
config/config.exs
anamba/webrtc_example
b539101d29ffeb52f551f263128a0884a5d6a7ae
[ "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 # Configures the endpoint config :webrtc_example, WebrtcExample.Endpoint, url: [hos...
34.888889
86
0.769639
1c7d624146e556221421ef50d1adcfe29a43db7b
12,265
ex
Elixir
lib/boundary/mix/tasks/compile/boundary.ex
sasa1977/boundaries
c6ed70dc07c37da14172761b4d08bc38d9d6594b
[ "MIT" ]
133
2019-08-12T12:22:37.000Z
2019-09-06T16:27:34.000Z
lib/boundary/mix/tasks/compile/boundary.ex
sasa1977/boundaries
c6ed70dc07c37da14172761b4d08bc38d9d6594b
[ "MIT" ]
7
2019-08-13T00:41:05.000Z
2019-09-07T10:24:22.000Z
lib/boundary/mix/tasks/compile/boundary.ex
sasa1977/boundaries
c6ed70dc07c37da14172761b4d08bc38d9d6594b
[ "MIT" ]
2
2019-08-13T09:45:49.000Z
2019-08-20T19:43:09.000Z
defmodule Mix.Tasks.Compile.Boundary do # credo:disable-for-this-file Credo.Check.Readability.Specs use Boundary, classify_to: Boundary.Mix use Mix.Task.Compiler alias Boundary.Mix.Xref @moduledoc """ Verifies cross-module function calls according to defined boundaries. This compiler reports all cross-...
31.448718
125
0.677945
1c7daa0bc139b2321fcbf414134871954ccc15bf
1,276
ex
Elixir
apps/day08/lib/day08.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
2
2019-12-21T21:21:04.000Z
2019-12-27T07:00:19.000Z
apps/day08/lib/day08.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
apps/day08/lib/day08.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
defmodule Day08 do @moduledoc """ AoC 2019, Day 8 - Space Image Format """ @width 25 @height 6 @doc """ Compute the image checksum """ def part1 do parse() |> checksum() end @doc """ Generate the image """ def part2 do parse() |> render(@width, @height) end @doc """ ...
17.971831
59
0.565831
1c7db15e6c895e86527c74a04dc5fd73028a62fe
1,498
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/chart_date_time_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/chart_date_time_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/chart_date_time_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.87234
136
0.736315
1c7dbe0252af08f2aea79157769f3ae7344fb4c7
1,188
ex
Elixir
lib/ex_unit/lib/ex_unit/runner_stats.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/ex_unit/lib/ex_unit/runner_stats.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner_stats.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule ExUnit.RunnerStats do @moduledoc false use GenServer def init(_opts) do {:ok, %{total: 0, failures: 0, skipped: 0}} end def stats(pid) do GenServer.call(pid, :stats, :infinity) end def handle_call(:stats, _from, map) do {:reply, map, map} end def handle_cast({:test_finished,...
28.285714
95
0.616162
1c7df269de36c757eea5d606a6f4bb37f89adcbc
7,725
ex
Elixir
lib/sanbase/signals/trigger/settings/eth_wallet_trigger_settings.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/signals/trigger/settings/eth_wallet_trigger_settings.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/signals/trigger/settings/eth_wallet_trigger_settings.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Signal.Trigger.EthWalletTriggerSettings do @moduledoc ~s""" The EthWallet signal is triggered when the balance of a wallet or set of wallets changes by a predefined amount for a specified asset (Ethereum, SAN tokens, etc.) The signal can follow a single ethereum address, a list of ethereum ad...
32.1875
134
0.626278
1c7df663556db006a4e74521c1b322433abb9619
1,427
exs
Elixir
clients/drive/test/files_test.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive/test/files_test.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive/test/files_test.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writing, ...
27.980392
74
0.667134
1c7e18163facb00ad1f6cd4dac6132edcf9797b7
119
ex
Elixir
lib/xgps/driver/state.ex
gmcintire/xgps
56cf4c83dfc05aa22b1d7b7d1d2456cf5acfa7a2
[ "MIT" ]
null
null
null
lib/xgps/driver/state.ex
gmcintire/xgps
56cf4c83dfc05aa22b1d7b7d1d2456cf5acfa7a2
[ "MIT" ]
null
null
null
lib/xgps/driver/state.ex
gmcintire/xgps
56cf4c83dfc05aa22b1d7b7d1d2456cf5acfa7a2
[ "MIT" ]
null
null
null
defmodule XGPS.Driver.State do defstruct [ gps_data: nil, pid: nil, port_name: nil, mod: nil ] end
13.222222
30
0.613445
1c7e6d578862115d3b04e2eeb6c6ad3aaa36f81f
796
ex
Elixir
apps/astarte_pairing_api/lib/astarte_pairing_api_web/metrics/pipeline_instrumenter.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api_web/metrics/pipeline_instrumenter.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-01-20T09:52:48.000Z
2020-01-20T09:52:48.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api_web/metrics/pipeline_instrumenter.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:50.000Z
2020-02-04T13:15:50.000Z
# # This file is part of Astarte. # # Copyright 2020 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...
30.615385
74
0.768844
1c7e7bf30268dad3960962f464ac4629ee040c4c
1,797
ex
Elixir
lib/stripe/types.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/types.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/types.ex
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.Types do @moduledoc """ A module that contains shared types matching Stripe schemas. """ @type address :: %{ city: String.t() | nil, country: String.t() | nil, line1: String.t() | nil, line2: String.t() | nil, postal_code: String.t() | nil, ...
27.227273
62
0.501948
1c7ed350a05ff2212c9d0ec436f012eac11525e0
686
exs
Elixir
test/yggdrasil/publisher/adapter/icon_test.exs
alexdesousa/icon
2b363582b129bc0485a39e9845d2a18eabd2f6d6
[ "MIT" ]
4
2022-01-27T09:10:05.000Z
2022-03-09T04:38:13.000Z
test/yggdrasil/publisher/adapter/icon_test.exs
alexdesousa/icon
2b363582b129bc0485a39e9845d2a18eabd2f6d6
[ "MIT" ]
null
null
null
test/yggdrasil/publisher/adapter/icon_test.exs
alexdesousa/icon
2b363582b129bc0485a39e9845d2a18eabd2f6d6
[ "MIT" ]
null
null
null
defmodule Yggdrasil.Publisher.Adapter.IconTest do use ExUnit.Case, async: true alias Icon.Schema.Error alias Yggdrasil.Publisher.Adapter.Icon, as: Publisher test "cannot publish messages in ICON 2.0 websocket" do channel = [ name: %{source: :block}, adapter: :icon ] assert {:error, ...
26.384615
76
0.626822
1c7f4c9e61e4d9091e259ea1d3b8d07c573165ee
3,323
ex
Elixir
lib/pacman/world.ex
zampino/pacman
889080e26054dd04aa9e3ef5f7971d408a698a86
[ "MIT" ]
null
null
null
lib/pacman/world.ex
zampino/pacman
889080e26054dd04aa9e3ef5f7971d408a698a86
[ "MIT" ]
null
null
null
lib/pacman/world.ex
zampino/pacman
889080e26054dd04aa9e3ef5f7971d408a698a86
[ "MIT" ]
null
null
null
defmodule Pacman.World do @size 20 @directions [right: {1,0}, up: {0, -1}, left: {-1, 0}, down: {0, 1}] @moduledoc """ Keeps track of instant state of the Grid has two record definitions: Grid and Pacman. Grid#pacmans is a hash of :name => Pacman records Stores 'Class instance variables': - @size (of the grid...
26.798387
116
0.633464
1c7f52714ada8d5521e2bde35a81ac8059a135e8
2,203
exs
Elixir
test/time_stamp_test.exs
jeremysquires/shipsim
cacf0b7b825a3086e1cc1676374691de3d1cb0c5
[ "MIT" ]
null
null
null
test/time_stamp_test.exs
jeremysquires/shipsim
cacf0b7b825a3086e1cc1676374691de3d1cb0c5
[ "MIT" ]
null
null
null
test/time_stamp_test.exs
jeremysquires/shipsim
cacf0b7b825a3086e1cc1676374691de3d1cb0c5
[ "MIT" ]
1
2019-06-04T04:49:42.000Z
2019-06-04T04:49:42.000Z
defmodule TimeStampTest do use ExUnit.Case describe "TimeStamp doc tests" do doctest TimeStamp end def time_data do year2020 = "2020-01-01T07:40Z" year2019 = "2019-01-01T07:40Z" year2019_delta5minutes = "2019-01-01T07:45Z" { :ok, year2020: year2020, year2019: year2019, year2019_del...
30.178082
76
0.712665
1c7f85b2376b8c25c59d29a72f10675b245ed412
2,578
ex
Elixir
lib/raft_fleet/process_and_disk_log_index_inspector.ex
queer/raft_fleet
4b18f93428c8a948e621eb92ecc771816df8347f
[ "MIT" ]
66
2016-07-12T16:55:22.000Z
2021-12-09T09:41:14.000Z
lib/raft_fleet/process_and_disk_log_index_inspector.ex
queer/raft_fleet
4b18f93428c8a948e621eb92ecc771816df8347f
[ "MIT" ]
6
2017-10-26T01:36:58.000Z
2021-07-25T16:56:03.000Z
lib/raft_fleet/process_and_disk_log_index_inspector.ex
queer/raft_fleet
4b18f93428c8a948e621eb92ecc771816df8347f
[ "MIT" ]
4
2017-07-31T20:48:51.000Z
2020-10-25T08:06:31.000Z
use Croma defmodule RaftFleet.ProcessAndDiskLogIndexInspector do @moduledoc """ A GenServer that reports "eligibility" of a node for hosting the 1st member of a new consensus group. When starting a new consensus group, a manager process collects reports from all active nodes and determine where to spawn the 1st...
31.439024
148
0.615593
1c7f8d3993a8a0b7de5b153407fd5eb3bd14d2f6
617
exs
Elixir
MeetingLocation.Elixir/mix.exs
dyslexicanaboko/meeting-location
66be425c1df266f68d575ca44a98e5d0d27ecb81
[ "MIT" ]
null
null
null
MeetingLocation.Elixir/mix.exs
dyslexicanaboko/meeting-location
66be425c1df266f68d575ca44a98e5d0d27ecb81
[ "MIT" ]
null
null
null
MeetingLocation.Elixir/mix.exs
dyslexicanaboko/meeting-location
66be425c1df266f68d575ca44a98e5d0d27ecb81
[ "MIT" ]
null
null
null
defmodule Meetinglocation.MixProject do use Mix.Project def project do [ app: :meetinglocation, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do ...
20.566667
87
0.576985
1c7f911e8b11b33c7d5eaffd81ee49e510e23ac9
1,786
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_in_store_refund_line_item_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_in_store_refund_line_item_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_in_store_refund_line_item_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.074074
206
0.733483
1c7f9c8bc2f881579afbc8bde0c32e317237ee14
2,565
exs
Elixir
test/meta_test.exs
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
21
2019-12-21T23:25:14.000Z
2022-03-22T00:40:34.000Z
test/meta_test.exs
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
15
2019-06-14T16:29:23.000Z
2022-03-02T07:56:33.000Z
test/meta_test.exs
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
7
2017-10-05T11:35:36.000Z
2018-08-20T12:17:03.000Z
defmodule Cldr.Number.Format.Meta.Test do use ExUnit.Case, async: true test "that we can create a default metadata struct" do assert Cldr.Number.Format.Meta.new() == %Cldr.Number.Format.Meta{ exponent_digits: 0, exponent_sign: false, format: [ ...
30.535714
90
0.564133
1c7fa08d9d6945d4afaf7df326a1f1596532c11c
59
ex
Elixir
lib/wiki/repo.ex
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
lib/wiki/repo.ex
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
lib/wiki/repo.ex
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
defmodule Wiki.Repo do use Ecto.Repo, otp_app: :wiki end
14.75
31
0.745763
1c7fb40242d3bc1245b691a5b776a6d6c5873ae2
1,317
ex
Elixir
lib/auto_api/commands/seats_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/seats_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/seats_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
45.413793
79
0.77145
1c7fb5db02b2a5a98e302bc663c43c0c11231dfd
390
ex
Elixir
lib/syn_osc/voice/off.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
1
2020-12-08T01:44:03.000Z
2020-12-08T01:44:03.000Z
lib/syn_osc/voice/off.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
lib/syn_osc/voice/off.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
defmodule SynOSC.Voice.Off do defstruct id: nil, voice: nil, relative_velocity: false, velocity: nil end defimpl OSC.Encoder, for: SynOSC.Voice.Off do use SynOSC.Voice def encode(message, options) do message |> call("OFF") |> set_arguments(format_velocity(message)...
19.5
46
0.630769
1c7fcccee49629a0d0ca6bf990d4c4ea53cb5613
110
exs
Elixir
.formatter.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
null
null
null
.formatter.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
null
null
null
.formatter.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
null
null
null
[ import_deps: [:ecto], inputs: ["*.{ex,exs}", "{config,lib,test}/**/*.{ex,exs}"], subdirectories: [] ]
18.333333
60
0.527273
1c7fd23d0cc0bab71c6d2e53492cfdb2d4a46bb1
705
ex
Elixir
lib/score_web/gettext.ex
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T14:17:42.000Z
2022-03-01T17:31:03.000Z
lib/score_web/gettext.ex
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T12:27:01.000Z
2021-08-10T08:54:22.000Z
lib/score_web/gettext.ex
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
null
null
null
defmodule ScoreWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import ScoreWeb.Gettext # Simple translation gettext("Here is the s...
28.2
72
0.675177
1c7fdd82d9d005ee01a95f3045071a9cc675761f
518
exs
Elixir
test/doctor_schedule/accounts/services/create_user_test.exs
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
2
2022-03-11T12:15:01.000Z
2022-03-11T13:53:21.000Z
test/doctor_schedule/accounts/services/create_user_test.exs
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
3
2020-12-12T22:10:17.000Z
2021-04-05T12:53:12.000Z
test/doctor_schedule/accounts/services/create_user_test.exs
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
1
2021-02-26T04:24:34.000Z
2021-02-26T04:24:34.000Z
defmodule DoctorSchedule.Accounts.Services.CreateUserTest do use DoctorSchedule.DataCase alias DoctorSchedule.Accounts.Services.CreateUser test "it should create a user with and without cache" do user_admin = %{ "email" => "9@3.com", "first_name" => "5@3.com", "last_name" => "5@3.com", ...
24.666667
60
0.627413
1c80021f7c1ea7dd44f3769feea02f73d7b65123
6,613
ex
Elixir
instrumentation/nginx/test/instrumentation/lib/mix/tasks/dockerfiles.ex
tobiasstadler/opentelemetry-cpp-contrib
57852b2d1629afb9ae0f6ca699a27d030163570d
[ "Apache-2.0" ]
1
2022-03-25T18:20:31.000Z
2022-03-25T18:20:31.000Z
instrumentation/nginx/test/instrumentation/lib/mix/tasks/dockerfiles.ex
tobiasstadler/opentelemetry-cpp-contrib
57852b2d1629afb9ae0f6ca699a27d030163570d
[ "Apache-2.0" ]
3
2022-03-24T10:20:53.000Z
2022-03-31T04:36:53.000Z
instrumentation/nginx/test/instrumentation/lib/mix/tasks/dockerfiles.ex
tobiasstadler/opentelemetry-cpp-contrib
57852b2d1629afb9ae0f6ca699a27d030163570d
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Dockerfiles do use Mix.Task @grpc_version "v1.36.4" @otel_cpp_version "v1.3.0" def run([out_dir | combos]) do out_dir_abs = Path.expand(out_dir) Enum.map(combos, fn v -> gen_dockerfile(v) end) |> Enum.each(fn {job, content} -> out_path = Path.join(out_dir_abs, filename(j...
29.788288
150
0.627401
1c8026d7e942a71403ff1b167c04c2c5e5ef1124
1,041
ex
Elixir
lib/my_app_808732/endpoint.ex
wsmoak/my_app_808732
f4f92dd5cb2ffa2d6854a6573ba092ef433ab85d
[ "MIT" ]
null
null
null
lib/my_app_808732/endpoint.ex
wsmoak/my_app_808732
f4f92dd5cb2ffa2d6854a6573ba092ef433ab85d
[ "MIT" ]
null
null
null
lib/my_app_808732/endpoint.ex
wsmoak/my_app_808732
f4f92dd5cb2ffa2d6854a6573ba092ef433ab85d
[ "MIT" ]
null
null
null
defmodule MyApp_808732.Endpoint do use Phoenix.Endpoint, otp_app: :my_app_808732 socket "/socket", MyApp_808732.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plu...
26.025
69
0.71854
1c805b24dbe300f7b038a42b38d6a76712d20274
3,071
ex
Elixir
lib/mix/tasks/extension/phoenix/pow.extension.phoenix.mailer.gen.templates.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
lib/mix/tasks/extension/phoenix/pow.extension.phoenix.mailer.gen.templates.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/mix/tasks/extension/phoenix/pow.extension.phoenix.mailer.gen.templates.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Pow.Extension.Phoenix.Mailer.Gen.Templates do @shortdoc "Generates mailer views and templates for extensions" @moduledoc """ Generates mailer views and templates for extensions. mix pow.extension.phoenix.mailer.gen.templates --extension PowEmailConfirmation --extension PowResetPassword...
29.815534
164
0.672094
1c8061d5265a9866977e1abeab99ba8f05d1aad6
117
ex
Elixir
lib/bike_brigade_web/delivery_expired_error.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
lib/bike_brigade_web/delivery_expired_error.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
lib/bike_brigade_web/delivery_expired_error.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigadeWeb.DeliveryExpiredError do defexception message: "delivery is expired", plug_status: 403 end
29.25
63
0.837607
1c8077bfc3720dfd84e372482e43c2a9f3444720
31
exs
Elixir
test/test_helper.exs
SmartColumbusOS/divo
9fccc400dcc64142698061b3da2a67e7828829e3
[ "Apache-2.0" ]
21
2019-05-07T14:08:31.000Z
2020-08-05T02:04:07.000Z
test/test_helper.exs
UrbanOS-Public/divo
9fccc400dcc64142698061b3da2a67e7828829e3
[ "Apache-2.0" ]
11
2019-05-08T18:08:09.000Z
2020-05-19T17:26:55.000Z
test/test_helper.exs
UrbanOS-Public/divo
9fccc400dcc64142698061b3da2a67e7828829e3
[ "Apache-2.0" ]
6
2019-05-07T19:26:55.000Z
2020-01-28T17:11:09.000Z
ExUnit.start(timeout: 120_000)
15.5
30
0.806452
1c80974377dc791a595b6baa84a5b1065b2b98ab
31,096
exs
Elixir
test/graph_test.exs
elljoh/gremlex
a83fc3a0c46c19efebd6d4881a71adb058a80e38
[ "MIT" ]
61
2018-05-10T17:03:41.000Z
2021-04-28T21:45:27.000Z
test/graph_test.exs
elljoh/gremlex
a83fc3a0c46c19efebd6d4881a71adb058a80e38
[ "MIT" ]
19
2018-05-10T17:14:42.000Z
2020-12-17T20:43:07.000Z
test/graph_test.exs
elljoh/gremlex
a83fc3a0c46c19efebd6d4881a71adb058a80e38
[ "MIT" ]
24
2018-08-23T17:42:26.000Z
2022-03-22T20:31:16.000Z
defmodule Gremlex.GraphTests do import Gremlex.Graph alias Gremlex.{Vertex, Edge, Graph} use ExUnit.Case use ExUnitProperties alias :queue, as: Queue describe "g/0" do test "returns a new queue" do assert g() == Queue.new() end end describe "anonymous/0" do test "adds __ function to ...
30.757666
91
0.60921
1c80a51620ab0a305c5f451ba29e04472f3b2678
1,484
exs
Elixir
test/commands/permission/info_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/commands/permission/info_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/commands/permission/info_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Test.Commands.Permission.InfoTest do use Cog.CommandCase, command_module: Cog.Commands.Permission alias Cog.Commands.Permission.Info import Cog.Support.ModelUtilities, only: [permission: 1] test "getting information on a permission works" do permission("site:foo") payload = new_req(args...
27.481481
75
0.616577
1c80d4d2f0cc0ca9dccd274e7363c04e36946db5
7,377
ex
Elixir
lib/fexr_imf.ex
Schultzer/fexr_imf
a66816bc69bf04a1d4f11ee2144e5e9d23c37939
[ "MIT", "Unlicense" ]
1
2017-08-25T14:01:43.000Z
2017-08-25T14:01:43.000Z
lib/fexr_imf.ex
Schultzer/fexr_imf
a66816bc69bf04a1d4f11ee2144e5e9d23c37939
[ "MIT", "Unlicense" ]
null
null
null
lib/fexr_imf.ex
Schultzer/fexr_imf
a66816bc69bf04a1d4f11ee2144e5e9d23c37939
[ "MIT", "Unlicense" ]
null
null
null
defmodule FexrImf do require Logger defp query(date) do ConCache.get_or_store(:imf, "#{date}", fn -> date |> url |> fetch |> Floki.find("table.tighter") |> format_table end) end def symbols do ["AED", "AUD", "BHD", "BND", "BRL", "BWP", "CAD", "CHF", "CLP", "CNY", "COP...
38.025773
131
0.608106
1c80d906feff7bcb0d1d0e2a4b40f49d7e88a2fe
7,890
exs
Elixir
test/tutorial/2_string_test.exs
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
14
2021-01-14T20:14:30.000Z
2022-01-28T00:58:07.000Z
test/tutorial/2_string_test.exs
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
13
2019-09-11T17:48:48.000Z
2021-11-22T23:02:44.000Z
test/tutorial/2_string_test.exs
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
1
2021-09-12T13:08:54.000Z
2021-09-12T13:08:54.000Z
defmodule ExonerateTest.Tutorial.StringTest do use ExUnit.Case, async: true @moduletag :string @moduledoc """ basic tests from: https://json-schema.org/understanding-json-schema/reference/string.html Literally conforms to all the tests presented in this document. """ @moduletag :tutorial defmodu...
31.686747
136
0.596578
1c8126ca27117166f78c2131161ed74cdba2db69
80
exs
Elixir
.formatter.exs
sourdoughdev/mixduty
493ef31ba4d8cf281676dcd374f06e5b010f038b
[ "MIT" ]
8
2018-10-23T18:48:17.000Z
2021-11-29T04:49:12.000Z
.formatter.exs
sourdoughdev/mixduty
493ef31ba4d8cf281676dcd374f06e5b010f038b
[ "MIT" ]
3
2021-01-05T16:24:43.000Z
2021-01-31T18:06:32.000Z
.formatter.exs
sourdoughdev/mixduty
493ef31ba4d8cf281676dcd374f06e5b010f038b
[ "MIT" ]
10
2019-05-14T12:12:44.000Z
2021-11-22T08:32:41.000Z
[ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 98 ]
16
57
0.5375
1c8153d428e1cf545547ec01c1338f7ab02bc635
74,495
ex
Elixir
lib/ecto/schema.ex
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema.ex
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema.ex
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Schema do @moduledoc ~S""" Defines a schema. An Ecto schema is used to map any data source into an Elixir struct. One of such use cases is to map data coming from a repository, usually a table, into Elixir structs. ## Example defmodule User do use Ecto.Schema schema ...
34.648837
123
0.666421
1c817d96342ece4533befed5912b0deb5e73eeb4
5,341
ex
Elixir
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/error_group_stats.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/error_group_stats.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/error_group_stats.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...
50.866667
189
0.72889
1c8197f987dfa1642d5d28e6bb18ab7eb521de19
2,212
exs
Elixir
test/sanbase/clickhouse/api_call_data_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase/clickhouse/api_call_data_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase/clickhouse/api_call_data_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Clickhouse.ApiCallDataTest do use Sanbase.DataCase import Sanbase.Factory import Sanbase.DateTimeUtils, only: [from_iso8601_to_unix!: 1, from_iso8601!: 1] alias Sanbase.Clickhouse.ApiCallData setup do user = insert(:user) [user: user] end test "clickhouse returns data", cont...
26.97561
97
0.600814
1c81abaed2c7272c71896fc731a886c9689e82de
2,247
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/course_material.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/classroom/lib/google_api/classroom/v1/model/course_material.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/classroom/lib/google_api/classroom/v1/model/course_material.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...
40.125
122
0.720961
1c81cd54ef97bcbbd6a75206d2ef459a8cc30094
1,153
ex
Elixir
lib/ex_json_schema/validator/type.ex
my-channels/ex_json_schema
cf52e0f392847b83715737a49f28cceeb4230a03
[ "MIT" ]
null
null
null
lib/ex_json_schema/validator/type.ex
my-channels/ex_json_schema
cf52e0f392847b83715737a49f28cceeb4230a03
[ "MIT" ]
1
2019-07-24T05:23:58.000Z
2019-07-24T05:23:58.000Z
lib/ex_json_schema/validator/type.ex
my-channels/ex_json_schema
cf52e0f392847b83715737a49f28cceeb4230a03
[ "MIT" ]
1
2019-08-19T20:47:06.000Z
2019-08-19T20:47:06.000Z
defmodule ExJsonSchema.Validator.Type do alias ExJsonSchema.Validator alias ExJsonSchema.Validator.Error @spec validate(String.t(), ExJsonSchema.data()) :: Validator.errors() def validate(type, data) do case valid?(type, data) do true -> [] false -> [ %Error{ ...
23.06
85
0.563747
1c81e9f64ba3cba6d338ae49d661ff602c6720b3
3,684
ex
Elixir
lib/oli/interop/scrub.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/interop/scrub.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/interop/scrub.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Interop.Scrub do alias Oli.Resources.PageContent @doc """ Content scrubbing routine to clean and adjust content found in ingested pages and activities. Takes a input the content to scrub and returns a tuple `{changes, scrubbed_content}` where `changes` is a list summarizing all changes made a...
34.429907
91
0.65608
1c820c467789016b00a0924662a59acfe614ee4f
3,117
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/binding.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/binding.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/binding.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...
57.722222
1,055
0.733397
1c821bbfd04dd700e1f15d15c5d5c98caebaad0f
2,922
exs
Elixir
config/runtime.exs
databrecht/uswidi
422c5d957af769a12799b6d3ea56ad1e9f769873
[ "MIT" ]
null
null
null
config/runtime.exs
databrecht/uswidi
422c5d957af769a12799b6d3ea56ad1e9f769873
[ "MIT" ]
null
null
null
config/runtime.exs
databrecht/uswidi
422c5d957af769a12799b6d3ea56ad1e9f769873
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.96
82
0.696099
1c825ca182373fbae55568544b6813249c944f7a
4,029
ex
Elixir
lib/changelog_web/helpers/admin_helpers.ex
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
lib/changelog_web/helpers/admin_helpers.ex
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
lib/changelog_web/helpers/admin_helpers.ex
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Helpers.AdminHelpers do use Phoenix.HTML alias Changelog.Repo alias ChangelogWeb.TimeView alias ChangelogWeb.Helpers.SharedHelpers def error_class(form, field), do: if(form.errors[field], do: "error", else: "") def hidden_class(condition), do: if(condition, do: "hidden", else: "") ...
26.506579
114
0.623232
1c8269592edc7fa55a207d2885a314845dc1bb73
185
ex
Elixir
lib/erlef_web/views/admin/volunteer_view.ex
dhadka/website
e67c23d7052b4ef00a1af52b0b9ebc952d34776e
[ "Apache-2.0" ]
1
2021-03-13T01:34:28.000Z
2021-03-13T01:34:28.000Z
lib/erlef_web/views/admin/volunteer_view.ex
dhadka/website
e67c23d7052b4ef00a1af52b0b9ebc952d34776e
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/views/admin/volunteer_view.ex
dhadka/website
e67c23d7052b4ef00a1af52b0b9ebc952d34776e
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.Admin.VolunteerView do use ErlefWeb, :view def title(%{assigns: %{volunteer: vol}}) do "Volunteer - #{vol.name}" end def title(_), do: "Volunteers" end
18.5
45
0.67027
1c827c7329eebe1a9a0e10e8c5bbf25666268487
707
exs
Elixir
config/config.exs
sadesyllas/nerves_bluetooth
d316dbc192be8beec8b76dd245225117bc7d925f
[ "Apache-2.0" ]
14
2018-01-29T23:34:50.000Z
2021-07-15T04:29:36.000Z
config/config.exs
sadesyllas/nerves_bluetooth
d316dbc192be8beec8b76dd245225117bc7d925f
[ "Apache-2.0" ]
2
2017-05-24T18:16:42.000Z
2018-11-06T19:29:09.000Z
config/config.exs
sadesyllas/nerves_bluetooth
d316dbc192be8beec8b76dd245225117bc7d925f
[ "Apache-2.0" ]
3
2018-06-01T07:10:19.000Z
2019-01-06T22:32:56.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 # Import target specific config. This must remain at the bottom # of this file so it ...
28.28
63
0.755304
1c827e611aa8e31348a1001787a64dcfd382340a
1,880
exs
Elixir
deps/file_system/mix.exs
s3vi26/KoanTests
208ee66ac50610558727c45c1773f9fdf80afdd5
[ "MIT" ]
null
null
null
deps/file_system/mix.exs
s3vi26/KoanTests
208ee66ac50610558727c45c1773f9fdf80afdd5
[ "MIT" ]
null
null
null
deps/file_system/mix.exs
s3vi26/KoanTests
208ee66ac50610558727c45c1773f9fdf80afdd5
[ "MIT" ]
null
null
null
defmodule FileSystem.Mixfile do use Mix.Project def project do [ app: :file_system, version: "0.2.2", elixir: "~> 1.3", deps: deps(), description: "A file system change watcher wrapper based on [fs](https://github.com/synrc/fs)", source_url: "https://github.com/falood/file_system"...
24.736842
127
0.569681
1c8287d34d643fc74486598476411d98c6169881
489
ex
Elixir
youtube/groxio/tetris/lib/tetris_web/views/error_view.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/groxio/tetris/lib/tetris_web/views/error_view.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/groxio/tetris/lib/tetris_web/views/error_view.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule TetrisWeb.ErrorView do use TetrisWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. ...
28.764706
61
0.734151
1c829b5d5338624dee3079fb526a9daceb74c977
2,659
exs
Elixir
test/ot/plug_test.exs
sumup-oss/ot
07e8211e59c0b91c015f36f4166becf799bd6184
[ "Apache-2.0" ]
1
2021-09-20T07:23:38.000Z
2021-09-20T07:23:38.000Z
test/ot/plug_test.exs
sumup-oss/ot
07e8211e59c0b91c015f36f4166becf799bd6184
[ "Apache-2.0" ]
null
null
null
test/ot/plug_test.exs
sumup-oss/ot
07e8211e59c0b91c015f36f4166becf799bd6184
[ "Apache-2.0" ]
null
null
null
# # Copyright 2021, SumUp 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 writing, software...
30.215909
82
0.632569
1c82a9b3c1cdefe43fb27d1da0a813a16f7ce100
1,306
ex
Elixir
lib/phoenix_components/component.ex
tsenturk/phoenix_components
dc1905743a9d30078b581112af105b48282eca79
[ "MIT" ]
3
2018-11-22T15:39:09.000Z
2019-06-13T19:48:17.000Z
lib/phoenix_components/component.ex
tsenturk/phoenix_components
dc1905743a9d30078b581112af105b48282eca79
[ "MIT" ]
1
2021-07-15T13:01:36.000Z
2021-07-15T13:01:36.000Z
lib/phoenix_components/component.ex
tsenturk/phoenix_components
dc1905743a9d30078b581112af105b48282eca79
[ "MIT" ]
5
2018-11-07T12:48:40.000Z
2021-07-14T11:09:54.000Z
defmodule PhoenixComponents.Component do @moduledoc """ Module used to define the view part of a component. This module is used to define the view associated to a component. It serves two different purposes, define from where to load the template of a component and import the helpers to use inside the compon...
27.787234
86
0.695253
1c82d47a74550267b42f1f0ec84ef242bdeba186
1,123
exs
Elixir
apps/game_of_life_web/config/dev.exs
tslim/elixir-phoenix-life
c86fd69198c9193bdcd5b3b1b504f41f67268139
[ "MIT" ]
1
2016-09-28T07:38:55.000Z
2016-09-28T07:38:55.000Z
apps/game_of_life_web/config/dev.exs
tslim/elixir-phoenix-life
c86fd69198c9193bdcd5b3b1b504f41f67268139
[ "MIT" ]
null
null
null
apps/game_of_life_web/config/dev.exs
tslim/elixir-phoenix-life
c86fd69198c9193bdcd5b3b1b504f41f67268139
[ "MIT" ]
null
null
null
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 :game_of_life_web, GameOfLife.Web.Endpoint, ht...
32.085714
73
0.695459
1c82e4c02cf32786d31e18cc6ba1757c652541bd
441
exs
Elixir
priv/repo/migrations/20180220044803_create_raw_supplier_rate.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
priv/repo/migrations/20180220044803_create_raw_supplier_rate.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
priv/repo/migrations/20180220044803_create_raw_supplier_rate.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapi.Repo.Migrations.CreateRawSupplierRate do use Ecto.Migration def change do create table(:raw_supplier_rates) do add(:rate, :float) add(:supplier_name, :string) add(:prefix, :string) add(:description, :string) add(:tariff_plan_id, references(:tariff_plans...
24.5
74
0.696145
1c82f3e69c88266209e8b2e19515796e437dfa27
1,841
ex
Elixir
lib/snowflake/generator.ex
blitzstudios/snowflake
3451939e245e11406eefa932b71e65f586263a72
[ "MIT" ]
55
2017-02-08T14:30:15.000Z
2022-03-29T08:21:13.000Z
lib/snowflake/generator.ex
blitzstudios/snowflake
3451939e245e11406eefa932b71e65f586263a72
[ "MIT" ]
2
2017-04-03T18:05:45.000Z
2017-05-10T15:52:34.000Z
lib/snowflake/generator.ex
blitzstudios/snowflake
3451939e245e11406eefa932b71e65f586263a72
[ "MIT" ]
11
2017-03-29T14:12:32.000Z
2021-04-30T01:30:08.000Z
defmodule Snowflake.Generator do @moduledoc false use GenServer @machine_id_overflow 1024 @seq_overflow 4096 def start_link(epoch, machine_id) when machine_id < @machine_id_overflow do state = {epoch, ts(epoch), machine_id, 0} GenServer.start_link(__MODULE__, state, name: __MODULE__) end def in...
27.893939
98
0.62629
1c83053f8159a4fc9bb0225e663680e7895227ac
113,976
ex
Elixir
lib/ecto/changeset.ex
Ljzn/ecto
b3a4b68877f178693568e6c4251e1dec1a38e06c
[ "Apache-2.0" ]
1
2022-01-24T07:32:34.000Z
2022-01-24T07:32:34.000Z
lib/ecto/changeset.ex
Ljzn/ecto
b3a4b68877f178693568e6c4251e1dec1a38e06c
[ "Apache-2.0" ]
null
null
null
lib/ecto/changeset.ex
Ljzn/ecto
b3a4b68877f178693568e6c4251e1dec1a38e06c
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Changeset do @moduledoc ~S""" Changesets allow filtering, casting, validation and definition of constraints when manipulating structs. There is an example of working with changesets in the introductory documentation in the `Ecto` module. The functions `cast/4` and `change/2` are the usual en...
38.337033
169
0.663245
1c834db98f36657f21ead5c84396731cc1388c75
2,049
ex
Elixir
lib/radiator_web/controllers/admin/podcast_controller.ex
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
null
null
null
lib/radiator_web/controllers/admin/podcast_controller.ex
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
null
null
null
lib/radiator_web/controllers/admin/podcast_controller.ex
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
null
null
null
defmodule RadiatorWeb.Admin.PodcastController do use RadiatorWeb, :controller alias Radiator.Directory alias Radiator.Directory.Podcast def index(conn, _params) do podcasts = Directory.list_podcasts_with_episode_counts() render(conn, "index.html", podcasts: podcasts) end def new(conn, _params) do...
27.689189
73
0.649097
1c83637d0c0e1619e8eb55d31fe106833e80e74d
339
exs
Elixir
mix.exs
IgorFB00/bankingengine
b09eb44ee336869625a9afe38fcceef03d06a092
[ "Apache-2.0" ]
null
null
null
mix.exs
IgorFB00/bankingengine
b09eb44ee336869625a9afe38fcceef03d06a092
[ "Apache-2.0" ]
null
null
null
mix.exs
IgorFB00/bankingengine
b09eb44ee336869625a9afe38fcceef03d06a092
[ "Apache-2.0" ]
null
null
null
defmodule Bankingengine.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.1.0", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases() ] end defp deps do [] end defp aliases do [ setup: ["cmd mix setup...
14.125
46
0.554572
1c83666e7d4428d62aebb22cd413493d8c59b6fc
196
exs
Elixir
test/empty_web/controllers/page_controller_test.exs
manojsamanta/empty-app-with-auth
e601a7c6ef1b4a992758117e6bf0922a5ce08f04
[ "MIT" ]
null
null
null
test/empty_web/controllers/page_controller_test.exs
manojsamanta/empty-app-with-auth
e601a7c6ef1b4a992758117e6bf0922a5ce08f04
[ "MIT" ]
null
null
null
test/empty_web/controllers/page_controller_test.exs
manojsamanta/empty-app-with-auth
e601a7c6ef1b4a992758117e6bf0922a5ce08f04
[ "MIT" ]
null
null
null
defmodule EmptyWeb.PageControllerTest do use EmptyWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.777778
60
0.673469
1c83afb67cda9fa18162e8a058977a8846abd421
1,851
exs
Elixir
mix.exs
bodrovis/elixir-lokalise-api
ae49309f0fdf56c634157e78387f3bf50eaa6afb
[ "BSD-3-Clause" ]
3
2021-06-24T14:30:31.000Z
2021-09-06T11:30:17.000Z
mix.exs
bodrovis/elixir-lokalise-api
ae49309f0fdf56c634157e78387f3bf50eaa6afb
[ "BSD-3-Clause" ]
8
2021-09-15T07:30:59.000Z
2022-02-01T17:40:17.000Z
mix.exs
bodrovis/elixir-lokalise-api
ae49309f0fdf56c634157e78387f3bf50eaa6afb
[ "BSD-3-Clause" ]
2
2021-09-07T11:10:51.000Z
2021-09-26T07:37:39.000Z
defmodule ElixirLokaliseApi.MixProject do use Mix.Project @source_url "https://github.com/lokalise/elixir-lokalise-api" @version "2.2.0" def project do [ app: :elixir_lokalise_api, version: @version, elixir: "~> 1.10", name: "ElixirLokaliseApi", package: package(), docs...
23.1375
98
0.534306
1c83d2b891a2be5d15902e7782f86c85d7abe39c
950
exs
Elixir
test/tokenizer_test.exs
alexiob/forthvm
4dc75790ef98e248ac48a6f4116ad7673cee6287
[ "MIT" ]
8
2021-11-19T14:02:01.000Z
2022-03-09T06:29:33.000Z
test/tokenizer_test.exs
alexiob/forthvm
4dc75790ef98e248ac48a6f4116ad7673cee6287
[ "MIT" ]
null
null
null
test/tokenizer_test.exs
alexiob/forthvm
4dc75790ef98e248ac48a6f4116ad7673cee6287
[ "MIT" ]
1
2021-11-26T18:51:31.000Z
2021-11-26T18:51:31.000Z
defmodule ForthVM.TokenizerTest do @moduledoc false use ExUnit.Case alias ForthVM.Tokenizer test "split_line should handle strings correctly" do assert ["a", "b\n c\n", "d", "e\n"] == Tokenizer.split_line(~s[a "b\n c\n" d "e\n"]) assert ["b\n c\n"] == Tokenizer.split_line(~s["b\n c\n"]) assert ["...
22.093023
88
0.489474
1c83d778a1ed91b05237c249b5fc892abec19ddb
511
ex
Elixir
lib/elixir_lokalise_api/endpoints/key_comments.ex
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
3
2021-06-24T14:30:31.000Z
2021-09-06T11:30:17.000Z
lib/elixir_lokalise_api/endpoints/key_comments.ex
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
8
2021-09-15T07:30:59.000Z
2022-02-01T17:40:17.000Z
lib/elixir_lokalise_api/endpoints/key_comments.ex
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
2
2021-09-07T11:10:51.000Z
2021-09-26T07:37:39.000Z
defmodule ElixirLokaliseApi.KeyComments do @moduledoc """ Key comments endpoint. """ @model ElixirLokaliseApi.Model.Comment @collection ElixirLokaliseApi.Collection.Comments @endpoint "projects/{!:project_id}/keys/{!:key_id}/comments/{:comment_id}" @data_key :comments @singular_data_key :comment @pare...
30.058824
78
0.757339
1c83d8185e96fa5615db5c14f9b0047aa15e35b8
514
ex
Elixir
lib/hexpm_web/controllers/sitemap_controller.ex
Jks15063/hexpm
3d58dac138e1eeaf16c2ce07b6e6ffdcb0be0e7b
[ "Apache-2.0" ]
2
2020-03-01T18:23:33.000Z
2021-01-15T10:15:45.000Z
lib/hexpm_web/controllers/sitemap_controller.ex
yitzackRabin/hexpm
5bf8c491e5aa764b2c60a3aab3e90f814eb3f471
[ "Apache-2.0" ]
3
2020-06-30T11:24:41.000Z
2020-08-05T15:47:34.000Z
lib/hexpm_web/controllers/sitemap_controller.ex
yitzackRabin/hexpm
5bf8c491e5aa764b2c60a3aab3e90f814eb3f471
[ "Apache-2.0" ]
null
null
null
defmodule HexpmWeb.SitemapController do use HexpmWeb, :controller def main(conn, _params) do conn |> put_resp_content_type("text/xml") |> put_resp_header("cache-control", "public, max-age=300") |> render("packages_sitemap.xml", packages: Sitemaps.packages()) end def docs(conn, _params) do ...
28.555556
74
0.696498
1c83e216ca0749fd8b98d4628055e9e90bdef757
1,569
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/source_get_metadata_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/source_get_metadata_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/source_get_metadata_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...
33.382979
118
0.755895
1c83e52946616427e31f420bf6ccad333f72fe6a
1,288
exs
Elixir
test/roger/info_test.exs
jnylen/roger
074338eceae4783221088e8b235a635452708ef1
[ "MIT" ]
null
null
null
test/roger/info_test.exs
jnylen/roger
074338eceae4783221088e8b235a635452708ef1
[ "MIT" ]
null
null
null
test/roger/info_test.exs
jnylen/roger
074338eceae4783221088e8b235a635452708ef1
[ "MIT" ]
null
null
null
defmodule Roger.Partition.InfoTest do use ExUnit.Case use Roger.AppCase alias Roger.{Info, NodeInfo} alias Roger.Partition.Consumer test "get roger info over the entire cluster" do node = node() assert [{^node, _}] = Info.partitions assert [{^node, _}] = Info.running_partitions assert [{^nod...
22.206897
59
0.643634
1c83ec01b4f5d2c113c9cbd6b94d33e8c6f82b34
4,015
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/get_query_results_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/get_query_results_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/get_query_results_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...
55
406
0.747198
1c8413a9a3943dc8b7abb7f7dd006f009ebafb86
1,002
ex
Elixir
lib/phoenix_mongo.ex
zackehh/phoenix_mongo
3845d0ce9f13b6c8e4a9a3ac6d63a40a2ab7f413
[ "MIT" ]
3
2015-12-12T04:52:21.000Z
2017-06-04T09:18:08.000Z
lib/phoenix_mongo.ex
iwhitfield/phoenix_mongo
3845d0ce9f13b6c8e4a9a3ac6d63a40a2ab7f413
[ "MIT" ]
1
2015-11-19T04:47:26.000Z
2015-11-19T04:47:26.000Z
lib/phoenix_mongo.ex
iwhitfield/phoenix_mongo
3845d0ce9f13b6c8e4a9a3ac6d63a40a2ab7f413
[ "MIT" ]
2
2015-09-29T05:34:22.000Z
2015-09-29T05:35:36.000Z
defmodule PhoenixMongo do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Phoe...
32.322581
71
0.718563
1c843d28005b7ea1a832fac5605e9e16b70190b2
1,736
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/read_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/read_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/read_options.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...
32.754717
114
0.724654
1c84495c71bd7d89f10045686b2a93341f645030
2,902
exs
Elixir
test/extensions/email_confirmation/ecto/context_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
1
2021-06-25T10:36:01.000Z
2021-06-25T10:36:01.000Z
test/extensions/email_confirmation/ecto/context_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
test/extensions/email_confirmation/ecto/context_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
defmodule PowEmailConfirmation.Ecto.ContextTest do use Pow.Test.Ecto.TestCase doctest PowEmailConfirmation.Ecto.Context alias Ecto.Changeset alias PowEmailConfirmation.Ecto.{Context, Schema} alias PowEmailConfirmation.Test.{RepoMock, Users.User} @config [repo: RepoMock, user: User] @user %User{id: 1, ...
31.204301
100
0.687802
1c8451d85f9e14a9fb36a9e2691f15987fb3bf84
3,013
ex
Elixir
web/controllers/admin_controller.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
48
2015-06-29T21:20:25.000Z
2021-05-09T04:27:41.000Z
web/controllers/admin_controller.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
null
null
null
web/controllers/admin_controller.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
15
2015-06-29T21:13:57.000Z
2021-07-27T10:02:40.000Z
defmodule Survey.AdminController do use Survey.Web, :controller import Prelude import Ecto.Query require Ecto.Query plug :action def cohorts(conn, _params) do cohorts = Survey.User.cohorts_csv text conn, cohorts end # --------------------------------------------------------------- def refl...
34.238636
99
0.659144
1c84a070618294030031f45e44b5eac4db98d944
2,220
exs
Elixir
mix.exs
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
mix.exs
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
1
2019-01-01T06:50:32.000Z
2019-01-01T06:50:32.000Z
mix.exs
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
defmodule MoneyBin.MixProject do use Mix.Project @version "0.0.3" def project do [ app: :money_bin, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: production?(), start_permanent: production?(), preferred_cli_env: [ex_do...
26.117647
89
0.576577
1c84be09de11784865e1e57320875be425f22a62
3,875
exs
Elixir
integration_test/test_helper.exs
LostKobrakai/ecto_sqlite3
886bd6f0c27a5b750c356f26c6dce0af28d15f69
[ "MIT" ]
121
2021-03-18T16:53:33.000Z
2022-03-30T08:46:07.000Z
integration_test/test_helper.exs
LostKobrakai/ecto_sqlite3
886bd6f0c27a5b750c356f26c6dce0af28d15f69
[ "MIT" ]
51
2021-03-18T16:35:13.000Z
2022-03-18T13:18:44.000Z
integration_test/test_helper.exs
LostKobrakai/ecto_sqlite3
886bd6f0c27a5b750c356f26c6dce0af28d15f69
[ "MIT" ]
15
2021-03-28T15:00:17.000Z
2022-03-07T06:53:14.000Z
Logger.configure(level: :info) Application.put_env(:ecto, :primary_key_type, :id) Application.put_env(:ecto, :async_integration_tests, false) ecto = Mix.Project.deps_paths()[:ecto] ecto_sql = Mix.Project.deps_paths()[:ecto_sql] Code.require_file("#{ecto_sql}/integration_test/support/repo.exs", __DIR__) alias Ecto.I...
32.838983
86
0.755355
1c84d39fd939992eb6e4f5179a9f2944731b55c2
3,883
exs
Elixir
test/animina_web/controllers/user_reset_password_controller_test.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
1
2021-04-17T20:36:24.000Z
2021-04-17T20:36:24.000Z
test/animina_web/controllers/user_reset_password_controller_test.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
3
2021-04-15T19:45:43.000Z
2021-04-16T06:08:24.000Z
test/animina_web/controllers/user_reset_password_controller_test.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
null
null
null
defmodule AniminaWeb.UserResetPasswordControllerTest do use AniminaWeb.ConnCase, async: true alias Animina.Accounts alias Animina.Repo import Animina.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/reset_password" do test "renders the reset password page", %{conn: con...
33.474138
91
0.634046
1c851cd14464c3f20778deaad0576de10c02bc69
1,462
ex
Elixir
lib/exchange/message_bus.ex
realyarilabs/exchange
b8b44fc9a44a264ea1e8cc607efcaa06caca55fa
[ "Apache-2.0" ]
2
2021-09-01T08:30:14.000Z
2022-02-08T18:15:11.000Z
lib/exchange/message_bus.ex
realyarilabs/exchange
b8b44fc9a44a264ea1e8cc607efcaa06caca55fa
[ "Apache-2.0" ]
35
2020-08-12T16:04:46.000Z
2022-03-24T04:07:16.000Z
lib/exchange/message_bus.ex
realyarilabs/exchange
b8b44fc9a44a264ea1e8cc607efcaa06caca55fa
[ "Apache-2.0" ]
1
2020-09-17T13:07:50.000Z
2020-09-17T13:07:50.000Z
defmodule Exchange.MessageBus do @moduledoc """ Behaviour that a message library adapter must implement in order to communicate with the Exchange """ defmacro __using__(opts) do quote bind_quoted: [opts: opts] do @required_config opts[:required_config] || [] @required_deps opts[:required_deps...
27.074074
69
0.673051
1c853816ec68b69b922257b3650f7b90f506dbf5
978
ex
Elixir
lib/tweet_map.ex
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
lib/tweet_map.ex
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
lib/tweet_map.ex
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
defmodule TweetMap do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(TweetMap...
31.548387
71
0.711656
1c854b00cafa6f467533f6df66b346451598f805
26,835
ex
Elixir
lib/elixir/lib/access.ex
tsutsu/elixir
f51865bd148d6d5f4fc02cfe441b2c1802dcc9ca
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/access.ex
tsutsu/elixir
f51865bd148d6d5f4fc02cfe441b2c1802dcc9ca
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/access.ex
tsutsu/elixir
f51865bd148d6d5f4fc02cfe441b2c1802dcc9ca
[ "Apache-2.0" ]
null
null
null
defmodule Access do @moduledoc """ Key-based access to data structures. Elixir supports three main key-value constructs, keywords, maps and structs, and two mechanisms to access those keys, by brackets via `data[key]`, and by dot-syntax, via `data.field`. Next we will briefly recap the key-value construct...
33.418431
114
0.631153
1c85513c4993eccec5977c77ffda75d09eed9815
1,177
ex
Elixir
test/support/channel_case.ex
hamilton-pay/phoenix-boilerplate
1b479e4b19bc62b774f58d383b5038f12e508fdf
[ "MIT" ]
11
2021-04-20T12:42:29.000Z
2022-03-25T16:38:54.000Z
test/support/channel_case.ex
hamilton-pay/phoenix-boilerplate
1b479e4b19bc62b774f58d383b5038f12e508fdf
[ "MIT" ]
null
null
null
test/support/channel_case.ex
hamilton-pay/phoenix-boilerplate
1b479e4b19bc62b774f58d383b5038f12e508fdf
[ "MIT" ]
4
2021-04-17T19:47:41.000Z
2021-08-01T00:50:15.000Z
defmodule PhoenixBoilerplateWeb.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 ...
28.707317
80
0.742566
1c8570420e6fd43a47919efcff4a713246885d73
1,456
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/empty.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...
34.666667
282
0.757555
1c85a596928359e7807c6f6ca8a4897fc0f8aa95
8,187
ex
Elixir
lib/erlnote/boards/boards.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
lib/erlnote/boards/boards.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
1
2019-11-02T13:46:12.000Z
2019-11-02T13:46:12.000Z
lib/erlnote/boards/boards.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
defmodule Erlnote.Boards do @moduledoc """ The Boards context. """ import Ecto import Ecto.Changeset import Ecto.Query, warn: false alias Erlnote.Repo alias Erlnote.Boards.{Board, BoardUser} alias Erlnote.Accounts alias Erlnote.Accounts.User # @doc """ # Returns the list of boards. # ## Ex...
26.495146
131
0.602296
1c85ad62c4db432c7bb10724ba1b21d0b0d9fad7
1,183
exs
Elixir
mix.exs
lastobelus/sfc_gen_live
12557794317bf29163844a7007c010e7eac47c17
[ "MIT" ]
6
2021-04-15T18:21:03.000Z
2022-03-28T16:00:38.000Z
mix.exs
lastobelus/sfc_gen_live
12557794317bf29163844a7007c010e7eac47c17
[ "MIT" ]
2
2021-04-19T01:24:09.000Z
2021-04-25T05:16:18.000Z
mix.exs
lastobelus/sfc_gen_live
12557794317bf29163844a7007c010e7eac47c17
[ "MIT" ]
1
2022-03-28T16:12:35.000Z
2022-03-28T16:12:35.000Z
defmodule SfcGenLive.MixProject do use Mix.Project @version "0.1.5" def project do [ app: :sfc_gen_live, version: @version, elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), description: "The equivalent of `phx.gen.live` for Surface & Phoenix 1.5", ...
26.288889
137
0.598478